Professional Documents
Culture Documents
N. B. Vyas
Department of Mathematics,
Atmiya Institute of Tech. and Science,
Rajkot (Guj.) - INDIA
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
Periodic Function
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
eax sin bx dx =
eax
(a sin bx b cos bx) + c
a2 + b 2
N. B. Vyas
Fourier Series
eax sin bx dx =
N. B. Vyas
Fourier Series
eax sin bx dx =
N. B. Vyas
Fourier Series
eax sin bx dx =
N. B. Vyas
Fourier Series
eax sin bx dx =
N. B. Vyas
Fourier Series
eax sin bx dx =
N. B. Vyas
Fourier Series
eax sin bx dx =
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
N. B. Vyas
c+2
2cos mx cos nx dx
c
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
c
N. B. Vyas
Fourier Series
c+2
cos mx cos nx dx =
c
1
2
1
2
c+2
2cos mx cos nx dx
c
c+2
c
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
1
= e2x (4x3 + 6x2 + 6x + 3)
8
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
1
= e2x (4x3 + 6x2 + 6x + 3)
8
sin n = 0
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
1
= e2x (4x3 + 6x2 + 6x + 3)
8
sin n = 0 and cos n = (1)n
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
1
= e2x (4x3 + 6x2 + 6x + 3)
8
sin n = 0 and cos n = (1)n
sin n + 12 = (1)n
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
1
= e2x (4x3 + 6x2 + 6x + 3)
8
sin n = 0 and cos n = (1)n
sin n + 12 = (1)n and cos n + 12 = 0
N. B. Vyas
Fourier Series
6
2
(2)2
(2)3
(2)4
1
= e2x (4x3 + 6x2 + 6x + 3)
8
sin n = 0 and cos n = (1)n
sin n + 12 = (1)n and cos n + 12 = 0
where n is integer.
N. B. Vyas
Fourier Series
Fourier Series
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1 c+2
f (x) dx
where a0 =
c
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1 c+2
f (x) dx
where a0 =
c
Z
1 c+2
f (x) cos nx dx
an =
c
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1 c+2
f (x) dx
where a0 =
c
Z
1 c+2
f (x) cos nx dx
an =
c
Z
1 c+2
bn =
f (x) sin nx dx
c
N. B. Vyas
Fourier Series
Fourier Series
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1 2
f (x) dx
where a0 =
0
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Fourier Series
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
f (x) dx
where a0 =
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
f (x) dx
where a0 =
Z
1
an =
f (x) cos nx dx
N. B. Vyas
Fourier Series
Fourier Series
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
f (x) dx
where a0 =
Z
1
an =
f (x) cos nx dx
Z
1
bn =
f (x) sin nx dx
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
where a0 =
f (x) dx = 0
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
where a0 =
f (x) dx = 0
Z
1
an =
f (x) cos nx dx = 0
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
where a0 =
f (x) dx = 0
Z
1
an =
f (x) cos nx dx = 0
because cos nx is an even function , f (x)cos nx is an odd
function
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
where a0 =
f (x) dx = 0
Z
1
an =
f (x) cos nx dx = 0
because cos nx is an even function , f (x)cos nx is an odd
functionZ
Z
1
2
bn =
f (x) sin nx dx =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Fourier Series
Special Case 1: If the interval is c < x < c and f (x) is an
odd function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
1
where a0 =
f (x) dx = 0
Z
1
an =
f (x) cos nx dx = 0
because cos nx is an even function , f (x)cos nx is an odd
functionZ
Z
1
2
bn =
f (x) sin nx dx =
f (x) sin nx dx
0
because sin nx is an odd function , f (x)sin nx is an even
function
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
Z
1
2
where a0 =
f (x) dx =
f (x) dx
0
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
Z
1
2
where a0 =
f (x) dx =
f (x) dx
0
Z
Z
1
2
an =
f (x) cos nx dx =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
Z
1
2
where a0 =
f (x) dx =
f (x) dx
0
Z
Z
1
2
an =
f (x) cos nx dx =
f (x) cos nx dx
0
because cos nx is an even function , f (x)cos nx is an even
function
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
Z
1
2
where a0 =
f (x) dx =
f (x) dx
0
Z
Z
1
2
an =
f (x) cos nx dx =
f (x) cos nx dx
0
because cos nx is an even function , f (x)cos nx is an even
functionZ
1
bn =
f (x) sin nx dx = 0
N. B. Vyas
Fourier Series
Fourier Series
Special Case 2: If the interval is c < x < c and f (x) is an
even function i.e. f (x) = f (x). Let C =
X
a0 X
f (x) =
+
an cos nx +
bn sin nx
2
n=1
n=1
Z
Z
1
2
where a0 =
f (x) dx =
f (x) dx
0
Z
Z
1
2
an =
f (x) cos nx dx =
f (x) cos nx dx
0
because cos nx is an even function , f (x)cos nx is an even
functionZ
1
bn =
f (x) sin nx dx = 0
because sin nx is an odd function , f (x)sin nx is an odd
function
N. B. Vyas
Fourier Series
Example
2
x
Ex. Obtain Fourier series of f (x) =
in the
2
interval 0 x 2. Hence deduce that
2
1
1
1
= 2 2 + 2 ...
12 1
2
3
N. B. Vyas
Fourier Series
Example
2
x
Ex. Obtain Fourier series of f (x) =
in the
2
interval 0 x 2. Hence deduce that
2
1
1
1
= 2 2 + 2 ...
12 1
2
3
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
f (x) dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2 ( x)2
a0 =
dx
0
4
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2 ( x)2
a0 =
dx
0
4
2
1 ( x)3
1
=
( 3 3 )
=
4
(3) 0
12
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2 ( x)2
a0 =
dx
0
4
2
1 ( x)3
1
=
( 3 3 )
=
4
(3) 0
12
2
=
6
N. B. Vyas
Fourier Series
Example
1
Step 3. an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) cos nx dx
Step 3. an =
0
Z
1 2 ( x)2
an =
cos nx dx
0
4
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) cos nx dx
Step 3. an =
0
Z
1 2 ( x)2
an =
cos nx dx
0
4
1
= 2
n
N. B. Vyas
Fourier Series
Example
1
Step 4. bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
1 2 ( x)2
sin nx dx
bn =
0
4
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
1 2 ( x)2
sin nx dx
bn =
0
4
=0
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
2 X 1
x
=
cos nx
+
2
12 n=1 n2
N. B. Vyas
Fourier Series
Example
2 X 1
x
=
cos nx
+
2
12 n=1 n2
2
1
1
1
=
+ 2 cos x + 2 cos 2x + 2 cos 3x + . . .
12 1
2
3
N. B. Vyas
Fourier Series
Example
2 X 1
x
=
cos nx
+
2
12 n=1 n2
2
1
1
1
=
+ 2 cos x + 2 cos 2x + 2 cos 3x + . . .
12 1
2
3
Putting x = , we get
N. B. Vyas
Fourier Series
Example
2 X 1
x
=
cos nx
+
2
12 n=1 n2
2
1
1
1
=
+ 2 cos x + 2 cos 2x + 2 cos 3x + . . .
12 1
2
3
Putting x = , we get
2
1
1
1
1
0=
2 + 2 2 + 2 ...
12 1
2
3
4
N. B. Vyas
Fourier Series
Example
2 X 1
x
=
cos nx
+
2
12 n=1 n2
2
1
1
1
=
+ 2 cos x + 2 cos 2x + 2 cos 3x + . . .
12 1
2
3
Putting x = , we get
2
1
1
1
1
0=
2 + 2 2 + 2 ...
12 1
2
3
4
2
1
1
1
1
= 2 2 + 2 2 + ...
12
1
2
3
4
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
f (x) dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
Z 2
1
x dx
a0 =
0
f (x) dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
Z 2
1
x dx
a0 =
0
2
1 x2
=
4 2 0
f (x) dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
Z 2
1
x dx
a0 =
0
2
1 x2
=
4 2 0
= 2
f (x) dx
0
N. B. Vyas
Fourier Series
Example
1
Step 3. an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x cos nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x cos nx dx
0
2
sin nx
cos nx
x
n
n
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x cos nx dx
0
2
sin nx
cos nx
x
n
n
0
=0
N. B. Vyas
Fourier Series
Example
1
Step 4. bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) sin nx dx
Step 4. bn =
0
Z
1 2
bn =
x sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) sin nx dx
Step 4. bn =
0
Z
1 2
bn =
x sin nx dx
0
2
=
n
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
X
2
2
+0+
sin nx
f (x) =
2
n
n=1
N. B. Vyas
Fourier Series
Example
X
2
2
+0+
sin nx
f (x) =
2
n
n=1
=
X
sin nx
n=1
N. B. Vyas
Fourier Series
Example
X
2
2
+0+
sin nx
f (x) =
2
n
n=1
=
X
sin nx
n=1
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
f (x) dx
where a0 =
0
Z
1 2
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
f (x) dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2
a0 =
x sin x dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2
a0 =
x sin x dx
0
1
= [x cos x + sin x]2
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2
a0 =
x sin x dx
0
1
= [x cos x + sin x]2
0
1
= (2 cos 2 + sin 2 0 + sin 0)
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
1 2
a0 =
x sin x dx
0
1
= [x cos x + sin x]2
0
1
= (2 cos 2 + sin 2 0 + sin 0)
2
a0 =
= 2
N. B. Vyas
Fourier Series
Example
1
Step 3. an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x sin x cos nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x sin x cos nx dx
0
Z 2
1
x (2 sin x cos nx) dx
=
2 0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x sin x cos nx dx
0
Z 2
1
x (2 sin x cos nx) dx
=
2 0
Z 2
1
x (sin (n + 1)x sin (n 1)x) dx
=
2 0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 3. an =
f (x) cos nx dx
0
Z
1 2
an =
x sin x cos nx dx
0
Z 2
1
x (2 sin x cos nx) dx
=
2 0
Z 2
1
x (sin (n + 1)x sin (n 1)x) dx
=
2 0
Z 2
Z 2
1
1
=
x sin (n + 1)x dx
x sin (n 1)x dx
2 0
2 0
N. B. Vyas
Fourier Series
Example
1
an =
2
Z
0
1
x sin (n + 1)x dx
2
N. B. Vyas
x sin (n 1)x dx
0
Fourier Series
Example
1
an =
2
If n = 1
Z
0
1
x sin (n + 1)x dx
2
N. B. Vyas
x sin (n 1)x dx
0
Fourier Series
Example
1
an =
2
If n = 1
Z
0
1
a1 =
2
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
x sin 2x dx
0
N. B. Vyas
Fourier Series
Example
1
an =
2
If n = 1
Z
0
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
Z 2
1
a1 =
x sin 2x dx
2 0
2
1
cos 2x
sin 2x
=
x
+
2
2
4
0
N. B. Vyas
Fourier Series
Example
1
an =
2
If n = 1
Z
0
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
Z 2
1
a1 =
x sin 2x dx
2 0
2
1
cos 2x
sin 2x
=
x
+
2
2
4
0
1
=
2
N. B. Vyas
Fourier Series
Example
1
an =
2
Z
0
1
x sin (n + 1)x dx
2
N. B. Vyas
x sin (n 1)x dx
0
Fourier Series
Example
1
an =
2
If n 6= 1
Z
0
1
x sin (n + 1)x dx
2
N. B. Vyas
x sin (n 1)x dx
0
Fourier Series
Example
1
an =
2
If n 6= 1
Z
0
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
2
1
cos (n + 1)x
sin (n + 1)x
an =
x
2
n+1
(n + 1)2
0
N. B. Vyas
Fourier Series
Example
1
an =
2
If n 6= 1
Z
0
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
2
1
cos (n + 1)x
sin (n + 1)x
an =
x
2
n+1
(n + 1)2
0
2
1
cos (n 1)x
sin (n 1)x
x
2
n1
(n 1)2
0
N. B. Vyas
Fourier Series
Example
1
an =
2
If n 6= 1
Z
0
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
2
1
cos (n + 1)x
sin (n + 1)x
an =
x
2
n+1
(n + 1)2
0
2
1
cos (n 1)x
sin (n 1)x
x
2
n1
(n 1)2
0
1
2
2
=
+0+
0
2
n+1
n1
N. B. Vyas
Fourier Series
Example
1
an =
2
If n 6= 1
Z
0
1
x sin (n + 1)x dx
2
x sin (n 1)x dx
0
2
1
cos (n + 1)x
sin (n + 1)x
an =
x
2
n+1
(n + 1)2
0
2
1
cos (n 1)x
sin (n 1)x
x
2
n1
(n 1)2
0
1
2
2
=
+0+
0
2
n+1
n1
2
= 2
n 1
N. B. Vyas
Fourier Series
Example
1
Step 4. bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
1 2
=
x sin x sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
1 2
=
x sin x sin nx dx
0
Z 2
1
=
x (2sin nx sin x) dx
2 0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
1 2
=
x sin x sin nx dx
0
Z 2
1
=
x (2sin nx sin x) dx
2 0
Z 2
1
=
x (cos (n + 1)x + cos (n 1)x) dx
2 0
N. B. Vyas
Fourier Series
Example
1
bn =
2
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n = 1
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n = 1
1
b1 =
2
Z
0
1
(x cos 2x) dx +
2
N. B. Vyas
x dx
0
Fourier Series
Example
1
bn =
2
If n = 1
Z 2
Z 2
1
1
b1 =
(x cos 2x) dx +
x dx
2 0
2 0
2
1
sin 2x
cos 2x x2
=
x
+
2
2
4
2 0
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n = 1
Z 2
Z 2
1
1
b1 =
(x cos 2x) dx +
x dx
2 0
2 0
2
1
sin 2x
cos 2x x2
=
x
+
2
2
4
2 0
b1 =
N. B. Vyas
Fourier Series
Example
1
bn =
2
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n 6= 1
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n 6= 1
2
sin (n + 1)x
cos (n + 1)x
1
x
bn =
2
n+1
(n + 1)2
0
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n 6= 1
2
sin (n + 1)x
cos (n + 1)x
1
x
bn =
2
n+1
(n + 1)2
0
2
1
sin (n 1)x
cos (n 1)x
+
x
+
2
n1
(n 1)2
0
N. B. Vyas
Fourier Series
Example
1
bn =
2
If n 6= 1
2
sin (n + 1)x
cos (n + 1)x
1
x
bn =
2
n+1
(n + 1)2
0
2
1
sin (n 1)x
cos (n 1)x
+
x
+
2
n1
(n 1)2
0
=0
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
2 X
f (x) =
+
(an cos nx + bn sin nx)
2
n=1
N. B. Vyas
Fourier Series
Example
2 X
f (x) =
+
(an cos nx + bn sin nx)
2
n=1
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1
where a0 =
f (x) dx
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1
where a0 =
f (x) dx
Z
1
f (x) cos nx dx
an =
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1
where a0 =
f (x) dx
Z
1
f (x) cos nx dx
an =
Z
1
bn =
f (x) sin nx dx
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1
where a0 =
f (x) dx
Z
1
f (x) cos nx dx
an =
Z
1
bn =
f (x) sin nx dx
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
f (x) dx
N. B. Vyas
Fourier Series
Example
Z
1
Step 2. Now a0 =
f (x) dx
Z 0
Z
1
=
f (x) dx +
f (x) dx
0
N. B. Vyas
Fourier Series
Example
Z
1
Step 2. Now a0 =
f (x) dx
Z 0
Z
1
=
f (x) dx +
f (x) dx
0
Z 0
Z
1
=
() dx +
x dx
0
N. B. Vyas
Fourier Series
Example
Z
1
Step 2. Now a0 =
f (x) dx
Z 0
Z
1
=
f (x) dx +
f (x) dx
0
Z 0
Z
1
=
() dx +
x dx
0
=
2
N. B. Vyas
Fourier Series
Example
Z
1
Step 2. Now a0 =
f (x) dx
Z 0
Z
1
=
f (x) dx +
f (x) dx
0
Z 0
Z
1
=
() dx +
x dx
0
=
2
N. B. Vyas
Fourier Series
Example
1
Step 3. an =
f (x) cos nx dx +
N. B. Vyas
f (x) cos nx dx
0
Fourier Series
Example
Z
Z
1 0
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z 0
Z
1
=
() cos nx dx +
x cos nx dx
0
N. B. Vyas
Fourier Series
Example
Z
Z
1 0
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z 0
Z
1
=
() cos nx dx +
x cos nx dx
0
"
0
1
sin nx
=
+
N. B. Vyas
Fourier Series
Example
Z
Z
1 0
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z 0
Z
1
=
() cos nx dx +
x cos nx dx
0
"
#
0
cos nx
1
sin nx
sin nx
=
+ x
(1)
n
n
n2
N. B. Vyas
Fourier Series
Example
Z
Z
1 0
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z 0
Z
1
=
() cos nx dx +
x cos nx dx
0
"
#
0
cos nx
1
sin nx
sin nx
=
+ x
(1)
n
n
n2
0
=
(1)n 1
n2
N. B. Vyas
Fourier Series
Example
1
Step 4. bn =
Z
Z
f (x) sin nx dx +
N. B. Vyas
f (x) sin nx dx
Fourier Series
Example
Z 0
Z
1
Step 4. bn =
f (x) sin nx dx +
f (x) sin nx dx
0
Z 0
Z
1
=
() sin nx dx +
x sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z 0
Z
1
Step 4. bn =
f (x) sin nx dx +
f (x) sin nx dx
0
Z 0
Z
1
=
() sin nx dx +
x sin nx dx
0
"
0
1
cosnx
=
+
N. B. Vyas
Fourier Series
Example
Z 0
Z
1
Step 4. bn =
f (x) sin nx dx +
f (x) sin nx dx
0
Z 0
Z
1
=
() sin nx dx +
x sin nx dx
0
"
0
#
1
cosnx
cos nx
sin nx
=
+ x
n
n
n2
N. B. Vyas
Fourier Series
Example
Z 0
Z
1
Step 4. bn =
f (x) sin nx dx +
f (x) sin nx dx
0
Z 0
Z
1
=
() sin nx dx +
x sin nx dx
0
"
0
#
1
cosnx
cos nx
sin nx
=
+ x
n
n
n2
0
=
1 2(1)n
n
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
X
+
f (x) =
(an cos nx + bn sin nx)
4
n=1
N. B. Vyas
Fourier Series
Example
X
+
f (x) =
(an cos nx + bn sin nx)
4
n=1
X
X (1)n 1
1 2(1)n
=
+
cos nx +
sin nx
4
n2
n
n=1
n=1
N. B. Vyas
Fourier Series
Example
X
+
f (x) =
(an cos nx + bn sin nx)
4
n=1
X
X (1)n 1
1 2(1)n
=
+
cos nx +
sin nx
4
n2
n
n=1
n=1
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
where a0 =
f (x) dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
where a0 =
f (x) dx
0
Z
1
an =
f (x) cos nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
where a0 =
f (x) dx
0
Z
1
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
a0 X
f (x) =
+
(an cos nx + bn sin nx) . . . (1)
2
n=1
Z
1 2
where a0 =
f (x) dx
0
Z
1
an =
f (x) cos nx dx
0
Z
1 2
bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
1
Step 2. Now a0 =
f (x) dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
Z 2
1
x dx +
(2 x) dx
=
0
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
Z 2
1
x dx +
(2 x) dx
=
0
"
2 #
x2
1
x2
=
+ 2x
2 0
2
N. B. Vyas
Fourier Series
Example
Z
1 2
f (x) dx
Step 2. Now a0 =
0
Z
Z 2
1
x dx +
(2 x) dx
=
0
"
2 #
x2
1
x2
=
+ 2x
2 0
2
=
N. B. Vyas
Fourier Series
Example
1
Step 3. an =
Z
Z
f (x) cos nx dx +
N. B. Vyas
f (x) cos nx dx
Fourier Series
Example
Z
Z 2
1
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z
Z 2
1
x cos nx dx +
(2 x) cos nx dx
=
0
N. B. Vyas
Fourier Series
Example
Z
Z 2
1
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z
Z 2
1
x cos nx dx +
(2 x) cos nx dx
=
0
cos nx
sin nx
1
x
(1)
=
n
n2
0
N. B. Vyas
Fourier Series
Example
Z
Z 2
1
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z
Z 2
1
x cos nx dx +
(2 x) cos nx dx
=
0
cos nx
sin nx
1
x
(1)
=
n
n2
0
2
1
sin nx
cos nx
(1)
+ (2 x)
n
n2
N. B. Vyas
Fourier Series
Example
Z
Z 2
1
Step 3. an =
f (x) cos nx dx +
f (x) cos nx dx
0
Z
Z 2
1
x cos nx dx +
(2 x) cos nx dx
=
0
cos nx
sin nx
1
x
(1)
=
n
n2
0
2
1
sin nx
cos nx
(1)
+ (2 x)
n
n2
cos n
1
1
=
0+
0+ 2
n2
n
1
cos 2n
cos n
+
0
0
n2
n2
2 [(1)n 1]
=
n2
N. B. Vyas
Fourier Series
Example
1
Step 4. bn =
f (x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
Z 2
1
=
x sin nx dx +
(2 x) sin nx dx
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
Z 2
1
=
x sin nx dx +
(2 x) sin nx dx
0
cos nx
sin nx
1
=
x
(1)
n
n2
0
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
Z 2
1
=
x sin nx dx +
(2 x) sin nx dx
0
cos nx
sin nx
1
=
x
(1)
n
n2
0
2
1
cos nx
sin nx
(1)
+ (2 x)
n
n2
N. B. Vyas
Fourier Series
Example
Z
1 2
Step 4. bn =
f (x) sin nx dx
0
Z
Z 2
1
=
x sin nx dx +
(2 x) sin nx dx
0
cos nx
sin nx
1
=
x
(1)
n
n2
0
2
1
cos nx
sin nx
(1)
+ (2 x)
n
n2
=0
N. B. Vyas
Fourier Series
Example
N. B. Vyas
Fourier Series