CoefficientList
✖
CoefficientList
gives a list of coefficients of powers of var in poly, starting with power 0.
gives an array of dimensions {dim1,dim2,…}, truncating or padding with zeros as needed.
Details and Options

- The dimensions of the array returned by CoefficientList are determined by the values of the Exponent[poly,vari].
- Terms that do not contain positive integer powers of a particular variable are included in the first element of the list for that variable.
- CoefficientList always returns a full rectangular array. Combinations of powers that do not appear in poly give zeros in the array.
- CoefficientList[0,var] gives {}.
- CoefficientList works whether or not poly is explicitly given in expanded form.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Find the coefficients in a polynomial:

https://wolfram.com/xid/0rsvpuzzu-dci

CoefficientList works even when the polynomial has not been expanded out:

https://wolfram.com/xid/0rsvpuzzu-pxu

Matrix of coefficients for a quadratic function:

https://wolfram.com/xid/0rsvpuzzu-llp

Scope (2)Survey of the scope of standard use cases
Univariate polynomial coefficient lists:

https://wolfram.com/xid/0rsvpuzzu-fgzndi


https://wolfram.com/xid/0rsvpuzzu-dz6sqx

Multivariate polynomial coefficient lists:

https://wolfram.com/xid/0rsvpuzzu-c2jgv


https://wolfram.com/xid/0rsvpuzzu-p0i44

Options (1)Common values & functionality for each option
Properties & Relations (4)Properties of the function, and connections to other functions
Use Coefficient to get a coefficient at a specified power of the variable:

https://wolfram.com/xid/0rsvpuzzu-gf0zzl

https://wolfram.com/xid/0rsvpuzzu-ihkoto

The list of coefficients can be obtained using Coefficient and Exponent:

https://wolfram.com/xid/0rsvpuzzu-dg0m56


https://wolfram.com/xid/0rsvpuzzu-e399e1

FromDigits can reconstruct a univariate polynomial from the list of its coefficients:

https://wolfram.com/xid/0rsvpuzzu-oxg


https://wolfram.com/xid/0rsvpuzzu-l7o

Fold the operation for multivariate polynomials:

https://wolfram.com/xid/0rsvpuzzu-b6zbac


https://wolfram.com/xid/0rsvpuzzu-mat6i


https://wolfram.com/xid/0rsvpuzzu-jrp64a

Polynomial multiplication is convolution as performed by ListConvolve:

https://wolfram.com/xid/0rsvpuzzu-mcf


https://wolfram.com/xid/0rsvpuzzu-s7b

For multivariate polynomials, CoefficientList gives a tensor of the coefficients:

https://wolfram.com/xid/0rsvpuzzu-d999g9

https://wolfram.com/xid/0rsvpuzzu-bb5pjo

CoefficientArrays gives the list of arrays of polynomial coefficients ordered by total degrees:

https://wolfram.com/xid/0rsvpuzzu-raoe4


https://wolfram.com/xid/0rsvpuzzu-ivgm7a

In cl, the coefficient of x^a y^b is the element at position {a+1,b+1}:

https://wolfram.com/xid/0rsvpuzzu-wpcpc

In ca, the position of this coefficient is a+b+1 followed by a 1s and b 2s (1 and 2 indicate the first and second variables):

https://wolfram.com/xid/0rsvpuzzu-gbmlhf

Wolfram Research (1988), CoefficientList, Wolfram Language function, https://reference.wolfram.com/language/ref/CoefficientList.html (updated 2015).
Text
Wolfram Research (1988), CoefficientList, Wolfram Language function, https://reference.wolfram.com/language/ref/CoefficientList.html (updated 2015).
Wolfram Research (1988), CoefficientList, Wolfram Language function, https://reference.wolfram.com/language/ref/CoefficientList.html (updated 2015).
CMS
Wolfram Language. 1988. "CoefficientList." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/CoefficientList.html.
Wolfram Language. 1988. "CoefficientList." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/CoefficientList.html.
APA
Wolfram Language. (1988). CoefficientList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CoefficientList.html
Wolfram Language. (1988). CoefficientList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CoefficientList.html
BibTeX
@misc{reference.wolfram_2025_coefficientlist, author="Wolfram Research", title="{CoefficientList}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CoefficientList.html}", note=[Accessed: 26-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_coefficientlist, organization={Wolfram Research}, title={CoefficientList}, year={2015}, url={https://reference.wolfram.com/language/ref/CoefficientList.html}, note=[Accessed: 26-March-2025
]}