I'm struggling to figure out this question. Part a) and b) I can do fine, but part c) has me stumped.
Question: a) Find the ninth roots of unity
b) Hence show that: $$z^6+z^3+1=(z^2-2\cos\frac{2\pi}9+1)(z^2-2\cos\frac{4\pi}9+1)(z^2-2\cos\frac{8\pi}9+1)$$ c)Deduce that: $$2\cos(3\theta)+1=8\left(\cos\theta-\cos\frac{2\pi}9\right)\left(\cos\theta-\cos\frac{4\pi}9\right)\left(\cos\theta-\cos\frac{8\pi}9\right)$$
Divide both sides by $z^3$
$$z^3+\dfrac1{z^3}+1=\prod_{r=1}^3\left(z+\dfrac1z-2\cos\dfrac{2^r\pi}9\right)$$
Now set $z=e^{i\theta}$
Use Intuition behind euler's formula to find
$z^m+\dfrac1{z^m}=2\cos m\theta$ for integer $m$