FactorList[poly]
给出一个多项式的因子及它们的指数组成的列表.
FactorList
FactorList[poly]
给出一个多项式的因子及它们的指数组成的列表.
更多信息和选项
- 列表的第一个元素总是完全数值因子,如果没有完全的数值因子,则是 {1,1}.
- FactorList 接受以下选项:
-
Extension None 用于代数数域的生成元 GaussianIntegers False 是否允许高斯整数系数 Modulus 0 为整数假定的模数 Trig False 是否同时进行三角函数和代数变换 - FactorList[poly,Modulus->p] 要求 p 为素数.
- FactorList[poly,Extension->{a1,a2,…}] 允许系数是 ai 的任意有理组合.
范例
打开所有单元 关闭所有单元基本范例 (2)
范围 (11)
基本用法 (4)
FactorList[x ^ 3 - 6x ^ 2 + 11x - 6]FactorList[2x ^ 3 y - 2a ^ 2x y - 3a ^ 2x ^ 2 + 3a ^ 4]FactorList[x ^ 8 + 11x ^ 7 + 43x ^ 6 + 59x ^ 5 - 35x ^ 4 - 151x ^ 3 - 63x ^ 2 + 81x + 54]FactorList[(x ^ 3 + 2x ^ 2) / (x ^ 2 - 4y ^ 2) - (x + 2) / (x ^ 2 - 4y ^ 2)]高级用法 (7)
FactorList[x ^ 2 + 1, GaussianIntegers -> True]FactorList[x ^ 4 - 2, Extension -> Sqrt[2]]FactorList[x ^ 4 + 1, Modulus -> 2]ℱ = FiniteField[17, 3];FactorList[ℱ[3]x ^ 2 + ℱ[1771]]FactorList[x ^ 3 + 5x + 19, Extension -> ℱ]ℱ = FiniteField[29, 3];
𝒢 = FiniteField[29, 6];
ℰ = FiniteFieldEmbedding[ℱ, 𝒢];在把
嵌入更大的领域
后,一个在
上本不可约的多项式可以进一步因式分解:
FactorList[ℱ[12]x ^ 2 + ℱ[34]x + ℱ[56]]FactorList[ℱ[12]x ^ 2 + ℱ[34]x + ℱ[56], Extension -> ℰ]FactorList[E ^ (2 x) - 2E ^ x + 1]FactorList[x ^ 2 - Sqrt[x]]rpoly[n_] := RandomInteger[{-2 ^ 10, 2 ^ 10}, {n + 1}].x ^ Range[0, n]
SeedRandom[1234];
p = rpoly[1000]; q = rpoly[1000];
r = Expand[p q];(facs = FactorList[r]);//AbsoluteTiming{Exponent[#[[1]], x], #[[2]]}& /@ facs选项 (7)
Extension (4)
FactorList[1 + x ^ 4, Extension -> Sqrt[2]]FactorList[1 + x ^ 4, Extension -> {Sqrt[2], I}]Extension->Automatic 自动扩展到覆盖系数的域:
FactorList[2 + 2Sqrt[2]x + x ^ 2]FactorList[2 + 2Sqrt[2]x + x ^ 2, Extension -> Automatic]ℱ = FiniteField[73, 3];FactorList[x ^ 3 + 21x + 3, Extension -> ℱ]ℱ = FiniteField[7, 2];FactorList[ℱ[1]x ^ 4 + ℱ[234]x + ℱ[567]]𝒢 = FiniteField[7, 4];
ℰ = FiniteFieldEmbedding[ℱ, 𝒢];FactorList[ℱ[1]x ^ 4 + ℱ[234]x + ℱ[567], Extension -> ℰ]GaussianIntegers (1)
Modulus (1)
应用 (2)
在确定函数的行为时,FactorList 很有用:
f = x ^ 3 - x ^ 2 - 16x - 20;FactorList[f]Plot[-20 - 16 x - x^2 + x^3, {x, -4, 6}]f = 62500 - 112500 x + 15625 x^2 + 47500 x^3 - 3500 x^4 - 9380 x^5 - 1106 x^6 + 628 x^7 + 208 x^8 + 24 x^9 + x^10;fac = FactorList[f]exp = Transpose[Rest[fac]][[2]]AllTrue[exp, EvenQ]属性和关系 (3)
FactorList 给出不可约的因子列表:
FactorList[x ^ 8 + 11x ^ 7 + 43x ^ 6 + 59x ^ 5 - 35x ^ 4 - 151x ^ 3 - 63x ^ 2 + 81x + 54]Times@@Power@@@%Factor 给出因子的一个乘积:
Factor[x ^ 8 + 11x ^ 7 + 43x ^ 6 + 59x ^ 5 - 35x ^ 4 - 151x ^ 3 - 63x ^ 2 + 81x + 54]Expand 展开所有的因子:
Expand[%]FactorSquareFreeList 给出无平方因子列表:
FactorSquareFreeList[x ^ 8 + 11x ^ 7 + 43x ^ 6 + 59x ^ 5 - 35x ^ 4 - 151x ^ 3 - 63x ^ 2 + 81x + 54]FactorInteger 给出整数的素数因子列表:
FactorInteger[1234567]Times@@Power@@@%技术笔记
-
▪
- 多项式的代数运算
历史
1988年引入 (1.0) | 在以下年份被更新:1996 (3.0) ▪ 2022 (13.2) ▪ 2023 (13.3)
文本
Wolfram Research (1988),FactorList,Wolfram 语言函数,https://reference.wolfram.com/language/ref/FactorList.html (更新于 2023 年).
CMS
Wolfram 语言. 1988. "FactorList." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2023. https://reference.wolfram.com/language/ref/FactorList.html.
APA
Wolfram 语言. (1988). FactorList. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/FactorList.html 年
BibTeX
@misc{reference.wolfram_2026_factorlist, author="Wolfram Research", title="{FactorList}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/FactorList.html}", note=[Accessed: 15-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_factorlist, organization={Wolfram Research}, title={FactorList}, year={2023}, url={https://reference.wolfram.com/language/ref/FactorList.html}, note=[Accessed: 15-September-2026]}