Fourier series questions with solutions are provided here for students to practice. Fourier series questions are often asked in many competitive exams, and these questions will help and amp up your preparations. Fourier series is a summation that represents periodic functions as waves of simple periodic functions – sine and cosine functions. The main requirement of the Fourier series is to generate infinite periodic sinusoidal waves.

Periodic Functions: For any positive number T, if for a given function F,

F(x + T) = F(x) ∀ x ∈ R

Then F is called a periodic function, and T is called the period of the function. The function repeats its value T, 2T, 3T, … intervals.

For example: Let f = sin x, then sin (x + 2𝜋) = sin x, hence period of sine function is 2n𝜋 for n = 1, 2, 3, …

Fourier Series: For a given function f, we can find the real numbers a0, a1, a2, …an,… , b1, b2, …, bn, … by the Euler-Fourier formulae:

an=1πππf(x)cosnxdx(n=0,1,2,3,)

bn=1πππf(x)sinnxdx(n=1,2,3,)

Then the Fourier series of f is given by:

12a0+n=1(ancosnx+bnsinnx)

For a function f(x) defined in the interval (–L, L) such that f(x + 2L) = f(x), that is, 2L is the period of f, then the Fourier series of f is given by:

12a0+n=1(ancosnπxL+bnsinnπxL)

Where,

an=1LLLf(x)cosnπxLdx(n=0,1,2,3,)

bn=1LLLf(x)sinnπxLdx(n=1,2,3,)

Learn more about Fourier Series.

Fourier Series Questions with Solutions

Now let us solve questions on the Fourier series.

Question 1:

Find the Fourier series of the function f(x) = x2, –𝜋 < x < 𝜋.

Solution:

Let us find the values of the real numbers a0, an, and bn. The period of the given function is 2𝜋, then,

a0=1πππf(x)dx=1πππx2dx

=1π[x33]ππ=2π23

⇒ a0 = 2𝜋2/3.

