Polynomial

Evaluate ax³ + bx² + cx + d and read the degree.

a x³ + b x² + c x + d

Coefficient of x³

Coefficient of x²

Coefficient of x

Constant term

Value to substitute

Enter a, b, c, d, and x for ax³ + bx² + cx + d. The degree is the highest power whose coefficient is not 0. All four coefficients 0 is the zero polynomial.

Enter a, b, c, d, and x.

How a polynomial is evaluated

The polynomial is ax³ + bx² + cx + d. Substitute the value of x, starting from the highest power.

The degree is the highest power whose coefficient is not 0. A constant that is not 0 has degree 0. When a, b, c, and d are all 0, the result is the zero polynomial.

How to use this calculator

  1. Enter the coefficients a, b, c, and d.
  2. Enter x, the value to substitute.
  3. Read p(x). The rows below show the degree and how many coefficients are not 0.

Formula

A cubic polynomial in one variable.

Value of ax³ + bx² + cx + d
p(x)=ax3+bx2+cx+d

The value is computed from the inside: multiply by x and add the next coefficient, three times. A missing power has coefficient 0.

Source

A polynomial in one variable is defined on the Wikipedia page on polynomials.

Worked examples

Example: x² + 2x + 1 at 3

a = 0, b = 1, c = 2, d = 1, x = 3. p(3) = 16. The degree is 2.

Example: 2x³ − x + 4 at 2

a = 2, b = 0, c = −1, d = 4, x = 2. p(2) = 18. The degree is 3.

What to keep in mind

Each of a, b, c, d, and x can be a number from −1,000,000 to 1,000,000, including decimals. The constant 5 at x = 10 is 5, and the degree is 0. x³ at x = −2 is −8, and the degree is 3. The zero polynomial at x = 0 is 0. A completed result, including a, b, c, d, and x, can be stored in this browser’s local history and never leaves your device. Clear it with the history Clear action or by clearing site data.

Common questions about polynomials

What is x² + 2x + 1 at x = 3?

16. The degree is 2.

What is 2x³ − x + 4 at x = 2?

18. The degree is 3.

What is the constant 5 at x = 10?

5. The degree is 0.

What is x³ at x = −2?

−8. The degree is 3.

What is the zero polynomial at x = 0?

0. Every coefficient is 0.

Does this calculator store my numbers?

A completed result can be saved in this browser’s local history, including a, b, c, d, and x. It stays on your device and is not sent to our servers or to analytics. Clear it with the history Clear action or by clearing site data.