I'm struggling with a question which requires the use of the De Moivre identity. The question is as follows.
Prove that $$8(\cos{^6}\theta + \sin{^6}\theta) = 3\cos 4\theta + 5$$
[Hint: write $\cos\theta$ and $\sin\theta$ in terms of $e^{i\theta}$ and $e^{-i\theta}$]
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I've gotten as far as writing out $\cos{^6}\theta$ as $[\frac{1}{2}(e^{i\theta}+e^{-i\theta}]^6$ and $\sin{^6}\theta$ as $[\frac{1}{2i}(e^{i\theta}-e^{-i\theta}]^6$. From here I'm not sure where to go, as I'm not sure how to use De Moivre's theorem on the right hand side to write $\cos 4\theta$ in terms of complex numbers. Any hint on where to go from here would be greatly appreciated.
There are easier ways to solve this, for example $$\cos^6(\theta)+\sin^6(\theta) = \left( \cos^2(\theta)+\sin^2(\theta) \right)^3 - 3 \cos^2(\theta)\sin^2(\theta) \left( \cos^2(\theta)+\sin^2(\theta) \right) = 1 - 3\cos^2(\theta)\sin^2(\theta) = 1-\frac{3}{4}\sin^2 (2\theta) = 1-\frac{3}{4}\left( \frac{1-\cos(4\theta)}{2} \right) = \frac{5+3\cos(4\theta)}{8}$$
but if we insist on Abe. De Moivre's theorem, we can go like this
$$\left[\frac{1}{2} \left( e^{i\theta}+e^{-i\theta} \right) \right]^6 + \left[\frac{1}{2i} \left( e^{i\theta}-e^{-i\theta} \right) \right]^6 = \frac{1}{64} \left[ \left( e^{i\theta}+e^{-i\theta} \right)^6 - \left( e^{i\theta}-e^{-i\theta} \right)^6 \right] = \frac{1}{64} \left( \left( e^{i\theta}+e^{-i\theta} \right)^3 - \left( e^{i\theta}-e^{-i\theta} \right)^3 \right)\left( \left( e^{i\theta}+e^{-i\theta} \right)^3 + \left( e^{i\theta}-e^{-i\theta} \right)^3 \right) = \frac{1}{64} \left( 6e^{i\theta} + 2e^{-3i\theta} \right)\left( 6e^{-i\theta} + 2e^{3i\theta} \right) = \frac{1}{64} \left( 36 + 12e^{4i\theta} + 12e^{-4i\theta} +4 \right) = \frac{1}{64} \left( 40 + 24\times\frac{1}{2} \left( e^{4i\theta}+e^{-4i\theta} \right) \right) = \frac{1}{64}\left( 40 + 24\cos(4\theta)\right) = \frac{5+3\cos(4\theta)}{8}$$