# De Moivres Theorem

**De Moivre's theorem** gives a formula for computing powers of complex numbers. We first gain some intuition for de Moivre's theorem by considering what happens when we multiply a complex number by itself.

Recall that using the polar form, any complex number \(z=a+ib\) can be represented as \(z = r ( \cos \theta + i \sin \theta ) \) with

\[\begin{array}{rl}
\mbox{Absolute value: } & r = \sqrt{ a^2 + b^2 } \\

\mbox{Argument, } \theta \text{, subject to: } & \cos{\theta} = \frac{a}{r},\ \sin{\theta}=\frac{b}{r}.
\end{array}\]

Then squaring the complex number \(z\) gives

\[\begin{align} z^2 &= \big( r ( \cos \theta + i \sin \theta )\big) ^2\\ &= r^2 \left( \cos \theta + i \sin \theta \right)^2\\ &= r^2 \left( \cos \theta \cos \theta + i \sin \theta \cos \theta + i \sin \theta \cos \theta + i^2 \sin \theta \sin \theta \right) \\ &= r^2 \big( ( \cos \theta \cos \theta - \sin \theta \sin \theta ) + i ( \sin \theta \cos \theta + \sin \theta \cos \theta )\big) \\ &= r^2 \left( \cos 2\theta + i \sin 2\theta \right). \end{align}\]

This shows that by squaring a complex number, the absolute value is squared and the argument is multiplied by \(2\). For \(n \geq 3\), de Moivre's theorem generalizes this to show that to raise a complex number to the \(n^\text{th}\) power, the absolute value is raised to the \(n^\text{th}\) power and the argument is multiplied by \(n\).

De Moivre's Theorem:For any complex number \(x\) and any

integer\(n\),\[ \big( r ( \cos \theta + i \sin \theta )\big)^n = r^n \big( \cos ( n \theta) + i \sin (n \theta) \big). \]

Note that in de Moivre's theorem, the complex number is in the form \(z = r ( \cos \theta + i \sin \theta ) .\) For complex numbers in the general form \(z = a + bi\), it may be necessary to first compute the absolute value and argument to convert \(z\) to the form \(r ( \cos \theta + i \sin \theta )\) before applying de Moivre's theorem.

## Raising to a Power - Basic

Evaluate \( ( 1 - i )^{6} \).

In order to express \(z = 1 - i \) in the form \(r (\cos \theta + i \sin \theta),\) we calculate the absolute value \(r\) and argument \(\theta\) as follows:

\[\begin{align} \mbox{Absolute value}: & r = \sqrt{ 1^2 + (-1) ^2 } = \sqrt{2} \\

\mbox{Argument}: & \theta = \arctan \frac{-1 }{1} = -\frac{\pi}{4} \\ \end{align}\]Now, applying DeMoivre's Theorem, we obtain

\[ \begin{align} z^{6} &= \left[ \sqrt{2} \left( \cos \left( -\frac{ \pi}{4} \right) + i \sin \left( -\frac{\pi}{4} \right) \right) \right]^{6} \\ &= \sqrt{2}^{6} \left[ \cos \left(- \frac{ 6\pi } { 4} \right) + i \sin \left(- \frac{6\pi}{4}\right) \right] \\ &= 2^3 \left[ \cos \left(- \frac{ 3\pi }{2} \right) + i \sin \left( - \frac{3\pi}{2} \right) \right] \\ &= 8 ( 0 + 1 i ) = 8i. \end{align}\]

Evaluate \( \left( \frac{\sqrt{2}}{2}+ \frac{\sqrt{2}}{2} i \right)^{1000} . \)

In order to express \(z = \left( \frac{\sqrt{2}}{2}+ \frac{\sqrt{2}}{2} i \right) \) in the form \(r (\cos \theta + i \sin \theta),\) we calculate the absolute value \(r\) and argument \(\theta\) as follows:

\[\begin{align} \mbox{Absolute value}: & r = \sqrt{ \left( \frac{\sqrt{2}}{2}\right)^2 + \left( \frac{\sqrt{2}}{2}\right)^2 } = 1 \\

\mbox{Argument}: & \theta = \arctan 1 = \frac{\pi}{4}. \end{align}\]Now, applying DeMoivre's Theorem, we obtain

\[ \begin{align} z^{1000} &= \left( \cos \left( \frac{ \pi}{4} \right) + i \sin \left( \frac{\pi}{4} \right) \right)^{1000} \\ &= \cos \left( \frac{ 1000\pi }{ 4} \right) + i \sin \left( \frac{1000\pi}{4} \right) \\ &= \cos 250\pi + i \sin 250 \pi \\ &= \cos (0 + 125 \times 2\pi) + i \sin (0 + 125 \times 2\pi)\\ & = 1. \end{align}\]

