RootOfUnityQ

RootOfUnityQ[a]

yields True if a is a root of unity, and yields False otherwise.

Details

  • An algebraic number a is a root of unity if an=1 for some integer n.

Examples

open allclose all

Basic Examples  (1)

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (5)

Properties & Relations  (4)

Possible Issues  (1)

See Also

NumberFieldRootsOfUnity  RootReduce  Cyclotomic  MinimalPolynomial

Tutorials

Introduced in 2007
(6.0)