Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Number Theory > Algebraic Number Theory >
Mathematica > Mathematics and Algorithms > Mathematical Functions > Number Theoretic Functions > Algebraic Number Theory >

RootOfUnityQ

RootOfUnityQ[a]
yields True if a is a root of unity, and yields False otherwise.
  • An algebraic number a is a root of unity if an=1 for some integer n.
Radical expressions:
Root objects:
Transcendental objects:
RootOfUnityQ threads automatically over lists:
Roots of unity are solutions of x^n=1 for some integer n:
All roots of unity are algebraic integers that lie on the unit circle:
Not all algebraic numbers on the unit circle are roots of unity:
The minimal polynomial of a root of unity is a cyclotomic polynomial or one of its factor:
Roots of cyclotomic polynomials are roots of unity:
Use NumberFieldRootsOfUnity to find all roots of unity in a number field:
Approximate numbers will always return False:
Use RootApproximant to get an exact number:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team