## Evaluate \( ( 1 + \sqrt{3} i )^{2013} \).

Solution:In order to express \(z = 1 + \sqrt{3} i \) in the form \(r (\cos \theta + i \sin \theta),\) we calculate the absolute value \(r\) and argument \(\theta\) as follows:\[\begin{align} \mbox{Absolute value}: & r = \sqrt{ 1^2 + \sqrt{3} ^2 } = \sqrt{4} = 2 \\

\mbox{Argument}: & \theta = \arctan \frac{\sqrt{3} } {1} = \frac{\pi}{3}. \end{align}\]Now, applying DeMoivre's Theorem, we obtain

\[ \begin{align} z^{2013} &= \left( 2 \left( \cos \frac{ \pi}{3} + i \sin \frac{\pi}{3} \right) \right)^{2013} \\ &= 2^{2013} \left( \cos \frac{ 2013 \pi } { 3} + i \sin \frac{2013\pi}{3} \right) \\ &= 2^{2013} ( - 1 + 0 i ) = - 2^{2013}. \end{align}\]

## Raising to a Power - Intermediate

De Moivre's Theorem:For any complex number \(x\) and anyinteger\(n\),\[ ( \cos x + i \sin x )^n = \cos ( nx) + i \sin (nx). \]

Proof:We prove this formula by induction on \(n\) and by applying the trigonometric sum and product formulas. We first consider the non-negative integers. The base case \(n=0 \) is clearly true. For the induction step, observe that\[ \begin{array} { l l } ( \cos x + i \sin x)^{k+1} & = (\cos x + i \sin x )^k \times ( \cos x + i \sin x ) \\ & = \left( \cos (kx) + i \sin (kx) \right) ( \cos x + i \sin x ) \\ & = \cos (kx) \cos x - \sin(kx) \sin x + i[ \sin (kx) \cos x + \cos(kx) \sin x] \\ & = \cos [(k+1)x] + i \sin [(k+1)x]\\ \end{array}\]

Note that the proof above is only valid for integers \(n\). There is a more general version, in which \(n\) is allowed to be a complex number. In this case, the left hand side is a multi-valued function, and the right hand side is one of its possible values.

Euler's Formula for complex numbers states that if \(z\) is a complex number with absolute value \( r_z \) and argument \( \theta_z \), then

\[ z = r_z e^{i \theta_z}. \]

The proof of this is best approached using the (Maclaurin) power series expansion, and is left to the interested reader. With this, we have another proof of De Moivre's theorem that directly follows from the muliplication of complex numbers in polar form.

## Show that \( \cos (5\theta) = cos^5 \theta - 10 \cos^3 \theta \sin^2 \theta + 5 \cos \theta \sin^4 \theta\).

Solution:Applying De Moivre's Theorem for \(n= 5 \), we have\[ \cos (5 \theta) + i \sin ( 5 \theta) = ( \cos \theta + i \sin \theta) ^ 5 .\]

Expand the RHS using the Binomial Theorem and compare real parts to obtain:

\[ \cos ( 5 \theta) = \cos^5 \theta - 10 \cos^3 \theta \sin^2 \theta + 5 \cos \theta \sin^4 \theta. \]

Note: For an integer \(n\), we can express \( \cos ( n \theta) \) solely in terms of \( \cos \theta \) by using the identity \( \sin^2 \theta = 1 - \cos^2 \theta\). This is known as the Chebyshev polynomial of the first kind.

## Evaluate \( \sin (0\theta) + \sin (1 \theta) + \sin (2 \theta) + \ldots + \sin (n \theta) \).

Solution:Applying De Moivre's Formula, this is equivalent to the imaginary part of\[ ( \cos \theta + i \sin \theta)^0 + ( \cos \theta + i \sin \theta)^1 + ( \cos \theta + i \sin \theta) ^2 + \ldots + ( \cos \theta + i \sin \theta)^n. \]

Interpreting this as a Geometric Progression, the sum is

\[ \frac{ (\cos \theta + i \sin \theta)^{n+1} -1} {( \cos \theta + i \sin \theta) - 1 }, \]

as long as the ratio is not 1, which means \( \theta \neq 2k \pi \). (Note that in this case, we get that each term \( \sin (k\theta) \) is 0, and hence the sum is 0.)

Converting this to polar form, we obtain

