Skip to content

MinimalPolynomial

Computes the minimal polynomial of an algebraic number over the rationals.

$ wo 'MinimalPolynomial[3, x]'
-3 + x