Factor
Usage
• Factor[poly]在整数上对一个多项式分解因式.
• Factor[poly, Modulus->p] 对一个以素数 p为模的多项式分解因式.
Notes
• Factor 在一个表达式中仅用于顶级。可以使用Map或再次使用Factor达到其他级。 • Factor[poly, GaussianIntegers->True]分解因式,允许高斯整数系数。 • 如果在poly中的任何系数是复数,允许高斯整数系数的因式分解。 • 变量的指数不必是正整数。Factor可以处理符号表达式的线性组合的指数。 • 当给定一个有理表达式,Factor首先有效的调用Together, 然后对分子和分母分解因式。 • 在缺省设置 Extension->None, Factor[poly] 把 poly中的代数数系数象自变量一样处理。 • Factor[poly, Extension->Automatic] 扩展系数域包括出现在poly中的任何代数数。
Further Examples
We factor a few polynomials over the integers.
In[1]:=
|
Out[1]=
|
In[2]:=
|
Out[2]=
|
In[3]:=
|
Out[3]=
|
Some polynomials that don't factor over the integers do factor over the integers modulo a prime.
In[4]:=
|
Out[4]=
|
In[5]:=
|
Out[5]=
|
Without specifying the appropriate extension field, you cannot factor either of these polynomials into linear factors.
In[6]:=
|
Out[6]=
|
In[7]:=
|
Out[7]=
|
You can factor them into linear terms by specifying the extension.
In[8]:=
|
Out[8]=
|
In[9]:=
|
Out[9]=
|
Here we factor a polynomial in three variables with 195 terms.
In[10]:=
|
Out[10]=
|
|