\[ \frac{ e^{i (n+1) \theta} - 1 } { e^{i\theta} -1 } = \frac{ e^{ i \left( \frac{n+1}{2} \right)\theta} } {e^{i \frac{1}{2} \theta} } \times \frac{e^{ i \left( \frac{n+1}{2} \right)\theta} - e^{ - i \left( \frac{n+1}{2} \right)\theta} } { e^{ i \frac{1}{2} \theta} - e^{-i \frac{1}{2} \theta} } = e^{ i\frac{n}{2} \theta} \frac{2i \sin [ ( \frac{n+1}{2})\theta ] } { 2i \sin (\frac{1}{2} \theta)} . \]

Taking imaginary parts, we obtain

\[ \frac{ \sin \left( \frac{n}{2} \theta \right) \sin \left( \frac{n+1}{2} \theta \right) } { \sin \left( \frac{1}{2} \theta \right) }. \]

## Roots

The \(n^\text{th}\) **roots of unity** are the complex solutions to the equation

\[ z^n = 1.\]

Suppose complex number \(z = a + bi\) is a solution to this equation, and consider the polar representation \(z = r e^{i\theta}\), where \(r = \sqrt{a^2 + b^2}\) and \(\tan \theta = \frac{b}{a}, 0 \leq \theta < 2\pi \). Then by De Moivre's Theorem, we have

\[ 1 = z^n = (r e^{i\theta} ) ^n = r^n (\cos \theta + i \sin \theta)^n = r^n (\cos n \theta + i \sin n \theta).\]

This implies \(r^n = 1\) and since \(r\) is a real, non-negative number, we have \( r = 1\) . Also, \(n \theta = 2k \pi\) or \( \theta = \frac{2k \pi}{n}\) for some integer \(k\). Now, the values \(k = 0, 1, 2, \ldots n-1\) give distinct values of \(\theta\), and for any other value of \(k\), we can add or subtract an integer multiple of \(n\) to reduce to one of these values of \(\theta\).

Therefore, the \(n\)th roots of unity are the complex numbers

\[ e^{\frac{2k\pi }{ n} i} = \cos \left( \frac{2k\pi }{ n } \right) + i \sin \left( \frac{2k\pi }{ n } \right) \text{ for } k = 0, 1, 2, \ldots n-1. \]

Observe that this gives \(n\) complex \(n\)th roots of unity, as we know from the Fundamental Theorem of Algebra. Since all of the complex roots of unity have absolute value 1, these points all lie on the unit circle. Furthermore, since the angle between any two consecutive roots is \(\frac{2\pi}{n}\), the complex roots of unity are evenly spaced around the unit circle.

## What are the complex solutions to the equation \(z = \sqrt[3]{1}\)?

Solution:Cubing both sides gives \(z^3 = 1,\) implying \(z\) is a \(3\)rd root of unity. By the above, the \(3\)rd roots of unity are \[ e^{ \frac{2k\pi }{ 3 } i} = \cos \left( \frac{2k\pi }{ 3} \right) + i \sin \left( \frac{2k\pi }{ 3 } \right) \text{ for } k = 0,1,2.\]This gives the roots of unity \(1, e^{\frac{2\pi}{3} i}, e^{\frac{4\pi}{3} i}\), or \[ 1, -\frac{1}{2} + \frac{\sqrt{3}}{2} i, -\frac{1}{2} - \frac{ \sqrt{3}}{2}i. _\square \]

Note: Another way to solve this equation would be to factorize \(z^3 -1 = (z-1) (z^2 + z + 1)\). Then the solutions are \(z=1\) and the solutions to the quadratic equation \(z^2 + z + 1=0\), which can be found using the quadratic formula.

## Given positive integer \(n\), let \(\zeta = e^{\frac{2k\pi }{ n} i }\) for some \(k = 1, 2, \ldots n-1\), i.e., \(\zeta\) is one of the \(n\)th root of unity that is not equal to \(1\). Show that

\[ 1 + \zeta + \zeta^2 + \ldots + \zeta^{n-1} = 0.\]

Solution:Since \(\zeta\) is an \(n\)th root of unity, we have \(\zeta^n = 1\). Then\[ 0 = 1 - \zeta^n = (1- \zeta)( 1 + \zeta + \zeta^2 + \ldots + \zeta^{n-1}).\]

Since \(\zeta \ne 1\), we have \( 1 + \zeta + \zeta^2 + \ldots + \zeta^{n-1} = 0\).

**Cite as:**De Moivres Theorem.

*Brilliant.org*. Retrieved from https://brilliant.org/wiki/de-moivres-theorem/