Skip to content

Coefficient

Coefficient[p, form] returns the coefficient of form form in polynomial p.

Attributes[Coefficient] := {Listable, Protected}

Simple examples

In[1]:= Coefficient[(a + b)^3, a*b^2]
Out[1]= 3