Expand
Usage
• Expand[expr]用来展开 expr中的乘积和正整数幂
• Expand[expr, patt] 用来保持模式 patt外面的expr 任意部分不被展开.
Notes
• Expand只对正整数幂起作用. • Expand只被应用到 expr的顶层. • Expand[expr, Modulus->p]展开 expr 并以p为模简化结果.
Further Examples
This multiplies out the polynomial first in the usual way and then over the integers modulo .
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
This expands only the terms containing 1 + x.
In[3]:=
|
Out[3]=
|
|