a cubic with three integer roots
- Coefficients, highest power first
- 1, -6, 11, -6
- Evaluate at x
- 2
Value at x0
The polynomial factors as (x-1)(x-2)(x-3), so it vanishes at x = 2
Open this exampleEvaluate a polynomial and its derivative at a point, with any integer roots found by search. Evaluation uses Horner, which needs far fewer multiplications and loses less precision than raising powers.
Also called: evaluate polynomial, polynomial roots.
The polynomial is 1x^3 - 6x^2 + 11x - 6. At x = 2 it evaluates to 0, and its derivative there is -1.
Horner rewrites the polynomial as nested multiplication, so a cubic needs three multiplications rather than six and accumulates less floating-point error. The derivative is formed by the power rule and evaluated the same way. Integer roots are found by testing divisors of the constant term, which is the rational root theorem in its most useful form, and it finds the roots that factor cleanly rather than all of them.
evaluated by Horner: repeatedly multiply by x and add the next coefficientEach of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
Value at x0
The polynomial factors as (x-1)(x-2)(x-3), so it vanishes at x = 2
Open this exampleValue at x-6
boundary: at zero the value is the constant term
Open this exampleFormula version 1.0.0 · definition 1.0.0 · United States · Report a problem with this calculator