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.


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.
Examples
open all close allBasic Examples (2)
Properties & Relations (2)
PolynomialQ attempts to find algebraic dependencies between expressions:
PolynomialExpressionQ is purely structural and disallows arithmetic expression variables:

Use NonCommutativePolynomialQ to test whether an expression is a noncommutative polynomial:
Related Guides
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), PolynomialQ, Wolfram Language function, https://reference.wolfram.com/language/ref/PolynomialQ.html.
CMS
Wolfram Language. 1988. "PolynomialQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PolynomialQ.html.
APA
Wolfram Language. (1988). PolynomialQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PolynomialQ.html
BibTeX
@misc{reference.wolfram_2025_polynomialq, author="Wolfram Research", title="{PolynomialQ}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/PolynomialQ.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_polynomialq, organization={Wolfram Research}, title={PolynomialQ}, year={1988}, url={https://reference.wolfram.com/language/ref/PolynomialQ.html}, note=[Accessed: 18-August-2025]}