Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

is_irreducible function

Test whether a polynomial cannot be factored, over the rationals or modulo a prime.

How to write it

is_irreducible(p, x)

p
The polynomial. Takes an expression.
x
Its variable. Takes a variable.

Examples

  • is_irreducible⁡(x2+1,x)=true⁡\displaystyle \operatorname{is\_irreducible}(x^{2}+1, x) = \operatorname{true}
    is_irreducible(x^2 + 1, x)

    In the solver, is_irreducible(x^2 + 1, x) gives true.

    Open in the solver
  • is_irreducible⁡(x4+x+1,x,modulus⁡=2)=true⁡\displaystyle \operatorname{is\_irreducible}(x^{4}+x+1, x, \operatorname{modulus} = 2) = \operatorname{true}
    is_irreducible(x^4 + x + 1, x, modulus = 2)

    In the solver, is_irreducible(x^4 + x + 1, x, modulus = 2) gives true.

    Open in the solver