First, we expand by using binomial expansion (it is always helpful to draw Pascal's triangle to find each term's coefficients): 1 1
1 2 1
1 3 3 1
Since the function is raised to the power of 3, we use the underlined coefficients. Therefore, the expansion will be:
(cosx + isinx)3 = 1cos3x + 3cos2x*(isinx)+ 3cosx(isinx)2 + 1*(isinx)3
Since i2 = -1, we can substitute the i2 terms in the equation, giving:
(cosx + isinx)3 = cos3x + 3cos2x(isinx) - 3cosxsin2x - isin3x
Now that we have our expansion, we can use De Moivre's theorem to obtain the cos3x term in the question (we simply convert the power into a multiple of the angle:
(cosx + isinx)3 = cos3x + isin3x
Equating the expansion to the above equation,
cos3x + isin3x = cos3x + 3cos2x(isinx) - 3cosxsin2x - isin3x
The question only asks for the real terms, so we can simple ignore the imaginary ones, since these will be the isin3x terms:
cos3x = cos3x - 3cosxsin2x
Although the above equation seems complete, the question asked for power of cosx. Therefore, we have to find a way to replace the sin2x term with cosx powers. Remembering the identity:
sin2x + cos2x = 1
We can replace the sin term:cos3x = cos3x - 3cosx(1 - cos2x)
Expanding, we get the answer:
cos3x = 4cos3x - 3cosx