Why Does a Square Wave Contain Only Odd Harmonics?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 5K views
likephysics
Messages
638
Reaction score
4
Why does a square wave contain only odd harmonics of the fundamental?
If the even harmonics are low, how low are they.
What happens to the even harmonics.
 
Physics news on Phys.org
Because the resulting function is odd. Even fundamental harmonics would be destructive.
 
likephysics said:
Why does a square wave contain only odd harmonics of the fundamental?
If the even harmonics are low, how low are they.
What happens to the even harmonics.

That's the Fourier expansion for a square wave:
[tex]\frac{4}{\pi}(sin(x) + sin(3x)/3 + sin (5x)/5 + ...)[/tex]

The function f(x) = |sin(x)| has only even harmonics.
 
Does the duty cycle of the square wave have anything to do with the odd harmonics?