This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.

 3.4.3 Advanced Topic: Algebraic Numbers The representation of algebraic numbers. When you enter a Root object, the polynomial that appears in it is automatically reduced to a minimal form. In[1]:= Root[24 - 2 # + 4 #^5 &, 1] Out[1]= This extracts the pure function which represents the polynomial, and applies it to x. In[2]:= First[%][x] Out[2]= Root objects are the way that Mathematica represents algebraic numbers. Algebraic numbers have the property that when you perform algebraic operations on them, you always get a single algebraic number as the result. Here is the square root of an algebraic number. In[3]:= Sqrt[Root[2 - # + #^5 &, 1]] Out[3]= RootReduce reduces this to a single Root object. In[4]:= RootReduce[%] Out[4]= Here is a more complicated expression involving an algebraic number. In[5]:= Sqrt[2] + Root[2 - # + #^5 &, 1]^2 Out[5]= Again this can be reduced to a single Root object, albeit a fairly complicated one. In[6]:= RootReduce[%] Out[6]= Operations on algebraic numbers. In this simple case the Root object is automatically expressed in terms of radicals. In[7]:= Root[#^2 - # - 1 &, 1] Out[7]= When cubic polynomials are involved, Root objects are not automatically expressed in terms of radicals. In[8]:= Root[#^3 - 2 &, 1] Out[8]= ToRadicals attempts to express all Root objects in terms of radicals. In[9]:= ToRadicals[%] Out[9]= If Solve and ToRadicals do not succeed in expressing the solution to a particular polynomial equation in terms of radicals, then it is a good guess that this fundamentally cannot be done. However, you should realize that there are some special cases in which a reduction to radicals is in principle possible, but Mathematica cannot find it. The simplest example is the equation , but here the solution in terms of radicals is very complicated. The equation is another example, where now is a solution. This gives a Root object involving a degree six polynomial. In[10]:= RootReduce[2^(1/3) + Sqrt[3]] Out[10]= Even though a simple form in terms of radicals does exist, ToRadicals does not find it. In[11]:= ToRadicals[%] Out[11]= Beyond degree four, most polynomials do not have roots that can be expressed at all in terms of radicals. However, for degree five it turns out that the roots can always be expressed in terms of elliptic or hypergeometric functions. The results, however, are typically much too complicated to be useful in practice. Sums of roots. This computes the sum of the reciprocals of the roots of . In[12]:= RootSum[(1 + 2 # + #^5)&, (1/#)&] Out[12]= Now no explicit result can be given in terms of radicals. In[13]:= RootSum[(1 + 2 # + #^5)&, (# Log[1 + #])&] Out[13]= This expands the RootSum into a explicit sum involving Root objects. In[14]:= Normal[%] Out[14]=