specifies the maximum degree of polynomial to allow in Root objects.


$MaxRootDegree
specifies the maximum degree of polynomial to allow in Root objects.
Examples
open all close allBasic Examples (1)
Evaluation of Root objects with high degree minimal polynomials may be slow:
The result is a valid algebraic number with minimal polynomial proven irreducible:
Root does not attempt factoring polynomials with degrees higher than $MaxRootDegree:

Scope (2)
The degree of the sum of two Root objects may be as high as the product of their degrees:
This prevents the Wolfram Language from creating Root objects with degrees greater than 100:
Root objects already created are cached; this removes the cached results:
Now RootReduce is not allowed to create a Root object with degree 110:
This resets $MaxRootDegree to the default value:
By default, the Wolfram Language does not use Root objects with degrees exceeding 1000:

Increasing the value of $MaxRootDegree allows the Wolfram Language to create the algebraic number:

Since this Root object is real, computing its numeric approximation is reasonably fast:
See Also
Related Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), $MaxRootDegree, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxRootDegree.html.
CMS
Wolfram Language. 1996. "$MaxRootDegree." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$MaxRootDegree.html.
APA
Wolfram Language. (1996). $MaxRootDegree. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$MaxRootDegree.html
BibTeX
@misc{reference.wolfram_2025_$maxrootdegree, author="Wolfram Research", title="{$MaxRootDegree}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/$MaxRootDegree.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$maxrootdegree, organization={Wolfram Research}, title={$MaxRootDegree}, year={1996}, url={https://reference.wolfram.com/language/ref/$MaxRootDegree.html}, note=[Accessed: 16-August-2025]}