# Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

# CoefficientList

CoefficientList[poly,var]
gives a list of coefficients of powers of var in poly, starting with power 0.

CoefficientList[poly,{var1,var2,}]
gives an array of coefficients of the .

## Details and OptionsDetails 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.

## ExamplesExamplesopen allclose all

### Basic Examples  (3)Basic Examples  (3)

Find the coefficients in a polynomial:

 Out[1]=

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

 Out[1]=

Matrix of coefficients for a quadratic form:

 Out[1]=