## You are here

Homecalculating the nth roots of a complex number

## Primary tabs

# calculating the nth roots of a complex number

Fix a complex number $z$. We wish to compute all the nth roots of $z$. By definition, $w$ is an nth root of $z$ if $w^{n}=z$.

Suppose $z$ is not zero. Then we can write $z=re^{{i\theta}}$, for some positive real number $r$ and some real number $\theta$ (this is de Moivre’s theorem). In fact, we have a choice of values for $\theta$: $re^{{i(\theta+2k\pi)}}=re^{{i\theta}}$ for every integer $k$. Usually, we choose $\theta$ so that $-\pi<\theta\leq\pi$.

What are the possible values for $w$? Write $w$ in polar form also, as $w=\rho e^{{i\phi}}$. Then $w^{n}=\rho^{n}e^{{in\phi}}$. We are looking for values of $\rho$ and $\phi$ so that $\rho^{n}e^{{in\phi}}=re^{{i\theta}}$. Since every nonzero complex number can be written in polar form in a unique way with $\rho>0$ and $-\pi<\phi\leq\pi$, we can assume that this is true for $w$. So for $w^{n}$ to equal $z$, we must have $\rho^{n}=r$ and $n\phi=\theta+2k\pi$ for some integer $k$. The first of these conditions is that $\rho$ be the usual (positive) nth root of the real number $r$. The second, rewritten, says that $\phi=\theta/n+2k\pi/n$ for some integer $k$. There will be exactly $n$ possibilities for $k$ which yield $-\pi<\phi\leq\pi$: $-n/2<k\leq n/2$.

Summarizing, if

$z=re^{{i\theta}}\text{ for }-\pi<\theta\leq\pi,$ |

and

$w^{n}=z,$ |

then

$w=\sqrt[n]{r}e^{{i\left(\frac{\theta}{n}+\frac{2k}{n}\pi\right)}}\text{ for % some $k$ such that }-\frac{n}{2}<k\leq\frac{n}{2}.$ |

Of course, the restriction on the values of $k$ is designed to ensure that none of the values obtained for different $k$ are actually equal; we could have chosen a different range of values for $k$: in books, you most often see $0\leq k<n$, which still ensures that the values are all distinct but does not ensure that they are between $-\pi$ and $\pi$.

Thinking about what this means in polar coordinates, this means that the angles between the nth roots are exactly $1/n$ of a complete circle, so that they form the vertices of a regular polygon.

We can write the nth roots of a complex number in another way. First, apply the above expression to compute the nth roots of $1$:

$\omega_{k}=e^{{i\frac{2\pi}{n}k}}=\left(e^{{i\frac{2\pi}{n}}}\right)^{k}=% \omega_{0}^{k}.$ |

Then observe that if $w^{n}=z$, then $(\omega_{k}w)^{n}=\omega_{k}^{n}w^{n}=w^{n}=z$. So if $w$ is any nth root of $z$, the nth roots of $z$ can also be written as

$\omega_{k}w\text{ for }0\leq k\ <n,$ |

or

$\omega_{0}^{k}w\text{ for }0\leq k\ <n.$ |

This last way of writing the nth roots of a complex number shows that somehow the nth roots of $1$ already capture the unusual behaviour of the nth roots of any number. So in fact, one often wants to look at the roots of unity in any field, whether it is the integers modulo a prime, rational functions, or some more exotic field.

## Mathematics Subject Classification

12D99*no label found*30-00

*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff