Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra > Polynomial Factoring & Decomposition >
Mathematica > Mathematics and Algorithms > Formula Manipulation > Algebraic Transformations > Polynomial Factoring & Decomposition >

IrreduciblePolynomialQ

IrreduciblePolynomialQ[poly]
tests whether poly is an irreducible polynomial over the rationals.
IrreduciblePolynomialQ[poly, Modulus->p]
tests whether poly is irreducible modulo a prime p.
IrreduciblePolynomialQ[poly, Extension->{a1, a2, ...}]
tests whether poly is irreducible over the field extension generated by the algebraic numbers ai.
IrreduciblePolynomialQ[poly, Extension->All]
tests whether poly is absolutely irreducible over the complex numbers.
  • The polynomial poly can involve any number of variables.
  • If any coefficients in poly are complex numbers, irreducibility testing is done over the Gaussian rationals.
Test irreducibility of polynomials:
Test irreducibility of polynomials:
In[1]:=
Click for copyable input
Out[1]=
Irreducibility of univariate polynomials over the rationals:
Irreducibility of multivariate polynomials over the rationals:
Irreducibility over the Gaussian rationals:
Irreducibility of univariate polynomials over the integers modulo 2:
Irreducibility of multivariate polynomials over the integers modulo 3:
Irreducibility testing modulo a prime may fail for some multivariate polynomials:
By default, algebraic number coefficients are treated as independent variables:
This tests irreducibility over the rationals extended by the algebraic number coefficients:
Irreducibility over a finite algebraic extension of rationals:
Absolute irreducibility over the complex numbers:
The currently implemented methods may not be sufficient for some polynomials:
By default, algebraic number coefficients are treated as independent variables:
Extension->Automatic automatically extends to a field that covers the coefficients:
The polynomial x^2+2 is irreducible over the rationals:
The same polynomial is reducible over the rationals extended by I and Sqrt[2]:
Absolute irreducibility:
The polynomial x^2+1 is irreducible over the rationals:
The same polynomial is reducible over the Gaussian rationals:
Irreducibility modulo a prime:
A polynomial is irreducible if FactorList gives one nonconstant factor with exponent 1:
IrreduciblePolynomialQ may be significantly faster than FactorList:
Irreducibility testing modulo a prime may fail for some multivariate polynomials:
Absolute irreducibility testing may fail for some multivariate polynomials:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team