Polynomial Calculator – Evaluate, Differentiate, and Combine Polynomials
Type the coefficients of a polynomial to evaluate it, differentiate it, solve quadratic roots, and combine two polynomials.
Your polynomial
2, 3, 1 means 2x squared plus 3x plus 1. Leading zeros are ignored, and trailing zeros change nothing.
Your numbers stay in your browser. Nothing is saved, sent, or shared.
Result
Breakdown
One polynomial, many x values
The default polynomial 2x squared plus 3x plus 1, evaluated from x equals negative 2 to x equals 3. The value at x equals 3 is the anchor: 28.
| x | -2 | -1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|---|
| P(x) | 3 | 0 | 1 | 6 | 15 | 28 |
Notice the root at x equals negative 1: the value there is exactly 0, matching the roots line above.
Related tools
- Enter coefficients highest power first, with 0 for any missing power: “2, 3, 1” means 2x² + 3x + 1.
- The derivative follows the term rule, and its value at x is the slope of the curve there.
- Roots are exact for linear and quadratic polynomials only; above degree 2 the page says so rather than approximating.
How it works in 3 steps
Enter coefficients
Write them highest power first, separated by commas. 2, 3, 1 means 2x squared plus 3x plus 1.
Pick x or a second polynomial
For one polynomial, set x. For combining, enter the second polynomial and pick add, subtract or multiply.
Read the result
Value, derivative, derivative polynomial and roots appear instantly, with the breakdown below them.
How the math works
P(x) = a(n)x^n + … + a(1)x + a(0) · P'(x) = n·a(n)x^(n-1) + … + a(1)
Worked example. P(x) = 2x squared plus 3x plus 1 at x equals 3: 2 times 9 is 18, plus 3 times 3 is 9, plus 1, giving 28. The derivative is 4x plus 3, which at x equals 3 is 12 plus 3, giving 15.
Quadratic roots. For ax squared plus bx plus c, the roots are negative b plus or minus the square root of b squared minus 4ac, all over 2a. For 2x squared plus 3x plus 1, the discriminant is 9 minus 8, which is 1, so the roots are negative 0.5 and negative 1.
Combining. Addition and subtraction line up like powers. Multiplication multiplies every term of the first polynomial by every term of the second and collects like powers.
Two things worth knowing
It matches how polynomials are normally written, so 2, 3, 1 reads as 2x squared plus 3x plus 1 with no reordering. If you enter them lowest power first by mistake, the result will look wrong, and the polynomial line in the breakdown shows exactly what was read, so the mistake is easy to spot.
There is no general closed-form formula for roots of degree 5 and above, and numerical root-finding would hide its approximations. This page keeps roots exact for linear and quadratic polynomials and says plainly when a higher degree has no roots line.
Type the coefficients of a polynomial and this calculator evaluates it at your x, finds the derivative at that x, solves quadratic roots, and adds, subtracts or multiplies two polynomials.
Reading a polynomial from its coefficients
A polynomial is written as a sum of powers of x, each with a coefficient, and this calculator takes the coefficients as a comma-separated list, highest power first. The default list “2, 3, 1” means 2x² + 3x + 1: the first number multiplies the highest power, the next multiplies the next power down, and the last number is the constant term. The degree is the highest power with a non-zero coefficient, which is 2 here, and the list’s length tells you the degree plus one, because a degree-2 polynomial has three terms counting the constant.
Order matters absolutely. The list “1, 3, 2” would mean x² + 3x + 2, a different polynomial with different values, even though it contains the same digits. Entering coefficients lowest-power-first is the most common entry error, and it produces results that look plausible while being entirely wrong, because the calculator faithfully evaluates the list as given. When a result surprises you, check the order first: highest power first, descending, constant last.
Signs and zeros matter too. A missing power still occupies a position, with coefficient 0: the polynomial x² + 1 is entered as “1, 0, 1”, not as “1, 1”, because “1, 1” means x + 1. Negative coefficients carry their signs: “1, −2, 5” means x² − 2x + 5, and the sign belongs to the coefficient, not to a separate operation. The page parses the list literally, so a skipped zero or a dropped minus changes the polynomial, and the evaluation that follows, however exact, evaluates the wrong object.
Degree is capped on this page at 6, which covers the polynomials most users meet, from lines and quadratics through the higher-degree cases that arise in fitting and modelling. Degrees above 6 are not accepted, and the cap is a property of the page’s design rather than of mathematics: polynomials of any degree exist, but this tool draws its line at 6, and a degree-7 input should be handled elsewhere rather than forced into a tool that does not support it.
Evaluating at x
Evaluating a polynomial at a value of x means substituting that value for x and adding up the terms. For the default polynomial 2x² + 3x + 1 at x = 3, the terms are 2 × 9 = 18, 3 × 3 = 9, and 1, which sum to 28. The page reports P(3) = 28, and the substitution shown here is the entire computation: no simplification, no approximation, just powers, multiplications and one addition. Any evaluation can be checked this way, term by term, which is why the page’s result is trustworthy even for higher degrees.
Two more evaluations show the method on simpler polynomials. For x² − 1 at x = 2, the terms are 4 and −1, giving P(2) = 3. For x² + 1 at x = 0, the terms are 0 and 1, giving P(0) = 1. The second case is instructive because x = 0 kills every term except the constant: evaluating at zero always returns the constant term, whatever the degree, and that fact is a quick check on any polynomial’s constant. If P(0) does not equal the last coefficient, something was entered wrong.
Evaluation is also the operation behind the page’s other outputs. The derivative at x is the derivative polynomial evaluated at x, and the combine mode’s results are polynomials whose values can be evaluated the same way. Understanding evaluation as substitution, repeated term by term, unifies the page’s features: everything it does starts from reading coefficients and substituting values, and every result can be verified by doing the substitution by hand for one x.
Watch for the entry errors that evaluation punishes silently. A coefficient list in the wrong order evaluates a different polynomial exactly, a missing zero shifts every power, and a mistyped x evaluates the right polynomial at the wrong point. The page cannot distinguish those errors from legitimate inputs, because each produces a well-defined number. The defence is checking one evaluation by hand, term by term, before trusting a batch of results: a single hand-checked value catches order errors, zero errors and x errors alike.
Differentiating: the derivative polynomial
Differentiating a polynomial gives another polynomial, one degree lower, whose value at any x is the slope of the original curve at that x. The rule is term by term: a term a·xⁿ differentiates to n·a·xⁿ⁻¹, the constant term differentiates to 0 and drops out, and the results add. For the default 2x² + 3x + 1, the derivative is 4x + 3: the 2x² term gives 2 × 2x = 4x, the 3x term gives 3, and the constant 1 gives 0. The page reports both the derivative polynomial and its value at the entered x.
The value at x is where the derivative becomes geometric. For the default at x = 3, the derivative value is 4 × 3 + 3 = 15, which is the slope of the curve y = 2x² + 3x + 1 at x = 3: steep and rising, as befits a quadratic opening upward at a positive x. For x² − 1, the derivative polynomial is 2x, and at x = 2 its value is 4, again a rising slope. For x² + 1, the derivative polynomial is also 2x, and at x = 0 its value is 0, which is the flat bottom of the parabola, where the curve momentarily neither rises nor falls.
Derivative values of zero mark stationary points: places where the curve flattens before turning. A quadratic has exactly one, at x = 0 for x² + 1, and the page’s derivative-at-x output finds it by evaluation rather than by solving: enter the x you suspect, and a derivative value of 0 confirms a stationary point there. Higher-degree polynomials have more stationary points, and the derivative polynomial, one degree lower, is the object whose roots locate them all, which connects differentiation to the roots section that follows.
Differentiation is exact on this page, not numerical. The derivative polynomial is computed symbolically by the term rule, and its value at x is then evaluated exactly like any polynomial evaluation. There is no step size, no approximation error, and no finite-difference noise, which is why the derivative values can be quoted exactly: 15, 4 and 0 for the cases above are exact integers, not rounded estimates, and they remain exact for any x the page accepts.
Roots: real, repeated, and complex
A root is an x value where the polynomial equals zero, and the page solves roots exactly for linear and quadratic polynomials. For x² − 1, the roots are 1 and −1, because 1² − 1 = 0 and (−1)² − 1 = 0. Two distinct real roots, symmetric about zero, as expected for a difference of squares. The page reports both, and each can be verified by substitution in seconds, which is the right habit for any root: a claimed root that does not make the polynomial zero is not a root, whatever produced it.
For x² + 1, there are no real roots, because a square plus one is never zero for real x. The page reports complex roots instead: 0 + 1i and 0 − 1i, where i is the imaginary unit with i² = −1. Substituting 1i gives (1i)² + 1 = −1 + 1 = 0, confirming the root in the complex sense. Complex roots are not a failure of the solver; they are the complete answer for a polynomial whose graph never touches the x-axis, and a solver that reported “no roots” for x² + 1 would be incomplete, because the polynomial does have roots, just not real ones.
Quadratics can also have a repeated root, when the discriminant is zero and the two roots coincide. The page’s exact solving covers that case within the quadratic formula’s scope, and a repeated root is geometrically a parabola touching the x-axis at one point rather than crossing it. Recognising repeated roots matters because they behave differently under perturbation: a small change in coefficients splits a repeated root into two nearby roots, real or complex, while distinct roots move only slightly. Sensitivity is a property of the root pattern, not of the solver.
Above degree 2, the page does not solve roots exactly, and it says so plainly: roots are “Not covered above degree 2”. That is a stated limit, not a gap in the guide. Cubics and higher polynomials have roots, and general formulas exist for degrees 3 and 4, but this page restricts exact root-solving to linear and quadratic cases, where the formulas are short and the answers are reliably exact. For higher degrees, use a numerical solver or a specialised tool, and do not mistake the page’s silence for a claim that no roots exist.
Graphing what you computed
Every polynomial computed here has a graph, and picturing it turns numbers into shape. A quadratic opens upward when its leading coefficient is positive and downward when negative, and its vertex, the turning point, sits where the derivative is zero. For x² − 1, the derivative is 2x, which is zero at x = 0, and the value there is −1, so the vertex is at (0, −1), the lowest point of a parabola opening upward, with roots at −1 and 1 where the curve crosses the x-axis on either side. The roots, the vertex and the opening direction together sketch the whole curve.
For 2x² + 3x + 1, the derivative is 4x + 3, which is zero at x = −0.75, and the value there, from 2 × 0.5625 + 3 × (−0.75) + 1, is −0.125, so the vertex is at (−0.75, −0.125), again a minimum for an upward-opening parabola. The derivative value at x = 3 is 15, a steep rising slope well to the right of the vertex, which matches the graph’s shape: flat at the vertex, increasingly steep as x grows. The derivative figures the page reports are not abstract; they are the slopes of the graph at the x values entered, and they describe the curve’s steepness point by point.
Higher-degree graphs have more turning points, up to degree minus one, and more complex shapes, but the same reading applies: derivative zero at each turning point, roots where the curve crosses the axis, leading coefficient setting the end behaviour. A degree-4 product like 2x⁴ − x³ + 5x² + 13x + 5 rises steeply at both ends because its leading coefficient is positive and its degree is even, whatever its middle behaviour. End behaviour follows degree parity and leading sign alone, which is why those two facts are worth noting for any polynomial, even before its detailed shape is known.
Graphing also diagnoses entry errors. A polynomial entered in the wrong coefficient order graphs as a different curve with different roots and vertex, and a quick sketch, even a rough one from a few evaluated points, reveals the mismatch: evaluated values that do not follow the expected shape point to the entry, not to the theory. Evaluate at x = −1, 0, 1 and 2, plot the four points roughly, and the shape that emerges should resemble the polynomial intended. If it does not, check the coefficient order and the missing-zero positions before trusting any computed result.
Finally, graphs connect the page’s outputs into one picture. Evaluation gives points on the graph, differentiation gives slopes at those points, roots give axis crossings, and combining gives new graphs from old ones. A user who can sketch the graph from those outputs understands the polynomial in a way that no single number conveys, and the page’s separate outputs are best read together, as facets of one curve, rather than as isolated answers to isolated questions.
Check a derivative by hand whenever a result looks surprising, using the term rule on the original coefficients. For the default 2x² + 3x + 1, the derivative is 4x + 3, and at x = 3 that gives 15, matching the page. If a hand check disagrees, the disagreement is in the coefficients as entered, in the term rule as applied, or in the x value, and each possibility is quick to isolate: re-read the coefficient list, re-apply the rule term by term, and re-check the x. A derivative is one of the easiest outputs to verify, and verifying it validates the coefficient entry for every other output the page gives.
Decimal and fractional coefficients work the same way as integers, with no change in method. A coefficient of 0.5 differentiates by the same term rule, evaluates by the same substitution, and combines by the same collection, with decimals carried through the arithmetic. Displayed results may round long decimals, so a hand check that differs in the last decimal place usually reflects display rounding rather than error, while a difference in an earlier place reflects a genuine entry or method mistake. Keep enough decimal places in hand checks to distinguish the two, and trust the page’s unrounded computation over a rounded hand figure.
Verify a combined polynomial by evaluating its factors and its product at the same x and comparing. For the probed multiplication, the first factor 2x² + 3x + 1 at x = 1 gives 2 + 3 + 1 = 6, the second factor x² − 2x + 5 at x = 1 gives 1 − 2 + 5 = 4, and their product at x = 1 is 6 × 4 = 24. The combined polynomial 2x⁴ − x³ + 5x² + 13x + 5 at x = 1 gives 2 − 1 + 5 + 13 + 5 = 24, matching the product of the factors exactly. That match is not a coincidence to be celebrated but a necessary condition to be checked: any combined polynomial that fails it at any x was multiplied or collected incorrectly, and the error is in a term the check isolates. Evaluate at x = 1 first, because the arithmetic is simplest there, then at one more x, such as 2, to confirm the match is structural rather than accidental.
Combining two polynomials
The combine mode takes two polynomials and multiplies them, producing a new polynomial whose degree is the sum of the input degrees. The page’s probed example multiplies (2, 3, 1), which is 2x² + 3x + 1, by (1, −2, 5), which is x² − 2x + 5, and gives 2x⁴ − x³ + 5x² + 13x + 5, of degree 4. The degree follows the rule: 2 + 2 = 4, and the coefficients follow from multiplying every term of one polynomial by every term of the other and collecting like powers.
The multiplication can be checked term by term. The x⁴ term comes only from 2x² × x² = 2x⁴. The x³ term comes from 2x² × (−2x) = −4x³ plus 3x × x² = 3x³, giving −x³. The x² term comes from 2x² × 5 = 10x², 3x × (−2x) = −6x², and 1 × x² = x², giving 5x². The x term comes from 3x × 5 = 15x and 1 × (−2x) = −2x, giving 13x. The constant comes from 1 × 5 = 5. Every coefficient in the result is accounted for by this collection, and the check demonstrates why multiplication, unlike addition, mixes every term with every other.
The derivative output for a combined polynomial follows the same rules as for a single one, and the roots output respects the same limit: a degree-4 product’s roots are “Not covered above degree 2”, because the product’s degree exceeds the solver’s scope even though its factors’ roots were individually solvable. That interaction is worth noting: combining polynomials can move a problem outside the page’s root-solving range, and the page reports the limit rather than approximating roots it cannot solve exactly.
Combine mode is the page’s way of handling polynomial arithmetic without leaving the tool, and multiplication is the operation that most often matters, because expanding products is the tedious part of algebra by hand. Addition and subtraction of polynomials, when needed, are simpler: add or subtract matching coefficients, with no cross-terms, and the degree is the larger of the two input degrees. The page’s combine interface centres on the operation it can show completely, and the multiplication example above is the pattern to follow when checking any combined result by hand.
Limits: degree 6, and roots above degree 2
Two limits define this page’s scope, and both are stated openly. The degree limit is 6: polynomials up to degree 6 are accepted for evaluation, differentiation and combining, and higher degrees are not. The root limit is degree 2: exact roots are reported for linear and quadratic polynomials only, and higher degrees report that roots are not covered. The limits are independent: a degree-6 polynomial can be evaluated and differentiated here, but its roots cannot be solved here, and confusing the two limits leads to expecting root answers the page never promised.
The degree limit rarely binds in practice, because most polynomials users meet are degree 4 or below: quadratics for motion and optimisation, cubics for volume and interpolation, quartics for more complex fits. Degree 5 and 6 arise in specialised fitting and in products of lower-degree polynomials, and the page accommodates them for evaluation and differentiation. Beyond 6, the tool’s purpose changes from a calculator to a computer algebra system, and a dedicated system is the right choice rather than a stretched calculator.
The root limit binds more often, because root-finding is a common need for cubics and quartics. The page’s refusal to approximate those roots is a design choice in favour of exactness: an approximate root without error bounds can mislead more than no root at all, especially when roots are close together or complex. When exact roots above degree 2 are needed, the right tools are the cubic and quartic formulas, applied by hand or by a system that implements them, or numerical methods with stated tolerances. The page’s “Not covered” message is an instruction to use one of those, not a dead end.
Work inside the limits and the page is exact throughout: evaluations by substitution, derivatives by the term rule, products by collection, and linear and quadratic roots by formula. Step outside them and the page says so, which is the behaviour to trust. A tool that states its limits clearly is more useful than one that silently approximates beyond them, because the user always knows which results are exact and which questions need another tool.
Synthetic division is long division, compressed
Synthetic division looks like a trick, but it is long division with the variable powers removed. Dividing a polynomial by a linear factor of the form x minus a only ever shifts coefficients and multiplies by a, so writing out the x terms at every step repeats information that never changes. Synthetic division drops the repeated parts and keeps the arithmetic: bring down, multiply, add, repeat. The last number is the remainder and everything before it is the quotient.
The compression has a price: it only works for linear divisors of that form, and it only works when every degree is represented, including degrees with a zero coefficient. A missing degree that is not written as zero shifts every coefficient one place and corrupts the whole division. Long division tolerates the omission visually because the powers are written out; synthetic division does not, which is why the zero placeholder is the first thing to check when a synthetic result looks wrong.
Remainder theorem: the shortcut that checks your division
The remainder theorem says the remainder of dividing a polynomial P(x) by x minus a is simply P(a): evaluate the polynomial at a, and the result is the remainder, with no division at all. It is the fastest check on any division, because a division whose remainder disagrees with P(a) is certainly wrong, whatever the quotient looks like.
The factor theorem is the special case that matters most: if P(a) equals zero, then x minus a is a factor, and the quotient from the division is the other factor. That is how root-finding and factoring connect. Find a value that makes the polynomial zero, divide by the corresponding factor, and the problem shrinks by one degree. Repeat, and a degree-6 polynomial becomes a sequence of smaller problems, each checked by evaluation before the next begins.
Frequently asked questions
How do I enter a polynomial?
Write the coefficients highest power first, separated by commas. For example, 2, 3, 1 means 2x squared plus 3x plus 1.
What is the highest degree this calculator handles?
Degree 6. Anything higher shows a warning and is not computed, because the coefficient list would be longer than the page is built for.
What does the derivative at x mean?
It is the slope of the polynomial curve at that x value. For 2x squared plus 3x plus 1, the derivative is 4x plus 3, so at x equals 3 it is 15.
Which roots does this calculator find?
It finds exact roots for linear and quadratic polynomials only. For degree above 2, the roots line says that roots are not covered, instead of guessing.
What happens with complex roots?
When the discriminant of a quadratic is negative, the roots are shown as a complex pair, for example 1 plus 2i and 1 minus 2i, with the real and imaginary parts labelled.
Can I add or multiply two polynomials?
Yes. Switch to the combine mode, enter both polynomials, and pick add, subtract or multiply. The result polynomial is shown in the breakdown.
In what order do I enter coefficients?
Highest power first, descending, with the constant last. The list “2, 3, 1” means 2x² + 3x + 1. A missing power still occupies a position with coefficient 0, so x² + 1 is entered as “1, 0, 1”, not as “1, 1”.
What does the derivative at x tell me?
The slope of the curve at that x. For 2x² + 3x + 1, the derivative polynomial is 4x + 3, and at x = 3 its value is 15, a steep rising slope. A derivative value of 0 marks a stationary point, where the curve momentarily flattens.
Why are some roots complex?
Because some polynomials never touch zero for real x. For x² + 1, the roots are 0 + 1i and 0 − 1i, since (1i)² + 1 = 0. Complex roots are the complete answer for such polynomials, not a failure of the solver.
Can I solve a cubic’s roots here?
No. Roots are solved exactly for linear and quadratic polynomials only, and higher degrees report that roots are not covered above degree 2. For cubic and higher roots, use the corresponding formulas or a numerical solver with stated tolerances.
When can I use synthetic division?
Only for division by a linear factor of the form x minus a. For any other divisor, use long division. Synthetic division also requires every degree to be represented, with zero coefficients written in for missing degrees.
What does the remainder theorem say?
The remainder of dividing P(x) by x minus a is P(a). Evaluate the polynomial at a and you have the remainder without dividing, which makes it the fastest check on any polynomial division.
How does the factor theorem help factor a polynomial?
If P(a) equals zero, then x minus a is a factor. Divide it out and the problem shrinks by one degree; repeat the process to factor the polynomial step by step.
More calculators
Percentage Calculator
Percent of a number, and change between two numbers.
Average Calculator
Mean, median and mode of a list.
Statistics Calculator
Spread, quartiles and outliers in one place.
System of Equations Calculator
Solve two or three equations together.
Conversion Calculator
Units converted without a lookup table.
Polynomial Division Explained
Long division and synthetic division with worked examples — and the remainder check.
Note: This is a general-purpose math tool. It evaluates exactly the coefficients you enter, up to degree 6, and finds exact roots only for linear and quadratic polynomials. Check your coefficient order before trusting a result: the breakdown line always shows the polynomial as it was read.