Polynomial Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Algebra Hub

A polynomial is an algebraic expression with one or more terms of the form axⁿ where n is a non-negative integer. This calculator performs addition, subtraction, and multiplication of two polynomials up to degree 4, collecting like terms and presenting the result in standard form (highest degree first).

Polynomial arithmetic is a core algebra skill used in factoring, calculus (integration by parts, partial fractions), and computer science (polynomial hashing, error-correcting codes).

Formula

P(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₁x + a₀

n
degree of the polynomial (highest power of x)
aₙ
leading coefficient (coefficient of the highest-degree term)
a₀
constant term (value when x = 0)

Polynomial Operations

P(x)

Q(x)

Polynomial Operations Reference

OperationRuleExampleResult
AdditionCombine like terms(3x²+2x−5)+(x²−4x+3)4x²−2x−2
SubtractionDistribute negative, combine(3x²+2x−5)−(x²−4x+3)2x²+6x−8
FOIL (binomials)(a+b)(c+d)=ac+ad+bc+bd(x+3)(x−2)x²+x−6
Distribute (trinomial)Each term × each term(x+1)(x²+x+1)x³+2x²+2x+1
Square of binomial(a+b)²=a²+2ab+b²(x+4)²x²+8x+16
Difference of squares(a+b)(a−b)=a²−b²(x+5)(x−5)x²−25

Polynomial Degree Reference

DegreeNameStandard FormExample
0Constanta7
1Linearax + b3x − 2
2Quadraticax² + bx + cx² − 5x + 6
3Cubicax³ + bx² + cx + d2x³ − x + 4
4Quarticax⁴ + bx³ + cx² + dx + ex⁴ − 3x² + 1
5Quinticax⁵ + …x⁵ − x³ + 2x

Disclaimer

This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.

Frequently Asked Questions