de Moivre's Theorem. Given any complex number cosθ+isinθ (which always has modulus 1) and any integer n,
(cosθ+isinθ)n=cosnθ+isinnθ.
Corollaries (obtained by substituting −θ for θ, and/or −n for n, into the theorem):
- (cosθ−isinθ)n=cosnθ−isinnθ
- (cosθ+isinθ)−n=cosnθ−isinnθ
- (cosθ−isinθ)−n=cosnθ+isinnθ
- sinθ+icosθ=i(cosθ−isinθ)
How the theorem is applied to any complex number z (not just one already in the form cosθ+isinθ): first convert z to polar form z=r(cosθ+isinθ) (find r=∣z∣ and the correct-quadrant argument θ); then, since scalar factors pull straight out of a power, zn=rn(cosθ+isinθ)n=rn(cosnθ+isinnθ) by de Moivre's theorem; finally reduce nθ modulo 2π to a convenient range before converting back to rectangular form if a numeric answer is required.
A recurring algebraic pattern. If z=cosθ+isinθ, de Moivre's theorem gives zn=cosnθ+isinnθ and z−n=cosnθ−isinnθ, so
zn+zn1=2cosnθ,zn−zn1=2isinnθ. …