Minimal polynomial (minimal_polynomial)
Minimal polynomial of an algebraic number over the rationals.
How to write it
minimal_polynomial(a, x)
- a
- An algebraic number. Takes an expression.
- x
- The variable of the polynomial. Takes a variable.
Examples
minimal_polynomial(sqrt(2), x)In the solver,
Open in the solverminimal_polynomial(sqrt(2), x)givesx^2 - 2.
Functions its examples use
- sqrt
Square root; sqrt(x) is the power x^(1/2).
Related functions
- polynomial_gcd
Greatest common divisor of two polynomials.
- polynomial_lcm
Least common multiple of two polynomials.
- polynomial_quotient
Quotient of a polynomial division.
- polynomial_remainder
Remainder of a polynomial division.
- nc_multiply
The noncommutative product: multiplies quaternions in order, and anything else stays as written.
- groebner_basis
Groebner basis of a list of polynomials.