Polynomial Evaluator
Evaluate a cubic polynomial ax³ + bx² + cx + d at any value of x. Useful for quickly checking polynomial outputs in algebra, calculus, and engineering curve analysis without manual arithmetic.
About this calculator
A cubic polynomial has the general form f(x) = ax³ + bx² + cx + d, where a, b, c, and d are real-number coefficients and x is the input variable. Evaluating the polynomial means substituting a specific value of x and computing the result following the order of operations: exponentiation first, then multiplication by coefficients, then addition. The formula used here is f(x) = a·x³ + b·x² + c·x + d. Setting a = 0 reduces it to a quadratic; setting a = b = 0 gives a linear function. Cubic polynomials appear in physics (motion equations), economics (cost curves), and computer graphics (Bézier spline segments). Horner's method — f(x) = ((a·x + b)·x + c)·x + d — is an equivalent but computationally efficient way to evaluate the same expression.
How to use
Evaluate f(x) = 3x³ − 2x² + x − 5 at x = 4. Enter a = 3, b = −2, c = 1, d = −5, x = 4. Compute step by step: 3·(4³) = 3·64 = 192; then −2·(4²) = −2·16 = −32; then 1·4 = 4; finally add the constant −5. Sum: 192 + (−32) + 4 + (−5) = 159. So f(4) = 159. Verify by substituting back: 3(64) − 2(16) + 4 − 5 = 192 − 32 + 4 − 5 = 159. ✓
Frequently asked questions
What does it mean to evaluate a polynomial at a given value of x?
Evaluating a polynomial means replacing the variable x with a specific number and computing the resulting numerical value. For a cubic polynomial f(x) = ax³ + bx² + cx + d, you substitute your chosen x, raise it to each power, multiply by the corresponding coefficient, and sum all terms. The output tells you the height of the polynomial curve at that x-value, which is useful for graphing, root-finding, and verifying solutions to equations.
How do I use this calculator to check if a value is a root of a cubic polynomial?
A root (or zero) of a polynomial is any x-value for which f(x) = 0. Enter your coefficients and the suspected root as x, then check if the result equals zero. For example, if f(x) = x³ − 6x² + 11x − 6 and you suspect x = 2 is a root, enter a = 1, b = −6, c = 11, d = −6, x = 2. If the output is 0, then x = 2 is indeed a root and (x − 2) is a factor of the polynomial.
Can this polynomial evaluator handle quadratic or linear equations as well?
Yes — you can reduce the polynomial to lower degrees by setting higher-order coefficients to zero. To evaluate a quadratic bx² + cx + d, set a = 0. For a linear function cx + d, set both a = 0 and b = 0. The calculator computes a·x³ + b·x² + c·x + d regardless, so zero coefficients simply eliminate those terms. This makes it a flexible tool for any polynomial up to degree 3.