an=1πππf(x)cosnxdx=2π0πx2cosnxdx[aaf(x)dx={20af(x)dx,whenfisanevenfunction0,whenfisanoddfunction]

=2π[x2sinnxn+2x(cosnxn2)+2(sinnxn2)]0π

=4(1)nn2[sinnπ=0andcosnπ=(1)n]

an={4n2,whennisodd4n2,whenniseven

Now x2sin nx is an odd function

∴ bn = 0.

The Fourier series of x2 is

x2=π23+n=14(1)nn2cosnx+n=10.sinnx

x2=π23+4[cosx+14cos2x19cos3x+]

Question 2:

Find the Fourier series to represent eax for x ∈ (–𝜋, 𝜋).

Solution:

Since x ∈ (–𝜋, 𝜋), therefore, the period of the given function is 2𝜋. Then,

a0=1πππf(x)dx=1πππeaxdx

=1π[eaxa]ππ=1π[eaπeaπa]=2sinhaπaπ

an=1πππf(x)cosnxdx=1πππeaxcosnxdx

=1π[eax(a2+n2)(acosnx+nsinnx)]ππ=1πacosnπ(a2+n2)(eaπeaπ)=1π2a(1)n.sinhaπ(a2+n2)

Similarly,

bn=1π2n(1)n.sinhaπ(a2+n2)

eax=sinhaπaπ+n=12a(1)nsinhaππ(a2+n2)cosnx+n=12n(1)nsinhaππ(a2+n2)sinnx

Question 3:

If f(x) = cos x for 0 < x < 𝜋, f(x) = 50 for 𝜋 ≤ x < 2𝜋 and f(x + 2𝜋) = f(x) ∀ x. Find the sum of the Fourier series of f at x = 𝜋.

Solution:

Sum of the Fourier series at x = 𝜋 is given by

½ [f(𝜋–) + f(𝜋+)] = ½ (cos 𝜋 + 50) = ½ ( –1 + 50) = 24.5.

Question 4:

Find the Fourier series of the periodic function f(x), such that

f(x)={π,whenπ<x<0xwhen0<x<π

Solution:

Clearly, the period of the function of 2𝜋, then,

a0=1πππf(x)dx=1ππ0πdx+1π0πxdx=[x]π0+1π[x22]0π

=π+π2=π2

an=1πππf(x)cosnxdx=1ππ0(π)cosnxdx+1π0πxcosnxdx

=[sinnxn]π0+1π[xsinnxn+cosnxn2]0π=cosnπ1πn2

an={0,whenniseven2πn2,whennisodd

bn=1πππf(x)sinnxdx=1ππ0(π)sinnxdx+1π0πxsinnxdx

=1π[πcosnxn]π0+1π[xcosnxn+(sinnxn2)]0π=12cosnπn

bn={1n,whenniseven3n,whennisodd

Putting the values of a’s and b’s we get the required fourier series:

f(x) = – 𝜋/4 – 2/𝜋[cos x + 1/32 cos 3x + 1/52 cos 5x + …] + [3 sin x – ½ sin 2x + 3/3 sin 3x – …]

Dirichlet’s Condition

Dirichlet’s condition for Fourier expansion of a given function f are:

  • The function is well-defined and single-valued except at a finite number of points in (–L, L).
  • The function is with period 2L
  • f(x) and f’(x) are piecewise continuous in (–L, L)
  • The function has finite number of maximas and minimas.

Then the Fourier expansion of the function converges to

  • f(x) if x is a point of continuity
  • ½ f(x + 0) + f(x – 0) if x is a point of discontinuity.

Half-range Fourier Sine or Cosine series

A Fourier series with only sine or cosine terms is called half-range series. This series is defined in (0, L) or (–L, 0). In such case we have,

an=0,bn=2L0Lf(x)sinnπxLdxforhalfrangesineseries

bn=0,an=2L0Lf(x)cosnπxLdxforhalfrangecosineseries

Question 5:

Prove the following for k = 1, 2, 3, …

LLsinkπxLdx=LLcoskπxL=0

Solution:

Now, sin (–𝜃) = – sin 𝜃

And

aaf(x)dx={20af(x)dxwhenfisanevenfunction0whenfisanoddfunction

LLsinkπxLdx=0fork=1,2,3,

LLcoskπxLdx=Lkπx[sinkπxL]LL=Lkπx(sinkπ+sinkπ)=0(sinnπ=0)

Also Read:

Question 6:

Find the Fourier series of |x| where –𝜋 < x < 𝜋.

Solution:

Let f(x) = |x| and period of f is 2𝜋.

a0=1πππf(x)dx=1πππ|x|dx=2π0πxdx=2π[x22]0πdx=π

an=1πππf(x)cosnxdx=2π0π|x|cosnxdx

=2π[xsinnxn+cosnxn2]0π=2π[cosnπn21n2]

= 0 if n is even

= –4/𝜋n2 if n is odd.

And bn = 0, since |x| is an even function.

Therefore, the fourier series of |x| is

𝜋/2 + 4/𝜋 [cos x + (cos 3x)/32 + (cos 5x)/52 + … ]

Question 7:

Find the value of the real number a0 of the Fourier series if f(x) = x2 for 0 ≤ x ≤ 2𝜋.

Solution:

Given f(x) = x2, for this also the period of the function is 2𝜋

a0=1π02πf(x)dx=1π02πx2dx=1π[x33]02π=8π23

∴ a0 = 8𝜋2/3.

Question 8:

Express f(x) = sin(𝜋x/l) as half range cosine series for 0 ≤ x ≤ l.

Solution:

Let sin(𝜋x/l) = a0/2 + ∑ an cos(n𝜋x/l) where

a0=2l01f(x)dx=2l01sin(πxl)dx=2l[cosπxlπ/l]0l

=2lcos(π1)=4π

an=2l0lsinπxlcosnπxldx=1l0l[sin(n+1)πxlsin(n1)πxl]dx

=1l[cos(n+1)πxl(n+1)πl+cos(n1)πxl(n1)πl]0l=1π[{cos(n+1)π(n+1)}{1n+1+1n1}]

When n is odd, an = 0

and when n is even, an = –4/[𝜋(n + 1)(n – 1)]

∴ the half-range fourier series for sin(𝜋x/l) is given by

sin(πxl)=2π4π[cos2πxl1.3+cos4πxl3.5+cos6πxl5.7+]

Question 9:

Express the given function f(x) as Fourier sine half range series.

f(x)={x,0xπ2πx,π2<xπ

Solution:

Let the Fourier sine hailf-range series is given by

f(x) = ∑n bn sin nx where

bn=2π0πf(x)sinnxdx=2π0π/2xsinnxdx+2ππ/2π(πx)sinnxdx

=2π[x.(cosnxn)+(sinnxn2)]0π/2+2π[(πx).(cosnxn)(sinnxn2)]π/2π

=2π[π2ncosnπ2+1n2sinnπ2]+2π[π2ncosnπ2+1n2sinnπ2]=4πn2sinnπ2

When n is even, bn = 0

When n is odd, bn = 4/n2𝜋

Hence, the Fourier sine half-range series is given by

f(x)=4π[112sinx132sin3x+152sin5x]

Question 10:

Deduce the half-range cosine series for f(x) = kx when 0 ≤ x ≤ l/2 and f(x) = k(l – x) when l/2 < x ≤ l.

Solution:

Let the Fourier cosine half-range series of f is

f(x) = a0/2 + ∑n ancos (n𝜋x/l)

a0=2l0lf(x)dx=2l0l/2kxdx+2ll/2lk(lx)dx

=2l[kx22]0l/2+2l[klxklx22]l/2l=kl2

And for n = 1, 2, 3, …

an=2l0lf(x)cosnπxldx=2l0l2kxcosnπxldx+2ll/2lk(lx)cosnπxldx

=2l[2kl2n2π2cosnπ2kl2n2π2kl2n2π2cosnπ]=2kln2π2[2cosnπ21cosnπ]

When n is odd cos (n𝜋/2) = 0 and cos n𝜋 = –1 ∴ an = 0

When n is even,

a2 = 8kl/22𝜋2, a4 = 0, a6 = 8kl/62𝜋2 and so on.

Hence, the Fourier half-range cosine series of f is

f(x)=kl48kπ2(122cos2πxl+162cos6πxl+)

Related Articles

Profit and Loss Questions

Permutation and Combination Questions

Differentiation Questions

LCM Questions

Practice Questions on Fourier Series

1. Find the Fourier series of the following:

(i) x – x2 for –𝜋 ≤ x ≤ 𝜋

(ii) f(x) = –1 for –𝜋 < x < 0 and f(x) = 1 for 0 ≤ x ≤ 𝜋.

2. For f(x) = x2(1 – x4) find the bn of the Fourier series x ∈ (–l,l).

3. Write the Fourier sine series for f(x) = k in (0, 𝜋).

Learn about various mathematical concepts in a simple manner with detailed information, along with step by step solutions to all questions, only at BYJU’S. Download BYJU’S – The Learning App to get personalised videos.

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*