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 >

ToNumberField

ToNumberField[a, Theta]
expresses the algebraic number a in the number field generated by Theta.
ToNumberField[{a1, a2, ...}, Theta]
expresses the ai in the field generated by Theta.
ToNumberField[{a1, a2, ...}]
expresses the ai in a common extension field generated by a single algebraic number.
  • The ai and Theta can be given in terms of Root or AlgebraicNumber objects, or ordinary rationals and radicals.
  • If Theta is an algebraic integer the results will always be given in terms of AlgebraicNumber[Theta, list].
  • ToNumberField[{a1, a2, ...}] gives a representation of the ai in terms of a primitive element of the field Q[a_1,a_2,...].
  • ToNumberField[{a1, a2, ...}, All] always uses the smallest common field extension.
Express in the number field generated by 21/4:
Express in the number field generated by 21/4:
In[1]:=
Click for copyable input
Out[1]=
The generator Theta of the number field will autoreduce to an algebraic integer:
Radical expressions:
Root objects:
Express and in a common extension field:
Express algebraic numbers in the smallest common extension field:
Find a primitive element for over Q:
Convert an algebraic number to an explicit AlgebraicNumber object:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team