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 を含まない項を返す.
- Coefficientは,式 expr が展開されているかどうかにかかわりなく機能する.
例題
すべて開く すべて閉じる例 (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]オプション (1)
特性と関係 (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は第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 Language. 1988. "Coefficient." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996. https://reference.wolfram.com/language/ref/Coefficient.html.
APA
Wolfram Language. (1988). Coefficient. Wolfram Language & System Documentation Center. Retrieved from 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: 16-October-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: 16-October-2026]}