How to Work with Polynomials
Polynomials are the workhorses of algebra: sums of power terms like 4x³ − x + 9, built only from addition, subtraction, and multiplication, with whole-number exponents. They model everything from the arc of a thrown ball to a business's profit curve, and nearly every later topic — factoring, equations, calculus — begins by manipulating one. This calculator handles the three jobs students meet most: adding or subtracting two polynomials by combining like terms, multiplying them by full distribution, and hunting for rational roots with the rational root theorem. Enter the polynomials, choose a mode, and each result arrives with its steps.
The Vocabulary, Term by Term
In 4x³ − x + 9, each separated piece is a term. The number multiplying the variable is its coefficient — 4 for the first term, and an unwritten 1 for −x. The exponent is the term's power, and the largest power present, here 3, is the degree of the polynomial; its coefficient (4) is the leading coefficient. The term with no variable, 9, is the constant term. Two terms are like terms when their powers match exactly, and only like terms may be merged. A value of x that makes the whole polynomial equal zero is a root (also called a zero).
How to Use the Polynomial Calculator
- Choose a mode with the four tabs: Add, Subtract, Multiply, or Find roots.
- Enter the First polynomial using x as the variable and ^ for powers — for example x^2 + 2x + 1. For Add, Subtract, and Multiply, enter the Second polynomial as well; Find roots hides that field because it works on one polynomial.
- Press Calculate (or Find Rational Roots in roots mode).
- Read the result panel: the simplified polynomial or the list of roots appears in large type, with numbered steps underneath showing how like terms were lined up or which root candidates were tested.
Worked Example: Multiplying (x² + 3x − 2)(x + 4)
- Distribute the x of the second polynomial across every term of the first: x · x² = x³, x · 3x = 3x², x · (−2) = −2x. Partial product: x³ + 3x² − 2x.
- Distribute the 4 the same way: 4 · x² = 4x², 4 · 3x = 12x, 4 · (−2) = −8. Partial product: 4x² + 12x − 8.
- Add the partial products, aligning like terms: x³ stays alone; 3x² + 4x² = 7x²; −2x + 12x = 10x; the constant is −8.
- Result: x³ + 7x² + 10x − 8. Six multiplications happened — three terms times two terms — and writing both partial products before combining is what keeps the count honest. The Multiply mode above returns the same result with its combining step shown.
Arithmetic with Polynomials
Adding and subtracting is just combining like terms across both polynomials. Multiplying means distributing every term — FOIL is simply the 2-term special case of this general rule.
Hunting for Roots
The rational root theorem narrows the search: every rational root looks like p/q where p divides the constant term and q divides the leading coefficient. Test the candidates — any hit is a genuine root.
Worked Example: Synthetic Division by (x − 1)
Synthetic division is the fast way to test a candidate root — here it also finishes the factoring of a cubic completely.
Divide P(x) = x³ − 6x² + 11x − 6 by (x − 1). Write the coefficients 1, −6, 11, −6 and bring the test value 1:
- Bring down the 1 → multiply by 1, add to −6 → −5.
- Repeat: multiply −5 by 1, add to 11 → 6.
- Finish: multiply 6 by 1, add to −6 → 0.
The remainder is 0, so x = 1 is a root and the quotient x² − 5x + 6 = (x − 2)(x − 3) reveals the rest: P(x) = (x − 1)(x − 2)(x − 3), with roots 1, 2, and 3. A direct substitution double-checks the first of them: P(1) = 1 − 6 + 11 − 6 = 0, as a root requires. The Find roots mode runs this same candidate-testing logic for you and reports all three roots at once.
When Polynomials Show Up
Reach for this calculator when an algebra problem is really a polynomial in disguise. Solving a cubic equation starts with the root hunt above; one rational root plus synthetic division reduces it to a quadratic you can finish by formula. Geometry problems produce polynomials whenever areas and volumes are multiplied out — a box with sides x, x + 2, and x + 4 has volume x³ + 6x² + 8x. Physics and business models are polynomials too: projectile height is a quadratic in time, and revenue is price times quantity demanded. And before submitting homework, the Add and Multiply modes verify hand expansions in seconds.
Common Mistakes
- Combining unlike terms. x² + x does not simplify to x³, or to anything — different powers are different species and can only be merged with their own kind. Only coefficients of matching powers add.
- Forgetting to distribute the minus sign in subtraction. Subtracting (x − 3) means subtracting every term: −x + 3, not −x − 3. Most wrong “difference” answers trace back to flipping only the first term's sign.
- FOIL-ing beyond binomials. FOIL covers two terms times two terms. A trinomial times a binomial needs six products; stopping after four silently drops terms, which is why the partial-products method in the example above is safer.
Reading End Behavior
The leading term controls both ends of the graph. An even degree with a positive leading coefficient (like x⁴) rises on both sides; an odd degree (like x³) falls left and rises right; a negative leading coefficient flips those. Knowing the ends in advance tells you whether the roots you found can possibly be all of them — an odd-degree polynomial must cross the axis at least once.
Found a root and want factors? Try our factoring calculator or simplify expressions with the algebra calculator.