Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Expressions > Testing Expressions >
Mathematica > Core Language > Procedural Programming > Conditionals > Testing Expressions >

PolynomialQ

PolynomialQ[expr, var]
yields True if expr is a polynomial in var, and yields False otherwise.
PolynomialQ[expr, {var1, ...}]
tests whether expr is a polynomial in the vari.
Test whether an expression is a polynomial in the specified variable:
Test whether an expression is a polynomial in the specified set of variables:
Test whether an expression is a polynomial in the specified variable:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Test whether an expression is a polynomial in the specified set of variables:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team