Professional Documents
Culture Documents
Unit II
Unit II
FOURIER SERIES
A Fourier series of a periodic function consists of a sum of sine and cosine terms. Sines and cosines
are the most fundamental periodic functions.
The Fourier series is named after the French Mathematician and Physicist Jacques Fourier (1768 –
1830). Fourier series has its application in problems pertaining to Heat conduction, acoustics, etc.
The subject matter may be divided into the following sub topics.
FOURIER SERIES
1. f(x) is defined in an interval (a,a+2l), and f(x+2l) = f(x) so that f(x) is a periodic function of
period 2l.
2. f(x) is continuous or has only a finite number of discontinuities in the interval (a,a+2l).
3. f(x) has no or only a finite number of maxima or minima in the interval (a,a+2l).
1 a2l
Also, let a0
l f (x)dx
a
1 a 2l n 1 a 2l n
an f (x) cos xdx, n 1,2,3,..... (2) bn
f (x)sin xdx,
l a l l a l n=1,2,3…
is called the Fourier series of f(x) in the interval (a, a+2l). Also, the real numbers a0, a1, a2, ….an, and
b1, b2, ….bn are called the Fourier coefficients of f(x). The formulae (1), (2) and (3) are called Euler’s
formulae.
x
bn sin x ……. (5)
n 1 l l
Suppose f(x) is discontinuous at x, then the sum of the series (4) would be
1
f (x ) f (x )Where
2
f(x+) and f(x-) are the values of f(x) immediately to the right and to the left of f(x) respectively.
Particular Cases:Case (i)
Suppose a=0. Then f(x) is defined over the interval (0,2l). Formulae (1), (2), (3) reduce to
12l
a0 f (x)dx
l0
2l n
an 1 f (x) cos xdx, n 1,2,. .... (6)
l l
0
2l n
bn 1 f (x)sin xdx,
l l
0
Then the right-hand side of (5) is the Fourier expansion of f(x) over the interval (0,2l).If we set l=,
then f(x) is defined over the interval (0, 2). Formulae (6) reduce to
2
0
1 2
bn f (x)sin nxdx n=1, 2…
0
Case (ii) Suppose a=-l. Then f(x) is defined over the interval (-l,l). Formulae (1), (2) (3) reduce to
l
1
a0 f ( x)dx
l l
n =1, 2 … (9)
1 l n 1l n
an l f ( x) cos l xdx bn f (x) sin xdx, n=1, 2 …
l l l l
Then the right-hand side of (5) is the Fourier expansion of f(x) over the interval (-l, l).If we set l =,
then f(x) is defined over the interval (-,). Formulae (9) reduce to
1
a0 =
f (x)dx
1
an f (x) cos nxdx
, n=1, 2… (10)
1
bn f (x)sin nxdx n=1, 2…
PARTIAL SUMS
The Fourier series gives the exact value of the function. It uses an infinite number of terms which is
impossible to calculate. However, we can find the sum through the partial sum S N defined as
follows:
S (x) a n N
n n
an cos x b sin x
N 0 n Where N takes positive integral values.
n 1 l l
S (x) a x x 2x 2x
a1 cos b1 sin a2 cos
b sin
2 0
l l l 2 l
If we draw the graphs of partial sums and compare these with the graph of the original function f(x),
it may be verified that SN(x) approximates f(x) for some large N.
Some useful results:1. The following rule called Bernoulli’s generalized rule of integration by parts
is useful in
uvdx uv 1
u'v 2 u''v 3 .......
v1 vdx, v2 v1 dx,......
2 3
n n 2
2 x n
32x 3 e 2x
2 e 2x
e 2x
e
x e dx x 2 3x 4 6x 8 6 16
2. The following integrals are also useful:
eax
e cosbxdx
ax
acosbx bsin bx
a2 b2
eax
e ax
sin bxdx asin bx b cosbx
a2 b2
The Fourier expansion of the periodic function f(x) of period 2l may contain both sine and cosine
terms. Many a time it is required to obtain the Fourier expansion of f(x) in the interval (0,l) which is
regarded as half interval. The definition can be extended to the other half in such a manner that the
function becomes even or odd. This will result in cosine series or sine series only.
Sine series:
Suppose f(x) = (x) is given in the interval (0, l). Then we define f(x) = - (-x) in (-l, 0). Hence f(x)
becomes an odd function in (-l, l). The Fourier series then is
n 1
n
l
(11)
nx
l
2
l
where bn f (x)sin dx
l
0
The series (11) is called half-range sine series over (0, l).
Putting l= in (11), we obtain the half-range sine series of f(x) over (0,) given by
f ( x) b
n 1
n sin nx
2
bn f (x)sin nxdx
0
Cosine series:
Let us define
(x)
f (x) (x) in (0, l) .....given in (-l,0) …..in order to make the
function even.
2
(12)
l
n
n 1
where,
2l
a0
l f (x)dx
0
nx
2 f (x) cos dx
l
an
l l
0
where
2
a0 f (x)dx
0
2
an f (x) cos nxdx n 1,2,3,..
0
HARMONIC ANALYSIS
The Fourier series of a known function f(x) in a given interval may be found by finding the Fourier
coefficients. The method described cannot be employed when f(x) is not known explicitly, but
defined through the values of the function at some equidistant points. In such a case, the integrals in
Euler’s formulae cannot be evaluated. Harmonic analysis is the process of finding the Fourier
coefficients numerically.
To derive the relevant formulae for Fourier coefficients in Harmonic analysis, we employ the
following result:
The mean value of a continuous function f(x) over the interval (a,b) denoted by [f(x)] is defined as
b
1
f (x)
b aa
f (x)dx .
The Fourier coefficients defined through Euler’s formulae, (1), (2), (3) may be redefined as
1 a 2l
a0 2 f (x)dx 2[ f (x)]
2l a
a 2l nx nx
an 2 1 f (x) cos dx 2 f (x) cos
2l l l
a
1 a 2l n x n x
bn 2 f (x)sin dx 2 f (x)sin
2l l l
a
Using these in (5), we obtain the Fourier series of f(x). The term a 1cosx+b1sinx is called the first
harmonic or fundamental harmonic, the term a 2cos2x+b2sin2x is called the second harmonic and so
on. The amplitude of the first harmonic is a12 b21 and that of second harmonic is a22 b22
and so on.
PART –A
State the Sufficient condition for the function f(x) expressed as Fourier series
(i) f(x) is single valued periodic and well defined except possibly at a finite number of
points.s
(ii) f(x) has atmost a finite number of finite discontinuous and no infinite discontinuous
2. If f(x) = x2 + x is expressed as a fourier series in the interval (-2,2) to which value this series
converges at x = 2.(May’03)
4. State Parseval’s identity for the half range cosine expansion of f(x) in (0,1)(Dec’06)
𝑎0 ∞
𝑓(𝑥) = + ∑ 𝑎 𝑐𝑜𝑠𝑛𝜋𝑥
𝑛
2
𝑛=1
1 𝑎0 1
|𝑓(𝑥)|2𝑑𝑥 = +2 ∑∞ 𝑎2
∫0 2
2 𝑛=1 𝑛
tanx cannot be expanded as a Fourirer series. Since tanx not satisfies Dirichlet’s conditions.
6. If f(x) = sinhx is defined in –𝝅 < 𝑥 < 𝜋,write the value of fourirer constant a0 and an?
(Dec 08)
7. Define the root mean squae value of f(x) (Dec 08, May-12)
𝑏
√∫ {𝑓(𝑥)}2
𝑎
The root mean squae value of f(x) =y over the interval (a,b) is𝑦 = 𝑏−𝑎
𝑑𝑥
9. If f(x) is an odd function defined in (-l , l ) .What are the values of a0 and an (Dec 05)
10. State Parseval’s identity for the half range cosine expansion of f(x) in (0,2l) . (Dec’04)
∞ 2
1 2𝑙 𝑎02 1
∫ (𝑓(𝑥))2 𝑑𝑥 = + ∑ 𝑎𝑛
2𝑙 0 4 2
𝑛=1
11.What are the constant term a0 and the coefficient of cosnx, an in the Fourirer series
f(x)= x-x 3
12. If f(x) is discontinuous at x = a,what does its Fourirer series represent at that point
𝑓(𝑎−)+ 𝑓(𝑎+)
( may-07,Dec-04) f(a) = 2
cos x,0 x
13.If f (x)
0, x 2 find the sum of the fourirer series of f(x) at x= π
𝑓(−)+ 𝑓(+) 𝑐𝑜𝑠+ 50 −1+ 50 49
Ans: : f() = = = ==
2 2 2 2
𝝅𝟐 (−𝟏)𝒏 𝟏 𝟏 𝟏 𝟏 𝝅𝟐
14. 𝑰𝒇 𝒙𝟐 = + 𝟒 ∑∞ ( ) 𝒄𝒐𝒔 𝒏𝒙 , & 𝐷𝑒𝑑𝑢𝑐𝑒 𝑡ℎ𝑎𝑡 + + + ….= (𝑨𝒑𝒓 − 𝟏𝟎)
𝟑 𝒏=𝟏 𝒏𝟐 𝟏𝟐 𝟐𝟐 𝟑𝟐 𝟒𝟐 𝟔
𝜋2 (−1)𝑛 (−1)𝑛 𝜋2
Soln: 𝑃𝑢𝑡 𝑥 = 𝜋 𝑤𝑒 𝑔𝑒𝑡, 𝜋2 = + 4 ∑∞ ) 𝑐𝑜𝑠 𝑛𝜋 = 4 ∑∞ ) 𝑐𝑜𝑠 𝑛𝜋 = 𝜋2 −
3 𝑛=1 ( 𝑛2 𝑛=1 ( 𝑛2 3
∞
2𝜋2 = 4 ∑ ( 1 ) = 𝟏 + 𝟏 + 𝟏 + 𝟏 … . = 𝝅𝟐 (∴ 𝑐𝑜𝑠 𝑛𝜋 = (−1)𝑛)
3 𝑛2 𝟏𝟐 𝟐𝟐 𝟑𝟐 𝟒𝟐 𝟔
𝑛=1
15 𝑶𝒃𝒕𝒂𝒊𝒏 𝒕𝒉𝒆 𝒇𝒊𝒓𝒔𝒕 𝒕𝒆𝒓𝒎 𝒐𝒇 𝒇𝒐𝒖𝒓𝒊𝒆𝒓 𝒔𝒆𝒓𝒊𝒆𝒔 𝒇(𝒙) = 𝒙𝟐 𝒊𝒏 − 𝝅 < 𝑥 < 𝜋 (𝑫𝒆𝒄 − 𝟎𝟗)
1 𝜋 𝜋
() 1 𝜋 2 2 𝑥3 1 𝜋3 𝜋2
Soln:𝑎0 = 2𝜋 ∫−𝜋 𝑓 𝑥 𝑑𝑥 = 2𝜋 ∫−𝜋 𝑥 𝑑𝑥 = [ ] = []=
2𝜋 3 0 𝜋 3 3
Soln:𝟐𝒍 ∫−𝒍 𝒙 𝒅𝒙 =
𝟏𝒍 𝟒 𝟒𝒍𝟒 +𝟏 ∞ 𝟏𝟔𝒍𝟒 ⇒ 𝟐 [ 𝒙𝟓 𝒍
]= 𝒍𝟒 + 𝟖𝒍𝟒 ∑ ∞ 𝟏 ⇒ 𝝅𝟒 = 𝟏 + 𝟏 + 𝟏
….
𝟑𝟔 ∑
𝟐 𝒏=𝟏 𝒏𝟒𝝅𝟒 𝟐𝒍 𝟓 𝟎 𝟗 𝝅𝟒 𝒏=𝟏 𝒏𝟒 𝟗𝟎 𝟏𝟒 𝟐𝟒 𝟑𝟒
𝒙, 𝟎 ≤ 𝒙 ≤ 𝟏
17.𝑭𝒊𝒏𝒅 𝒕𝒉𝒆 𝒔𝒖𝒎 𝒐𝒇 𝒇𝒐𝒖𝒓𝒊𝒆𝒓 𝒔𝒆𝒓𝒊𝒆𝒔 𝒇(𝒙) = { 𝒂𝒕 𝒙 = 𝟎 (𝑫𝒆𝒄 − 𝟐𝟎𝟏𝟏)
𝟐, 𝟏 ≤ 𝒙 ≤ 𝟐
Soln: 𝑥 = 0 𝑖𝑠 𝑎 𝑝𝑜𝑖𝑛𝑡 𝑜𝑓 𝑑𝑖𝑠𝑐𝑜𝑛𝑡𝑖𝑛𝑢𝑖𝑡𝑦 𝑖𝑛 𝑡ℎ𝑒 𝑒𝑥𝑡𝑟𝑒𝑒𝑚 𝑜𝑓 𝑡ℎ𝑒 𝑔𝑖𝑣𝑒𝑛 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙𝑠
𝑓(0) + 𝑓(2) 0 + 2
𝑆𝑢𝑚 = = =1
2 2
18.𝑭𝒊𝒏𝒅 𝒕𝒉𝒆 𝒄𝒐𝒔𝒊𝒏𝒆 𝒔𝒆𝒓𝒊𝒆𝒔 𝒇𝒐𝒓 𝒇(𝒙) = 𝒙 𝒔𝒊𝒏 𝒙 𝒊𝒏 (𝟎, 𝝅)& (𝐷𝑒𝑐 − 2011)
𝟏 𝟏 𝟏 𝝅
𝑫𝒆𝒅𝒖𝒄𝒆 𝒕𝒉𝒂𝒕 𝟏 + 𝟐 ( − + −⋯….)=
𝟏. 𝟑 𝟑. 𝟓 𝟓. 𝟕 𝟐
1 (−1)
Soln: xsinx = 1 - cos 𝑥 − 2 ∑ ∞ ) 𝑐𝑜𝑠 𝑛𝑥
𝑛
(
𝑛=2 2
2 𝑛 −1
𝜋
put x= [ point of continuity ]
2
𝜋 𝜋 1 𝜋
sin = 1 + ∞ (−1)𝑛 𝑛𝜋
cos − 2 ∑𝑛=2 ( ) 𝑐𝑜𝑠 2
2 2 2 2 𝑛2 −1
𝜋
= 1 − 2 ∑∞ (−1)𝑛 𝑛𝜋
2 𝑛=2 (𝑛 2 −1 ) 𝑐𝑜𝑠 2
𝜋 𝑛𝜋
=1−2 ∑∞ (−1)𝑛 ) 𝑐𝑜𝑠
𝑛=2
(
2 (𝑛−1)(𝑛+1) 2
1 −1 1
= 1 − 2 ( (−1) + (0) + (1) + ⋯ )
1.3 2.4 3.5
1 1 1
=1+2( − + − ⋯)
1.3 3.5 5.7
19.𝑮𝒊𝒗𝒆 𝒕𝒉𝒆 𝒆𝒙𝒑𝒓𝒆𝒔𝒔𝒊𝒐𝒏 𝒇𝒐𝒓 𝒕𝒉𝒆 𝒇𝒐𝒖𝒓𝒊𝒆𝒓 𝒔𝒆𝒓𝒊𝒆𝒔 𝒄𝒐𝒆𝒇𝒇𝒊𝒄𝒊𝒆𝒏𝒕 𝒃𝒏 𝒇𝒐𝒓 𝒕𝒉𝒆 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 𝒇(𝒙)
20. 𝑾𝒊𝒕𝒉𝒐𝒖𝒕 𝑭𝒊𝒏𝒅𝒊𝒏𝒈 𝒂𝟎, 𝒂𝒏, 𝒃𝒏 𝒇𝒊𝒏𝒅 𝒕𝒉𝒆 𝒇𝒐𝒖𝒓𝒊𝒆𝒓 𝒔𝒆𝒓𝒊𝒆𝒔 𝒇𝒐𝒓 𝒇(𝒙) = 𝒙𝟐 𝒊𝒏 (𝟎, 𝝅)
∞
𝒂𝟐 𝟏
𝑭𝒊𝒏𝒅 𝒕𝒉𝒆 𝒗𝒂𝒍𝒖𝒆 𝒐𝒇 ( 𝟎
+ ∑(𝒂𝟐 + 𝒃𝟐 )) (𝑨𝒑𝒓 − 𝟐𝟎𝟏𝟏)
𝒏 𝒏
𝟒 𝟐
𝒏=𝟏
1 𝑥5
𝜋 5 𝜋4 𝑎2 1
Soln: 1 ∫𝜋𝑥 𝑑𝑥
4 = [ ] = 1 [𝜋] = = 0 + ∑∞ (𝑎2 + 𝑏2) (∵ 𝐵𝑦 𝑃𝑎𝑟𝑠𝑣𝑒𝑙`𝑠 𝐼𝑑𝑒𝑛𝑡𝑖𝑡𝑦)
𝜋0 𝜋50 𝜋5 5 4 2 𝑛=1 𝑛 𝑛
21.𝑭𝒊𝒏𝒅 𝒕𝒉𝒆 𝒄𝒐𝒏𝒔𝒕𝒂𝒏𝒕 𝒕𝒆𝒓𝒎 𝒊𝒏 𝒕𝒉𝒆 𝒆𝒙𝒑𝒓𝒆𝒔𝒔𝒊𝒐𝒏 𝒐𝒇 𝒄𝒐𝒔𝟐𝒙 𝒂𝒔 𝒕𝒉𝒆 𝑭. 𝑺 𝒊𝒏 ( −𝝅, 𝝅)(𝑴𝒂𝒚 − 𝟏𝟐)
1+cos 2𝑥
Soln: Given f(x) = 𝑐𝑜𝑠2𝑥 =
2
a0
W.K.T. f(x) =
2
a
n1
n cos nx bn sin nx
n1
1 cos2 x dx 2 cos2 x dx
To find a0
0
2 1
(1 cos
0
2x)/ 2 dx (1 cos 2x) dx 0
1
x sin 2x / 2
1
( 0) (0 0)
1
𝑎0 1
∴ 𝐶𝑜𝑛𝑠𝑡𝑎𝑛𝑡 𝑡𝑒𝑟𝑚 = =
2 2
PART-B
1) Obtain the Fourier expansion of f(x) = x2 over the interval (-,). Deduce that
2 1 2 3 4 90
6 3
(m/J 07, N/D 07, dec 08, jun 09)
May-2001,Nov-2005,May-13
Solution:
2
x cos nxdx
= 0
2
n n3
n
n
2
0
4(1)n
n2
Also,
1
bn f (x) sin nxdx 0
since f(x)sinnx is odd.
Thus
f (x) 4 (1) cos nx
2 n
n2
2 3 n11
2
n1 n
4
2
3
1 2
n2 6
1
2 1 1 1 .....
Hence, 6 22 32
𝟏 𝟏 𝟏 𝟏 𝝅𝟒
(𝒊𝒊) 𝟒+ 𝟒+ 𝟒+ 𝟒… …… … … . =
𝟏 𝟐 𝟑 𝟒 𝟗𝟎
Using Parsvel`s Identity
2
𝜋4 4(−1)𝑛 16
𝑎0 = , 𝑎 𝑛= (
2 2
) = , [𝑓(𝑥)]2 = 𝑥4
9 𝑛2 𝑛4
∞ ∞ 𝜋
1 𝜋 𝜋4 1
2 16
𝜋 1 𝑥5 𝜋4 1 1 𝜋5 𝜋4 ∞ 1
∫ 𝑥 𝑑𝑥 =
4 ∫ 𝑥 𝑑𝑥 =
4 + ∑ ⇒ [ ] = + 8 ∑ ⇒ [ ] = + 8 ∑
2𝜋 −𝜋 2𝜋 0 9 2 𝑛4 𝜋5 9 𝑛4 𝜋5 9 𝑛4
0 𝑛=1 𝑛=1 𝑛=1
∞ ∞
𝜋4 𝜋4 1 4𝜋4 1 𝜋4 1 1 1 1
− =8 ∑ 4⇒ = 8 ∑ 4⇒ = 4 + 4 + 4 + 4 … … … … ….
5 9 𝑛 45 𝑛 90 1 2 3 4
𝑛=1 𝑛=1
2 𝜋 2 𝜋 2 sin 𝑛𝑥 − cos 𝑛𝑥 𝜋
𝑎𝑛 = ∫ 𝑓(𝑥)𝑐𝑜𝑠𝑛𝑥𝑑𝑥 = ∫ 𝑥 𝑐𝑜𝑠𝑛𝑥𝑑𝑥 = [(𝑥 𝑛 ) − ( )]
𝜋 0 𝜋 0 𝜋 𝑛2 0
2 −4
𝑎𝑛 = [(−1)𝑛 − 1] ⇒ 𝑎𝑛 = { 𝜋𝑛2 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑
𝜋𝑛2
0, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
∞
𝜋 −4
𝑓(𝑥) = + ∑ cos 𝑛𝑥 .................. (1)
2 𝜋𝑛2
𝑛=𝑜𝑑𝑑
3) 𝐅𝐢𝐧𝐝 𝐭𝐡𝐞 𝐇𝐚𝐥𝐟 𝐑𝐚𝐧𝐠𝐞 𝐂𝐨𝐬𝐢𝐧𝐞 𝐬𝐞𝐫𝐢𝐞𝐬 𝐟(𝐱) = (𝛑 − 𝐱𝟐) 𝒊𝒏 (𝟎, 𝝅) (𝑴𝒂𝒚 − 𝟏𝟐)
𝑎0 ∞
𝑆𝑜𝑙𝑛: 𝐿𝑒𝑡 𝑡ℎ𝑒 𝑟𝑒𝑞𝑢𝑖𝑟𝑒𝑑 ℎ𝑎𝑙𝑓 𝑟𝑎𝑛𝑔𝑒 𝑐𝑜𝑠𝑖𝑛𝑒 𝑠𝑒𝑟𝑖𝑒𝑠 𝑏𝑒 𝑓(𝑥) = +∑𝑎 cos 𝑛𝜋𝑥 ............. (1)
𝑛
2
𝑛=1
𝜋
2 𝜋 2 𝜋 2 𝑥3 2 𝜋3 2
𝑎0 = ∫ 𝑓(𝑥) 𝑑𝑥 = ∫ (π − x2) 𝑑𝑥 = [𝜋𝑥 − ]= [𝜋2 − ] = [𝜋(3 − 𝜋)],
𝜋0 𝜋0 𝜋 3 𝜋 3 3
0
1 𝜋 1 𝜋
𝑇𝑜 𝑓𝑖𝑛𝑑 𝑐𝑛 = ∫ 𝑓(𝑥) 𝑒−𝑖𝑛𝑥𝑑𝑥 = ∫ cos 𝑎𝑥 𝑒−𝑖𝑛𝑥𝑑𝑥
2𝜋 −𝜋 2𝜋 −𝜋
𝜋
1 𝑒−𝑖𝑛𝑥
= [ 2 {(−𝑖𝑛) cos 𝑎𝑥 + asin 𝑎𝑥) }]
2
2𝜋 (−𝑖𝑛) + 𝑎 –𝜋
𝜋 𝜋
1 𝑒−𝑖𝑛𝑥 1 [ 𝑒−𝑖𝑛𝑥
[ {(−𝑖𝑛) cos 𝑎𝑥 + asin 𝑎𝑥) }] = {(−𝑖𝑛) cos 𝑎𝑥 + asin 𝑎𝑥) }]
2 2 2 + 𝑎2
2𝜋 𝑖 2 𝑛 + 𝑎 –𝜋
2𝜋 −𝑛 –𝜋
1 𝑒−𝑖𝑛𝜋 𝑖𝑛𝜋
= [ 2 2
{(−𝑖𝑛) cos 𝑎𝜋 + asin 𝑎𝜋) } − 𝑒 2
{(−𝑖𝑛) cos(−𝑎𝜋) + asin(−𝑎𝜋) }]
2𝜋 𝑎 − 𝑛 𝑎2− 𝑛
1 (−1)𝑛 𝑎 sin 𝑎𝜋 (−1)𝑛
𝑐𝑛 = [ {2𝑎 sin 𝑎𝜋}] = [ ]
2𝜋 𝑎2 − 𝑛 2 𝜋 𝑎2 − 𝑛2
∞ ∞
𝑓(𝑥) = ∑
𝑎 sin 𝑎𝜋 (−1)𝑛
[ 𝑖𝑛𝑥
𝑎 sin 𝑎𝜋 ∑ [ (−1)𝑛
]𝑒 = ] 𝑒𝑖𝑛𝑥
𝜋 𝑎2 − 𝑛2 𝜋 𝑎2 − 𝑛2
𝑛=−∞ 𝑛=−∞
2 1 1 1
2
2 .....
𝑫𝒆𝒅𝒖𝒄𝒆 𝒕𝒉𝒂𝒕 6 2 3 (𝑴𝒂𝒚 − 𝟏𝟑)
𝑎0 ∞
𝑆𝑜𝑙𝑛: 𝐿𝑒𝑡 𝑡ℎ𝑒 𝑟𝑒𝑞𝑢𝑖𝑟𝑒𝑑 ℎ𝑎𝑙𝑓 𝑟𝑎𝑛𝑔𝑒 𝑐𝑜𝑠𝑖𝑛𝑒 𝑠𝑒𝑟𝑖𝑒𝑠 𝑏𝑒 𝑓(𝑥) = +∑𝑎 cos 𝑛𝑥 ............. (1)
𝑛
2
𝑛=1
1 1 1
(𝑥 − 1)3 2 2
𝑎0 = 2 ∫ 𝑓(𝑥) 𝑑𝑥 = 2 ∫ (𝑥 − 1)2 𝑑𝑥 = 2 [ ] = [0 − (−1)] = ,
0 0 3 0
3 3
1 1
𝑎𝑛 = 2 ∫ 𝑓(𝑥)𝑐𝑜𝑠𝑛𝜋𝑥 𝑑𝑥 = 2 ∫ (𝑥 − 1)2𝑐𝑜𝑠𝑛𝜋𝑥 𝑑𝑥
0 0 1
(𝑥 − 1)2 sin 𝑛𝜋𝑥 cos 𝑛𝜋𝑥 sin 𝑛𝜋𝑥
=2[ − 2(𝑥 − 1) +2 ]
𝜋𝑛 𝜋2𝑛2 𝜋3𝑛3 0
2 2 4
𝑎𝑛 = 2 [(0 − 0 + 0) − (0— + 0)] = 2 [ ] =
𝜋2𝑛2 𝜋2𝑛2 𝜋2𝑛2
2 ∞
4 1 4 ∞ 1
𝑓(𝑥) = 3 +∑ cos 𝑛𝜋𝑥 = + ∑ cos 𝑛𝜋𝑥
2 𝜋2𝑛2 3 𝜋2 𝑛2
𝑛=1 𝑛=1
∞
1 4 1
𝑓(𝑥) = + ∑ cos 𝑛𝜋𝑥
3 𝜋2 𝑛2
𝑛=1
𝜋2 1 1 1
= 2+ + + ⋯ ….
6 1 22 32
l
kx,0 x
2
6) 𝐎𝐛𝐭𝐚𝐢𝐧 𝐭𝐡𝐞 𝐡𝐚𝐥𝐟 − 𝐫𝐚𝐧𝐠𝐞 𝐜𝐨𝐬𝐢𝐧𝐞 𝐬𝐞𝐫𝐢𝐞𝐬 𝐟𝐨𝐫 𝐟(𝐱) = (𝑴𝒂𝒚 − 𝟏𝟑)
k(l x), l
xl
2
∞
𝑎0 𝑛𝜋𝑥 𝑙
𝑆𝑜𝑙𝑛: 𝑓(𝑥) = + ∑ 𝑎 cos … … (1), 𝑊ℎ𝑒𝑟𝑒 𝑎 = 2 ∫ 𝑓(𝑥) 𝑑𝑥
𝑛 𝑜
2 𝑙 𝑙 0
𝑛=1
2 𝑙 𝑛𝜋𝑥
𝑎𝑛 = ∫ 𝑓(𝑥) cos 𝑑𝑥
𝑙 0 𝑙
𝑙 𝑙
𝑙 2 2 𝑙 𝑙
𝑎0 = 2 [∫ 𝑘𝑥 𝑑𝑥 + ∫ 𝑘(𝑙 − 𝑥) 𝑑𝑥] = [∫ 𝑘𝑥 𝑑𝑥 + ∫ 𝑘𝑙 𝑑𝑥 − ∫ 𝑘𝑥 𝑑𝑥]
2
𝑙 0 𝑙 𝑙 0 𝑙 𝑙
2 2 2
𝑙
𝑙
2 𝑥2 2 𝑥2 2 𝑘 𝑙2 𝑙 𝑘 2 𝑙2
𝑎0 = [𝑘 ( ) + 𝑘𝑙(𝑥)𝑙 𝑙 − 𝑘 ( 2 ) ] = [ ( − 0) + 𝑘𝑙 (𝑙 − ) − (𝑙 − )]
𝑙 2 2 2 4
0 2 𝑙 𝑙34
2
𝑙 𝑛 𝜋 𝑙
𝑛𝜋 𝑙 0
𝑙
2 𝑙 𝑛𝜋𝑥 𝑙2 𝑛𝜋𝑥
+ [𝑘(𝑙
𝑙 − 𝑥) ( ) (sin ) − (−𝑘) ( 2 2) (− cos )]
𝑛𝜋 𝑙 𝑛𝜋 𝑙 𝑙
2
2 𝑘 𝑙 𝑛𝜋 𝑙2 𝑛𝜋 𝑙2
𝑎𝑛 = [( ( )(sin ) + 𝑘 ( 2 2) (cos ) ) − (0 + 𝑘 ( 2 2))]
𝑙 2 𝑛𝜋 2 𝑛𝜋 2 𝑛𝜋
2 𝑙2 𝑘 𝑙 𝑛𝜋 𝑙2 𝑛𝜋
+ [(0 − 𝑘 (𝑛2𝜋 2 )(−1) ) — ( ( ) (sin )) − 𝑘 ( 𝑛2𝜋 2 ) (cos ))
𝑛
𝑙 2 𝑛𝜋 2 2
2 𝑘 𝑙 𝑙2 𝑙2 𝑙2 )(−1)𝑛 − 𝑘 ( 𝑙 ) (sin 𝑛𝜋
𝑎𝑛 = [ ( )(sin 𝑛𝜋 ) + 𝑘 ( ) (cos 𝑛𝜋 ) − 𝑘 ( )−𝑘( )
𝑙 2 𝑛𝜋 2 𝑛2 𝜋2 2 𝑛2𝜋2 𝑛2𝜋2 2 𝑛𝜋 2
𝑙2 𝑛𝜋
+ 𝑘 ( 2 2)(cos )]
𝑛 𝜋 2
2 𝑙2 𝑛𝜋 𝑙2 𝑙2
𝑎𝑛 = [2𝑘 ( 2 2 ) (cos ) + −𝑘 ( 2 2 ) − 𝑘 ( 2 2 ) (−1)𝑛]
𝑙 𝑛 𝜋 2 𝑛 𝜋 𝑛 𝜋
2 𝑙2 𝑛𝜋 2𝑘𝑙 𝑛𝜋
𝑎𝑛 = [(𝑘 (𝑛2𝜋 2 )) (2 cos + [(−1)𝑛 + 1])] = 2 2 (2 cos + [(−1)𝑛 + 1])
𝑙 2 𝑛 𝜋 2
𝑎0 ∞ 𝑛𝜋 ∞
𝑛𝜋𝑥
𝑓(𝑥) = + ∑ 𝑎 cos 𝑛𝜋𝑥 = 5𝑘𝑙 + ∑ 2𝑘𝑙 (2 cos + [(−1)𝑛 + 1]) cos
𝑛
2 𝑙 24 𝑛2 𝜋2 2 𝑙
𝑛=1 𝑛=1
∞
5𝑘𝑙 2𝑘𝑙 1 𝑛𝜋 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ (2 cos + [(−1)𝑛 + 1]) cos
24 𝜋2 𝑛2 2 𝑙
𝑛=1
7) 𝐅𝐢𝐧𝐝 𝐭𝐡𝐞 𝐅𝐨𝐮𝐫𝐢𝐞𝐫 𝐬𝐞𝐫𝐢𝐞𝐬 𝐟(𝐱) = (𝛑 − 𝐱)𝟐 𝒊𝒏 (𝟎, 𝟐𝝅) (𝑴𝒂𝒚 − 𝟏𝟐)
∞
𝑎0 1 2𝜋
𝑆𝑜𝑙𝑛: 𝑓(𝑥) = + ∑(𝑎 cos 𝑛𝑥 + 𝑏 𝑠𝑖𝑛𝑛𝑥) , 𝑤ℎ𝑒𝑟𝑒 𝑎 = ∫ 𝑓(𝑥) 𝑑𝑥
𝑛 𝑛 𝑜
2 𝜋0
𝑛=1
1 2𝜋
1 2𝜋
𝑎𝑛 = ∫ 𝑓(𝑥) cos 𝑛𝑥 𝑑𝑥, 𝑏𝑛 = ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥
𝜋 0 𝜋 0
1 2𝜋 1 2
𝜋 1 2𝜋
𝑎𝑜 = ∫ 𝑓(𝑥) 𝑑𝑥 = ∫ (π − x)2 𝑑𝑥 = ∫ (π2 + x 2 − 2πx) 𝑑𝑥
𝜋0 𝜋0 𝜋0
1 x3 2𝜋 1 π3
[π2x + x2 = [2π3 + 1 6π3 + π3 − 12π3
𝑎𝑜 = − 2π ( )] − π(4π2)] = [ ]
𝜋 3 2 0
𝜋 3 𝜋 3
1 5π3 5π2
𝑎𝑜 = [− ]=−
𝜋 3 3
1 ∫ 2𝜋 𝑓(𝑥) cos 𝑛𝑥 𝑑𝑥 = 1 ∫ 2𝜋 (π − x)2 cos 𝑛𝑥 𝑑𝑥
𝑎𝑛 =
𝜋0 𝜋0
1 sin 𝑛𝑥 sin 𝑛𝑥 2𝜋
𝑎𝑛 = [(π − x)2 + 2(x − π) cos 𝑛𝑥 − 2 ]
𝜋 𝑛 𝑛2 𝑛3 0
1 2𝜋 2𝜋 1 4𝜋 4
𝑎𝑛 = [(0 + + 0) − (0 − + 0)] ⇒ 𝑎𝑛 = [ ] =
𝜋 𝑛2 𝑛2 𝜋 𝑛2 𝑛2
1 ∫ 2𝜋 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥 = 1 ∫ 2𝜋 (π − x)2 sin 𝑛𝑥 𝑑𝑥
𝑏𝑛 =
𝜋0 𝜋0
1 −cos 𝑛𝑥
+ 2(x − π) sin 𝑛𝑥 + 2 cos 𝑛𝑥]
2𝜋
𝑏𝑛 = [(π − x)2
𝜋 𝑛 𝑛2 𝑛3 0
1 𝜋2 2 𝜋2 2
𝑏𝑛 = [(− + 0 + 3) − (− + 0 + 3)] = 0
𝜋 𝑛 𝑛 𝑛 𝑛
𝑎0 ∞ 5π2 ∞ 4
𝑓(𝑥) = + ∑(𝑎 cos 𝑛𝑥 + 𝑏 𝑠𝑖𝑛𝑛𝑥) = − + ∑( cos 𝑛𝑥 + (0 )sin 𝑛𝑥)
𝑛 𝑛
2 6 𝑛2
𝑛=1 𝑛=1
∞
−5π2 1
𝑓(𝑥) = +4∑ cos 𝑛𝑥
6 n2
𝑛=1
𝟎, −𝝅 ≤ 𝒙 ≤ 𝟎
8) 𝐅𝐢𝐧𝐝 𝐭𝐡𝐞 𝐅𝐨𝐮𝐫𝐢𝐞𝐫 𝐬𝐞𝐫𝐢𝐞𝐬 𝐟(𝐱) = { &
𝒔𝒊𝒏 𝒙, 𝟎 ≤ 𝒙 ≤ 𝝅
𝟏 𝟏 𝟏
𝑬𝒗𝒍𝒖𝒂𝒕𝒆 𝒕𝒉𝒂𝒕 + + + ⋯ . =? (𝑫𝒆𝒄 − 𝟐𝟎𝟏𝟏)
𝟏. 𝟑 𝟑. 𝟓 𝟓. 𝟕
0, −𝜋 ≤ 𝑥 ≤ 0 𝜑1(𝑥), 𝜋 ≤ 𝑥 ≤ 0
𝑆𝑜𝑙𝑛: f(x) = { , 𝑙𝑒𝑡 𝑓(𝑥) = {
𝑠𝑖𝑛 𝑥, 0≤𝑥≤ 𝜋 𝜑2(𝑥), 0 ≤ 𝑥 ≤ 𝜋
𝜑 (𝑥)
𝑊ℎ𝑒𝑟𝑒 𝜑 (𝑥) = 0 𝜑 (𝑥) = sin 𝑥 , 𝐻𝑒𝑟𝑒 𝜑 (−𝑥) = 0 ≠ { 2
1 2 1
−𝜑2(𝑥)
∴ 𝑓(𝑥)𝑖𝑠 𝑛𝑒𝑖𝑡ℎ𝑒𝑟 𝑒𝑣𝑒𝑛 𝑛𝑜𝑟 𝑜𝑑𝑑 𝑖𝑛 [−𝜋, 𝜋]
𝑎0 ∞ 1 𝜋
𝑓(𝑥) = + ∑(𝑎 cos 𝑛𝑥 + 𝑏 𝑠𝑖𝑛𝑛𝑥) , 𝑤ℎ𝑒𝑟𝑒 𝑎 = ∫ 𝑓(𝑥) 𝑑𝑥
𝑛 𝑛 𝑜
2 𝜋 −𝜋
𝑛=1
1 𝜋 1 𝜋
𝑎𝑛 =
∫ 𝑓(𝑥) cos 𝑛𝑥 𝑑𝑥, 𝑏𝑛 = ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥
𝜋 −𝜋 𝜋 −𝜋
1 1
𝑎𝑜 = 1 ∫ 𝑓(𝑥) 𝑑𝑥 = 1 ∫ sin x 𝑑𝑥 = [− cos 𝑥]𝜋 = − [cos 𝜋 − cos 0] = − 1 (−2) = 2
𝜋 𝜋
0
𝜋 −𝜋 𝜋0 𝜋 𝜋 𝜋 𝜋
1 𝜋 1 𝜋 1 𝜋
𝑎𝑛 = ∫ 𝑓(𝑥) cos 𝑛𝑥 𝑑𝑥 = ∫ sin x cos 𝑛𝑥 𝑑𝑥 = ∫ (sin(n + 1)x − sin(n − 1) x) 𝑑𝑥
𝜋 −𝜋 𝜋 0 2𝜋 0
𝜋
1 cos(𝑛 + 1)𝑥 cos(𝑛 − 1)𝑥 1 cos 𝑛𝜋 cos 𝑛𝜋 1 1
𝑎𝑛 = [− + ] = [( − )+( − )]
2𝜋 𝑛+1 𝑛−1 2𝜋 𝑛+1 𝑛−1 𝑛+1 𝑛−1
0
1 1 1 1 1
𝑎𝑛 = [(−1)𝑛 {( − )} + ( − )]
2𝜋 𝑛+1 𝑛−1 𝑛+1 𝑛−1
1 2
𝑎𝑛 = [− [1 + (−1)𝑛]] , 𝑛 ≠ 1
2𝜋 𝑛2 − 1
0, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑
𝑎𝑛 = { −2 , 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
𝜋(𝑛2 − 1)
1 𝜋 1 𝜋 1 cos 2𝑥 𝜋 1
𝑎1 = ∫ sin 𝑥 𝑐𝑜𝑠 𝑥 𝑑𝑥 =
𝜋 0
∫ sin 2𝑥 𝑑𝑥 =
2𝜋 0 2𝜋
[− 2 ] = − 4𝜋 (1 − 1) = 0
0
1 𝜋 1 𝜋 1 𝜋
𝑏𝑛 = ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥 = ∫ sin x sin 𝑛𝑥 𝑑𝑥 = ∫ (cos(n − 1)x − cos(n + 1) x) 𝑑𝑥
𝜋 −𝜋 𝜋 0 2𝜋 0
𝜋
1 sin(𝑛 − 1)𝑥 sin(𝑛 + 1)𝑥 1
𝑏𝑛 = [ − ] = [(0 − 0) + (0 − 0)]
2𝜋 𝑛−1 𝑛−1 2𝜋
0
1
𝑏𝑛 = [0] = 0, 𝑛 ≠ 1
2𝜋
1 𝜋 1 𝜋 1 𝜋 (1 − cos 2 𝑥) 1 𝑠𝑖𝑛2𝑥 𝜋
𝑏1 = ∫ sin 𝑥 𝑠𝑖𝑛 𝑥 𝑑𝑥 = ∫ sin2 𝑥 𝑑𝑥 = ∫ 𝑑𝑥 = [𝑥 − ]
𝜋0 𝜋0 𝜋 0 2 2𝜋 2 0
1 1
𝑏1 = [(𝜋 − 0) − (0 − 0)] =
2𝜋 2
𝑎0 ∞ ∞
𝑓(𝑥) = + ((𝑎 cos 𝑥 + 𝑏 sin 𝑥) + ∑ (𝑎 cos 𝑛𝑥) + ∑ 𝑏 𝑠𝑖𝑛𝑛𝑥)
1 1 𝑛 𝑛
2
𝑛=𝑒𝑣𝑒𝑛 𝑛=2
∞
1 1 −2
𝑓(𝑥) = + (((0) cos 𝑥 + sin 𝑥) + ∑ cos 𝑛𝑥 + (0)𝑠𝑖𝑛𝑛𝑥)
𝜋 2 𝜋(𝑛2 − 1)
𝑛=𝑒𝑣𝑒𝑛
∞ ∞
1 1 2 cos 𝑛𝑥 1 1 2 cos 2𝑛𝑥
𝑓(𝑥) = + sin 𝑥 − ∑ 2 ⇒ 𝑓(𝑥) = + sin 𝑥 − ∑
𝜋 2 𝜋 (𝑛 − 1) 𝜋 2 𝜋 ((2𝑛)2 − 1)
𝑛=𝑒𝑣𝑒𝑛 𝑛=1
𝑃𝑢𝑡 𝑛 = 2𝑛
−𝟏 + 𝒙, − < 𝑥 < 0
9) Find the Fourier series of 𝒇(𝒙) = {
𝟏 + 𝐱, 𝟎 < 𝑥 < .
𝟏 𝟏
Hence deduce that 𝟏 − 𝟑 + 𝟓 − ⋯ … = 𝟒 (May’07,05,2011)
1 x,in x 0
Sol: Given f(-x) =
1 x,in0 x
1 x,in x 0 1 x,in x 0
f(-x) = f(-x) =
1 x,in0 x ie., 1 x,in0 x
=>f(-x)
1 𝜋= - f(x) => f(x) is an odd function . Therefore
𝑎= ∫ 𝑓(𝑥)𝑑𝑥 = 0&𝑎 = ∫ 𝑓(𝑥)𝑐𝑜𝑠𝑛𝑥𝑑𝑥 = 0
1 𝜋
0 𝜋 −𝜋 𝑛 𝜋 −𝜋
2 −𝑐𝑜𝑠𝑛𝑥 −𝑠𝑖𝑛𝑛𝑥 𝜋
= {(𝑥 + 1) [ ] − (1) [ (𝑛)2 ]}
𝜋 𝑛 0
2 (−1)𝑛 1
= [−(𝜋 + 1) + ] {cosn𝜋 = (−1)n1 , cos 0 = 1, sin n𝜋 = 0 , , sin 0 = 0 }
𝜋 𝑛 𝑛
2
𝑏𝑛 = [1 − (𝜋 + 1)(−1)n]
𝑛𝜋
2 [1−(𝜋+1)(−1) n]
Therefore 𝑓(𝑥) = ∑∞ 𝑠𝑖𝑛𝑛𝑥 -------- (1)
𝜋 𝑛=2 𝑛
𝜋 𝜋
Put 𝑥 = 2 {𝑥 = 2 𝑖𝑠 𝑎 𝑝𝑜𝑖𝑛𝑡 𝑜𝑓 𝑐𝑜𝑛𝑡𝑖𝑛𝑢𝑖𝑡𝑦}
𝜋 𝜋
∴ [𝑓(𝑥)𝑎𝑡 (𝑥 = )] = 1 +
2 2
∴ (1) => 𝜋 2 ∞ [1−(𝜋+1)(−1)n] 𝜋
1 + = ∑𝑛=1 𝑠𝑖𝑛𝑛
2 𝜋 𝑛 2
2+𝜋 2
∞ [1−(𝜋+1)(−1)n] 𝜋
( )= ∑𝑛=1 𝑠𝑖𝑛𝑛
2 𝜋 𝑛 2
2+𝜋
( ) = 2 [2+𝜋 − 2+𝜋 + 2+𝜋 − 2+𝜋 + ⋯ ]
2 𝜋 1 3 5 7
2+𝜋 2(2+𝜋) 1 1 1 1
( )= [ − + − +⋯]
2 𝜋 1 3 5 7
𝜋 1 11 1
( ) = [ − 3+ 5− + ⋯ ]
4 1 7
𝟏 𝟏 𝟏 𝝅𝟐
10) 𝑭𝒊𝒏𝒅 𝑭. 𝑺 𝒐𝒇 𝒇(𝒙) = 𝒙(𝝅 − 𝒙) 𝒊𝒏 (𝟎, 𝟐𝝅)& 𝐷𝑒𝑑𝑢𝑐𝑒 + + … . = (𝑨𝒑𝒓 − 𝟏𝟏)
𝟏𝟐 𝟐𝟐 𝟑𝟐 𝟖
∞
𝑎0 1 2𝜋
𝑆𝑜𝑙𝑛: 𝑓(𝑥) = + ∑(𝑎 cos 𝑛𝑥 + 𝑏 𝑠𝑖𝑛𝑛𝑥) , 𝑤ℎ𝑒𝑟𝑒 𝑎 = ∫ 𝑓(𝑥) 𝑑𝑥
𝑛 𝑛 𝑜
2 𝜋0
𝑛=1
1 2𝜋
1 2𝜋
𝑎𝑛 = ∫ 𝑓(𝑥) cos 𝑛𝑥 𝑑𝑥, 𝑏𝑛 = ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥
𝜋 0 𝜋 0
1 2𝜋 1 2
𝜋 1 2𝜋
𝑎𝑜 = ∫ 𝑓(𝑥) 𝑑𝑥 = ∫ 𝑥(π − x) 𝑑𝑥 = ∫ (𝑥π − x 2 ) 𝑑𝑥
𝜋0 𝜋0 𝜋0
2
𝜋
1 𝑥3 𝑥2 1 4𝜋3 8𝜋3 1 6𝜋3 − 8𝜋3 2𝜋3 2𝜋2
𝑎𝑜 = [𝜋 ( ) − ] = [ − ]= [ ]=− =−
𝜋 2 3 𝜋 2 3 𝜋 3 3𝜋 3
0
1
[(xπ − x2) −cos 𝑛𝑥 + (π − 2x) sin 𝑛𝑥 − 2 cos 𝑛𝑥]
2𝜋
𝑏𝑛 =
𝜋 𝑛 𝑛2 𝑛3 0
1 2π2 2 2 1 2π2 2 2
𝑏𝑛 = [{( )+0− 3} − (0 + 0 − 3)] = [( ) − 3 + 3]
𝜋 n 𝑛 𝑛 𝜋 n 𝑛 𝑛
1 2π2 2𝜋
𝑏𝑛 = [ ]=
𝜋 n 𝑛
𝑎0 ∞ 𝜋2 ∞ −4 2𝜋
𝑓(𝑥) = + ∑(𝑎 cos 𝑛𝑥 + 𝑏 𝑠𝑖𝑛𝑛𝑥) = − + ∑( cos 𝑛𝑥 + sin 𝑛𝑥)
𝑛 𝑛
2 3 𝑛2 𝑛
𝑛=1 𝑛=1
𝑓(0) + 𝑓(2𝜋)
𝑃𝑢𝑡 𝑥 = 0 𝑖𝑠 𝑎 𝑝𝑜𝑖𝑛𝑡 𝑜𝑓 𝑑𝑖𝑠𝑐𝑜𝑛𝑡𝑖𝑛𝑢𝑖𝑡𝑦 𝑠𝑜 𝑓(𝑥) =
2
𝑓(𝑥) = 𝑥(𝜋 − 𝑥), 𝑓(0) = 0, 𝑓(2𝜋) = 2𝜋(𝜋 − 2𝜋) = 2𝜋(−𝜋) = −2𝜋2
11) Obtain the Fourier series of f(x) = 1-x2 over the interval (-1, 1).(NOV 05, Dec-10)
The given function is even, as f(-x) = f(x). Also period of f(x) is 1-(-1) =2
Solution:
1
Here a0 = 1 f (x)dx = 2 f (x)dx = 2 (1 x2 )dx 2x x 4
1 1 3 1
1 1
0 0 3 0 3
11
an f (x) cos(nx)dx
1 1
1
1
= 2(1 x ) cos(nx)dx
2
0
(n ) (n )
n
n 2 3
0 n2 2
11
1 1
bn f (x)sin( nx)dx =0, since f(x) sin (nx) is odd.
2 4 (1)n1
f(x) =
3
2 n1 n 2
cos(nx)
l
x,0 x
2
12) 𝐎𝐛𝐭𝐚𝐢𝐧 𝐭𝐡𝐞 𝐡𝐚𝐥𝐟 − 𝐫𝐚𝐧𝐠𝐞 𝐬𝐢𝐧𝐞 𝐬𝐞𝐫𝐢𝐞𝐬 𝐟𝐨𝐫 𝐟(𝐱) = l (𝑨𝒑𝒓`𝟏𝟏, 𝒎𝒂𝒚`𝟎𝟓)
(l x),
xl
2
𝑛𝜋𝑥 2 𝑙 𝑛𝜋𝑥
Soln: 𝑓(𝑥) = ∑∞ 𝑏 sin … … (1), 𝑊ℎ𝑒𝑟𝑒 𝑏 = ∫ 𝑓(𝑥) sin 𝑑𝑥
𝑛=1 𝑛 𝑙 𝑛 𝑙 0 𝑙
𝑙
2 𝑙
2 𝑛𝜋𝑥 𝑛𝜋𝑥
𝑏𝑛 = [∫ 𝑥 sin 𝑑𝑥 + ∫ (𝑙 − 𝑥) sin 𝑑𝑥]
𝑙 0 𝑙 𝑙 𝑙
2
𝑙 2
𝑙
𝑛𝜋 𝑙 𝑛𝜋 0
𝑙
2 𝑙 𝑛𝜋𝑥 𝑙2 𝑛𝜋𝑥
+ [(𝑙 − 𝑥) ( ) (− cos ) + ( 2 2) (− sin )]
𝑙 𝑛𝜋 𝑙 𝑛𝜋 𝑙 𝑙
2
2 𝑙2 𝑛𝜋 2 𝑙2 𝑛𝜋
𝑏𝑛 = [(−0 + ( 2 2) (sin )) − (−0 + 0)] + [(−0 + 0) − (−0 − ( 2 2 ) (sin ))]
𝑙 𝑛 𝜋 2 𝑙 𝑛 𝜋 2
2 𝑙2 𝑛𝜋 4𝑙 𝑛𝜋
𝑏𝑛 = [2 ( 2 2) (sin )] = 2 2 sin
𝑙 𝑛 𝜋 2 𝑛 𝜋 2
∞ ∞ ∞
𝑛𝜋𝑥 4𝑙 𝑛𝜋 𝑛𝜋𝑥 4𝑙 1 𝑛𝜋 𝑛𝜋𝑥
=∑ sin ) sin
𝑓(𝑥) = ∑ 𝑏𝑛 sin
𝑙 𝑛 2𝜋 2 sin 2 𝑙
=
𝜋 2∑( 𝑛2
sin
2 𝑙
𝑛=1 𝑛=1 𝑛=1
x,0 x
f (x)
2 x, x 2 May-2004, Dec-10
2 1 1
Deduce that 1 ......
8 32 52
Solution:
Here OA represents the line f(x)=x, AB represents the line f(x)=(2-x) and AC represents the line x=.
Note that the graph is symmetrical about the line AC, which in turn is parallel to y-axis. Hence the
function f(x) is an even function.
Here,
1 2
a0 = f (x)dx = f (x)dx
0
2
xdx
0
Since f(x) cosnx is even.
1 2
an f (x) cos nxdx f (x) cos nxdx
0
2
= x cos nxdx
0
2 sin nx cos nx
x
n 1 n 2
= 0
2
2 (1) n 1
n
1
Also, bn
f (x)sin nxdx 0 ,
since f(x)sinnx is odd
1
Thus the Fourier series of f(x) is f (x) 2 (1)n 1 cos nx
2 n 1 n2
2 1
For x=, we get f ( )
2 (1) n 1 cos n
2 n 1 n
2 2cos(2n 1)
or
2
(2n 1)2
n1
Thus,
2 1 1 1 ......
2
1
2
(2n 1) 8 2 2
8 n 1 3 5
14) 𝐎𝐛𝐭𝐚𝐢𝐧 𝐭𝐡𝐞 𝐡𝐚𝐥𝐟 − 𝐫𝐚𝐧𝐠𝐞 𝐜𝐨𝐬𝐢𝐧𝐞 𝐬𝐞𝐫𝐢𝐞𝐬 𝐟𝐨𝐫 𝐟(𝐱) = 𝒙 𝒊𝒏 (𝟎, 𝝅)
𝑎0
Soln: 𝐿𝑒𝑡 𝑡ℎ𝑒 𝑟𝑒𝑞𝑢𝑖𝑟𝑒𝑑 ℎ𝑎𝑙𝑓 𝑟𝑎𝑛𝑔𝑒 𝑐𝑜𝑠𝑖𝑛𝑒 𝑠𝑒𝑟𝑖𝑒𝑠 𝑏𝑒 𝑓(𝑥) = + ∑∞ 𝑎 cos 𝑛𝑥 ............. (1)
2 𝑛=1 𝑛
𝜋
𝑎0 = 2 ∫ 𝜋𝑓(𝑥) 𝑑𝑥 = 2 ∫ 𝜋𝑥 𝑑𝑥 = 2 [𝑥 ] = 2 [𝜋 ] = 𝜋,
2 2
𝜋 𝜋
0 0 𝜋20 𝜋2
2 𝜋 2 𝜋 2 𝑥 sin 𝑛𝑥 + cos 𝑛𝑥
]
𝜋
𝑎𝑛 = ∫ 𝑓(𝑥)𝑐𝑜𝑠𝑛𝑥 𝑑𝑥 = ∫ 𝑥𝑐𝑜𝑠𝑛𝑥 𝑑𝑥 = [ 𝑛 𝑛2
𝜋 0 𝜋 0 𝜋 0
2 1 2 0, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
[(0 + (−1) ) − (0 + )] =
𝑛
𝑎𝑛 = [(−1)𝑛 − 1] ⇒ 𝑎𝑛 = { 4
𝜋 𝑛2 𝑛2 𝜋𝑛2 − , 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑
𝜋𝑛 2
∞ ∞
𝜋 4 𝜋 4 1
𝑓(𝑥) = + ∑ − cos 𝑛𝑥 = − ∑ cos 𝑛𝑥
2 𝜋𝑛2 2 𝜋 𝑛2
𝑛=𝑜𝑑𝑑 𝑛=𝑜𝑑𝑑
15) Expand f(x) = x (-x) as half-range sine series over the interval (0,)
(JUN 07,09,Ap-10)
We have,
2 2 2
0 0
bn
bn
x x
2
cos nx sin nx cos nx 4
2x n2 (2) 3 n3 1 (1)
n
n
n 0
1 (1) n sin nx
4 1
The sine series of f(x) is f ( x)
n 1 n3
16)
Obtain the Fourier expansion of f(x) =e-ax in the interval (-,).
Dec-2008,Apr-2010
1 1 e ax
a0 e dx
ax
a
ea e a 2sinh a
a a
1 e ax cos nxdx
an
1 e ax
an a cos nx n sin nx
a2 n2
2a (1) sinh a
n
a n
2 2
1 eax
1 ax
bn = e sin nxdx = 2 2 a sin nx n cos nx
a n
2n (1)n sinh a
a2 n2
=
sinh a 2a sinh a (1)n 2
n(1)n
f(x) =
a
n1 a n
2 2
cos nx sinh a 2
n1 a n
2
sin nx
17) Find the fourier series of periodicity 3 for f(x) = 2x-x2 in 0<x<3. Apr-10,May’08
3
Sol : Here 2l = 3 =>𝑙 = Let the Fourierseries be
2
a0
2nx
2nx
f (x)
a cos
b sin
n n
2 n1 3 n1 3
2 3 23 2nx 2 3 2nx
Where 𝑎0 = 3 ∫0 𝑓(𝑥)𝑑𝑥 , 𝑎𝑛 = 3 ∫0 𝑓(𝑥)𝑐𝑜𝑠 𝑑𝑥 and 𝑏𝑛 = 3 ∫0 𝑓(𝑥)𝑠𝑖𝑛 𝑑𝑥
3 3
2 3
𝑎0 = ∫ (2𝑥 − 𝑥2)𝑑𝑥
30
2 𝑥3 3
= [{𝑥2 − } ]
3 3 0
1
= [9 − 9] =>𝑎 = 0
𝜋 0
2 3
2nx
𝑎𝑛 = ∫ 𝑓(𝑥)𝑐𝑜𝑠 𝑑𝑥
3 0 3
2 3 2nx
𝑎 = ∫ (2𝑥 − 𝑥2)𝑐𝑜𝑠 𝑑𝑥 By Bernoullis Theorem ∫ 𝑢𝑑𝑣 = 𝑢𝑣 − 𝑢′𝑣 + 𝑢′′𝑣 − ⋯
𝑛 3 0 1 2
3
3
2nx 2nx 2nx
2 𝑠𝑖𝑛 3 −𝑐𝑜𝑠 −𝑠𝑖𝑛
= (2𝑥 − 𝑥2) − (2 − 2𝑥) 3 3
+ (−2)
3 2𝑛𝜋 2𝑛𝜋 2 2𝑛𝜋 3
3 ( 3
) (3)
{ [ ] [ ] }0
2 −9 −9
= [( )−( )] {cos 2n𝜋 = 1 , sin2n𝜋 = 0, cos 0 = 1 . sin0 = 0}
3 𝑛2𝜋 2 2𝑛2𝜋 2
−92 1
=( ) ( ) (1 + )
𝑛2𝜋2 3 2
−9 2 3
𝑎𝑛 = ( 2 2)( ) ( )
𝑛𝜋 3 2
−9
𝑎𝑛 = ( 2 2 )
𝑛 𝜋
2 3
2nx
𝑏𝑛 = ∫ 𝑓(𝑥)𝑠𝑖𝑛 𝑑𝑥
3 0 3
2 3 2nx
𝑏 = ∫ (2𝑥 − 𝑥2)𝑠𝑖𝑛 𝑑𝑥 By Bernoullis Theorem ∫ 𝑢𝑑𝑣 = 𝑢𝑣 − 𝑢′𝑣 + 𝑢′′𝑣 − ⋯
𝑛 3 0 1 2
3
3
2nx 2nx 2nx
2 −𝑐𝑜𝑠 3 −𝑠𝑖𝑛 𝑐𝑜𝑠
= (2𝑥 − 𝑥2) − (2 − 2𝑥) 3 3
+ (−2)
3 2𝑛𝜋 2𝑛𝜋 2 2𝑛𝜋 3
3 ( 3
) (3)
{ [ ] [ ] }0
2 9 27
= [( )−( ) (1 − 1)] {cos 2n𝜋 = 1 , sin2n𝜋 = 0, cos 0 = 1 . sin0 = 0}
3 2𝑛𝜋 4𝑛3𝜋 3
3 9
𝑏 = Therefore 𝑓(𝑥) = − ∑∞ 1
𝑐𝑜𝑠
2𝑛𝜋𝑥 3 1
+ ∑∞𝑛=1 𝑠𝑖𝑛
2𝑛𝜋𝑥
𝑛 𝑛𝜋 𝜋2 𝑛=1 𝑛2 3 𝜋 𝑛 3
18) Obtain the Complex form of Fourier series of the function f(x) = e-x in the interval
0<x<2𝝅(A/M 10) (Dec-09)
1 2𝜋 −(1+𝑖𝑛)𝑥 2𝜋
1 𝑒−(1+𝑖𝑛)𝑥
= 2𝜋 ∫0 𝑒 𝑑𝑥 = {[− ]}
2𝜋 1+𝑖𝑛 0
1 −2𝜋(𝑒−𝑖2𝑛𝜋)+1 2𝜋
= {− 𝑒 1 1−𝑒−2𝜋(1)
} = ( )
2𝜋 1+𝑖𝑛 0 2
𝜋 1+𝑖𝑛
, x 0
f(x) =
x,0 x
2 1 1
Deduce that 1 ......
2
8 3 52 (Nov-09)
10
a0 dx xdx
0 2
10
an cos nxdx x cos nxdx
0
1
n
2
(1) n
1
10
bn sin nxdx x sin nxdx
0
1
1 2(1)n
n
f(x) = 1
(1)
1 n
1 cos nx
1 2(1)n sin nx
Fourier series is
4 n
n1
2
n1 n
Note that the point x=0 is a point of discontinuity of f(x). Here f(x+) =0, f(x-) =- at x=0. Hence
[ f (x ) f (x )] 0
1 1
2 2 2
1 1 [(1)n 1]
2 2 4 n 1 n 2
1 n
or 2 [(1) 1]
4 n 1 n
Simplifying we get,
2 1 1
1 ......
8 32 52
20) Find the complex form of the Fourirer Series of f(x)= e –x in -1< x <1.(Nov 2009)
Solution:
The complex form of the Fourirer Series of f(x)= e –x in -1< x <1, is given by
cos 𝑛𝜋 −1 cos 𝑛𝜋
=−2 (𝑖+𝑛𝜋) [𝑒 − 𝑒1 ] = 2 sin h 1
2 (𝑖+𝑛𝜋)
(−1)𝑛 sin h1
=
1+𝑖𝑛𝜋
Sub in f(x)
21) Expand f(x)= x-x2 in –L <X<L and using this series find the root mean square values of f(x)
in the interval. (Nov-09)
a0
The fourirer series of f(x) in ( -L , L) is given by f (x) a
cos nx / L bn sin nx / L
n
2 n1 n1
………(1)
1 𝐿
𝑤ℎ𝑒𝑟𝑒 𝑎0 = ∫ 𝑓(𝑥)𝑑𝑥
𝐿 −𝐿
1 𝐿
= ∫ (𝑥 − 𝑥2)𝑑𝑥
𝐿 −𝐿
1 𝑥2 𝑥 3 𝐿
= (2 − )
𝐿 3 −𝐿
1 2 3 2 3
= (𝐿 − 𝐿 − 𝐿 − 𝐿 )
2 𝐿 3 2 3
2𝐿3
=−
3𝐿
2𝐿2
𝑎0 = − … … … … … … … … … … … … … … … . (2)
3
1 𝐿 𝑛𝜋𝑥
𝑊ℎ𝑒𝑟𝑒 𝑎𝑛 = ∫ 𝑓(𝑥)cos( )𝑑𝑥
𝐿 −𝐿 𝐿
1 𝐿 𝑛𝜋𝑥
𝑎𝑛 = ∫ (𝑥 − 𝑥2)cos( )𝑑𝑥
𝐿 −𝐿 𝐿
𝐿
𝑛𝜋𝑥 𝑛𝜋𝑥 𝑛𝜋𝑥
sin ( 𝐿 ) −cos ( 𝐿 ) −sin ( 𝐿 )
𝑎 = 1 [(𝑥 − 𝑥 2 ) ( ) − (1 − 2𝑥) ( ) + (−2) ( )]
𝑛 𝑛𝜋 𝑛 2𝜋 2 𝑛3𝜋 3
𝐿
𝐿 𝐿2 𝐿3 −𝐿
1 (1 − 2𝐿)𝑐𝑜𝑠𝑛𝜋 (1 + 2𝐿)𝑐𝑜𝑠𝑛𝜋
= [ 𝑛2𝜋 2 − 𝑛2𝜋 2
]
𝐿
𝐿2 𝐿2
1 𝐿2
= [−4𝐿𝑐𝑜𝑠𝑛𝜋]
𝐿 𝑛2𝜋2
4𝐿2
𝑎𝑛 = (−1)𝑛+1 … … … … … … … … … … … … … (3)
𝑛2𝜋2
1 𝐿 𝑛𝜋𝑥
𝑊ℎ𝑒𝑟𝑒 𝑏𝑛 = ∫ 𝑓(𝑥)sin( )𝑑𝑥
𝐿 −𝐿 𝐿
1 𝐿 𝑛𝜋𝑥
𝑏𝑛 = ∫ (𝑥 − 𝑥2)sin( )𝑑𝑥
𝐿 −𝐿 𝐿
𝐿
𝑛𝜋𝑥 𝑛𝜋𝑥 𝑛𝜋𝑥
−cos ( 𝐿 ) −sin ( 𝐿 ) cos ( 𝐿 )
𝑏 = 1 [(𝑥 − 𝑥 2 ) ( ) − (1 − 2𝑥) ( ) + (−2) ( )]
𝑛 𝑛𝜋 𝑛2𝜋 2 𝑛3 𝜋 3
𝐿
𝐿 𝐿2 𝐿3 −𝐿
1
(−2𝐿𝑐𝑜𝑠𝑛𝜋)
=𝐿 𝑛𝜋
𝐿
2𝐿
𝑏𝑛 = (−1)𝑛+1 … … … … … … … … … . . (4)
𝑛𝜋
f(x) =
1
x in - < x <
2
We have,
1 11
a0
f (x)dx 2 ( x)dx
1 x2
= x
2 2
11
1
an f (x) cos nxdx
2
( x) cos nxdx
Here we use integration by parts, so that
1 sin nx cos nx
an x (1)
2 n n2
0 0
1
2
1 1
bn
2( x)sin nxdx
sin nx
1
x cos nx (1)
2 n n
2
n
(1)
n
We get,
(1)n
f (x) sin nx
2 n1 n
This is the required Fourier expansion of the given function.
, x 0
f(x) =
x,0 x
Deduce that
2 1 1
1 ......
8 32 52
Here,
10
2
a0 dx xdx
0
10
an cos nxdx x cos nxdx
0
1
n
2
(1) n
1
10
bn sin nxdx x sin nxdx
0
1
1 2(1)n
n
(1)
1 n
1 cos nx
1 2(1)n sin nx
4 n
n1
2
n1 n
Note that the point x=0 is a point of discontinuity of f(x). Here f(x +) =0, f(x-) =- at x=0. Hence
1
[ f (x ) f (x )]
1
0
2 2 2
The Fourier expansion of f(x) at x=0 becomes
1 1 [(1)n 1]
2 2 4 n 1 n 2
1 n
4
or 2
[(1) 1]
n 1 n
Simplifying we get,
2 1 1
1 ......
8 32 52
24) Obtain the Fourier expansion of
4x 3
1 3 in 2 x 0 2 1 1
Deduce that 1 2 2 ......
f(x) = 4x
1 in0 x 3 8 3 5
3 2
1 2n
3 2n
3 3
3 3 0
=
4
1 (1) n
n 2 2
Also,
f (x)sin dx 2 0
3
b
1 n x
3 3 3
n
2 2
1 (
Thus
4 1 n
2nx
2
f(x) =
1) cos
n 1 n
2 3
Putting x=0, we get
f(0) = 1 (1)n
1 4
2 n 1 n 2
8 1 1
or 1= 1 ......
2 3 52
2
2 1 1 1
Thus, 2
2 ......
8 3 5
2
2
a0
0
xdx
( x)dx
2
2
2 2
an x cos nxdx ( x) cos nxdx
0
2
1 (1)
4 12
32 52
26) Obtain the half-range cosine series of f(x) = c-x in 0<x<c
Here
2c
a0 (c x)dx c
c0
nx
c
2
c
an (c x) cos dx
c
0
an
2c 1 (1) n
n
2 2
2 n
n 1
2
c
27) Find the first two harmonics of the Fourier series of f(x) given the following table:
2 4 5
x 0
3 3 3 3 2
Note that the values of y = f(x) are spread over the interval 0 x 2 and f (0) = f (2) = Hence the
function is periodic and so we omit the last value f (2) = 0. We prepare the following table to
compute the first two harmonics. (dec 04, 06, 08,Apr-11)
0 1.0 1 1 0 0 1 1 0 0
The first two harmonics are a1cosx+b1sinx and a2cos2x+b2sin2x. That is (-0.367cosx +
28) Obtain the constant term and the coefficients of the first sine and cosine terms in the Fourier
expansion of y as given in the following table (Jun-12,Dec-10)
x 0 1 2 3 4 5
y 9 18 24 28 26 20
Soln:
2 1 2 𝜋𝑥 1
𝑎0 = (∑ 𝑦) = (125) = 41.67, 𝑎1 = (∑ 𝑦 cos ( )) = (−25) = −8.33
𝑛 3 𝑛 3 3
2 𝜋𝑥 1
𝑏1 = (∑ 𝑦 sin ( )) = (−3.465) = −1.16
𝑛 3 3
41.67 𝜋𝑥 𝜋𝑥
𝑦= + ((−8.33) cos ( ) + (−1.16) sin ( ))
2 3 3
𝜋𝑥 𝜋𝑥
𝑦 = 20.84 − 8.33 cos ( ) − 1.16 sin ( )
3 3
29) The following table gives the variations of a periodic current A over a period T :
Show that there is a constant part of 0.75amp. in the current A and obtain the amplitude of the
first harmonic. (A/M 03, Nov09)
Note that the values of A at t=0 and t=T are the same. Hence A(t) is a periodic function of period
T. Let us denote 2
t . We have
T
a0 2[A]
a 2
t 2[ Acos ] (1)
T
2 Acos
1
b 2
2 Asin t 2[ Asin ]
1
T
2 t
t A cos sin Acos Asin
T
0 0 1.98 1 0 1.98 0
a1
2 Acos 1.12 0.3733
6 3
b1
2 Asin 3.0137
1.0046
6 3
The Fourier expansion upto the first harmonic is
a0 2t 2t
A a cos b sin
1 T
T 2t 2t
1
2
0.75 0.3733cos 1.0046sin
T T
The expression shows that A has a constant part 0.75 in it. Also the amplitude of the first harmonic
is a12 b21 = 1.0717.
30) The displacement y of a part of a mechanism is tabulated with corresponding angular
movement x0 of the crank. Express y as a Fourier series upto the third harmonic. (Dec-11)
f(x) 1.80 1.10 0.30 0.16 0.50 1.30 2.16 1.25 1.30 1.52 1.76 2.00
Soln:
y=f(x) 1.8 1.10 0.30 0.16 0.50 1.30 2.16 1.25 1.30 1.52 1.76 2.00 15.15
Cos3x 1 0 -1 0 1 0 -1 0 1 0 -1 0
Sin3x 0 1 0 -1 0 1 0 -1 0 1 0 -1 ∑
yCosx 1.8 0.94 0.15 0 -0.25 -1.11 -2.16 -1.07 -0.65 0 0.88 1.72 0.243
3.175
yCos2x 1.8 0.55 -0.15 -0.16 -0.25 0.65 2.16 0.625 -0.65 -1.52 -0.88 1
ySinx 0 0.55 0.25 0.16 0.43 0.65 0 -0.625 -1.118 -1.52 -1.514 -1 -2.73
ySin2x 0 0.946 0.25 0 -0.43 -1.11 0 1.075 1.118 0 -1.514 -1.72 -1.39
𝒂𝟎
𝒇(𝒙) = + 𝒂 𝒄𝒐𝒔 𝒙 + 𝒂 𝒄𝒐𝒔𝟐𝒙 + 𝒂 𝒄𝒐𝒔 𝟑𝒙 + 𝒃𝟏𝒔𝒊𝒏 𝒙 + 𝒃𝟐 𝒔𝒊𝒏 𝟐𝒙 + 𝒃𝟑 𝒔𝒊𝒏 𝟑𝒙 + ⋯
𝟏 𝟐 𝟑
𝟐
2 2 𝑎0 2.525
𝑎 = (∑ 𝑦) = (15.15) = 2.525, = = 1.2625
0
𝑛 12 2 2
2 2
𝑎1 = (∑ 𝑦𝑐𝑜𝑠 𝑥) = 0.0405, 𝑎2 = (∑ 𝑦𝑐𝑜𝑠 2𝑥) = 0.5292
𝑛 𝑛
2 2
𝑎3 = (∑ 𝑦𝑐𝑜𝑠 3𝑥) = −0.103, 𝑏1 =
(∑ 𝑦𝑠𝑖𝑛𝑥) = −0.4548
𝑛 𝑛
2 2
𝑏2 = (∑ 𝑦𝑠𝑖𝑛 2𝑥) = −0.2308, 𝑏3 = (∑ 𝑦𝑠𝑖𝑛3𝑥) = 0.085
𝑛 𝑛
𝑓(𝑥) = 1.2625 + (0.0405 ) cos 𝑥 + (0.5292 )𝑐𝑜𝑠2𝑥 − (0.103 )cos 3𝑥
31) Express y as a Fourier series upto the third harmonic given the following values:
x 0 1 2 3 4 5
y 4 8 15 7 6 2
The values of y at x=0,1,2,3,4,5 are given and hence the interval of x should be 0 x < 6. The
length of the interval = 6-0 = 6, so that 2l = 6 or l = 3.
2 3
l l l
1 1 2 3
2 l l l
or
a0 x x 2x 2x 3x 3x
y a cos b sin a cos b sin a cos b sin
1 1 2
3
2 3 3 3
2
3
3
3 3
x
Put , then
3
y a cos b sin a cos 2 b sin 2 a cos3 b sin 3
a0
(1)
1 1 2 2 3 3
2
We prepare the following table using the given values :
x
x = y ycos ycos2 ycos3 ysin ysin2 ysin3
3
0 0 04 4 4 4 0 0 0
3 1800 07 -7 7 -7 0 0 0
2 y 1
a 2[ f (x)] 2[ y] (42) 14
0
6 3
2
a 2[ y cos ] (8.5) 2.833
1
6
2
b 2[ y sin ] (12.99) 4.33
1
6
2
a 2[ y cos 2 ] (4.5) 1.5
2
6
2
b 2[ y sin 2 ] (2.598) 0.866
2
6
2
a 2[ y cos3 ] (8) 2.667
3
6
b3 2[ y sin 3 ] 0