If $x \neq k\pi$ and $n \in \mathbb Z$ then prove $$\sin x + \sin 3x + \cdots + \sin(2n-1)x = \frac{\sin^2 nx}{\sin x}$$
So I stumbled into this problem in my textbook in the complex numbers chapter. It is an optional problem, so the teacher won't explain it to us. I have no idea on how to approach it in the first place. Could anyone please give me a clue on how to begin solving it?
For a complex numbers proof, note the LHS is the imaginary part of $$S=e^{ix}+e^{3ix}+\cdots+e^{(2n-1)ix}.$$ That's a geometric progression: $$S=e^{ix}\frac{e^{2in x}-1}{e^{2ix}-1}=e^{inx}\frac{e^{inx} -e^{-inx}}{e^{i x}-e^{-ix}} =e^{inx}\frac{\sin nx}{\sin x}=(\cos nx+i\sin nx) \frac{\sin nx}{\sin x}.$$