This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Coefficient[expr, form]
gives the coefficient of form in the polynomial expr.
Coefficient[expr, form, n]
gives the coefficient of form^n in expr.
  • Coefficient picks only terms that contain the particular form specified. x^2 is not considered part of x^3.
  • form can be a product of powers.
  • Coefficient[expr, form, 0] picks out terms that are not proportional to form.
  • Coefficient works whether or not expr is explicitly given in expanded form.
New in 1 | Last modified in 3