Mathematica > Mathematics and Algorithms > Formula Manipulation > Algebraic Transformations > Algebraic Numbers >
Mathematica > Mathematics and Algorithms > Number Theory > Algebraic Number Theory > Algebraic Numbers >
Mathematica > Mathematics and Algorithms > Mathematical Functions > Number Theoretic Functions > Algebraic Number Theory > Algebraic Numbers >

RootApproximant

Updated In 7 Graphic
RootApproximant[x]
converts the number x to one of the "simplest" algebraic numbers that approximates it well.
RootApproximant[x, n]
finds an algebraic number of degree at most n that approximates x.
  • RootApproximant[x] effectively tests the total number of bits in the description of x by successively higher-degree algebraic numbers, and returns the first case for which the number of bits is small.
  • The option Method->{"DegreeCost"->p} specifies an additional cost p to be used for each successively higher power in determining the "simplest" approximation.
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team