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(x^2 + 1, x)In the solver,
Open in the solveris_irreducible(x^2 + 1, x)givestrue.is_irreducible(x^4 + x + 1, x, modulus = 2)In the solver,
Open in the solveris_irreducible(x^4 + x + 1, x, modulus = 2)givestrue.
Related functions
- permutation_inverse
The inverse of a permutation.
- group_order
How many elements a group has.
- permutation_order
The order of a permutation: the least power that is the identity.
- group_elements
The elements of a group, as permutations in cycle notation.
- permutation_power
A permutation to a whole power.
- field_inverse
The inverse of an element of a finite field.