Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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⁡(2,x)=x2−2\displaystyle \operatorname{minimal\_polynomial}(\sqrt{2}, x) = x^{2}-2
    minimal_polynomial(sqrt(2), x)

    In the solver, minimal_polynomial(sqrt(2), x) gives x^2 - 2.

    Open in the solver

Functions its examples use

  • sqrt

    Square root; sqrt(x) is the power x^(1/2).