Fourier Analysis of a Periodic Function
.
C+ωn = Aneiφn = Ancos(φn)+isin(φn) and C-ωn = Ane-iφn = Ancos(φn)-isin(φn)
The 'real' Fourier series graph shows the real parts of the coefficients and the 'imaginary' Fourier series graph shows the imaginary parts. The 'real' graph is even since the coefficients of eiωnt and e-iωnt are the same (Acos(φ)). The 'imaginary' graph is odd since the coefficients of eiωnt and e-iωnt have opposite signs.
The interactive capability shows the effect on the Fourier spectrum of changing the position of the time origin and also of varying ƒ(t) (by moving the t-axis vertically).
Adjusting the 'DC' term (ƒ(t)):The phase angles φn depend on where the origin is located. If it is taken in the centre of a pulse (for the square wave) or a trough, ƒ(t) is then an even function and all the φn are zero; so the Fourier components are purely real.
If the time origin is on a rising or falling edge for a duty cycle of 50% then ƒ(t) is an odd function and the Fourier components are purely imaginary.
Dragging the origin makes no difference to the amplitudes An, as seen in the amplitude spectrum.
The term for ω=0 is purely real and equal to ƒ(t). Dragging the t-axis vertically with the right mouse button affects only the value of the Fourier component at t=0.
As in the previous applet the duty cycle and number of terms displayed can be altered on the panel.