Solution
= Solution
By <De Moivre's theorem>, $(\cos\theta+i\sin\theta)^3=\cos3\theta+i\sin3\theta$. Expanding the cube and equating its <real part> gives
$$
\boxed{\cos3\theta=\cos^3\theta-3\cos\theta\sin^2\theta=4\cos^3\theta-3\cos\theta.}
$$
The last form uses $\sin^2\theta+\cos^2\theta=1$; comparing the <imaginary parts> similarly gives the corresponding sine identity.