The below problem is taken from the text by: James Victor Uspensky, titled: Theory of Equations; sec. 1.14.
For the geometric progression in complex variable z : $$1 + z + z^2 +...+ z^{(n-1)} = (1-z^n)/(1-z)$$ Using the polar representation $$z = \cos(\theta) + i\sin(\theta), $$ Need show that: $$(a) 1 + 2\cos\theta +2\cos2\theta +...+ 2\cos(n-1)\theta = \frac{\sin(n -1/2)\theta}{\sin\theta/2}$$ $$(b)\sin\theta + \sin2\theta +...+ \sin(n-1)\theta = \frac{\cos\theta/2 - \cos(n-1/2)\theta}{2\sin\theta/2} $$
I have found that direct substitution of the polar form for z in the geometric series is too cumbersome. Instead, either some sort of trick is needed; or an alternative technique is needed. If simple type of mathematical induction is tried, then it would tantamount to working from reverse.