I'm trying to show that the set $S = \{ \sin((2n - 1)x)\}$ for $n = 1, 2, \dots $ forms a complete system for the Hilbert space $L^2[0, \, \pi/2]$. In other words I have to show that if $f \in L^2[0, \, \pi/2]$ satisfies $$\langle f , \, \sin((2n - 1)x) \rangle = \int_0^{\pi/2} f(x) \sin((2n - 1)x) = 0$$ for all $ n \in \mathbb{N}$, then $f = 0 $.
One idea I have heard is to use the fact that $\{e^{i n x}\}_{n \in \mathbb{Z}} $ is a complete system for $L^2[-\pi, \, \pi]$. I think the idea is to extend the function $f$ to the interval $[-\pi, \, \pi]$ somehow, and use the completeness of the set $\{e^{i n x}\}$.
I'm not entirely sure of the details however. So I guess my question is, how can we use the completeness of $\{e^{i n x}\}_{n \in \mathbb{Z}} $ on $[-\pi, \, \pi]$ to show completeness of $\{\sin((2n - 1)x)\}_{n \in \mathbb{N}}$ on $[0, \, \pi/2]$? Specifically why is it only the odd positive values of $n$ that are left over when going from $[-\pi, \, \pi]$ to $[0, \, \pi/2]$?
Also, out of curiosity, is there an "easy" way to do this question from scratch (i.e., without relying on the fact that $\{e^{i n x}\}_{n \in \mathbb{Z}} $ is a complete system)?