Used to decompose periodic non-sinusoidal waveforms into a sum of sinusoidal ones.
Suppose f(x) is a 2π-periodic function.
f(x)=2a0+n=1∑∞[ancos(nx)+bnsin(nx)]
∫ττ+Tcos(nx)dx=∫ττ+Tsin(nx)dx=0
∫ττ+Tsin(nx)cos(mx)dt=0
∫ττ+Tsin(nx)sin(mx)dx={2T0if n=motherwise
∫ττ+Tcos(nx)cos(mx)dx={2T0if n=motherwise
∀n≥0.
an=T2∫ττ+Tf(x)cos(nx)dx
bn=T2∫ττ+Tf(x)sin(nx)dx
2a0 is the DC offset.
For any waveform, subtracting the DC offset results in a symmetrical waveform.
When a wave is symmetric about the y-axis.
f(x)=f(−t)
The fourier series of an even waveform contains only cosine terms.
an=T4∫ττ+T/2f(x)cos(nx)dxandbn=0
When a wave is symmetric about the origin.
f(x)=−f(−t)
The fourier series of an odd waveform contains only sine terms.
a0=an=0andbn=T4∫ττ+T/2f(x)sin(nx)dx
When a wave repeats itself with a reversal of sign after half a period.
f(x)=−f(t+2T)=−f(t−2T)
The coefficients can be found by:
an={T4∫ττ+T/2f(x)cos(nx)dx0if n is oddif n is even
bn={T4∫ττ+T/2f(x)sin(nx)dx0if n is oddif n is even
Half-wave symmetry can co-exist with odd symmetry or even symmetry. In that case:
an={T8∫ττ+T/4f(x)cos(nx)dx0if n is oddif n is even
bn={T8∫ττ+T/4f(x)sin(nx)dx0if n is oddif n is even
Sufficient conditions for a real-valued, periodic function f to be equal to its Fourier series at a point of continuity.
Suppose f is a periodic function with period 2L. If:
- Finite number of discontinuities
- Finite number of maxima/minima
- Absolutely integrable over a period
Then:
- At continuity points, Fourier series = f(x)
- At discontinuities, it converges to
2f(c−)+f(c+)
Suppose:
f(x)={ρ(x)θ(x)0<x<cc<x<2π
then compute coefficients by splitting integrals:
a0anbn=π1[∫0cρ(x)dx+∫c2πθ(x)dx]=π1[∫0cρ(x)cosnxdx+∫c2πθ(x)cosnxdx]=π1[∫0cρ(x)sinnxdx+∫c2πθ(x)sinnxdx]
Used when a function is defined only on (0,π). Extend the function to (−π,π) artificially.
The function is extended as an even function.
a0an=π2∫0πf(x)dx=π2∫0πf(x)cosnxdx
And bn=0.
The function is extended as an odd function.
bn=π2∫0πf(x)sinnxdx
And a0=an=0.
For period 2l:
f(x)=2a0+n=1∑∞[ancos(lnπx)+bnsin(lnπx)]
Coefficients:
a0=l1∫−llf(x)dx
an=l1∫−llf(x)cos(lnπx)dx
bn=l1∫−llf(x)sin(lnπx)dx
A method to find higher order algebraic series, that is, for n>2:
i=1∑∞in1
For period 2c:
∫−cc[f(x)]2dx=c[2a02+n=1∑∞(an2+bn2)]
For period 2π:
f(x)=n=−∞∑∞cne−inx
where
cn=2π1∫−ππf(x)einxdx
Here:
- c0=a0/2
- cn=(an−ibn)/2
- c−n=(an+ibn)/2
General period 2l also included.