Coefficient

Coefficient[expr,form]

gives the coefficient of form in the polynomial expr.

Coefficient[expr,form,n]

gives the coefficient of form^n in expr.

Details and Options

  • Coefficient picks only terms that contain the particular form specified. is not considered part of .
  • 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.

Examples

open allclose all

Basic Examples  (1)

Find coefficients of polynomials:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (4)

Options  (1)

Properties & Relations  (2)

See Also

Exponent  CoefficientList  CoefficientRules  SeriesCoefficient  CoefficientArrays  Variables  Numerator

Tutorials

Introduced in 1988
(1.0)
| Updated in 1996
(3.0)