# AlgebraicNumber

AlgebraicNumber[θ,{c0,c1,,cn}]

represents the algebraic number in the field given by .

# Details

• AlgebraicNumber objects in the same field are automatically combined by arithmetic operations.
• The generator θ can be any algebraic number, represented in terms of radicals or Root objects. The coefficients ci must be integers or rational numbers.
• AlgebraicNumber is automatically reduced so that θ is an algebraic integer, and the list of ci is of length equal to the degree of the minimal polynomial of θ.
• AlgebraicNumber objects are always treated as numeric quantities.
• N finds the approximate numerical value of an AlgebraicNumber object.
• Operations such as Abs, Re, Round, and Less can be used on AlgebraicNumber objects.
• RootReduce can be used to transform AlgebraicNumber objects into Root objects.
• A particular algebraic number can have many different representations as an AlgebraicNumber object. Each representation is characterized by the generator θ specified for the field.
• AlgebraicNumber objects representing integers or rational numbers are automatically reduced to explicit integer or rational form.

# Examples

open allclose all

## Basic Examples(1)

Represent an algebraic number:

 In[1]:=
 Out[1]=

Do arithmetic:

 In[2]:=
 Out[2]=

Get a numerical approximation:

 In[3]:=
 Out[3]=