Professional Documents
Culture Documents
Module - 4 Fourier Series-Notes PDF
Module - 4 Fourier Series-Notes PDF
Course Material
MODULE IV
1
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
Objectives:
Student will be able to write the half range sine and cosine series for a giving
function.
Student will be able to find the harmonics for a given set of tabulated values
2
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
Periodic Function
A function 𝑓(𝑥) is said to be periodic if there exists some positive number (𝑇 > 0) such that
𝑓(𝑥 + 𝑇) = 𝑓(𝑥) for all real 𝑥. Also, we can say that a graph of periodic function that has a
f(x)
PERIOD = L
period 𝑇 = 𝐿 exhibits the same pattern every 𝐿 units in 𝑥-axis, so that 𝑓(𝑥 + 𝐿) = 𝑓(𝑥) for
every value of 𝑥.
The least value of 𝑇 satisfying this property is called the fundamental period of function 𝑓(𝑥).
Example: (i) 𝑠𝑖𝑛𝑥, 𝑐𝑜𝑠𝑥, 𝑠𝑒𝑐𝑥, & 𝑐𝑜𝑠𝑒𝑐𝑥 are periodic functions with fundamental period 2𝜋. It
implies that sin(𝑥 + 2𝜋) = 𝑠𝑖𝑛𝑥, cos(𝑥 + 2𝜋) = 𝑐𝑜𝑠𝑥, sec(𝑥 + 2𝜋) = sec𝑥 etc.
(ii) 𝑡𝑎𝑛𝑥 & 𝑐𝑜𝑡𝑥 are periodic functions with fundamental period 𝜋. It implies that tan(𝑥 + 𝜋) =
𝑡𝑎𝑛𝑥 & cot(𝑥 + 𝜋) = 𝑐𝑜𝑡𝑥.
(iii) If 𝑇 is the period of 𝑓(𝑥) then 𝑛𝑇 is also period of 𝑓(𝑥) for any integer 𝑛, i.e. 𝑓(𝑥 + 𝑛𝑇) =
𝑓(𝑥), 𝑛 ≠ 0.
𝑐𝑜𝑠𝑥 is periodic function with fundamental period 2𝜋, then 4𝜋, 6𝜋, 8𝜋 ⋯ = 2𝑛𝜋, 𝑛 ∈ 𝐼 also
period of 𝑐𝑜𝑠𝑥.
2𝜋
sin 2𝑥 is periodic function with of period ( ) = 𝜋.
2
2𝜋
sin(2𝑥 + 3) is periodic function with of period ( ) = 𝜋.
2
3
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2𝜋
cos(4𝑥 − 3) is periodic function with of period ( ) = 𝜋/2.
4
(v) The period of a sum of a number of periodic functions is the LCM of the periods.
sin 2𝑥 sin 3𝑥 sin 4𝑥
If 𝑓(𝑥) = sin 𝑥 + + + , then sin 𝑥 , sin 2𝑥, sin 3𝑥, sin 4𝑥 have the period
2 3 4
2𝜋 𝜋 2𝜋 𝜋
2𝜋, 𝜋, & 2 . Then period of 𝑓(𝑥) is 2𝜋 which is the LCM of the periods 2𝜋, 𝜋, & 2.
3 3
Even Function
Let the function defined on interval [−𝑙, 𝑙] . Then, function 𝑓(𝑥) is said to be even function on
interval [−𝑙, 𝑙] if
(𝑖)𝑓(−𝑥) = 𝑓(𝑥) , −𝑙 ≤ 𝑥 ≤ 𝑙.
∅(𝑥), −𝑙 ≤ 𝑥 ≤ 0
(𝑖𝑖)𝑓(𝑥) = { }, then ∅(−𝑥) = 𝜔(𝑥).
𝜔(𝑥), 0 ≤ 𝑥 ≤ 𝑙
∅(𝑥), 0 ≤ 𝑥 ≤ 𝑙
(𝑖𝑖)𝑓(𝑥) = { }, then ∅(2𝑙 − 𝑥) = 𝜔(𝑥).
𝜔(𝑥), 𝑙 ≤ 𝑥 ≤ 2𝑙
Example: (i) 𝑐𝑜𝑠𝑥 is even function because cos(−𝑥) = cos𝑥 etc. The graph of cos𝑥 is given by
4
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
(ii) Even function 𝑓(𝑥) consists only even powers of 𝑥.The Maclaurin series of 𝑐𝑜𝑠𝑥 & 𝑠𝑒𝑐𝑥
consists of even powers of 𝑥 only.
2𝑙 𝑙
(b) ∫0 𝑓(𝑥)𝑑𝑥 = 2 ∫0 𝑓(𝑥)𝑑𝑥 , 𝑖𝑓 𝑓(2𝑙 − 𝑥) = 𝑓(𝑥).
𝑙 𝑙
∫−𝑙 𝑥 4 𝑑𝑥 = 2 ∫0 𝑥 4 𝑑𝑥, ∴ 𝑓(−𝑥) = (−𝑥)4 = 𝑥 4 = 𝑓(𝑥).
2𝑙 𝑙
∫0 (𝑙 − 𝑥)4 𝑑𝑥 = 2 ∫0 (𝑙 − 𝑥)4 𝑑𝑥, ∴ 𝑓(2𝑙 − 𝑥) = [𝑙 − (2𝑙 − 𝑥)]4 = (𝑙 − 𝑥)4 = 𝑓(𝑥).
(iv)The sum of two even functions is even function i.e. if ℎ(𝑥) = 𝑓(𝑥) + 𝑔(𝑥) is even function
when both 𝑓(𝑥) & 𝑔(𝑥) are even function.
Odd Function
Let the function defined on interval [−𝑙, 𝑙] . Then, function 𝑓(𝑥) is said to be odd function on
interval [−𝑙, 𝑙] if
(𝑖)𝑓(−𝑥) = −𝑓(𝑥) , −𝑙 ≤ 𝑥 ≤ 𝑙.
∅(𝑥), −𝑙 ≤ 𝑥 ≤ 0
(𝑖𝑖)𝑓(𝑥) = { }, then ∅(−𝑥) = −𝜔(𝑥).
𝜔(𝑥), 0 ≤ 𝑥 ≤ 𝑙
∅(𝑥), 0 ≤ 𝑥 ≤ 𝑙
(𝑖𝑖)𝑓(𝑥) = { }, then ∅(2𝑙 − 𝑥) = −𝜔(𝑥).
𝜔(𝑥), 𝑙 ≤ 𝑥 ≤ 2𝑙
Also, the graph of odd function is symmetric about the origin or the graph lies in opposite
quadrants Ist & IIIrd.
5
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
Example: (i) 𝑠𝑖𝑛𝑥 is odd function because sin(−𝑥) = −sin𝑥 etc. The graph of sin𝑥 is given by
(ii) Odd function 𝑓(𝑥) consists only odd powers of 𝑥. The Maclaurin series of 𝑠𝑖𝑛𝑥 & 𝑐𝑜𝑠𝑒𝑐𝑥
consists of odd powers of 𝑥 only.
2𝑙
(b) ∫0 𝑓(𝑥)𝑑𝑥 = 0, 𝑖𝑓 𝑓(2𝑙 − 𝑥) = −𝑓(𝑥).
𝑙
∫−𝑙 𝑥 3 𝑑𝑥 = 0, ∴ 𝑓(−𝑥) = (−𝑥)3 = (−1)3 𝑥 3 = −𝑥 3 = −𝑓(𝑥).
2𝑙 𝑙
∫0 (𝑙 − 𝑥)3 𝑑𝑥 = 2 ∫0 (𝑙 − 𝑥)3 𝑑𝑥, ∴ 𝑓(2𝑙 − 𝑥) = [𝑙 − (2𝑙 − 𝑥)]3 = (−1)3 (𝑙 − 𝑥)3 =
−(𝑙 − 𝑥)3 = −𝑓(𝑥).
(iv)The sum of two odd functions is odd function i.e. if ℎ(𝑥) = 𝑓(𝑥) + 𝑔(𝑥) is odd function
when both 𝑓(𝑥) & 𝑔(𝑥) are odd function.
6
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
(𝑖)𝑓(−𝑥) ≠ 𝑓(𝑥) , −𝑙 ≤ 𝑥 ≤ 𝑙.
∅(𝑥), −𝑙 ≤ 𝑥 ≤ 0
(𝑖𝑖)𝑓(𝑥) = { }, then ∅(−𝑥) ≠ 𝜔(𝑥).
𝜔(𝑥), 0 ≤ 𝑥 ≤ 𝑙
∅(𝑥), 0 ≤ 𝑥 ≤ 𝑙
(𝑖𝑖)𝑓(𝑥) = { }, then ∅(2𝑙 − 𝑥) ≠ 𝜔(𝑥).
𝜔(𝑥), 𝑙 ≤ 𝑥 ≤ 2𝑙
There is no symmetry find about origin & 𝑦 –axis in the graph of neither even nor odd function.
Example: (i) 𝑓(𝑥) = 𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥 is neither even nor odd function in the interval −𝑙 ≤ 𝑥 ≤ 𝑙
because 𝑓(−𝑥) = sin(−𝑥) + cos(−𝑥) = −𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥 ≠ 𝑓(𝑥) .
(ii) 𝑓(𝑥) = 𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥 is neither even nor odd function in the interval 0 ≤ 𝑥 ≤ 2𝜋. Here
𝑙 = 𝜋 & 𝑓(2𝑙 − 𝑥) = 𝑓(2𝜋 − 𝑥) = sin(2𝜋 − 𝑥) + cos(2𝜋 − 𝑥) = −𝑠𝑖𝑛𝑥 + 𝑐𝑜𝑠𝑥 ≠ 𝑓(𝑥) .
Trigonometric Series
It is a functional series of combinations of sine & cosine terms, given by as follows
𝑎0
𝑓(𝑥) = + 𝑎1 cos 𝑥 + 𝑏1 sin 𝑥 + 𝑎2 cos 2𝑥 + 𝑏2 sin 2𝑥 + ⋯ ⋯ ⋯ ⋯
2
𝑛=∞
𝑎0
𝑓(𝑥) = + ∑ [ 𝑎𝑛 cos 𝑛𝑥 + 𝑏𝑛 sin 𝑛𝑥]
2
𝑛=1
Fourier Series
Fourier is of a periodic function 𝑓(𝑥) with period 2𝑙 is the trigonometric series given by
7
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞
𝑎0 𝑛𝜋𝑥 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ [ 𝑎𝑛 cos ( ) + 𝑏𝑛 sin ( )]
2 𝑙 𝑙
𝑛=1
where 𝑎0 , 𝑎𝑛 & 𝑏𝑛 for 𝑛 = 1,2,3, ⋯ ⋯ are called the Fourier coefficients of function 𝑓(𝑥). The
Fourier coefficients 𝑎0 , 𝑎𝑛 & 𝑏𝑛 given by the Euler’s formulae as follows
Putting 𝑙 = 𝜋 in Fourier series above, we obtain the Fourier series of a periodic function 𝑓(𝑥)
with period 2𝜋 & Fourier coefficients 𝑎0 , 𝑎𝑛 & 𝑏𝑛 are given by as follows
𝑛=∞
𝑎0
𝑓(𝑥) = + ∑ [ 𝑎𝑛 cos(𝑛𝑥) + 𝑏𝑛 sin(𝑛𝑥)]
2
𝑛=1
Dirichlet’s Conditions
These are conditions under which Fourier series expansion of 𝑓(𝑥) is possible and also the find
the function to which the series converges. These conditions are
(i) The function 𝑓(𝑥) be piecewise continuous & bounded in the interval (−𝑙, 𝑙) .
8
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
(ii) 𝑓(𝑥) is defined and continuous for all 𝑥 in (−𝑙, 𝑙) except, may be, at a finite number of
points in (−𝑙, 𝑙).
(iii) At a point of discontinuity, let 𝑥0 ∈ (−𝑙, 𝑙), the Fourier series of 𝑓(𝑥) converges to the
arithmetic mean of the left and right hand limits of 𝑓(𝑥) at 𝑥0 , that is
1
𝑓(𝑥0 ) = [𝑓(𝑥0 − 0) + 𝑓(𝑥0 + 0)]
2
Problems
1. Obtain the Fourier series for 𝒇(𝒙) = 𝒆−𝒙 , in (𝟎, 𝟐𝝅), 𝒘𝒉𝒆𝒓𝒆 𝒇(𝒙) = 𝒇(𝒙 + 𝟐𝝅) . Hence
obtain a series for 𝒄𝒐𝒔𝒆𝒄𝒉 𝝅 .
For the given function 𝑓(𝑥) = 𝑒 −𝑥 in the interval 0 ≤ 𝑥 ≤ 2𝜋, 𝑓(2𝜋 − 𝑥) = 𝑒 −(2𝜋−𝑥) ≠ 𝑓(𝑥).
Hence, the function 𝑓(𝑥) is neither ever nor odd function and we have to find the values of
𝑎0 , 𝑎𝑛 & 𝑏𝑛 . Also, the graph of function is
1 2𝜋 1 2𝜋 1 1
𝑎0 = 𝜋 ∫0 𝑓(𝑥)𝑑𝑥 = 𝜋 ∫0 𝑒 −𝑥 𝑑𝑥 = 𝜋 [−𝑒 −𝑥 ]2𝜋
0 = 𝜋 [−𝑒
−2𝜋
+ 𝑒 −0 ]
1
= 𝜋 [1 − 𝑒 −2𝜋 ], ∴ 𝑒 −0 = 1.
1 2𝜋 1 2𝜋
𝑎𝑛 = 𝜋 ∫0 𝑓(𝑥) cos(𝑛𝑥) 𝑑𝑥 = 𝜋 ∫0 𝑒 −𝑥 cos(𝑛𝑥) 𝑑𝑥
1 𝑒 𝑎𝑥
= 𝜋(1+𝑛2 ) [ 𝑒 −𝑥 (− cos 𝑛 𝑥 + 𝑛 sin 𝑛𝑥)]2𝜋
0 ,∴ ∫𝑒
𝑎𝑥
cos 𝑏𝑥 𝑑𝑥 = 𝑎2 +𝑏2 (a cos 𝑏𝑥 + 𝑏 sin 𝑏𝑥).
1
= 𝜋(1+𝑛2 ) [𝑒 −2𝜋 (− cos 2𝜋𝑛 + 𝑛 sin 2𝜋𝑛) − 𝑒 −0 (− cos 0. 𝑛 + 𝑛 sin 0. 𝑛)]
1
= 𝜋(1+𝑛2 ) [1 − 𝑒 −2𝜋 ], ∴ cos(2𝜋𝑛) = 1 & sin(2𝜋𝑛) = 0, 𝑛 ∈ 𝐼 .
1 2𝜋 1 2𝜋
𝑏𝑛 = 𝜋 ∫0 𝑓(𝑥) sin(𝑛𝑥) 𝑑𝑥 = 𝜋 ∫0 𝑒 −𝑥 sin(𝑛𝑥) 𝑑𝑥
9
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
1 𝑒 𝑎𝑥
= 𝜋(1+𝑛2 ) [ 𝑒 −𝑥 (− sin 𝑛 𝑥 − 𝑛 cos 𝑛𝑥)]2𝜋
0 ,∴ ∫𝑒
𝑎𝑥
sin 𝑏𝑥 𝑑𝑥 = 𝑎2 +𝑏2 (a sin 𝑏𝑥 − 𝑏 cos 𝑏𝑥).
1
= 𝜋(1+𝑛2 ) [𝑒 −2𝜋 (− sin 2𝜋𝑛 − 𝑛 cos 2𝜋𝑛) + 𝑒 −0 (𝑠𝑖𝑛 0. 𝑛 + 𝑛 cos 0. 𝑛)]
𝑛
= 𝜋(1+𝑛2 ) [1 − 𝑒 −2𝜋 ], ∴ cos(2𝜋𝑛) = 1 & sin(2𝜋𝑛) = 0, 𝑛 ∈ 𝐼 .
[1−𝑒 −2𝜋 ] 1 𝑛
𝑒 −𝑥 = + ∑𝑛=∞
𝑛=1 [ 𝜋(1+𝑛2 ) [1 − 𝑒
−2𝜋 ].
cos 𝑛𝑥 + 𝜋(1+𝑛2 ) [1 − 𝑒 −2𝜋 ]. sin 𝑛𝑥]
2𝜋
𝑛=∞
−𝑥
[1 − 𝑒 −2𝜋 ] [1 − 𝑒 −2𝜋 ] (cos 𝑛𝑥 + 𝑛 sin 𝑛𝑥)
𝑒 = + ∑
2𝜋 𝜋 (1 + 𝑛2 )
𝑛=1
𝑒 −𝜋 1 1 cos 𝑛𝜋
[1−𝑒 −2𝜋 ]
= 2𝜋 + 𝜋 ∑𝑛=∞
𝑛=1 (1+𝑛2 ) ∴ sin(𝑛𝜋) = 0, 𝑛 ∈ 𝐼.
𝑛=∞ 𝑛=∞
𝑒 −𝜋 1 1 cos 𝑛𝜋 1 1 cos 𝜋 cos 𝑛𝜋
−2𝜋
= [ +∑ 2
]= [ + 2
+∑ ]
[1 − 𝑒 ] 𝜋 2 (1 + 𝑛 ) 𝜋 2 (1 + 1 ) (1 + 𝑛2 )
𝑛=1 𝑛=2
𝑒 −𝜋 1 1 1 cos 𝑛𝜋
[1−𝑒 −2𝜋 ]
= 𝜋 [2 − 2 + ∑𝑛=∞
𝑛=2 (1+𝑛2 )]
𝑛=∞
1 1 cos 𝑛𝜋
= ∑
[𝑒 𝜋 − 𝑒 −𝜋 ] 𝜋 (1 + 𝑛2 )
𝑛=2
𝑛=∞
1 1 cos 𝑛𝜋
= ∑
2 sinh 𝜋 𝜋 (1 + 𝑛2 )
𝑛=2
10
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞
1 1 cos 𝑛𝜋
𝑐𝑜𝑠𝑒𝑐ℎ 𝜋 = ∑
2 𝜋 (1 + 𝑛2 )
𝑛=2
𝑛=∞
1 cos 𝑛𝜋
𝑐𝑜𝑠𝑒𝑐ℎ 𝜋 = ∑
𝜋 (1 + 𝑛2 )
𝑛=2
2. Find the Fourier series for the function 𝒇(𝒙) = 𝒙 + 𝒙𝟐 , −𝝅 ≤ 𝒙 ≤ 𝝅, 𝒘𝒉𝒆𝒓𝒆 𝒇(𝒙) =
𝝅𝟐 𝟏 𝟏 𝟏
𝒇(𝒙 + 𝟐𝝅) . Hence show that = 𝟏 − 𝟐𝟐 + 𝟑𝟐 − 𝟒𝟐 + ⋯.
𝟏𝟐
For the given function 𝑓(𝑥) = 𝑥 + 𝑥 2 in the interval −𝜋 ≤ 𝑥 ≤ 𝜋. Here, 𝑓(−𝑥) = (−𝑥) +
(−𝑥)2 = 𝑥 2 − 𝑥 ≠ 𝑓(𝑥). Hence, the function 𝑓(𝑥) is neither ever nor odd function and we
have to find the values of 𝑎0 , 𝑎𝑛 & 𝑏𝑛 . Also, the graph of function is given by
1 𝜋 1 𝜋 1 𝜋
𝑎0 = 𝜋 ∫−𝜋(𝑥 + 𝑥 2 ) 𝑑𝑥 = 𝜋 ∫−𝜋 𝑥 𝑑𝑥 + 𝜋 ∫−𝜋 𝑥 2 𝑑𝑥 .
2 𝜋 𝜋 𝜋
= 0 + 𝜋 ∫0 𝑥 2 𝑑𝑥 , ∴ ∫−𝜋 𝑥 𝑑𝑥 𝑖𝑠 𝑜𝑑𝑑 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑛𝑑 ∫−𝜋 𝑥 2 𝑑𝑥 𝑖𝑠 𝑒𝑣𝑒𝑛 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 (−𝜋, 𝜋).
𝜋
2 𝑥3 2 (𝜋)3 −02 2 𝜋2
= 𝜋[3] = 𝜋[ ]= .
0 3 3
1 𝜋 1 𝜋
𝑎𝑛 = 𝜋 ∫−𝜋 𝑓(𝑥) cos(𝑛𝑥) 𝑑𝑥 = 𝜋 ∫−𝜋(𝑥 + 𝑥 2 ) cos(𝑛𝑥) 𝑑𝑥
1 𝜋 1 𝜋
= ∫ 𝑥 cos(𝑛𝑥) 𝑑𝑥 + ∫ 𝑥 2 cos(𝑛𝑥) 𝑑𝑥
𝜋 −𝜋 𝜋 −𝜋
2 𝜋 2
= 0+ ∫ 𝑥 cos(𝑛𝑥) 𝑑𝑥
𝜋 0
11
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝜋 𝜋
∴ ∫−𝜋 𝑥 cos(𝑛𝑥) 𝑑𝑥 𝑖𝑠 𝑜𝑑𝑑 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑛𝑑 ∫−𝜋 𝑥 2 cos(𝑛𝑥) 𝑑𝑥 𝑖𝑠 𝑒𝑣𝑒𝑛 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 (−𝜋, 𝜋).
1 𝜋 1 𝜋
𝑏𝑛 = 𝜋 ∫−𝜋 𝑓(𝑥) sin(𝑛𝑥) 𝑑𝑥 = 𝜋 ∫−𝜋(𝑥 + 𝑥 2 ) sin(𝑛𝑥) 𝑑𝑥
1 𝜋 1 𝜋 2
= ∫ 𝑥 sin(𝑛𝑥) 𝑑𝑥 + ∫ 𝑥 sin(𝑛𝑥) 𝑑𝑥
𝜋 −𝜋 𝜋 −𝜋
2 𝜋
= ∫ 𝑥 sin(𝑛𝑥) 𝑑𝑥 + 0
𝜋 0
𝜋 𝜋
∴ ∫−𝜋 𝑥 sin(𝑛𝑥) 𝑑𝑥 𝑖𝑠 𝑒𝑣𝑒𝑛 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑛𝑑 ∫−𝜋 𝑥 2 cos(𝑛𝑥) 𝑑𝑥 𝑖𝑠 𝑜𝑑𝑑 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑖𝑛 (−𝜋, 𝜋).
2 cos(𝑛𝑥) sin(𝑛𝑥) 𝜋
= 𝜋 [𝑥 (− ) − (1) (− )]
𝑛 𝑛2 0
2
= 𝑛 𝜋 [𝜋. −cos(𝑛𝜋)]
2
= − 𝑛 (−1)𝑛 , ∴ cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼 .
𝑛=∞
𝜋2
2
−4(−1)𝑛 2
𝑥+𝑥 = + ∑[ 2
. cos 𝑛𝑥 − (−1)𝑛 sin 𝑛𝑥]
3 𝑛 𝑛
𝑛=1
12
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞
𝜋2
2
4 cos 𝑛𝑥 2 sin 𝑛𝑥
𝑥+𝑥 = − (−1)𝑛 ∑ [ + ]
3 𝑛2 𝑛
𝑛=1
𝑛=∞
𝜋2 (−1)𝑛
0= −4 ∑
3 𝑛2
𝑛=1
𝑛=∞
𝜋2 (−1)𝑛
= ∑
12 𝑛2
𝑛=1
𝜋2 1 1 1
=1− 2+ 2− 2+⋯
12 2 3 4
𝟏−𝒙, 𝟎<𝒙≤𝟏 𝝅𝟐
3. Obtain the Fourier Series for 𝒇(𝒙) = { } . Hence, deduce that 𝟖 = 𝟏 +
𝟎, 𝟏≤𝒙≤𝟐
𝟏 𝟏 𝟏
+ 𝟓𝟐 + 𝟕𝟐 + ⋯
𝟑𝟐
1−𝑥, 0< 𝑥 ≤ 1
Given that 𝑓(𝑥) = { } in the interval 0 < 𝑥 ≤ 2 & 2𝑙 = 2.Here, ∅(𝑥) = 1 −
0, 1≤𝑥 ≤ 2
𝑥 , 𝜑(𝑥) = 0 & ∅(2𝑙 − 𝑥) = ∅(2 − 𝑥) = 1 − (2 − 𝑥) = 𝑥 − 1 ≠ 𝜑(𝑥) . Hence, the
function 𝑓(𝑥) is neither ever nor odd function and we have to find the values of 𝑎0 , 𝑎𝑛 & 𝑏𝑛 .
Also, the graph of function is given by
13
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
1 2𝑙 1 2 1 2
𝑎0 = 𝑙 ∫0 𝑓(𝑥) 𝑑𝑥 = 1 ∫0 𝑓(𝑥)𝑑𝑥 = ∫0 𝑓(𝑥) 𝑑𝑥 + ∫1 𝑓(𝑥) 𝑑𝑥 .
1 2 1
= ∫ (1 − 𝑥 ) 𝑑𝑥 + ∫ 0 𝑑𝑥 = ∫ (1 − 𝑥 ) 𝑑𝑥
0 1 0
1
𝑥2 1 1
= [𝑥 − ] = (1 − ) = .
2 0 2 2
1 2𝑙 𝑛𝜋𝑥 1 1 1 2
𝑎𝑛 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥 = ∫ (1 − 𝑥 ) cos(𝑛𝜋𝑥) 𝑑𝑥 + ∫ 0. cos(𝑛𝜋𝑥) 𝑑𝑥
𝑙 0 𝑙 1 0 1 1
1
= ∫ (1 − 𝑥 ) cos(𝑛𝜋𝑥) 𝑑𝑥
0
sin(𝑛𝜋𝑥) cos(𝑛𝜋𝑥) 1
= [(1 − 𝑥) ( ) − (−1) (− )]
𝑛𝜋 𝑛2 𝜋 2 0
1
= 𝑛2 𝜋2 [1 − cos(𝜋𝑛)], ∴ sin(𝜋𝑛) = 0, 𝑛 ∈ 𝐼 .
1
= 𝑛2 𝜋2 [1 − (−1)𝑛 ], ∴ cos(0) = 1 & cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼 .
0, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
𝑎𝑛 = 2 , ∴ (−1)𝑛 = 1, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛 & (−1)𝑛 = −1, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑 .
, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑
𝑛2 𝜋 2
1 2𝑙 𝑛𝜋𝑥 1 1 1 2
𝑏𝑛 = ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥 = ∫ (1 − 𝑥 ) sin(𝑛𝜋𝑥) 𝑑𝑥 + ∫ 0. sin(𝑛𝜋𝑥) 𝑑𝑥
𝑙 0 𝑙 1 0 1 1
1
= ∫ (1 − 𝑥 ) sin(𝑛𝜋𝑥) 𝑑𝑥
0
cos(𝑛𝜋𝑥) sin(𝑛𝜋𝑥) 1
= [(1 − 𝑥) (− ) − (−1) (− )]
𝑛𝜋 𝑛2 𝜋 2 0
1
= 𝑛𝜋 , ∴ sin(𝜋𝑛) = 0, 𝑛 ∈ 𝐼 .
14
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞
1 2 1
𝑓(𝑥) = + ∑ 2 2 cos(𝑛𝜋𝑥) + ∑ sin(𝑛𝜋𝑥)
4 𝑛 𝜋 𝑛𝜋
𝑛 𝑖𝑠 𝑜𝑑𝑑 𝑛=1
𝑛=∞
1 2 cos(𝑛𝜋𝑥) 1 sin(𝑛𝜋𝑥)
𝑓(𝑥) = + 2 ∑ + ∑
4 𝜋 𝑛2 𝜋 𝑛
𝑛 𝑖𝑠 𝑜𝑑𝑑 𝑛=1
1 2 cos(𝑛𝜋)
0= + 2 ∑ , ∴ f(0) = 1 & sin(𝜋𝑛) = 0, 𝑛 ∈ 𝐼
4 𝜋 𝑛2
𝑛 𝑖𝑠 𝑜𝑑𝑑
1 2 cos(𝑛𝜋)
− = 2 ∑
4 𝜋 𝑛2
𝑛 𝑖𝑠 𝑜𝑑𝑑
𝜋2 (−1)𝑛
− = ∑ , ∴ cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼
8 𝑛2
𝑛 𝑖𝑠 𝑜𝑑𝑑
𝜋2 1 1 1 𝜋2 1 1 1
− = −1 − 2 − 2 − 2 + ⋯ 𝑂𝑅 = 1+ 2+ 2+ 2+⋯
8 3 5 7 8 3 5 7
4. Find the Fourier series for the function 𝒇(𝒙), defined on [−𝟐, 𝟐] , where
−𝟏 , −𝟐 ≤ 𝒙 < 𝟎 𝝅 𝟏 𝟏 𝟏
𝒇(𝒙) = { } . Hence, deduce that prove that 𝟒 = 𝟏 − 𝟑 + 𝟓 − 𝟕 + ⋯.
𝟐 , 𝟎<𝒙≤𝟐
−1 , −2 ≤ 𝑥 < 0
Given that 𝑓(𝑥) = { } in the interval −2 ≤ 𝑥 ≤ 2 & 2𝑙 = 4 .Here, ∅(𝑥) =
2 , 0<𝑥≤2
−1 , 𝜑(𝑥) = 2 & ∅(−𝑥) = −1 ≠ 𝜑(𝑥) = 2. Hence, the function 𝑓(𝑥) is neither ever nor odd
function and we have to find the values of 𝑎0 , 𝑎𝑛 & 𝑏𝑛 . Also, the graph of function is given by
15
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
1 𝑙 1 2 1 0 1 2
𝑎0 = 𝑙 ∫−𝑙 𝑓(𝑥) 𝑑𝑥 = 2 ∫−2 𝑓(𝑥)𝑑𝑥 = 2 ∫−2 𝑓(𝑥) 𝑑𝑥 + 2 ∫0 𝑓(𝑥) 𝑑𝑥 .
1 0 1 2 1 1
= ∫ −1 𝑑𝑥 + ∫ 2 𝑑𝑥 = − [𝑥]0−2 + [𝑥]20 = − [0 − (−2)] + [2 − 0] = 1.
2 −2 2 0 2 2
1 𝑙 𝑛𝜋𝑥 1 2 𝑛𝜋𝑥
𝑎𝑛 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥
𝑙 −𝑙 𝑙 2 −2 2
1 0 𝑛𝜋𝑥 1 2 𝑛𝜋𝑥
= ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥 + ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥
2 −2 2 2 0 2
1 0 𝑛𝜋𝑥 1 2 𝑛𝜋𝑥
= ∫ (−1) cos ( ) 𝑑𝑥 + ∫ 2. cos ( ) 𝑑𝑥
2 −2 2 2 0 2
1 0 𝑛𝜋𝑥 2
𝑛𝜋𝑥
= − ∫ cos ( ) 𝑑𝑥 + ∫ cos ( ) 𝑑𝑥
2 −2 2 0 2
1 2 𝑛𝜋𝑥 0 2 𝑛𝜋𝑥 2
= − 2 [(𝑛𝜋) (sin ( ))] +[(𝑛𝜋) (sin ( ))]
2 −2 2 0
1 𝑛𝜋𝑥 0 2 𝑛𝜋𝑥 2
=− [sin ( )] + [sin ( )]
𝑛𝜋 2 −2 𝑛𝜋 2 0
1 𝑛𝜋. 0 𝑛𝜋. −2 2 𝑛𝜋. 2 𝑛𝜋. 0
=− [sin ( ) − sin ( )] + [sin ( ) − sin ( )]
𝑛𝜋 2 2 𝑛𝜋 2 2
1 2
= [0 − sin(𝑛𝜋)] + [sin(𝑛𝜋) − 0]
𝑛𝜋 𝑛𝜋
= 0, ∴ sin(𝑛𝜋) = 0, 𝑛 ∈ 𝐼
16
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
1 𝑙 𝑛𝜋𝑥 1 2 𝑛𝜋𝑥
𝑏𝑛 = ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥 = ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥
𝑙 −𝑙 𝑙 2 −2 2
1 0 𝑛𝜋𝑥 1 2 𝑛𝜋𝑥
= ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥 + ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥
2 −2 2 2 0 2
1 0 𝑛𝜋𝑥 1 2 𝑛𝜋𝑥
= ∫ (−1) sin ( ) 𝑑𝑥 + ∫ 2. sin ( ) 𝑑𝑥
2 −2 2 2 0 2
1 0 𝑛𝜋𝑥 2
𝑛𝜋𝑥
= − ∫ sin ( ) 𝑑𝑥 + ∫ sin ( ) 𝑑𝑥
2 −2 2 0 2
1 2 𝑛𝜋𝑥 0 2 𝑛𝜋𝑥 2
= − 2 [(𝑛𝜋) (− cos ( ))] +[(𝑛𝜋) (− cos ( ))]
2 −2 2 0
1 𝑛𝜋𝑥 0 2 𝑛𝜋𝑥 2
= [cos ( )] − [cos ( )]
𝑛𝜋 2 −2 𝑛𝜋 2 0
1 𝑛𝜋. 0 𝑛𝜋. −2 2 𝑛𝜋. 2 𝑛𝜋. 0
= [cos ( ) − cos ( )] − [cos ( ) − cos ( )]
𝑛𝜋 2 2 𝑛𝜋 2 2
1 2
= [1 − cos(𝑛𝜋)] − [cos(𝑛𝜋) − 1]
𝑛𝜋 𝑛𝜋
3 3
= [1 − cos(𝑛𝜋)] = [1 − (−1)𝑛 ], ∴ cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼
𝑛𝜋 𝑛𝜋
0, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
𝑏𝑛 = 6 , ∴ (−1)𝑛 = 1, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛 & (−1)𝑛 = −1, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑 .
, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑
𝑛𝜋
Thus, the Fourier series is given by
𝑛=∞
𝑎0 𝑛𝜋𝑥 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ [ 𝑎𝑛 cos ( ) + 𝑏𝑛 sin ( )
2 𝑙 𝑙
𝑛=1
𝑛=∞ 𝑛=∞
𝑎0 𝑛𝜋𝑥 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ 𝑎𝑛 cos ( ) + ∑ 𝑏𝑛 sin ( )
2 2 2
𝑛=1 𝑛=1
17
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞
1 𝑛𝜋𝑥 6 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ 0. cos ( )+ ∑ sin ( )
2 2 𝑛𝜋 2
𝑛=1 𝑛 𝑖𝑠 𝑜𝑑𝑑
1 6 1 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ sin ( )
2 𝜋 𝑛 2
𝑛 𝑖𝑠 𝑜𝑑𝑑
1 6 1 𝑛𝜋
𝑓(1) = + ∑ sin ( )
2 𝜋 𝑛 2
𝑛 𝑖𝑠 𝑜𝑑𝑑
1 6 𝜋 1 𝜋 1 𝜋 1 𝜋
2= + [𝑠𝑖𝑛 ( ) + sin (3 ) + sin (5 ) + sin (7 ) + ⋯]
2 𝜋 2 3 2 5 2 7 2
1 6 1 1 1
2− = [1 − + − + ⋯]
2 𝜋 3 5 7
𝜋 1 1 1
= 1− + − +⋯
4 3 5 7
𝟏 𝟏
5 Expand 𝒇(𝒙) = √𝟏 − 𝒄𝒐𝒔𝒙 , 𝟎 ≤ 𝒙 ≤ 𝟐𝝅 in a Fourier series. Hence, evaluate + 𝟑.𝟓 +
𝟏.𝟑
𝟏
+ ⋯ … ….
𝟓.𝟕
The given function 𝑓(𝑥) = √1 − cos 𝑥 is in the interval 0 ≤ 𝑥 ≤ 2𝜋. Simplifying the 𝑓(𝑥),
𝑥 𝑥
𝑓(𝑥) = √1 − cos 𝑥 = √2 sin2 (2) = √2 sin (2) , ∴ 1 − cos 2𝑥 = 2 sin2 𝑥.
2𝜋−𝑥 𝑥 𝑥
Here, 𝑓(2𝜋 − 𝑥) = √2 sin ( ) = √2 sin (𝜋 − 2) = √2 sin (2) = 𝑓(𝑥). Hence, the function
2
𝑓(𝑥) is even function and 𝑏𝑛 = 0 . We have to find the values of 𝑎0 & 𝑎𝑛 . Also, the graph of
function is given by
18
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 𝜋 2 𝜋 𝑥 2√2 𝜋 𝑥
𝑎0 = ∫ 𝑓(𝑥)𝑑𝑥 = ∫ √2 sin ( ) 𝑑𝑥 = ∫ sin ( ) 𝑑𝑥
𝜋 0 𝜋 0 2 𝜋 0 2
𝑥 𝜋
2√2 cos (2)
4√2 𝑥 𝜋 4√2 𝜋 4√2
= [− ] =− [cos ( )] = − [cos ( ) − cos(0)] =
𝜋 1/2 𝜋 2 0 𝜋 2 𝜋
0
2 𝜋 2 𝜋 𝑥 √2 𝜋 𝑥
𝑎𝑛 = ∫ 𝑓(𝑥) cos(𝑛𝑥) 𝑑𝑥 = ∫ √2 sin ( ) cos(𝑛𝑥) 𝑑𝑥 = ∫ 2 sin ( ) cos(𝑛𝑥) 𝑑𝑥
𝜋 0 𝜋 0 2 𝜋 0 2
√2 𝜋 𝑥 𝑥
= ∫ [ sin ( + 𝑛𝑥) + sin ( − 𝑛𝑥)] 𝑑𝑥 , ∴ 2 𝑠𝑖𝑛𝐴𝑠𝑖𝑛𝐵 = sin(𝐴 + 𝐵) + sin(𝐴 − 𝐵)
𝜋 0 2 2
√2 𝜋 1 + 2𝑛 √2 𝜋 1 − 2𝑛
= ∫ sin ( ) 𝑥 𝑑𝑥 + ∫ sin ( ) 𝑥 𝑑𝑥
𝜋 0 2 𝜋 0 2
√2 2 1+2𝑛 2 1−2𝑛 𝜋
= [(1+2𝑛) (− cos ( 2 ) 𝑥) + (1−2𝑛) (− cos ( ) 𝑥)]
𝜋 2 0
=
√2 2 1+2𝑛 2 1+2𝑛 2 1−2𝑛
[− ( ) cos ( )𝜋 + (1+2𝑛) cos ( ) . 0 − (1−2𝑛) cos ( )𝜋 +
𝜋 1+2𝑛 2 2 2
2 1−2𝑛
(1−2𝑛) cos ( ) . 0]
2
2√2 1 𝜋 1 1 𝜋 1
= [− (1+2𝑛) cos ( 2 + 𝑛𝜋) + (1+2𝑛) − (1−2𝑛) cos ( 2 − 𝑛𝜋) + (1−2𝑛)]
𝜋
2√2 1 1 1 1
= [(1+2𝑛) sin(𝑛𝜋) + (1+2𝑛) − (1−2𝑛) sin(𝑛𝜋) + (1−2𝑛)], .
𝜋
𝜋 𝜋
∴ cos ( + 𝑛𝜋) = − cos ( − 𝑛𝜋) = − sin(𝑛𝜋) = 0, 𝑛 ∈ 𝐼
2 2
19
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2√2 1 1 4√2
= [(1+2𝑛) + (1−2𝑛)] = 𝜋 (1+2𝑛)(1−2𝑛) .
𝜋
𝑛=∞
𝑥 2√2 4√2
√2 sin ( ) = +∑ cos 𝑛𝑥
2 𝜋 𝜋 (1 + 2𝑛)(1 − 2𝑛)
𝑛=1
𝑛=∞
𝑥 2√2 4√2 cos 𝑛𝑥
√2 sin ( ) = + ∑
2 𝜋 𝜋 (1 + 2𝑛)(1 − 2𝑛)
𝑛=1
20
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 𝑙 2 2 2
𝑎0 = 𝑙 ∫0 𝑓(𝑥) 𝑑𝑥 = 2 ∫0 𝑓(𝑥)𝑑𝑥 = ∫0 (𝑥 2 − 2) 𝑑𝑥 .
2
𝑥3 23 8 4
= [ − 2𝑥] = [ − 2.2 − 0] = − 4 = −
3 0
3 3 3
2 𝑙 𝑛𝜋𝑥 2 2 𝑛𝜋𝑥
𝑎𝑛 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥
𝑙 0 𝑙 2 0 2
2
𝑛𝜋𝑥
= ∫ (𝑥 2 − 2) cos ( ) 𝑑𝑥
0 2
2
2
2 sin(𝑛𝜋𝑥/2) 4 cos(𝑛𝜋𝑥/2) 8 sin(𝑛𝜋𝑥/2)
= [(𝑥 − 2) ( ) + (2𝑥) ( 2 2
) − 2( )]
𝑛𝜋 𝑛 𝜋 𝑛3 𝜋 3 0
16 cos(𝑛𝜋) 16(−1)𝑛
= = , ∴ cos(0) = 1, sin(𝑛𝜋) = 0 & cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼 .
𝑛2 𝜋 2 𝑛2 𝜋 2
Thus, the Fourier series is given by
𝑛=∞ 𝑛=∞
𝑎0 𝑛𝜋𝑥 𝑎0 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ 𝑎𝑛 cos ( )= + ∑ 𝑎𝑛 cos ( )
2 𝑙 2 2
𝑛=1 𝑛=1
21
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 16 1 1 1 1 1
2+ = 2[ 2 + 2 + 2 + 2 + 2 +⋯]
3 𝜋 1 2 3 4 5
𝜋2 1 1 1 1
=1+ 2+ 2+ 2+ 2 +⋯
6 2 3 4 5
For the given function 𝑓(𝑥) = 𝑥 cos 𝑥 in the interval −𝜋 < 𝑥 < 𝜋, the length of interval is 2𝜋.
Here, 𝑓(−𝑥) = (−𝑥) cos(−𝑥) = −𝑥 𝑐𝑜𝑠𝑥 = −𝑓(𝑥), ∴ cos(−𝑥) = cos 𝑥. Hence, the
function 𝑓(𝑥) is odd function and we have to find the values of 𝑏𝑛 only & 𝑎0 = 𝑎𝑛 = 0. Also,
the graph of function is given by
2 𝜋 2 𝜋 1 𝜋
𝑏𝑛 = 𝜋 ∫0 𝑓(𝑥) sin(𝑛𝑥) 𝑑𝑥 = 𝜋 ∫0 𝑥 cos 𝑥 sin(𝑛𝑥) 𝑑𝑥 = 𝜋 ∫0 𝑥 [2 cos 𝑥 sin(𝑛 𝑥)] 𝑑𝑥
1 𝜋
= 𝜋 ∫0 𝑥[ sin(𝑥 + 𝑛𝑥) − sin(𝑥 − 𝑛𝑥)] 𝑑𝑥 , ∴ 2 𝑠𝑖𝑛𝐴𝑠𝑖𝑛𝐵 = sin(𝐴 + 𝐵) − sin(𝐴 − 𝐵)
22
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
1 𝜋 1 𝜋
= 𝜋 ∫0 𝑥 sin(1 + 𝑛)𝑥 𝑑𝑥 − 𝜋 ∫0 𝑥 sin(1 − 𝑛)𝑥 𝑑𝑥
1 1 1
= [𝜋 cos 𝑛𝜋 ( − )] ∴ sin 𝑛𝜋 = 0
𝜋 (1 + 𝑛) (1 − 𝑛)
2𝑛 cos 𝑛𝜋 2𝑛 (−1)𝑛
=− = − , 𝑛 ≠ 1, ∴ cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼
(1 − 𝑛2 ) (1 − 𝑛2 )
For 𝑛 = 1, 𝑏1 is given by
2 𝜋 1 𝜋 1 𝜋
𝑏1 = ∫ 𝑥 cos 𝑥 sin(𝜋) 𝑑𝑥 = ∫ 𝑥 [2 cos 𝑥 sin( 𝑥)] 𝑑𝑥 = ∫ 𝑥 sin 2𝑥 𝑑𝑥
𝜋 0 𝜋 0 𝜋 0
𝑛=∞ 𝑛=∞
1 2𝑛 (−1)𝑛 1 𝑛 (−1)𝑛 sin 𝑛𝑥
𝑥 cos 𝑥 = − + ∑ − sin 𝑛𝑥 = − − 2 ∑
2 (1 − 𝑛2 ) 2 (1 − 𝑛2 )
𝑛=2 𝑛=2
23
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝒙, 𝟎≤𝒙≤𝟏
8 Obtain the Fourier series for the function (𝒙) = { . Hence, deduce that
(𝒙 − 𝟐), 𝟏 ≤ 𝒙 ≤ 𝟐
𝝅 𝟏 𝟏 𝟏
= 𝟏 − 𝟑 + 𝟓 − 𝟕 + ⋯ …..
𝟒
𝑥, 0≤𝑥≤1
Given that 𝑓(𝑥) = { in the interval 0 ≤ 𝑥 ≤ 2 & 2𝑙 = 2. Here, ∅(𝑥) =
(𝑥 − 2), 1 ≤ 𝑥 ≤ 2
𝑥 , 𝜑(𝑥) = (𝑥 − 2) & ∅(2𝑙 − 𝑥) = ∅(2 − 𝑥) = (2 − 𝑥) = −(𝑥 − 2) = − 𝜑(𝑥). Hence, the
function 𝑓(𝑥) is odd function and we have to find the values of 𝑏𝑛 only & 𝑎0 = 𝑎𝑛 = 0. Also,
the graph of function is given by
2 𝑙 𝑛𝜋𝑥 2 1
𝑏𝑛 = 𝑙 ∫0 𝑓(𝑥) sin ( ) 𝑑𝑥 = 1 ∫0 𝑥 sin(𝑛𝜋𝑥) 𝑑𝑥
𝑙
cos(𝑛𝜋𝑥) sin(𝑛𝜋𝑥) 1
= 2 [𝑥 (− ) − (1) (− )]
𝑛𝜋 𝑛2 𝜋 2 0
1
cos(𝑛𝜋𝑥) sin(𝑛𝜋𝑥)
= 2 [−(𝑥) ( ) + ( 2 2 )]
𝑛𝜋 𝑛 𝜋 0
cos(𝑛𝜋) 2(−1)𝑛
= −2 [ ]=− , ∴ cos(0) = 1, sin(𝑛𝜋) = 0 & cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼 .
𝑛𝜋 𝑛𝜋
24
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞ 𝑛=∞
2(−1)𝑛 2 (−1)𝑛 sin(𝑛𝜋𝑥)
𝑓(𝑥) = ∑ − sin(𝑛𝜋𝑥) = − ∑
𝑛𝜋 𝜋 𝑛
𝑛=1 𝑛=1
2 sin 𝜋𝑥 sin 2𝜋𝑥 sin 3𝜋𝑥 sin 4𝜋𝑥 sin 5𝜋𝑥 sin 6𝜋𝑥 sin 7𝜋𝑥
𝑓(𝑥) = − [− + − + − + − +⋯]
𝜋 1 2 3 4 5 6 7
1
Putting 𝑥 = 2 in the Fourier series given above
𝜋 3𝜋 5𝜋 7𝜋
1 2 sin 2 sin 𝜋 sin 2 sin 2𝜋 sin 2 sin 3𝜋 sin 2
𝑓 ( ) = − [− + − + − + − +⋯]
2 𝜋 1 2 3 4 5 6 7
1 2 1 1 1
= [1 − + − + ⋯ ]
2 𝜋 3 5 7
𝜋 1 1 1
= 1− + − +⋯
4 3 5 7
25
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
EXCERSISE
1. Find the Fourier series for expansion of the following periodic function of period 4 where
2 + 𝑥 , −2 ≤ 𝑥 < 0 4[1−(−1)𝑛 ]
𝑓(𝑥) = { } , 𝑓(𝑥 + 4) = 𝑓(𝑥).ANSWER: 𝑎0 = 2, 𝑎𝑛 = 𝑛2 𝜋2 , 𝑏𝑛 = 0 .
2−𝑥 , 0<𝑥 ≤2
2. Find the Fourier series for expansion of the following periodic function of period 4 where
𝜋 + 𝑥 , −𝜋 < 𝑥 < 0
𝑓(𝑥) = { } , 𝑓(𝑥 + 2𝜋) = 𝑓(𝑥).
0 , 0≤𝑥<𝜋
𝜋 [1−(−1)𝑛 ]
ANSWER: 𝑎0 = 2 , 𝑎𝑛 = , 𝑏𝑛 = −1/𝑛 .
𝜋 𝑛2
3. Find the Fourier series for expansion of the following periodic function of period 4 where
𝜋 , −𝜋 < 𝑥 < 0
𝑓(𝑥) = { } , 𝑓(𝑥 + 2𝜋) = 𝑓(𝑥).
𝜋−𝑥 , 0≤𝑥 <𝜋
3𝜋 [1−(−1)𝑛 ]
ANSWER: 𝑎0 = , 𝑎𝑛 = , 𝑏𝑛 = (−1)𝑛 /𝑛 .
2 𝜋 𝑛2
4. Find the Fourier series of the function of the given function on the given interval
2[1−(−1)𝑛 ]
𝑓(𝑥) = 1 − |𝑥|, −𝜋 < 𝑥 < 𝜋 . ANSWER: 𝑎0 = (𝜋 − 2), 𝑎𝑛 = , 𝑏𝑛 = 0.
𝜋 𝑛2
5. Find the Fourier series of the function of the given function on the given interval
𝑥 2 , −𝜋 < 𝑥 < 0
𝑓(𝑥) = { } , 𝑓(𝑥 + 2𝜋) = 𝑓(𝑥).
−𝑥 2 , 0 ≤ 𝑥 < 𝜋
2𝜋(−1)𝑛 ] 4[1−(−1)𝑛 ]
ANSWER: 𝑎0 = 𝑎𝑛 = 0, 𝑏𝑛 = +
𝑛 𝜋 𝑛3
26
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
Half-Range Series
Suppose that we have to find a Fourier series for a function 𝑓(𝑥) which is defined only in half
period say in the interval 0 < 𝑥 < 𝑙. Then we can obtain the Fourier series of function 𝐹(𝑥) in
−𝑙 < 𝑥 < 𝑙 such that
If we define 𝐹(𝑥) 𝑖𝑛 − 𝑙 < 𝑥 < 0, then the Fourier series of 𝐹(𝑥) can be determined. The form
of 𝐹(𝑥) is generally find out by two ways:
2 𝑙 2 𝑙 𝑛𝜋𝑥
𝑎0 = ∫ 𝑓(𝑥)𝑑𝑥 , 𝑎𝑛 = ∫ 𝑓(𝑥) cos ( ) 𝑑𝑥 , 𝑏𝑛 = 0
𝑙 0 𝑙 0 𝑙
Putting 𝑙 = 𝜋 in half range Fourier cosine series above, we obtain the half range cosine series in
interval 0 < 𝑥 < 𝜋
𝑛=∞
𝑎0
𝑓(𝑥) = + ∑ 𝑎𝑛 cos(𝑛𝑥)
2
𝑛=1
2 𝜋 2 𝜋
𝑎0 = ∫ 𝑓(𝑥)𝑑𝑥 , 𝑎𝑛 = ∫ 𝑓(𝑥) cos(𝑛𝑥) 𝑑𝑥 , 𝑏𝑛 = 0
𝜋 0 𝜋 0
27
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑛=∞
𝑛𝜋𝑥
𝑓(𝑥) = ∑ 𝑏𝑛 sin ( )
𝑙
𝑛=1
2 𝑙 𝑛𝜋𝑥
𝑎0 = 0, 𝑎𝑛 = 0, 𝑏𝑛 = ∫ 𝑓(𝑥) sin ( ) 𝑑𝑥
𝑙 0 𝑙
Putting 𝑙 = 𝜋 in half range Fourier cosine series above, we obtain the half range cosine series in
interval 0 < 𝑥 < 𝜋
𝑛=∞
𝑓(𝑥) = ∑ 𝑎𝑛 sin(𝑛𝑥)
𝑛=1
2 𝜋
𝑎0 = 0, 𝑎𝑛 = 0, 𝑏𝑛 = ∫ 𝑓(𝑥) sin(𝑛𝑥) 𝑑𝑥
𝜋 0
PROBLEMS
9 Expand 𝒇(𝒙) = 𝒔𝒊𝒏𝒙 in half range cosine series in the interval(𝟎, 𝝅) and show that
𝟐 𝟒 𝐜𝐨𝐬 𝟐𝒙 𝐜𝐨𝐬 𝟒𝒙 𝐜𝐨𝐬 𝟔𝒙
𝐬𝐢𝐧(𝒙) = 𝝅 − 𝝅 [ + + +⋯].
𝟑 𝟏𝟓 𝟑𝟓
The given function 𝑓(𝑥) = sin 𝑥 is in the interval 0 < 𝑥 < 𝜋. The half range cosine series
is given by
𝑛=∞
𝑎0
𝑓(𝑥) = + ∑ 𝑎𝑛 cos 𝑛𝑥
2
𝑛=1
2 𝜋 2 𝜋
𝑎0 = ∫ 𝑓(𝑥)𝑑𝑥 = ∫ sin(𝑥) 𝑑𝑥
𝜋 0 𝜋 0
2 2 2 4
= [− cos(𝑥)]𝜋0 = [− cos(𝜋) + cos(0)] = [−(−1) + 1] =
𝜋 𝜋 𝜋 𝜋
2 𝜋 2 𝜋 1 𝜋
𝑎𝑛 = ∫ 𝑓(𝑥) cos(𝑛𝑥) 𝑑𝑥 = ∫ sin(𝑥) cos(𝑛𝑥) 𝑑𝑥 = ∫ 2 sin(𝑥) cos(𝑛𝑥) 𝑑𝑥
𝜋 0 𝜋 0 𝜋 0
1 𝜋
= ∫ [ sin(𝑥 + 𝑛𝑥) + sin(𝑥 − 𝑛𝑥)] 𝑑𝑥 , ∴ 2 𝑠𝑖𝑛𝐴 𝑐𝑜𝑠𝐵 = sin(𝐴 + 𝐵) + sin(𝐴 − 𝐵)
𝜋 0
28
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
1 𝜋 1 𝜋
= ∫ sin(1 + 𝑛)𝑥 𝑑𝑥 + ∫ sin(1 − 𝑛)𝑥 𝑑𝑥
𝜋 0 𝜋 0
1 1 1 𝜋
= 𝜋 [(1+𝑛) (− cos(1 + 𝑛)𝑥) + (1−𝑛) (− cos(1 − 𝑛)𝑥)] , 𝑛 ≠ 1.
0
=
1 1 1 1 1
[− (1+𝑛) cos(1 + 𝑛)𝜋 + (1+𝑛) cos(1 + 𝑛). 0 − (1−𝑛) cos(1 − 𝑛)𝜋 + (1−𝑛) cos(1 −
𝜋
𝑛). 0]
1 1 1 1 1
= 𝜋 [− (1+𝑛) cos(𝜋 + 𝑛𝜋) + (1+𝑛) − (1−𝑛) cos(𝜋 − 𝑛𝜋) + (1−𝑛)]
1 1 1 1 1
= 𝜋 [(1+𝑛) cos(𝑛𝜋) + (1+𝑛) + (1−𝑛) cos(𝑛𝜋) + (1−𝑛)], .
2[1 + (−1)𝑛 ]
= , 𝑛 ≠ 1.
𝜋(1 − 𝑛2 )
0, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑
𝑎𝑛 = 4 , ∴ (−1)𝑛 = 1, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛 & (−1)𝑛 = −1, 𝑖𝑓 𝑛 𝑖𝑠 𝑜𝑑𝑑 .
, 𝑖𝑓 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
𝜋(1 − 𝑛2 )
2 4 2 4 cos 𝑛𝑥
sin(𝑥) = + ∑ cos 𝑛𝑥 = + ∑
𝜋 𝜋(1 − 𝑛2 ) 𝜋 𝜋 (1 − 𝑛2 )
𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛
29
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑙
0 0≤𝑥<2
Given that 𝑓(𝑥) = { 𝑙 } in the interval 0 ≤ 𝑥 ≤ 𝑙 & the length of interval is 𝑙 .
𝑙−𝑥 2≤𝑥 ≤𝑙
The Fourier half range cosine series is given by
𝑛=∞
𝑎0 𝑛𝜋𝑥
𝑓(𝑥) = + ∑ 𝑎𝑛 cos ( )
2 𝑙
𝑛=1
2 𝑙 2 𝑙/2 2 𝑙
𝑎0 = 𝑙 ∫0 𝑓(𝑥) 𝑑𝑥 = 𝑙 ∫0 𝑓(𝑥) 𝑑𝑥 + 𝑙 ∫𝑙/2 𝑓(𝑥) 𝑑𝑥 .
2 𝑙/2 2 𝑙 2 𝑙
= ∫ 0 𝑑𝑥 + ∫ (𝑙 − 𝑥) 𝑑𝑥 = ∫ (𝑙 − 𝑥) 𝑑𝑥
𝑙 0 𝑙 𝑙/2 𝑙 𝑙/2
𝑙
2 𝑥2 2 (𝑙)2 − (𝑙/2)2
= [𝑙𝑥 − ] = [𝑙(𝑙 − 𝑙/2) − ]
𝑙 2 𝑙/2 𝑙 2
2 𝑙 2 3𝑙 2 2 𝑙2 𝑙
= [ − ]= [ ]= .
𝑙 2 8 𝑙 8 4
2 𝑙 𝑛𝜋𝑥
= ∫ (𝑙 − 𝑥) cos ( ) 𝑑𝑥
𝑙 𝑙/2 𝑙
𝑙
2 𝑙 sin(𝑛𝜋𝑥/𝑙) 𝑙2 cos(𝑛𝜋𝑥/𝑙)
= 𝑙 [(𝑙 − 𝑥) ( ) − (−1) (− )]
𝑛𝜋 𝑛2 𝜋 2 𝑙/2
30
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
𝑙
2 𝑙 sin(𝑛𝜋𝑥/𝑙) 𝑙 2 cos(𝑛𝜋𝑥/𝑙)
= [(𝑙 − 𝑥) ( )−( )]
𝑙 𝑛𝜋 𝑛2 𝜋 2 𝑙/2
𝑛=∞
𝑙 𝑙 2 [cos(𝑛𝜋/2) − (−1)𝑛 ] 𝜋 sin(𝑛𝜋/2) 𝑛𝜋𝑥
𝑙−𝑥 = + 2 ∑ [ 2
− ] cos ( )
8 𝜋 𝑛 𝑛 𝑙
𝑛=1
𝝅
𝒙 𝟎≤𝒙≤ 𝟐
11 Determine the half range Fourier sine series of 𝒇(𝒙) = { 𝝅 } in the
𝝅−𝒙 ≤𝒙≤𝝅
𝟐
𝟒 𝐬𝐢𝐧 𝒙 𝐬𝐢𝐧 𝟑𝒙 𝐬𝐢𝐧 𝟓𝒙
interval(𝟎, 𝝅) and show that 𝒇(𝒙) = 𝝅 [ − + + ⋯ ].
𝟏𝟐 𝟑𝟐 𝟓𝟐
𝜋
𝑥 0≤𝑥< 2
Given that 𝑓(𝑥) = { 𝜋 } in the interval 0 ≤ 𝑥 ≤ 𝜋 & the length of interval is .
𝜋−𝑥 ≤𝑥≤𝜋
2
The Fourier half range sine series is given by
𝑛=∞
𝑓(𝑥) = ∑ 𝑏𝑛 sin 𝑛𝑥
𝑛=1
31
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 𝜋 2 𝜋/2 2 𝜋
𝑎𝑛 = ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥 = ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥 + ∫ 𝑓(𝑥) sin 𝑛𝑥 𝑑𝑥
𝜋 0 𝜋 0 𝜋 𝜋/2
2 𝜋/2 2 𝜋
= ∫ 𝑥 sin 𝑛𝑥 𝑑𝑥 + ∫ (𝜋 − 𝑥) sin 𝑛𝑥 𝑑𝑥
𝜋 0 𝜋 𝜋/2
𝜋/2 𝜋
2 cos(𝑛𝑥) sin(𝑛𝑥) 2 cos(𝑛𝑥) sin(𝑛𝑥)
= [−𝑥 ( )+( )] + [−(𝜋 − 𝑥) ( )−( )]
𝜋 𝑛 𝑛2 0
𝜋 𝑛 𝑛2 𝜋/2
𝑛𝜋 𝑛𝜋
2 cos ( 2 ) sin ( 2 ) cos(𝑛. 0) sin(𝑛. 0)
= [−𝜋 ( )+( 2
) + 0. ( )+( )]
𝜋 2𝑛 𝑛 2𝑛 𝑛2
𝑛𝜋 𝑛𝜋
2 cos(𝑛𝜋) sin(𝑛𝜋) cos ( 2 ) sin ( 2 )
+ [−(𝜋 − 𝜋) ( )−( ) + (𝜋 − 𝜋/2) ( )+( )]
𝜋 𝑛 𝑛2 𝑛 𝑛2
𝑛𝜋 𝑛𝜋
2 sin ( 2 ) 4 sin ( 2 )
= [2 ( )] =
𝜋 𝑛2 𝜋𝑛2
𝑛=∞ 𝑛𝜋 𝑛=∞ 𝑛𝜋
4 sin ( 2 ) 4 sin ( 2 )
𝑓(𝑥) = ∑ sin 𝑛𝑥 = ∑ sin 𝑛𝑥
𝜋𝑛2 𝜋 𝑛2
𝑛=1 𝑛=1
𝜋 2𝜋 3𝜋 4𝜋
4 sin (2) sin ( 2 ) sin ( 2 ) sin ( 2 )
𝑓(𝑥) = [ sin 𝑥 + sin 2𝑥 + sin 3𝑥 + sin 4𝑥
𝜋 12 22 32 42
5𝜋
sin ( 2 )
+ sin 5𝑥 + ⋯ ]
52
32
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 𝑙 𝑛𝜋𝑥 1
𝑏𝑛 = 𝑙 ∫0 𝑓(𝑥) sin ( ) 𝑑𝑥 = 2 ∫0 𝑥 3 sin(𝑛𝜋𝑥) 𝑑𝑥
𝑙
1 1 1
= 2 [𝑥 3 (− cos(𝑛𝜋𝑥)) − (3𝑥 2 ) (− 2 2 sin(𝑛𝜋𝑥)) + (6𝑥) ( 3 3 cos(𝑛𝜋𝑥))
𝑛𝜋 𝑛 𝜋 𝑛 𝜋
1
1
− 6 ( 4 4 sin(𝑛𝜋𝑥))]
𝑛 𝜋 0
1 1 1
= 2 [−𝑥 3 ( cos(𝑛𝜋𝑥)) + 3𝑥 2 ( 2 2 sin(𝑛𝜋𝑥)) + 6𝑥 ( 3 3 cos(𝑛𝜋𝑥))
𝑛𝜋 𝑛 𝜋 𝑛 𝜋
1
1
− 6 ( 4 4 sin(𝑛𝜋𝑥))]
𝑛 𝜋 0
1 1 1 1
= 2 [−13 (𝑛𝜋 cos(𝑛𝜋)) + 312 (𝑛2 𝜋2 sin(𝑛𝜋)) + 6.1 (𝑛3 𝜋3 cos(𝑛𝜋)) − 6 (𝑛4 𝜋4 sin(𝑛𝜋)) − 0]
1 6
= 2 [− cos(𝑛𝜋) + 3 3 cos(𝑛𝜋)]
𝑛𝜋 𝑛 𝜋
1 6
= 2 cos(𝑛𝜋) [− + 3 3 ] , ∴ cos(0) = 1, sin(𝑛𝜋) = 0, 𝑛 ∈ 𝐼.
𝑛𝜋 𝑛 𝜋
2 cos(𝑛𝜋) 2 2]
2(−1)𝑛
= [6 − 𝑛 𝜋 = [6 − 𝑛2 𝜋 2 ] , ∴ cos(𝑛𝜋) = (−1)𝑛 , 𝑛 ∈ 𝐼.
𝑛3 𝜋 3 𝑛3 𝜋 3
Thus, the Fourier series is given by
𝑛=∞
3
2(−1)𝑛
𝑥 = ∑ [6 − 𝑛2 𝜋2 ] sin(𝑛𝜋𝑥)
𝑛3 𝜋 3
𝑛=1
𝑛=∞ 𝑛=∞
3
2 𝑛
[6 − 𝑛2 𝜋2 ] 2 6 𝜋2
𝑥 = ∑ (−1) sin(𝑛𝜋𝑥) = ∑ (−1)𝑛 [ − ] sin(𝑛𝜋𝑥)
𝜋3 𝑛3 𝜋3 𝑛 3 𝑛
𝑛=1 𝑛=1
33
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
EXCERSISE
1. Find the Fourier half-range sine series of the function of the given function on the given
2𝑘[1−(−1)𝑛 ]
interval (𝑥) = 𝑘, 0 ≤ 𝑥 ≤ 5 . ANSWER: 𝑏𝑛 = .
𝜋𝑛
2. Find the Fourier half-range cosine series of the function of the given function on the given
4 4(−1)𝑛
interval (𝑥) = cos 𝑥 , 0 < 𝑥 ≤ 𝜋/2 . ANSWER: 𝑎0 = 𝜋 , 𝑎𝑛 = − 𝜋 (4𝑛2 −1) .
3. Find the Fourier half-range sine and cosine series of the function of the given function on the
4[(−1)𝑛 ] 4[1−(−1)𝑛 ]
ANSWER: For half-range sine series 𝑏𝑛 = − − .
𝜋𝑛 ( 𝑛𝜋)3
10 2[3(−1)𝑛 −1]
For half-range cosine series 𝑎0 = , 𝑎𝑛 = .
6 ( 𝑛𝜋)2
4. Find the Fourier half-range sine and cosine series of the function of the given function on
𝑥 , 0 < 𝑥 < 𝜋/2
the given interval 𝑓(𝑥) = { }.
𝜋 − 𝑥 , 𝜋/2 ≤ 𝑥 < 𝜋
4 𝑛𝜋
ANSWER: For half-range sine series 𝑏𝑛 = ( 𝑛𝜋)2 sin ( 2 ).
𝜋 2 𝑛𝜋
For half-range cosine series 𝑎0 = 8 , 𝑎𝑛 = ( 𝑛𝜋)2 [2 cos ( 2 ) − (−1)𝑛 − 1].
34
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
in which the term 𝑎0 is called constant term, [𝑎1 cos 𝑥 + 𝑏1 sin 𝑥] is called first harmonic,
[𝑎2 cos 2𝑥 + 𝑏2 sin 2𝑥] is called second harmonic, [𝑎3 cos 3𝑥 + 𝑏3 sin 3𝑥] is called third
harmonic, and so on.
2
𝑎0 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑖𝑛 (0,2𝑙)𝑜𝑣𝑒𝑟 𝑜𝑛𝑒 𝑝𝑒𝑟𝑖𝑜𝑑] = ∑𝑦
𝑁
2 𝑛𝜋𝑥
𝑎𝑛 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑖𝑛 (0,2𝑙)𝑜𝑣𝑒𝑟 𝑜𝑛𝑒 𝑝𝑒𝑟𝑖𝑜𝑑] = ∑ 𝑦 𝑐𝑜𝑠 ( )
𝑁 𝑙
2 𝑛𝜋𝑥
𝑏𝑛 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑖𝑛 (0,2𝑙)𝑜𝑣𝑒𝑟 𝑜𝑛𝑒 𝑝𝑒𝑟𝑖𝑜𝑑] = ∑ 𝑦 𝑐𝑜𝑠 ( )
𝑁 𝑙
𝑁 = 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑣𝑎𝑙𝑢𝑒𝑠 𝑖𝑛 𝑔𝑖𝑣𝑒𝑛 𝑜𝑛𝑒 𝑝𝑒𝑟𝑖𝑜𝑑
PROBLEMS
13 The following table gives the variations of periodic current over a period
35
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
Here, the length of interval is 2𝑙 = 𝑇 𝑜𝑟 𝑙 = 𝑇/2 because the value of amplitude at 𝑡 = 0 and
𝜋𝑡 𝜋𝑡 2𝜋𝑡 𝑡
𝑡 = 𝑇/6 are same due to periodic property . Also, 𝜃 = = 𝑇 = = 𝑇 . 3600 . The required
𝑙 𝑇
2
Fourier series up to the 1st harmonics is given by
𝑎0 2𝜋𝑡 2𝜋𝑡
𝑦 = 𝑓(𝑡) = + [𝑎1 cos ( ) + 𝑏1 sin ( )]
2 𝑇 𝑇
𝑎0
= + [𝑎1 cos( 𝜃) + 𝑏1 sin( 𝜃)]
2
The harmonic table is given by
2 1
𝑎0 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑖𝑛 (0, 𝑇)] = ∑ 𝑦 = (4.5) = 1.5
6 3
2 1
𝑎1 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 cos 𝜃 𝑖𝑛 (0, 𝑇)] = ∑ 𝑦 cos(𝜃) = (1.12) = 0.37
6 3
2 1
𝑏1 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 sin 𝜃 𝑖𝑛 (0,2𝑙)] = ∑ 𝑦 sin(𝜃) = (−3.02) = −1.01
6 3
Therefore, required Fourier series up to the 1st harmonic is
1.5
𝑦 = 𝑓(𝑥) = + [0.37 cos(𝜃) − 1.01 sin(𝜃)]
2
𝑦 = 𝑓(𝑥) = 0.75 + 0.37 cos(𝜃) − 1.01 sin(𝜃)
36
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
Thus, the direct current part of 0.75 amp in the variable current which is the direct part in
Fourier series 𝑦 = 𝑓(𝑥) .The amplitude of the 1st harmonic is given by
14 The fallowing values of y and x are given, find the Fourier series of y up to second
harmonics
x 0 2 4 6 8 10 12
y 9.0 18.2 24.4 27.8 27.5 22.0 9.0
𝑎0
= + [𝑎1 cos(𝜃) + 𝑏1 sin(𝜃)] + [𝑎2 cos(2𝜃) + 𝑏2 sin(2𝜃)]
2
The harmonic table is given by
2 1
𝑎0 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑖𝑛 (0,2𝑙)] = ∑ 𝑦 = (128.9) = 42.97
6 3
37
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 1
𝑎1 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 cos 𝜃 𝑖𝑛 (0,2𝑙)] = ∑ 𝑦 cos(𝜃) = (−24.65) = −8.22
6 3
2 1
𝑎2 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 cos 2𝜃 𝑖𝑛 (0,2𝑙)] = ∑ 𝑦 cos(2𝜃) = (−5.98) = −1.99
6 3
2 1
𝑏1 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 sin 𝜃 𝑖𝑛 (0,2𝑙)] = ∑ 𝑦 sin(𝜃) = (−9.25) = −3.08
6 3
2 1
𝑏2 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 sin 2𝜃 𝑖𝑛 (0,2𝑙)] = ∑ 𝑦 sin(2𝜃) = (−0.6) = −0.2
6 3
Therefore, required Fourier series up to the 2nd harmonics is
42.97
𝑦 = 𝑓(𝑥) = + [−8.22 cos(𝜃) − 3.08 sin(𝜃)] + [−1.99 cos(2𝜃) − 0.2 sin(2𝜃)]
2
𝑦 = 𝑓(𝑥) = 21.49 − 8.22 cos(𝜃) − 3.08 sin(𝜃) − 1.99 cos(2𝜃) − 0.2 sin(2𝜃)
𝑎0
= + [𝑎1 cos(𝑥) + 𝑏1 sin(𝑥)] + [𝑎2 cos(2𝑥) + 𝑏2 sin(2𝑥)]
2
The harmonic table is given by
38
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
2 1
𝑎0 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 𝑖𝑛 (0,2𝜋)] = ∑ 𝑦 = (25.22) = 4.203
12 6
2 1
𝑎1 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 cos 𝑥 𝑖𝑛 (0,2𝜋)] = ∑ 𝑦 cos(𝑥) = (3.353) = 0.559
12 6
2 1
𝑎2 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 cos 2𝑥 𝑖𝑛 (0,2𝜋)] = ∑ 𝑦 cos(2𝑥) = (−3.115) = −0.519
12 6
2 1
𝑏1 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 sin 𝑥 𝑖𝑛 (0,2𝜋)] = ∑ 𝑦 sin(𝑥) = (9.209) = 1.535
12 6
2 1
𝑏2 = 2[𝑀𝑒𝑎𝑛 𝑣𝑎𝑙𝑢𝑒 𝑜𝑓 𝑦 sin 2𝑥 𝑖𝑛 (0,2𝜋)] = ∑ 𝑦 sin(2𝑥) = (−0.547) = −0.091
12 6
Therefore, required Fourier series up to the 2nd harmonics is
4.203
𝑦 = 𝑓(𝑥) = + [0.559 cos(𝑥) + 1.535 sin(𝑥)] + [−0.519 cos(2𝑥) − 0.091 sin(2𝑥)]
2
𝑦 = 𝑓(𝑥) = 2.101 + 0.559 cos(𝑥) + 1.535 sin(𝑥) − 0.519 cos(2𝑥) − 0.091 sin(2𝑥)
39
DAYANANDA SAGAR COLLEGE OF ENGINEERING
(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
DEPARTMENT OF MATHEMATICS
EXCERSISE
1. Express y as a Fourier series up to the 3rd harmonics given the fallowing values
x 0 1 2 3 4 5
y 1 1.4 1.9 1.7 1.5 1.2
2. The following values of y give the displacement in cms of a certain machine part of the
rotation x of the flywheel. Expand f(x) in the form of Fourier series up to the 2nd harmonics.
x 0° 30° 60° 90° 120° 150° 180° 210° 240° 270° 300° 330°
y 1.8 1.1 0.30 0.16 0.50 1.30 2.16 1.25 1.30 1.52 1.76 2.00
(i) https://youtu.be/r18Gi8lSkfM
(ii) https://youtu.be/ds0cmAV-Yek
(iii) https://youtu.be/Mm2eYfj0SgA
40