SlideShare a Scribd company logo
1 of 81
Periodic Functions and
Fourier Series
Periodic Functions
A function

f  

is periodic

if it is defined for all real



and if there is some positive number,

T

such that

f   T   f   .
f

0

T
f

0

T
f

0

T
Fourier Series
f  

be a periodic function with period

2

The function can be represented by
a trigonometric series as:




n 1

n 1

f    a0   an cos n   bn sin n




n 1

n 1

f    a0   an cos n   bn sin n
What kind of trigonometric (series) functions
are we talking about?

cos  , cos 2 , cos 3  and
sin , sin 2 , sin 3 
0

0

cos

cos

cos
0

0

sin

sin

sin
We want to determine the coefficients,

an

and

bn

.

Let us first remember some useful
integrations.


  cos n cos m d


1 
1 
  cosn  m  d   cosn  m  d
2 
2 





cos n cos md  0

nm







cos n cos md  



nm


  sin n cos m d


1 
1 
  sinn  m  d   sinn  m  d
2 
2 





sin n cos md  0



for all values of m.


  sin n sin m d


1 
1 
  cosn  m  d   cosn  m  d
2 
2 





sin n sin md  0







sin n sin md  



nm

nm
Determine

a0

Integrate both sides of (1) from



to





  f  d






  a0   an cos n   bn sin n  d

n1
n 1






  f   d




  a0d     an cos n  d


 
 n 1









    bn sin n  d

 
 n 1









  f  d    a d  0  0




0




f d  2a0  0  0



1
a0 
2

a0





f d



is the average (dc) value of the

function,

f   .
You may integrate both sides of (1) from

0



to

2

instead.

f   d

0



2

2

0



a0   an cos n   bn sin n  d
n 1
n 1






It is alright as long as the integration is
performed over one period.


2

f   d

0

2

2

0

0

  a0d  


2

0



2

0



  an cos n  d


 n 1





  bn sin n  d


 n 1



2

f   d   a0d  0  0
0


2

0

f   d  2a0  0  0

1
a0 
2



2

0

f   d
Determine
Multiply (1) by

an

cos m

and then Integrate both sides from



to





  f   cos m d






  a0   an cos n   bn sin n  cos m d

n1
n1




Let us do the integration on the right-hand-side
one term at a time.
First term,





a0 cos m d  0



Second term,





  n 1

an cos n cos m d
Second term,




  a


n

cos n cos m d  am

n1

Third term,




b



n 1

n

sin n cos m d  0
Therefore,





f   cos m d  am

am 

1







f   cos m d

m  1, 2, 
Determine
Multiply (1) by

bn

sin m

and then Integrate both sides from



to





  f   sin m d






  a0   a n cos n   bn sin n  sin m d

n 1
n 1




Let us do the integration on the right-hand-side
one term at a time.
First term,





a0 sin m d  0

Second term,




  a


n 1

n

cos n sin m d
Second term,




  a


n 1

n

cos n sin m d  0

Third term,




b



n

n1

sin n sin m d  bm
Therefore,





f   sin md  bm

bm 

1







f   sin md

m  1, 2 ,
The coefficients are:

1
a0 
2





f d





am 

  f  cos m d


bm 

1

1









f   sin m d

m  1, 2, 

m  1, 2, 
We can write n in place of m:

1
a0 
2





f d





an 

  f  cos n d


bn 

1

1









f   sin n d

n  1, 2 ,

n  1, 2 ,
The integrations can be performed from

0

to

2

1
a0 
2



2

0

an 



2

bn 

1

2

1

0




0

instead.

f   d

f   cos n d

f   sin n d

n  1, 2 ,

n  1, 2 ,
Example 1. Find the Fourier series of
the following periodic function.
f

A

0

-A

f   A when 0    
  A when     2

f   2   f  
1 2
a0 
f   d
0
2
2
1  

f   d   f   d 
 0



2 
2
1  

A d    A d 
 0



2 
0
an 

1




2
0

f   cos n d

2
1 

A cos n d    A cos n d 
 0







2

1  sin n 
1
sin n 
 A
    A n   0

n 0


bn 

1



2
0

f   sin n d

2
1 

A sin n d    A sin n d 




  0



2

1
cos n 
1  cos n 
  A
 A

n 0  
n 


A
 cos n  cos 0  cos 2n  cos n 

n
A
 cos n  cos 0  cos 2n  cos n 
bn 
n
A
1  1  1  1

n
4A

when n is odd
n
A
 cos n  cos 0  cos 2n  cos n 
bn 
n
A
 1  1  1  1

