Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Coefficients of a polynomial (coefficients)

List the coefficients of a polynomial, constant term first.

How to write it

coefficients(polynomial, x)

polynomial
A polynomial, such as x^2 - 2. Takes a polynomial.
x
The variable of the polynomial. Takes a variable.

Examples

  • coefficients⁡(2x3−x+5,x)=[5,−1,0,2]\displaystyle \operatorname{coefficients}(2 x^{3}-x+5, x) = \left[ 5, -1, 0, 2 \right]
    coefficients(2x^3 - x + 5, x)

    In the solver, coefficients(2x^3 - x + 5, x) gives [5, -1, 0, 2].

    Open in the solver
  • collect

    Group the terms of an expression by powers of a variable.

  • cancel

    Cancel the common factors of a fraction.

  • complex_expand

    Expand an expression assuming its variables are real.

  • apart

    Split a rational expression into partial fractions.

  • cyclotomic

    Cyclotomic polynomial of a given order.

  • together

    Combine fractions into one over a common denominator.