Question: Prove $$\cos(3x) = \cos^3(x) - 3\cos(x)\sin^2(x) $$ by using De'Moivres Theorem
So far (learning complex numbers at the moment) that De Moivre's theorem states that
if $z$ $=$ $r\text{cis}(\theta)$ then $z^n = r^n\text{cis}(n\theta)$
so with this question I was thinking if
$$ z = \cos(3\theta) + i\sin(3\theta) $$
then
$$ z = (\cos(\theta) + i\sin(\theta))^3 $$
and then expanding and comparing the real part? Is that the right way to go for this question?