Mathematica 9 is now available

Coefficient

Usage

Coefficient[expr, form]给出了多项式exprform的系数。
Coefficient[expr, form, n]给出了exprform^n 的系数。


Notes

Coefficient 仅挑选指定特定形式的项。 并不看作  的部分.
form 可以是幂的乘积。
Coefficient[expr, form, 0]挑选form不成比例的项。
• 无论expr是否明确以扩展形式给出,Coefficient都是有效的。
• 参见Mathematica全书: 1.4.7 and 节 3.3.2.
• 同时参见: Exponent, SeriesCoefficient.
Further Examples

Here is one way of getting the coefficient of  from the polynomial.

In[1]:=  

Out[1]=

Here is an equivalent way.

In[2]:=  

Out[2]=

This gives the coefficient of x in the polynomial over the integers modulo  .

In[3]:=  

Out[3]=

This gives the coefficients of x, x z, y and z in the expression.

In[4]:=  

Out[4]=

You can use variables that are powers.

In[5]:=  

Out[5]=

Such a power does not necessarily have to be an integer.

In[6]:=  

Out[6]=

Coefficient is quite fast for polynomial input. (The time will vary for different machines.)

In[7]:=  

Out[7]=

Even this harder example comes back in reasonable time.

In[8]:=  

Out[8]=

Coefficient can handle some algebraic dependencies.

In[9]:=  

Out[9]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.