NumberTheory`AlgebraicNumberFields`
Algebraic is now available as the newly added built-in Mathematica kernel function AlgebraicNumber.
ToCommonField and ToNumberFieldElement are now available as the newly added built-in Mathematica kernel function ToNumberField.
MinimalPolynomial, AlgebraicIntegerQ, AlgebraicNumberDenominator, AlgebraicNumberTrace, AlgebraicNumberNorm, AlgebraicUnitQ, and RootOfUnityQ have been added to the built-in Mathematica kernel.
IntegralBasis is now available as the newly added built-in Mathematica kernel function NumberFieldIntegralBasis.
FundamentalUnits is now available as the newly added built-in Mathematica kernel function NumberFieldFundamentalUnits.
NormRepresentatives is now available as the newly added built-in Mathematica kernel function NumberFieldNormRepresentatives.
NumberFieldSignature, NumberFieldDiscriminant, and NumberFieldRegulator have been added to the built-in Mathematica kernel.
RootsOfUnity is now available as the newly added built-in Mathematica kernel function NumberFieldRootsOfUnity.
AlgebraicNumber
Represent an algebraic number and get a numerical approximation:
![<< NumberTheory`AlgebraicNumberFields`;
a = Algebraic[#1^3 - #1 + 1 &, {1, 2, 3}, 1];
N[a, 20]](Files/AlgebraicNumberFields.en/legacy_1.gif)
ToNumberField
This finds a common finite extension of rationals containing the given algebraic numbers:
![<< NumberTheory`AlgebraicNumberFields`;
ToCommonField[{Sqrt[2], Sqrt[3]}]](Files/AlgebraicNumberFields.en/legacy_2.gif)
This finds the smallest common finite extension of rationals containing the given algebraic numbers:
![ToCommonField[{Algebraic[1 - 10 #1^2 + #1^4 &, {0, -9/2, 0, 1/2}, 4],
Sqrt[5]}, SmallestField -> True]](Files/AlgebraicNumberFields.en/legacy_3.gif)
This represents as an element of the field generated by Root[1-10#12+#14&,4]:
![ToNumberFieldElement[Sqrt[6], 1 - 10 #1^2 + #1^4 &, 4]](Files/AlgebraicNumberFields.en/legacy_4.gif)
MinimalPolynomial
This gives the minimal polynomial of expressed as a pure function:
![<< NumberTheory`AlgebraicNumberFields`;
MinimalPolynomial[Sqrt[2] + Sqrt[3]]](Files/AlgebraicNumberFields.en/legacy_5.gif)
NumberFieldIntegralBasis
This gives an integral basis of the field generated by the first root of 533+429 #1+18 #12+#13&:
![<< NumberTheory`AlgebraicNumberFields`;
IntegralBasis[533 + 429 #1 + 18 #1^2 + #1^3 &, 1]](Files/AlgebraicNumberFields.en/legacy_6.gif)
NumberFieldFundamentalUnits
This gives a fundamental unit of the field [Sqrt[2]] generated by the algebraic number Sqrt[2]:
![<< NumberTheory`AlgebraicNumberFields`;
FundamentalUnits[Sqrt[2]]](Files/AlgebraicNumberFields.en/legacy_7.gif)
NumberFieldNormRepresentatives
This gives a set of representatives of classes of elements of norm 2 in the field generated by Sqrt[2]+ Sqrt[3]:
![<< NumberTheory`AlgebraicNumberFields`;
NormRepresentatives[2, Sqrt[2] + Sqrt[3]]](Files/AlgebraicNumberFields.en/legacy_8.gif)
NumberFieldSignature
Find the signature of the number field :
![<< NumberTheory`AlgebraicNumberFields`;
NumberFieldSignature[Sqrt[2] + Sqrt[3]]](Files/AlgebraicNumberFields.en/legacy_9.gif)
NumberFieldRootsOfUnity
Here are all roots of unity in the field :
![<< NumberTheory`AlgebraicNumberFields`;
RootsOfUnity[1 + I Sqrt[3]]](Files/AlgebraicNumberFields.en/legacy_10.gif)
NumberFieldCharacteristicPolynomial and NumberFieldTrace were available in previous versions of Mathematica and are now available on the web at library.wolfram.com/infocenter/MathSource/6827.