Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How would you determine if $a+ib$ is a $n$th root of unity for some unknown $n$? Obviously the modulus of $a+ib$ must be $1$. But you also need to determine if the $a+ib$ is located at the vertex of a regular polygon. Does that mean checking if the polar angle is rational?

share|cite|improve this question

1 Answer 1

up vote 7 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.