Coefficient[expr,form]
给出了多项式 expr 中 form 的系数.
Coefficient[expr,form,n]
给出了在 expr 中的 form^n 的系数.
Coefficient
Coefficient[expr,form]
给出了多项式 expr 中 form 的系数.
Coefficient[expr,form,n]
给出了在 expr 中的 form^n 的系数.
更多信息和选项
- Coefficient 仅采集那些包含指定的特定形式的项.
不被认为是
的部分. - form 可以是幂的乘积.
- Coefficient[expr,form,0] 采集出那些与 form 不成比例的项.
- 无论 expr 是否显式地以展开形式给出,Coefficient 都有效.
范例
打开所有单元 关闭所有单元基本范例 (1)
范围 (4)
Coefficient[a x + b y + c, x]Coefficient[a x ^ 3 + b x ^ 2 + c x + d, x, 2]Coefficient[(x + 2) ^ 2 + (x + 3) ^ 3, x, 0]Coefficient[(x + y)(x + 2y)(3x + 4y + 5), x y ^ 2]属性和关系 (2)
CoefficientList 给出所有多项式系数的列表:
f = (x + 3) ^ 5;CoefficientList[f, x]利用 Coefficient 和 Exponent 获得同样的系数列表:
Coefficient[f, x, #]& /@ Range[0, Exponent[f, x]]对于多变量的多项式,CoefficientList 给出系数的张量:
f = (3x + 5y) ^ 4;cl = CoefficientList[f, {x, y}]CoefficientArrays 给出按总次数排序的多项式系数数组的列表:
ca = CoefficientArrays[f, {x, y}]Coefficient[f, x y ^ 3]在 cl 中,x^a y^b 的系数是位置在 {a+1,b+1} 的元素:
cl[[1 + 1, 1 + 3]]在 ca 中,系数的位置是 a+b+1,随后是 a 个 1 和 b 个 2(1 和 2 表示第一个和第二个变量):
ca[[5, 1, 2, 2, 2]]可能存在的问题 (1)
Coefficient 认为超越幂与代数幂在代数上无关:
Coefficient[x ^ s x, x ^ s]Coefficient 认为不同的超越幂在代数上彼此无关:
Coefficient[x ^ s x ^ t, x ^ s]技术笔记
-
▪
- 取出代数表达式中的部分内容 ▪
- 求多项式的结构
相关链接
历史
1988年引入 (1.0) | 在以下年份被更新:1996 (3.0)
文本
Wolfram Research (1988),Coefficient,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Coefficient.html (更新于 1996 年).
CMS
Wolfram 语言. 1988. "Coefficient." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 1996. https://reference.wolfram.com/language/ref/Coefficient.html.
APA
Wolfram 语言. (1988). Coefficient. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Coefficient.html 年
BibTeX
@misc{reference.wolfram_2026_coefficient, author="Wolfram Research", title="{Coefficient}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/Coefficient.html}", note=[Accessed: 19-July-2026]}
BibLaTeX
@online{reference.wolfram_2026_coefficient, organization={Wolfram Research}, title={Coefficient}, year={1996}, url={https://reference.wolfram.com/language/ref/Coefficient.html}, note=[Accessed: 19-July-2026]}