Multiplying adds arguments, so multiplying cosθ+isinθ by itself n times gives an argument of nθ:
(cosθ+isinθ)n=cosnθ+isinnθ
This is de Moivre's theorem. For positive integers it is proved by induction: the step is (cosθ+isinθ)k+1=(coskθ+isinkθ)(cosθ+isinθ)=cos(k+1)θ+isin(k+1)θ, using the compound angle formulae. It also holds for negative integers, because (cosθ+isinθ)−1=cosθ−isinθ=cos(−θ)+isin(−θ). In general, [r(cosθ+isinθ)]n=rn(cosnθ+isinnθ).
2Powers of complex numbers
To find (3+i)6, convert first: 3+i=2(cos6π+isin6π), so
(3+i)6=26(cosπ+isinπ)=−64
Expanding six brackets would take a page; de Moivre takes one line.
3Multiple angle formulae
Expand (cosθ+isinθ)n with the binomial theorem and compare with cosnθ+isinnθ. Write c=cosθ and s=sinθ. For n=3:
Equating real parts, cos3θ=c3−3cs2=c3−3c(1−c2)=4cos3θ−3cosθ. Equating imaginary parts, sin3θ=3c2s−s3=3s(1−s2)−s3=3sinθ−4sin3θ. Dividing them, and then dividing top and bottom by cos3θ:
tan3θ=1−3tan2θ3tanθ−tan3θ
4Powers of sine and cosine
Now go the other way. If z=cosθ+isinθ then z−1=cosθ−isinθ, so
To write cos4θ in terms of multiple angles, expand (z+z1)4 and pair up the terms:
16cos4θ=z4+4z2+6+4z−2+z−4=2cos4θ+8cos2θ+6
so cos4θ=81(cos4θ+4cos2θ+3). This is how you integrate a power of cosθ:
∫0π/2cos4θdθ=81[4sin4θ+2sin2θ+3θ]0π/2=163π
For powers of sinθ, use (z−z1)n=(2isinθ)n and keep careful track of the powers of i. For example (2isinθ)3=−8isin3θ and (z−z1)3=2isin3θ−6isinθ, so sin3θ=41(3sinθ−sin3θ).