Documente Academic
Documente Profesional
Documente Cultură
Computations in most of the electrical circuits are based on the assumption that the wave form of the applied voltage to an electrical circuit is Sinusoidal. But, in practice, observed wave forms are not always sinusoidal. However, all non-sinusoidal waves can be represented by Fourier series as the sum of a number of sinusoidal waves and consequently, study of Fourier series, named after the French Mathematician and Physicist Jacques Fourier is relevant.
Periodic functions A function f x is said to be periodic if f x repeats itself at equal intervals of the abscisse x , i.e., if
f x
= f x T
where T is a positive constant. The least value of T>0 is called the least period or simply
the period of f x
. Examples 1. The Trigonometric functions sin x and cos x are the simple periodic functions with period 2 since
If f x be continuous for every value of x in the interval ?a, b A it is said to be continuous throughout the , interval. A function is said to be piecewise continuous in an interval if (i) the interval can be divided into a finite number of sub intervals in each of which f x is continuous and (ii) the limits of f x as x approaches the endpoints of each subinterval are finite. A piecewise continuous function, thus, has atmost a finite number of discontinuities.
2T x
f x =
Lim xp a 0
f x = f a
a0 g an cos nx bn sin nx 2 n !1
(i)
is called a Fourier Series and a0 , an , bn are known as Fourier Coefficients for the periodic function f x We generally take the Fourier series expansion in the interval (T , T ) with period 2 .
It is to be noted that the series (i) only corresponds to f x and we do not know whether the series converges or even it does converge, whether it converges to f x . This problem was examined by Dirichlet, who developed conditions for convergence of a Fourier series.
f x is periodic, single valued and bounded, f x has atmost a finite no. of maxima and minima f x has a finite number of discontinuities in any one period
Any function f x can be expanded as a Fourier series if it satisfies the Dirichlet s conditions.
..
.(i)
and
and write
T
f x dx =
a0 2 a0 2
T T
dx + an
T
cos nx dx + bn
sin nx dx ...
T
..
. ..(ii)
dx ,
T
T a0 ? x AT = 2 T
Therefore, a0 !
1 f x dx T T
T
f x cos nx dx = an
cos
T
nx dx ,
= anT Therefore,
1 an ! T
f x
cos nx dx
T
T n
T 2
f x
sin nx dx = b sin
T T
nx dx ,
= bnT Therefore,
1 bn ! T
f x
sin nx dx
T
The formulae for the coefficients a0 , an , bn found above are known as Euler s formulae. 3
Even and Odd functions A real function f x is called even, if for all x, f x = f x , while it is odd if f x = f x
cos nx is an even function, while sin nx is an odd function, xn is an odd function if n is odd, while it is
even if n is even. The product of two even functions is an even function and the product of two odd functions is an even function but the product of an odd function and an even function is an odd function. If f x
is an even function,
a a
f x
dx ! 2 f x
dx
a 0 a
If f x is an odd function
f x
dx = 0.
a
Fourier series of odd and even functions If f x is odd, f ( x) cos nx is also odd and f ( x)sin nx is even. Thus, if f x is odd,
1 a0 ! T 1 bn ! T
T T
f ( x) dx ! 0 ,
1 an ! f ( x ) cos nx dx ! 0, and T T
T
T
2 f ( x ) sin nx dx ! T
f (x ) sin nx dx
0
We observe from above, the series of odd function will contain only terms of sine If f x is even, f ( x) cos nx is even and f ( x)sin nx is odd. In this case,
1 a0 ! T
T
2 f ( x ) dx ! f ( x ) dx , T 0
1 an ! T
and
T
1 f ( x) dx ! T
T
2 f ( x) cos nx dx ! f ( x ) cos nx dx T 0
bn !
1 T
T
f ( x ) dx !
1 T
T
f ( x ) sin nx dx ! 0
Here, we observe that the series of even function will have terms of cosine only.
Working Rule:
Let f x
be a periodic function with period 2 and the interval is (T , T ) Step:1 Verify whether f x
is an even function or odd function. Step: 2 (a) If f x
is an even function, f x
sin x is an odd function; consequently, bn = 0 for all n u 0 and an !
1 T
T
f x cos nx dx ! 0 !
2 T
f x
cos nx dx
0
for all n u 0
bn !
1 T
T
f x
sin nx dx
T
2 f x sin nx dx T 0
Step3: If f x is neither even nor odd in (T , T ) or if the given interval is not (T , T ) , calculate Fourier coefficients by using Euler s formulae.
2 sin A cos B ! sin( A B ) sin( A B ) 2 cos A cos B ! cos( A B ) cos( A B ) 2 sin A sin B ! cos( A B ) cos( A B )
Rules on Integrals:
T T
(i)
sin nx dx ! 0
T T
(ii)
T 2T
cos nx dx ! 2T
for for
2T
n"0 n!0
(iii)
sin mx cos nx dx ! 0
T 2T
(iv)
sin nx dx ! 0 !
0 2T
cos nx dx
0
(v)
sin nx sin mx dx ! 0
0 2T 2T 2
(vi)
cos nx cos mx dx ! 0
0 2T
(vii)
sin
0
nx dx ! T !
cos
0
nx dx
(viii)
sin nx cos mx dx ! 0
0
(ix) General rule of integration by parts IF u , v be two functions of x and dashes denote differentiations and suffixes integrations with respect to x , then
uv dx
d d d ! uv1 u d u d u d4 ........................ v2 v3 v
(x) sin nT ! 0,
(Xi) e ax sin bx dx !
(Xii) e ax cos bx dx !
x T
f ( x) sin nx dx
0 T
2 x cos nx 1 = 2 sin nx T n n 0
x T
x 2
! f ( x ) and so f ( x)
T cos nT n 0 1 n ! 1 n
1 1 1 b1 ! 1, b2 ! , b3 ! , b4 ! 2 3 4 x ! 2
b
n !1
f ( x) ! x
in T
x T
T2 1 1 1 ! ........................ 8 12 32 52
Solution:
2 T
f ( x) dx !
2 T
x dx !
T 2 2 T 2 x dx ! ! T T T 2 0
2 an ! T
2 f ( x ) cos nx dx ! x cos nx dx T 0
T
2 ! T
(1) n 1 2 n
@ f (x) ! x ! substituing 0!
T 4 1 1 1 ......................... 2 T 12 3 2 5 2 T 4 1 1 1 ! ......................... or , 2 T 12 3 2 5 2
T2 1 1 1 ! ........................ 8 12 32 52
x T
1 1 1 T2 ! 1 2 2 2 ... 6 2 3 4
..
a0 !
1 f ( x ) dx T T
1 = T
(x
T
x ) dx
T
1 x3 x2 = T 3 2 T
=
1 T 3 T 2 T 3 T 2 T 3 2 3 2
2 2 T 3
1 T
T
an !
(x
T
x) cos nx dx
T
11 2 sin nx n 2 (2 x 1) cos nx n 3 n T T
1 ?4T cos nT 0A T n2 4 n 1
. 2 n
T
1 bn= T 1 T
T T
f ( x) sin nx dx
(x
T
x) sin nx dx
T
1 = T
cos nx 1 2 ( x x ) n n (2 x 1) cos nx T
10
1 = T
=
Thus, x2 x =
1 1 sin 2 x sin 3x T2 4( cos x 2 cos 2 x 2 sin 3x ..............) 2( sin x ....... .........)......(1) 3 2 3 2 3
Putting x ! T in (1),
Putting x ! T in (1),
T 2 T !
2T 2 ! 4T 2 ! 3 T2 ! 6
Or,
Or,
11
in T
x T
f ( x ) is an odd function and so a0 ! 0, an ! 0 2 2 bn ! f ( x ) sin nx dx ! x 3 sin nx dx T 0 T 0 2 ! T ! 2 T 3 cos nx sin nx cos nx sin nx 2 x n 3x n 2 6 x n 3 6 n 4 0 T 3 cos nT 6T cos nT n n3
T T T
2 6 n T ! 2 1 3 n n
x T
12
1 ! T ! ! ! ! !
a
( 1)n 1 n2 1
cos nx n !1
g
2 sin hT 2sin hT @ f ( x) ! T T
Example 7:
[ cos x is ( ve)when
T 2
x T]
13
2 an ! cos x cos nx dx T 0 T T 2 2 ! cos x cos nx dx cos x
cos nx dx T 0 T 2 T T 1 2 ! _ n 1) x cos(n 1) xa dx _ n 1) x cos(n 1) xa dx cos( cos( T 0 T 2 1 sin(n 1) x sin(n 1) x 2 1 sin(n 1) x sin(n 1) x ! n 1 0 T n 1 n 1 T T n 1
T T
cos x cos x dx
0
T 2 2 2 ! cos x dx cos x dx ! 0 T 0 T 2
14
x T f ( x) = x T
if if
0e x eT T e x 0
and f ( x 2T ) ! f ( x) Solution:
1 a0 ! T
T
1 f ( x ) dx ! T
0
1 T x T
dx T
T
x T
dx
0
1 x2 1 x2 ! T x T x T 2 T T 2 0 ! 1 T 2 1 1 T 2 T 2 T 2 ! T 2 ! T 2 T T 2 T
1 T 1 T
T
an !
T 0
f ( x) cos nx dx
T
T 0
f ( x) cos nx dx
1 T
f ( x ) cos nx dx
0 T
1 ! T
1 T x T cos nx dx T
x T
cos nx dx
0 T 0
15
bn !
x T
sin nx dx
T
1 T
x T
sin nx dx
0 T 0
Change of interval
Fourier series of a periodic function f ( x) is primarily defined on the interval (T , T ) If f ( x) is a periodic function with period 2 Fourier series for f ( x) may be found for any interval of length 2 . If the interval is taken as (c, c+2 ), i.e. c x c 2T , where c is any real number and f ( x 2T ) ! f ( x) for all values of x, i.e. f ( x) is periodic with period 2 , then
16
a0 !
1 T
c 2T
c c 2T
f ( x ) dx
1 an ! T 1 bn ! T
c c 2T
f ( x) cos nx dx;
f ( x ) sin nx dx
Fourier coefficients for the periodic function f ( x ) defined on 0, 2T , from above are therefore:
a0 !
1 T 1 T
2T
0 2T
f ( x ) dx ,
an !
0 2T
f ( x) cos nx dx;
1 bn ! T
f ( x ) sin nx dx
f ( x) ! x
,0
2T
to 4T
2T is given by
f ( x) !
where
17
1 a0 ! T
T
2T
1 f ( x) dx ! T
2T
x dx
0
T
1 x2 1 ! 2T 2 ! 2T ! T 2 0 T
2T
1 (cos 2nT 1) ! n 2T
1 (1 1) ! 0 n 2T
1 bn ! T !
1 f ( x ) sin nx dx ! T
x sin nx dx
0 2T
1 cos nx 1 x n n cos nx dx T 0
2T
1 2T 1 ! 2 sin x T n n 0 ! 1 2T 2 n 0 ! n T
Thus,
f ( x) !
g 2 ! T 0.cos nx sin nx n n !1
Example 10: Obtain the Fourier series for f ( x ) ! e x in the interval 0 e x Solution: The required series will be given by
2T
f ( x ) ! e x =
18
1 where, a0 ! T 1 T
2T
0 2T
f ( x ) dx
=
2T
e
0
x
dx !
2T 1 e x 0 T
1 1 e 2T ; T
x cos nx dx
an !
1 T
f ( x) cos nx dx
1 = T
2T
e
0
x
cos nx dx
2T
! e x cos nx n e x sin nx dx ! e x cos nx n[ e x sin nx n e x cos nx dx] (1 n2) e x cos nx dx ! e x ( nsin nxcos nx)
1 T 1 T
1 bn ! T 1 T
f ( x ) sin nx dx
e
x
x sin nx dx
2T
e
0
sin nx dx
2T
! e x sin nx n e x cos nx dx ! e x sin nx n [e x cos nx n e x sin nx dx ] (1n2) e x sin nx dx !e x (sin nxn cos nx) ! e x sin nx n e x cos nx)
1 = T
1 T
e x 2 ( sin nx n cos nx ) 1 n 0
e 2 T n 1 n2 ( n) 1 n2
n 1 e 2T . 1 n2 T
g a0 g an cos nx bn sin nx 2 n !1 n !1
Thus f ( x ) ! e x =
19
1 1 e 2 T (1 e2T ) 2T T
2 T
Example 11: Obtain Fourier series Expansion of f ( x ) ! x sin x from x ! 0 to 2T Solution: We know that the Fourier series expansion of f ( x ) is given by
g a0 g an cos nx bn sin nx 2 n !1 n !1 Here, x is always positive and sin x is positive when 0 x e T but is negative when T x e 2T ; consequently, the unction is neither even nor odd.
f ( x) !
1 a0 ! T !
2T
1 f ( x) dx ! T
2T
x sin x dx
0
2T 1 x cos x sin x 0 T
1 ?2T A ! 2; T
1 T
2T
an !
0 2T
1 ! T !
1 2T
2T
sin dx x _ n 1
x sin(n 1) xa
0 2T
1 cos( n 1) x cos(n 1) x sin(n 1) x sin(n 1)x x 2 2T n 1 n 1 n 1
2 n 1
1 2T cos 2(n 1)T cos 2( n 1)T 2T ! ( n 1) ( n 1) 2 [For n { 1] n 1
2
20
For n ! 1, a1 ! 1 T
2T
x sin x cos x dx !
1 2T
2T
x sin 2x dx
0 2T 2T
f ( x ) sin nx dx !
1 2T
2T
x sin x sin nx dx
0
1 2T
2T
1 n 1) x sin(n 1) x cos(n 1)x cos(n 1)x sin( ! 1 x 2 n 1 n 1
2 2T n 1 n 1
0 1 2(n 1)T cos 2(n 1)T 1 cos 1 2T 2 2 2 2T n 1
2 n 1
n 1
n 1
1 1 1 1 ! ! 0 [for n { 1] 2 2 2 2 n 1
n 1
n 1
n 1
!
For n=1
1 b1 ! T !
2T
0 2T
1 x sin x dx ! 2T
2 2T
2T
x(1 cos 2x ) dx
0
1 x dx x cos 2 x dx 2T 0 0
2T 2T
1 x2 sin 2 x cos 2 x ! x 2T 2 0 2 4 0 1 2 1 1 ! 2T ! T 2T 4 4
To be Continued
..