Fourier series for $\sin x$ is zero?

$\begingroup$

I have no practical reason for wanting to do this, but I was wondering why the Fourier series for $\sin x$ is the identical zero function.

I'm probably doing something wrong or missing some important condition.

Could someone help me see?

$\endgroup$ 4

1 Answer

$\begingroup$

Wolfram gives the following:

$$ \frac2{\pi}\int_{0}^{\pi} \sin x \sin (nx)\ dx = -\frac{2\sin(n\pi)}{\pi(n^2-1)} $$

You are almost correct in that this is zero for all $n$ because $\sin(n\pi) = 0$ for every integer. But when $n=1$, the formula doesn't work, because the $n^2-1$ in the denominator becomes zero too. You need to consider that as a special case:

$$ \frac2{\pi}\int_{0}^{\pi} \sin x \sin (1x)\ dx = \frac2{\pi}\int_0^{\pi} \sin^2 x \ dx = \frac2{\pi} \frac{\pi}{2} = 1. $$

$\endgroup$ 3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like