Skip to content

Fourier Series

Fourier Series

f(x)=a02+n=1(ancosnπpx+bnsinnπpx)
a0=1p Pf(x) dxan=1pPf(x)cosnπpx dxbn=1pPf(x)sinnπpx dx

in which a0, an, bn are called as Fourier coefficients, P is any of full period of f(x).

Let p always be a half of period, then we can understand that

πp=2π2p=ω0

Notice that the close form of an is often undefined on 0.

limn0an±

Fourier Cosine and Sine Series

  1. f(x) is even => Fourier cosine series
  2. f(x) is odd => Fourier sine series


  • Tips

  • cosine & sine series : interval is change into [L, L], set p=L

  • Fourier series : interval [p,p] is change into [0,L], set p=L/2

  • p is always a half of period.


Fourier Cosine Series

f(x)=a02+n=1ancosnπpx

in which,

a0=1pppf(x) dx=2p0pf(x) dxan=1pppf(x) cosnπpx dx=2p0pf(x)cosnπpx dx

notice : 1. f(x) is even. 2. Take [p,p] for P. 3. Half range extension (compare to Fourier series).


Fourier Sine Series

f(x)=n=1bnsinnπpx

in which,

bn=1pppf(x)sinnπpx dx=2p0pf(x)sinnπpx dx

notice : 1. f(x) is odd. ([f(x)sinαx] will thus be even) 2. Take [p,p] for P 3. Half range extension (compare to Fourier series).


Gibbs Phenomenon

f(x)=a02+n=1N(ancosnπpx+bnsinnπpx)

There will be "overshooting" near discontinuities when N isn't infinity.

While N, "overshooting" will be more and more narrow.

And according to convergence theorem, for all a in the domain of f(x), we have

limnf(a)=12[f(a)+f(a+)]

Phase Angle Form

  • Definition
f(x)=a02+n=1cn cos(nω0x+δn)

in which

ω0=πpcn=an2+bn2δn=tan1(bnan)

The phase angle form is aka harmonic form. cn is the nth harmonic amplitude, δn is the nth phase angle of f(x), and the term cos(nω0x+δn) is the nth harmonic of f(x). (n階諧波)


Amplitude Spectrum

Graph of the polar points (θ,r)=[(nω0,cn2)  (0,a02)] in which nω0 is the frequency and cn2 is the amplitude.


Complex Fourier Series

With Euler Formula

eix=cos(x)+i sin(x)

, we can rewrite Fourier Series expansion as

f(x)=d0+n=1dneinω0x+n=1dneinω0x=d0+n=, n0dneinω0x

in which,

dn=12(anibn)=12pPf(t)einω0tdt

notice that p is also the half of period here, and that

dn=dn

Amplitude Spectrum

Graph of the polar points (θ,r)=(nω0,|dn|), in which nω0 is the frequency and |dn| is the amplitude.