Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would you determine if $a+ib$ is an nth root of unity?

Obviously, the modulus of $a+ib$ must be $1$. But you would also need to determine if $a+ib$ is located at a vertex of a regular polygon inscribed in the unit circle that has one of its vertices at the point $z=1$. Does that mean checking if the polar angle can be expressed as $\pi r $, where $r \in \mathbb{Q}$?

share|cite|improve this question
up vote 9 down vote accepted

Yes, a complex number is a root of unity if and only if its modulus is 1 and its argument in polar form is a rational multiple of $\pi$.

Proving that in both directions should not be difficult, relying on Euler's formula or de Moivre's formula.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.