n
 0 when n is even
Therefore, the corresponding Fourier series is

4A 
1
1
1

 sin  sin 3  sin 5  sin 7  
 
3
5
7

In writing the Fourier series we may not be
able to consider infinite number of terms for
practical reasons. The question therefore, is
– how many terms to consider?
When we consider 4 terms as shown in the
previous slide, the function looks like the
following.
1.5

1

0.5
f()

0

0.5

1

1.5

When we consider 6 terms, the function looks
like the following.
1.5

1

0.5
f()

0

0.5

1

1.5

When we consider 8 terms, the function looks
like the following.
1.5
1
0.5
f ( )

0

0.5
1
1.5

When we consider 12 terms, the function looks
like the following.
1.5

1

0.5
f()

0

0.5

1

1.5

The red curve was drawn with 12 terms and
the blue curve was drawn with 4 terms.
1.5

1

0.5

0

0.5

1

1.5


The red curve was drawn with 12 terms and
the blue curve was drawn with 4 terms.
1.5

1

0.5

0

0.5

1

1.5

0

2

4

6


8

10
The red curve was drawn with 20 terms and
the blue curve was drawn with 4 terms.
1.5

1

0.5

0

0.5

1

1.5

0

2

4

6


8

10
Even and Odd Functions
(We are not talking about even or
odd numbers.)
Even Functions
f(

Mathematically speaking -

f     f  

The value of the
function would
be the same
when we walk
equal distances
along the X-axis
in opposite
directions.
Odd Functions
f(

Mathematically speaking -

f      f  

The value of the
function would
change its sign
but with the
same magnitude
when we walk
equal distances
along the X-axis
in opposite
directions.
Even functions can solely be represented
by cosine waves because, cosine waves
are even functions. A sum of even
functions is another even function.
5

0

5
10

0


10
Odd functions can solely be represented by
sine waves because, sine waves are odd
functions. A sum of odd functions is another
odd function.
5

0

5
10

0


10
The Fourier series of an even function f  
is expressed in terms of a cosine series.


f    a0   an cos n
n 1

The Fourier series of an odd function f  
is expressed in terms of a sine series.


f     bn sin n
n 1
Example 2. Find the Fourier series of
the following periodic function.
f(x)

x
0

f x   x

2

when    x  

f   2   f  
1
a0 
2
1

2



1
f  x  dx 
2




x 

x 


3
3
  x  
3

2






2

x dx
an 

1







f  x  cos nx dx

1  2


x cos nxdx
 



Use integration by parts.
4
an  2 cos n
n
4
an   2
n

4
an  2
n

when n is odd

when n is even
This is an even function.
Therefore,

bn  0

The corresponding Fourier series is



cos 2 x cos 3 x cos 4 x


 4 cos x 


 
2
2
2
3
2
3
4


2
Functions Having Arbitrary Period

Assume that a function f t  has
period, T . We can relate angle
(  ) with time ( t ) in the following
manner.

  t
 is the angular frequency in radians per
second.
  2 f
f is the frequency of the periodic function,

f t 

  2 f t
Therefore,

where

2

t
T

1
f 
T
2

t
T

2
d 
dt
T

Now change the limits of integration.

  

2
 
t
T

T
t
2

 

2

t
T

T
t
2
1
a0 
2
1
a0 
T








f d



T
2

f t dt

T
2
an 

1






2
an 
T



T
2

f   cos n d

 2 n 
 Tf t cos T t dt



2

n  1, 2 ,

n  1, 2, 
bn 

1



f   sin n d

n  1, 2 ,

 2 n 
 Tf t sin T t dt




n  1, 2, 




2
bn 
T



T
2

2
Example 4. Find the Fourier series of
the following periodic function.
f(t)
3T/4

0
-T/2

t

T/4
T/2

T

2T

T
T
f t   t when   t 
4
4
T
T
3T
 t 
when
t
2
4
4
f t  T   f t 
This is an odd (periodic) function. Therefore,

an  0

2
 2n 
bn   f t  sin
t dt
T 0
 T 
T

4

T


0

T
2

 2n 
f t  sin
t dt
 T 
4
bn 
T
4

T

T
4

 2n 
t sin
t  dt
 T 
0
T
2

T   2n 

t dt
  t   sin
T 
2  T 
4

Use integration by parts.
  T 
 n
 sin
 2.
 2
  2n 

2T
 n 
 2 2 sin

n
 2 

4
bn 
T

bn  0

2

when n is even.





Therefore, the Fourier series is

2T
2


  2  1

 6  1
 10 
 sin  T t   2 sin  T t   2 sin  T t   
 3

 5


 

The Complex Form of Fourier Series




n 1

n 1

f    a0   an cos n   bn sin n
Let us utilize the Euler formulae.

cos  
sin 

e
e

j

j

e
2

 j

e
2i

 j
n

th harmonic component of (1) can be
The
expressed as:

an cos n  bn sin n
 an

 an

e

e

jn

jn

e
2

 jn

e
2

 jn

 bn

e

 ibn

jn

e

e
2i

jn

 jn

e
2

 jn
an cos n  bn sin n
 an  jbn  jn  an  jbn   jn

e  
e
2 
2 


Denoting

 a n  jb n
cn  

2

and

c0  a0






,

cn

 a n  jb n 


2


an cos n  bn sin n
 cn e

jn

 c n e

 jn
The Fourier series for
can be expressed as:




f  

f    c0   cne
n 1





c e
n

n 

jn

jn

 c ne

 jn


The coefficients can be evaluated in
the following manner.

 an  jbn 
cn  

2 

1 
j

 f  cos nd  2
2


1

2



1

2










  f  sin n d


f  cos n  j sin n d

f   e

 jn

d
 an  jbn 
c n  

2 

1 
j

 f  cos nd  2
2

1

2

1

2





  f  sin n d


  f  cos n  j sin n d




  f   e


jn

d
 an  jbn 
cn  

2 

Note that

cn .

cn

 an  jbn 
c n  

 2 

is the complex conjugate of

Hence we may write that

1
cn 
2





f e

 jn

d



.

n  0 ,  1,  2 , 
The complex form of the Fourier series of

f   with period

f   

2



c e

n  

n

is:

jn
Example 1. Find the Fourier series of
the following periodic function.
f

A

0

-A

f   A when 0    
  A when     2

f   2   f  
A  5
f ( x) 

A if 0  x  
A if   x  2 
0 otherwise

2

1 
A0 
 f ( x) dx
2 0
A0  0
n  1  8
2

1 
An   f ( x) cos( nx) dx
 0
A1  0

A2  0

A3  0

A4  0

A5  0

A6  0

A7  0

A8  0
2

1 
Bn  
 0

f ( x) sin( nx) dx

B1  6.366

B2  0

B3  2.122

B4  0

B5  1.273

B6  0

B7  0.909

B8  0
Comple x Form

f   



c e

1
cn 
2

jn

n

n  





f e  jnd



n  0,  1,  2,

2

1 
C ( n) 

2  0

 1i n  x

f ( x) e

dx
2

1 
C ( n) 

2  0

 1i n  x

f ( x) e

dx

C (0)  0

C (1)  3.183i

C (2)  0

C (3)  1.061i

C (4)  0

C (5)  0.637i

C (6)  0

C (7)  0.455i

C (1)  3.183i

C (2)  0

C (3)  1.061i

C (5)  0.637i

C (6)  0

C (7)  0.455i

C (4)  0

More Related Content

What's hot

Fourier Series - Engineering Mathematics
Fourier Series -  Engineering MathematicsFourier Series -  Engineering Mathematics
Fourier Series - Engineering MathematicsMd Sadequl Islam
 
Dobule and triple integral
Dobule and triple integralDobule and triple integral
Dobule and triple integralsonendra Gupta
 
Limits and continuity powerpoint
Limits and continuity powerpointLimits and continuity powerpoint
Limits and continuity powerpointcanalculus
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equationNofal Umair
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transformNisarg Amin
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradientKunj Patel
 
Presentation on fourier transformation
Presentation on fourier transformationPresentation on fourier transformation
Presentation on fourier transformationWasim Shah
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transformsIffat Anjum
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lPepa Vidosa Serradilla
 
Cauchy integral theorem & formula (complex variable & numerical method )
Cauchy integral theorem & formula (complex variable & numerical method )Cauchy integral theorem & formula (complex variable & numerical method )
Cauchy integral theorem & formula (complex variable & numerical method )Digvijaysinh Gohil
 
Vector differentiation, the ∇ operator,
Vector differentiation, the ∇ operator,Vector differentiation, the ∇ operator,
Vector differentiation, the ∇ operator,Tarun Gehlot
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular ConvolutionSarang Joshi
 
Application of fourier series
Application of fourier seriesApplication of fourier series
Application of fourier seriesGirish Dhareshwar
 
Fourier series and applications of fourier transform
Fourier series and applications of fourier transformFourier series and applications of fourier transform
Fourier series and applications of fourier transformKrishna Jangid
 

What's hot (20)

Fourier Series - Engineering Mathematics
Fourier Series -  Engineering MathematicsFourier Series -  Engineering Mathematics
Fourier Series - Engineering Mathematics
 
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuriLINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
LINER SURFACE AND VOLUM INTERGRALS Karishma mansuri
 
Dobule and triple integral
Dobule and triple integralDobule and triple integral
Dobule and triple integral
 
Limits and continuity powerpoint
Limits and continuity powerpointLimits and continuity powerpoint
Limits and continuity powerpoint
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
Properties of fourier transform
Properties of fourier transformProperties of fourier transform
Properties of fourier transform
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradient
 
Fourier series
Fourier series Fourier series
Fourier series
 
Legendre functions
Legendre functionsLegendre functions
Legendre functions
 
Fourier series
Fourier seriesFourier series
Fourier series
 
Presentation on fourier transformation
Presentation on fourier transformationPresentation on fourier transformation
Presentation on fourier transformation
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Fourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 lFourier series of odd functions with period 2 l
Fourier series of odd functions with period 2 l
 
Cauchy integral theorem & formula (complex variable & numerical method )
Cauchy integral theorem & formula (complex variable & numerical method )Cauchy integral theorem & formula (complex variable & numerical method )
Cauchy integral theorem & formula (complex variable & numerical method )
 
Fourier Transform
Fourier TransformFourier Transform
Fourier Transform
 
Vector differentiation, the ∇ operator,
Vector differentiation, the ∇ operator,Vector differentiation, the ∇ operator,
Vector differentiation, the ∇ operator,
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular Convolution
 
Calculus
CalculusCalculus
Calculus
 
Application of fourier series
Application of fourier seriesApplication of fourier series
Application of fourier series
 
Fourier series and applications of fourier transform
Fourier series and applications of fourier transformFourier series and applications of fourier transform
Fourier series and applications of fourier transform
 

Similar to periodic functions and Fourier series

TPDE_UNIT II-FOURIER SERIES_PPT.pptx
TPDE_UNIT II-FOURIER SERIES_PPT.pptxTPDE_UNIT II-FOURIER SERIES_PPT.pptx
TPDE_UNIT II-FOURIER SERIES_PPT.pptxragavvelmurugan
 
Find the compact trigonometric Fourier series for the periodic signal.pdf
Find the compact trigonometric Fourier series for the periodic signal.pdfFind the compact trigonometric Fourier series for the periodic signal.pdf
Find the compact trigonometric Fourier series for the periodic signal.pdfarihantelectronics
 
Chapter 4 Fourier Series.pptx
Chapter 4 Fourier Series.pptxChapter 4 Fourier Series.pptx
Chapter 4 Fourier Series.pptxAshDenem
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsArvind Devaraj
 
fourier-method-of-waveform-analysis msc physics
fourier-method-of-waveform-analysis msc physicsfourier-method-of-waveform-analysis msc physics
fourier-method-of-waveform-analysis msc physicsRakeshPatil2528
 
Fourier series and Fourier transform in po physics
Fourier series and Fourier transform in po physicsFourier series and Fourier transform in po physics
Fourier series and Fourier transform in po physicsRakeshPatil2528
 
Orthogonality relations pdf
Orthogonality relations pdfOrthogonality relations pdf
Orthogonality relations pdfamirhashemian
 
1.1 Elementary Concepts.pdf
1.1 Elementary Concepts.pdf1.1 Elementary Concepts.pdf
1.1 Elementary Concepts.pdfd00a7ece
 
1.1 elementary concepts
1.1 elementary concepts1.1 elementary concepts
1.1 elementary conceptsd00a7ece
 
Summation Series
Summation SeriesSummation Series
Summation SeriesMenglinLiu1
 
On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.
On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.
On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.IOSRJM
 
PART VII.3 - Quantum Electrodynamics
PART VII.3 - Quantum ElectrodynamicsPART VII.3 - Quantum Electrodynamics
PART VII.3 - Quantum ElectrodynamicsMaurice R. TREMBLAY
 
Derivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport EquationDerivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport EquationAbhranil Das
 
Fourier Specturm via MATLAB
Fourier Specturm via MATLABFourier Specturm via MATLAB
Fourier Specturm via MATLABZunAib Ali
 
Ist module 3
Ist module 3Ist module 3
Ist module 3Vijaya79
 
Notes 7 6382 Power Series.pptx
Notes 7 6382 Power Series.pptxNotes 7 6382 Power Series.pptx
Notes 7 6382 Power Series.pptxgajjesatheesh59
 
lecture 5&6 of mechanics .ppt
lecture 5&6 of mechanics .pptlecture 5&6 of mechanics .ppt
lecture 5&6 of mechanics .pptHammadGujjar9
 

Similar to periodic functions and Fourier series (20)

TPDE_UNIT II-FOURIER SERIES_PPT.pptx
TPDE_UNIT II-FOURIER SERIES_PPT.pptxTPDE_UNIT II-FOURIER SERIES_PPT.pptx
TPDE_UNIT II-FOURIER SERIES_PPT.pptx
 
Find the compact trigonometric Fourier series for the periodic signal.pdf
Find the compact trigonometric Fourier series for the periodic signal.pdfFind the compact trigonometric Fourier series for the periodic signal.pdf
Find the compact trigonometric Fourier series for the periodic signal.pdf
 
Nt lecture skm-iiit-bh
Nt lecture skm-iiit-bhNt lecture skm-iiit-bh
Nt lecture skm-iiit-bh
 
Fourier Series.pdf
Fourier Series.pdfFourier Series.pdf
Fourier Series.pdf
 
Chapter 4 Fourier Series.pptx
Chapter 4 Fourier Series.pptxChapter 4 Fourier Series.pptx
Chapter 4 Fourier Series.pptx
 
Signal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier TransformsSignal Processing Introduction using Fourier Transforms
Signal Processing Introduction using Fourier Transforms
 
fourier-method-of-waveform-analysis msc physics
fourier-method-of-waveform-analysis msc physicsfourier-method-of-waveform-analysis msc physics
fourier-method-of-waveform-analysis msc physics
 
Fourier series and Fourier transform in po physics
Fourier series and Fourier transform in po physicsFourier series and Fourier transform in po physics
Fourier series and Fourier transform in po physics
 
rcg-ch4a.pdf
rcg-ch4a.pdfrcg-ch4a.pdf
rcg-ch4a.pdf
 
Orthogonality relations pdf
Orthogonality relations pdfOrthogonality relations pdf
Orthogonality relations pdf
 
1.1 Elementary Concepts.pdf
1.1 Elementary Concepts.pdf1.1 Elementary Concepts.pdf
1.1 Elementary Concepts.pdf
 
1.1 elementary concepts
1.1 elementary concepts1.1 elementary concepts
1.1 elementary concepts
 
Summation Series
Summation SeriesSummation Series
Summation Series
 
On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.
On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.
On the K-Fibonacci Hankel and the 4 X 4 Skew Symmetric KFibonacci Matrices.
 
PART VII.3 - Quantum Electrodynamics
PART VII.3 - Quantum ElectrodynamicsPART VII.3 - Quantum Electrodynamics
PART VII.3 - Quantum Electrodynamics
 
Derivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport EquationDerivation of the Boltzmann Transport Equation
Derivation of the Boltzmann Transport Equation
 
Fourier Specturm via MATLAB
Fourier Specturm via MATLABFourier Specturm via MATLAB
Fourier Specturm via MATLAB
 
Ist module 3
Ist module 3Ist module 3
Ist module 3
 
Notes 7 6382 Power Series.pptx
Notes 7 6382 Power Series.pptxNotes 7 6382 Power Series.pptx
Notes 7 6382 Power Series.pptx
 
lecture 5&6 of mechanics .ppt
lecture 5&6 of mechanics .pptlecture 5&6 of mechanics .ppt
lecture 5&6 of mechanics .ppt
 

More from Umang Gupta

23 network security threats pkg
23 network security threats pkg23 network security threats pkg
23 network security threats pkgUmang Gupta
 
Chapter8 27 nov_2010
Chapter8 27 nov_2010Chapter8 27 nov_2010
Chapter8 27 nov_2010Umang Gupta
 
Lecture43 network security
Lecture43 network securityLecture43 network security
Lecture43 network securityUmang Gupta
 
11. transaction sql
11. transaction sql11. transaction sql
11. transaction sqlUmang Gupta
 
Advanced data structures and implementation
Advanced data structures and implementationAdvanced data structures and implementation
Advanced data structures and implementationUmang Gupta
 
Graph theory narsingh deo
Graph theory narsingh deoGraph theory narsingh deo
Graph theory narsingh deoUmang Gupta
 
Computer organiztion6
Computer organiztion6Computer organiztion6
Computer organiztion6Umang Gupta
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4Umang Gupta
 
Computer organiztion3
Computer organiztion3Computer organiztion3
Computer organiztion3Umang Gupta
 
Computer organiztion2
Computer organiztion2Computer organiztion2
Computer organiztion2Umang Gupta
 
Computer organiztion1
Computer organiztion1Computer organiztion1
Computer organiztion1Umang Gupta
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5Umang Gupta
 
Angle modulation
Angle modulationAngle modulation
Angle modulationUmang Gupta
 
fourier transforms
fourier transformsfourier transforms
fourier transformsUmang Gupta
 
Communication systems
Communication systemsCommunication systems
Communication systemsUmang Gupta
 

More from Umang Gupta (17)

23 network security threats pkg
23 network security threats pkg23 network security threats pkg
23 network security threats pkg
 
Lect13 security
Lect13   securityLect13   security
Lect13 security
 
Chapter8 27 nov_2010
Chapter8 27 nov_2010Chapter8 27 nov_2010
Chapter8 27 nov_2010
 
Lecture43 network security
Lecture43 network securityLecture43 network security
Lecture43 network security
 
11. transaction sql
11. transaction sql11. transaction sql
11. transaction sql
 
Advanced data structures and implementation
Advanced data structures and implementationAdvanced data structures and implementation
Advanced data structures and implementation
 
Graph theory narsingh deo
Graph theory narsingh deoGraph theory narsingh deo
Graph theory narsingh deo
 
Computer organiztion6
Computer organiztion6Computer organiztion6
Computer organiztion6
 
Computer organiztion4
Computer organiztion4Computer organiztion4
Computer organiztion4
 
Computer organiztion3
Computer organiztion3Computer organiztion3
Computer organiztion3
 
Computer organiztion2
Computer organiztion2Computer organiztion2
Computer organiztion2
 
Computer organiztion1
Computer organiztion1Computer organiztion1
Computer organiztion1
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5
 
Angle modulation
Angle modulationAngle modulation
Angle modulation
 
fourier transforms
fourier transformsfourier transforms
fourier transforms
 
Basic antenas
Basic antenasBasic antenas
Basic antenas
 
Communication systems
Communication systemsCommunication systems
Communication systems
 

Recently uploaded

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 

Recently uploaded (20)

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 

periodic functions and Fourier series

  • 2. Periodic Functions A function f   is periodic if it is defined for all real  and if there is some positive number, T such that f   T   f   .
  • 6. Fourier Series f   be a periodic function with period 2 The function can be represented by a trigonometric series as:   n 1 n 1 f    a0   an cos n   bn sin n
  • 7.   n 1 n 1 f    a0   an cos n   bn sin n What kind of trigonometric (series) functions are we talking about? cos  , cos 2 , cos 3  and sin , sin 2 , sin 3 
  • 10. We want to determine the coefficients, an and bn . Let us first remember some useful integrations.
  • 11.    cos n cos m d  1  1    cosn  m  d   cosn  m  d 2  2    cos n cos md  0 nm    cos n cos md    nm
  • 12.    sin n cos m d  1  1    sinn  m  d   sinn  m  d 2  2    sin n cos md  0  for all values of m.
  • 13.    sin n sin m d  1  1    cosn  m  d   cosn  m  d 2  2    sin n sin md  0    sin n sin md    nm nm
  • 14. Determine a0 Integrate both sides of (1) from  to     f  d        a0   an cos n   bn sin n  d  n1 n 1   
  • 15.    f   d      a0d     an cos n  d      n 1           bn sin n  d     n 1        f  d    a d  0  0   0
  • 16.   f d  2a0  0  0  1 a0  2 a0   f d  is the average (dc) value of the function, f   .
  • 17. You may integrate both sides of (1) from 0  to 2 instead. f   d 0  2 2 0   a0   an cos n   bn sin n  d n 1 n 1     It is alright as long as the integration is performed over one period.
  • 18.  2 f   d 0 2 2 0 0   a0d    2 0  2 0     an cos n  d    n 1       bn sin n  d    n 1   2 f   d   a0d  0  0 0
  • 19.  2 0 f   d  2a0  0  0 1 a0  2  2 0 f   d
  • 20. Determine Multiply (1) by an cos m and then Integrate both sides from  to     f   cos m d        a0   an cos n   bn sin n  cos m d  n1 n1   
  • 21. Let us do the integration on the right-hand-side one term at a time. First term,   a0 cos m d  0  Second term,      n 1 an cos n cos m d
  • 22. Second term,     a  n cos n cos m d  am n1 Third term,   b   n 1 n sin n cos m d  0
  • 23. Therefore,    f   cos m d  am am  1     f   cos m d m  1, 2, 
  • 24. Determine Multiply (1) by bn sin m and then Integrate both sides from  to     f   sin m d        a0   a n cos n   bn sin n  sin m d  n 1 n 1   
  • 25. Let us do the integration on the right-hand-side one term at a time. First term,    a0 sin m d  0 Second term,     a  n 1 n cos n sin m d
  • 26. Second term,     a  n 1 n cos n sin m d  0 Third term,   b   n n1 sin n sin m d  bm
  • 27. Therefore,    f   sin md  bm bm  1     f   sin md m  1, 2 ,
  • 28. The coefficients are: 1 a0  2   f d   am    f  cos m d  bm  1 1      f   sin m d m  1, 2,  m  1, 2, 
  • 29. We can write n in place of m: 1 a0  2   f d   an    f  cos n d  bn  1 1      f   sin n d n  1, 2 , n  1, 2 ,
  • 30. The integrations can be performed from 0 to 2 1 a0  2  2 0 an   2 bn  1 2 1 0   0 instead. f   d f   cos n d f   sin n d n  1, 2 , n  1, 2 ,
  • 31. Example 1. Find the Fourier series of the following periodic function. f A 0 -A f   A when 0       A when     2 f   2   f  
  • 32. 1 2 a0  f   d 0 2 2 1    f   d   f   d   0    2  2 1    A d    A d   0    2  0
  • 33. an  1   2 0 f   cos n d 2 1   A cos n d    A cos n d   0      2 1  sin n  1 sin n   A     A n   0  n 0  
  • 34. bn  1  2 0 f   sin n d 2 1   A sin n d    A sin n d        0  2 1 cos n  1  cos n    A  A  n 0   n    A  cos n  cos 0  cos 2n  cos n   n
  • 35. A  cos n  cos 0  cos 2n  cos n  bn  n A 1  1  1  1  n 4A  when n is odd n
  • 36. A  cos n  cos 0  cos 2n  cos n  bn  n A  1  1  1  1  n  0 when n is even
  • 37. Therefore, the corresponding Fourier series is 4A  1 1 1   sin  sin 3  sin 5  sin 7     3 5 7  In writing the Fourier series we may not be able to consider infinite number of terms for practical reasons. The question therefore, is – how many terms to consider?
  • 38. When we consider 4 terms as shown in the previous slide, the function looks like the following. 1.5 1 0.5 f() 0 0.5 1 1.5 
  • 39. When we consider 6 terms, the function looks like the following. 1.5 1 0.5 f() 0 0.5 1 1.5 
  • 40. When we consider 8 terms, the function looks like the following. 1.5 1 0.5 f ( ) 0 0.5 1 1.5 
  • 41. When we consider 12 terms, the function looks like the following. 1.5 1 0.5 f() 0 0.5 1 1.5 
  • 42. The red curve was drawn with 12 terms and the blue curve was drawn with 4 terms. 1.5 1 0.5 0 0.5 1 1.5 
  • 43. The red curve was drawn with 12 terms and the blue curve was drawn with 4 terms. 1.5 1 0.5 0 0.5 1 1.5 0 2 4 6  8 10
  • 44. The red curve was drawn with 20 terms and the blue curve was drawn with 4 terms. 1.5 1 0.5 0 0.5 1 1.5 0 2 4 6  8 10
  • 45. Even and Odd Functions (We are not talking about even or odd numbers.)
  • 46. Even Functions f( Mathematically speaking - f     f   The value of the function would be the same when we walk equal distances along the X-axis in opposite directions.
  • 47. Odd Functions f( Mathematically speaking - f      f   The value of the function would change its sign but with the same magnitude when we walk equal distances along the X-axis in opposite directions.
  • 48. Even functions can solely be represented by cosine waves because, cosine waves are even functions. A sum of even functions is another even function. 5 0 5 10 0  10
  • 49. Odd functions can solely be represented by sine waves because, sine waves are odd functions. A sum of odd functions is another odd function. 5 0 5 10 0  10
  • 50. The Fourier series of an even function f   is expressed in terms of a cosine series.  f    a0   an cos n n 1 The Fourier series of an odd function f   is expressed in terms of a sine series.  f     bn sin n n 1
  • 51. Example 2. Find the Fourier series of the following periodic function. f(x) x 0 f x   x 2 when    x   f   2   f  
  • 52. 1 a0  2 1  2  1 f  x  dx  2   x  x    3 3   x   3 2    2 x dx
  • 53. an  1     f  x  cos nx dx 1  2   x cos nxdx      Use integration by parts.
  • 54. 4 an  2 cos n n 4 an   2 n 4 an  2 n when n is odd when n is even
  • 55. This is an even function. Therefore, bn  0 The corresponding Fourier series is  cos 2 x cos 3 x cos 4 x    4 cos x      2 2 2 3 2 3 4   2
  • 56. Functions Having Arbitrary Period Assume that a function f t  has period, T . We can relate angle (  ) with time ( t ) in the following manner.   t  is the angular frequency in radians per second.
  • 57.   2 f f is the frequency of the periodic function, f t    2 f t Therefore, where 2  t T 1 f  T
  • 58. 2  t T 2 d  dt T Now change the limits of integration.    2   t T T t 2   2  t T T t 2
  • 59. 1 a0  2 1 a0  T     f d  T 2 f t dt T 2
  • 60. an  1    2 an  T  T 2 f   cos n d  2 n   Tf t cos T t dt    2 n  1, 2 , n  1, 2, 
  • 61. bn  1  f   sin n d n  1, 2 ,  2 n   Tf t sin T t dt    n  1, 2,    2 bn  T  T 2 2
  • 62. Example 4. Find the Fourier series of the following periodic function. f(t) 3T/4 0 -T/2 t T/4 T/2 T 2T T T f t   t when   t  4 4 T T 3T  t  when t 2 4 4
  • 63. f t  T   f t  This is an odd (periodic) function. Therefore, an  0 2  2n  bn   f t  sin t dt T 0  T  T 4  T  0 T 2  2n  f t  sin t dt  T 
  • 64. 4 bn  T 4  T T 4  2n  t sin t  dt  T  0 T 2 T   2n   t dt   t   sin T  2  T  4 Use integration by parts.
  • 65.   T   n  sin  2.  2   2n   2T  n   2 2 sin  n  2  4 bn  T bn  0 2 when n is even.    
  • 66. Therefore, the Fourier series is 2T 2    2  1   6  1  10   sin  T t   2 sin  T t   2 sin  T t     3   5     
  • 67. The Complex Form of Fourier Series   n 1 n 1 f    a0   an cos n   bn sin n Let us utilize the Euler formulae. cos   sin  e e j j e 2  j e 2i  j
  • 68. n th harmonic component of (1) can be The expressed as: an cos n  bn sin n  an  an e e jn jn e 2  jn e 2  jn  bn e  ibn jn e e 2i jn  jn e 2  jn
  • 69. an cos n  bn sin n  an  jbn  jn  an  jbn   jn  e   e 2  2    Denoting  a n  jb n cn    2  and c0  a0     , cn  a n  jb n    2  
  • 70. an cos n  bn sin n  cn e jn  c n e  jn
  • 71. The Fourier series for can be expressed as:   f   f    c0   cne n 1   c e n n  jn jn  c ne  jn 
  • 72. The coefficients can be evaluated in the following manner.  an  jbn  cn    2   1  j   f  cos nd  2 2  1  2  1  2        f  sin n d  f  cos n  j sin n d f   e  jn d
  • 73.  an  jbn  c n    2   1  j   f  cos nd  2 2 1  2 1  2     f  sin n d    f  cos n  j sin n d     f   e  jn d
  • 74.  an  jbn  cn    2   Note that cn . cn  an  jbn  c n     2  is the complex conjugate of Hence we may write that 1 cn  2   f e  jn d  . n  0 ,  1,  2 , 
  • 75. The complex form of the Fourier series of f   with period f    2  c e n   n is: jn
  • 76. Example 1. Find the Fourier series of the following periodic function. f A 0 -A f   A when 0       A when     2 f   2   f  
  • 77. A  5 f ( x)  A if 0  x   A if   x  2  0 otherwise 2 1  A0   f ( x) dx 2 0 A0  0
  • 78. n  1  8 2 1  An   f ( x) cos( nx) dx  0 A1  0 A2  0 A3  0 A4  0 A5  0 A6  0 A7  0 A8  0
  • 79. 2 1  Bn    0 f ( x) sin( nx) dx B1  6.366 B2  0 B3  2.122 B4  0 B5  1.273 B6  0 B7  0.909 B8  0
  • 80. Comple x Form f     c e 1 cn  2 jn n n     f e  jnd  n  0,  1,  2, 2 1  C ( n)   2  0  1i n  x f ( x) e dx
  • 81. 2 1  C ( n)   2  0  1i n  x f ( x) e dx C (0)  0 C (1)  3.183i C (2)  0 C (3)  1.061i C (4)  0 C (5)  0.637i C (6)  0 C (7)  0.455i C (1)  3.183i C (2)  0 C (3)  1.061i C (5)  0.637i C (6)  0 C (7)  0.455i C (4)  0