Fourier coefficients for a square wave

Fourier coefficients for a square wave

Problem: Find the Fourier series for the square wave given by for and extended to an odd periodic function.

Solution: As an odd function, this signal will be represented by the sine series alone. So for all , while

The final Fourier series for the square wave is then: