AlgebraicNumberPolynomial[a,x]
gives the polynomial in x corresponding to the AlgebraicNumber object a.
AlgebraicNumberPolynomial
AlgebraicNumberPolynomial[a,x]
gives the polynomial in x corresponding to the AlgebraicNumber object a.
Details
- For an algebraic number a of the form AlgebraicNumber[θ,{c0,c1,…}], AlgebraicNumberPolynomial[a,x] is the polynomial
, from which a can be obtained by replacing x with θ.
Examples
open all close allBasic Examples (1)
Compute the algebraic number polynomial of an AlgebraicNumber object:
AlgebraicNumber[Sqrt[2] + Sqrt[3], {1, 2, 3, 4}]AlgebraicNumberPolynomial[%, x]Scope (3)
Integers and rational numbers:
AlgebraicNumberPolynomial[2, x]AlgebraicNumberPolynomial[1 / 2, x]AlgebraicNumber objects:
AlgebraicNumberPolynomial[AlgebraicNumber[Sqrt[2], {1, 2}], x]AlgebraicNumberPolynomial threads automatically over lists:
AlgebraicNumberPolynomial[{2, AlgebraicNumber[Sqrt[2], {1, 2}]}, x]Applications (1)
Addition of algebraic numbers using polynomials:
{θ, λ} = {AlgebraicNumber[Sqrt[2] + Sqrt[3], {1, 2, 3, 4}], AlgebraicNumber[Sqrt[2] + Sqrt[3], {1, -2, 1, 1}]};RootReduce[θ + λ]An equivalent way of performing the same operation:
AlgebraicNumberPolynomial[θ, x] + AlgebraicNumberPolynomial[λ, x]RootReduce[% /. x -> Sqrt[2] + Sqrt[3]]Properties & Relations (1)
AlgebraicNumber by definition is a polynomial function of an algebraic number:
a = AlgebraicNumber[Sqrt[2 + Sqrt[3]], {1, 2, 3, 4}]b = AlgebraicNumberPolynomial[a, x] /. x -> Sqrt[2 + Sqrt[3]]RootReduce[b == a]Possible Issues (1)
The input must be an AlgebraicNumber object or a rational number:
AlgebraicNumberPolynomial[Sqrt[2], x]Related Guides
History
Text
Wolfram Research (2007), AlgebraicNumberPolynomial, Wolfram Language function, https://reference.wolfram.com/language/ref/AlgebraicNumberPolynomial.html.
CMS
Wolfram Language. 2007. "AlgebraicNumberPolynomial." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AlgebraicNumberPolynomial.html.
APA
Wolfram Language. (2007). AlgebraicNumberPolynomial. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AlgebraicNumberPolynomial.html
BibTeX
@misc{reference.wolfram_2026_algebraicnumberpolynomial, author="Wolfram Research", title="{AlgebraicNumberPolynomial}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/AlgebraicNumberPolynomial.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_algebraicnumberpolynomial, organization={Wolfram Research}, title={AlgebraicNumberPolynomial}, year={2007}, url={https://reference.wolfram.com/language/ref/AlgebraicNumberPolynomial.html}, note=[Accessed: 13-June-2026]}