Mathovia

Algebra / Preliminaries

Polynomials

A polynomial is just a sum of terms built from whole-number exponents, and every operation on one — adding, subtracting, multiplying, dividing by a monomial — reduces to skills you already have. This lesson covers all of them, plus the special product patterns worth memorizing outright.

M
Written by
Mathovia Team
Editorial Team

Every rule in this lesson is really just the exponent rules from Integer Exponents applied to expressions with more than one term. Combining like terms, multiplying binomials, dividing by a monomial — all three reduce to arithmetic you already know, organized by a few naming conventions worth learning first.

What Is a Polynomial?

A polynomial is a sum of terms, where each term is a coefficient multiplied by a variable raised to a nonnegative integer exponent — \(3x^{2}\), \(-5x\), and \(7\) are all valid terms. \(4x^{2} - 3x + 9\) is a polynomial; \(\dfrac{2}{x}\), \(\sqrt{x}\), and \(x^{-1}\) are not, because none of them fit that “nonnegative integer exponent” pattern.

A term’s degree is the exponent on its variable, and a polynomial’s degree is the highest degree among all of its terms. Writing a polynomial in standard form means listing its terms from highest degree to lowest, and the first term in that order is the leading term, with its coefficient called the leading coefficient.

DegreeNameExample
0Constant\(7\)
1Linear\(3x + 2\)
2Quadratic\(x^{2} - 5x + 6\)
3Cubic\(2x^{3} + x\)
4Quartic\(x^{4} - 1\)

Polynomials are also named by their number of terms: one term is a monomial (\(5x^{3}\)), two is a binomial (\(x+7\)), three is a trinomial (\(x^{2}-4x+4\)), and four or more is just called a polynomial.

Adding and Subtracting Polynomials

Adding or subtracting polynomials means combining like terms — terms with the exact same variable raised to the exact same exponent — by adding or subtracting their coefficients only:

$$ 3x^{2} + 5x^{2} = 8x^{2} $$

The exponent never changes when combining like terms; only the coefficient does. That’s genuinely different from the Product Rule for exponents (\(x^{2} \cdot x^{2} = x^{4}\), exponents add), and confusing the two is one of the most common errors in this whole topic.

Subtracting a polynomial means distributing a negative sign across every one of its terms, not just the first:

$$ (x^{2}-3) - (x^{2}-5x+2) = x^{2}-3-x^{2}+5x-2 = 5x-5 $$

Example 1: Adding and Subtracting

ExpressionRule AppliedResult
\((3x^{2}+5x-2)+(x^{2}-4x+7)\)Combine like terms\(4x^{2}+x+5\)
\((5x^{3}-2x+1)-(2x^{3}+3x-4)\)Distribute the minus, then combine\(3x^{3}-5x+5\)
\((4x^{2}-3x+6)+(-2x^{2}+3x-6)\)Combine like terms\(2x^{2}\)
\((x^{2}+2x-1)-(x^{2}-2x+1)\)Distribute the minus, then combine\(4x-2\)

Multiplying Polynomials

Multiplying by a monomial is one distribution pass — every term inside gets multiplied by the term outside:

$$ 2x(3x^{2}-4x+5) = 6x^{3}-8x^{2}+10x $$

Multiplying two binomials needs every term in the first to multiply every term in the second — four products in total, often organized with FOIL as a memory aid, not a separate rule: multiply the First terms, the Outer terms, the Inner terms, and the Last terms, then add everything together.

$$ (x+3)(x+5) = (x)(x) + (x)(5) + (3)(x) + (3)(5) $$

For \((x+3)(x+5)\): First gives \(x \cdot x = x^{2}\), Outer gives \(x \cdot 5 = 5x\), Inner gives \(3 \cdot x = 3x\), and Last gives \(3 \cdot 5 = 15\). Adding all four:

$$ x^{2} + 5x + 3x + 15 = x^{2}+8x+15 $$

A binomial times a trinomial needs six products (every term in the first times every term in the second) — more terms to track, but the same distributive property, with no acronym needed.

Example 2: Multiplying Polynomials

ExpressionRule AppliedResult
\(3x^{2} \cdot 2x^{3}\)Product Rule for exponents\(6x^{5}\)
\((x+3)(x+5)\)FOIL\(x^{2}+8x+15\)
\((2x-1)(3x+4)\)FOIL\(6x^{2}+5x-4\)
\((x+2)(x^{2}-3x+5)\)Distribute every term\(x^{3}-x^{2}-x+10\)

Special Product Patterns

Three binomial products come up often enough to be worth recognizing on sight instead of expanding by FOIL every time:

PatternNameStatement
Square of a sum\((a+b)^{2} = a^{2}+2ab+b^{2}\)
Square of a difference\((a-b)^{2} = a^{2}-2ab+b^{2}\)
Difference of squares\((a+b)(a-b) = a^{2}-b^{2}\)

The middle term in the first two patterns is the one people forget: \((x+5)^{2}\) is not \(x^{2}+25\), it’s \(x^{2}+10x+25\), with the \(2ab\) term included.

Example 3: Applying the Special Products

ExpressionPatternResult
\((x+4)^{2}\)Square of a sum\(x^{2}+8x+16\)
\((x-6)^{2}\)Square of a difference\(x^{2}-12x+36\)
\((x+7)(x-7)\)Difference of squares\(x^{2}-49\)
\((3x+2)^{2}\)Square of a sum\(9x^{2}+12x+4\)
\((5x-1)(5x+1)\)Difference of squares\(25x^{2}-1\)

Dividing a Polynomial by a Monomial

Dividing by a monomial means dividing every term by it separately, applying the Quotient Rule for exponents to each one:

$$ \frac{6x^{3}-9x^{2}+12x}{3x} = \frac{6x^{3}}{3x} - \frac{9x^{2}}{3x} + \frac{12x}{3x} = 2x^{2}-3x+4 $$

Dividing by another polynomial (not just a single monomial) needs polynomial long division, a topic of its own further into this chapter.

Worked Example A: Combining Three Polynomials

Simplify \((2x^{2}-5x+3) + (x^{2}+2x-8) - (3x^{2}-x+1)\).

Step 1 — add the first two polynomials:

$$ (2x^{2}-5x+3) + (x^{2}+2x-8) = 3x^{2}-3x-5 $$

Step 2 — distribute the minus sign and subtract the third:

$$ (3x^{2}-3x-5) - (3x^{2}-x+1) = 3x^{2}-3x-5-3x^{2}+x-1 $$

Step 3 — combine what remains:

$$ (3x^{2}-3x^{2}) + (-3x+x) + (-5-1) = -2x-6 $$

The leading terms cancel entirely, dropping a quadratic expression down to a linear one — a good reminder to always combine everything before deciding what the final degree is.

Worked Example B: Multiplying Three Binomials

Simplify \((x+2)(x-3)(x+1)\).

Step 1 — multiply the first two factors with FOIL:

$$ (x+2)(x-3) = x^{2}-x-6 $$

Step 2 — multiply that trinomial by the remaining factor:

$$ (x^{2}-x-6)(x+1) = x^{3}+x^{2}-x^{2}-x-6x-6 $$

Step 3 — combine like terms:

$$ x^{3}+(x^{2}-x^{2})+(-x-6x)-6 = x^{3}-7x-6 $$

Multiplying three factors is always two binomial multiplications in a row — never all three at once.

Worked Example C: A Special-Product Shortcut

Simplify \((x+3)^{2} - (x-3)^{2}\) using the special product patterns instead of expanding from scratch.

Step 1 — expand each square separately:

$$ (x+3)^{2} = x^{2}+6x+9, \qquad (x-3)^{2} = x^{2}-6x+9 $$

Step 2 — subtract, distributing the minus sign:

$$ (x^{2}+6x+9) - (x^{2}-6x+9) = x^{2}+6x+9-x^{2}+6x-9 $$

Step 3 — combine like terms:

$$ (x^{2}-x^{2}) + (6x+6x) + (9-9) = 12x $$

Both squared terms and both constant terms cancel completely, leaving a surprisingly simple linear result.

Common Mistakes to Avoid

  • Forgetting to distribute a negative sign when subtracting. \((x^{2}-3)-(x^{2}-5x+2)\) requires flipping the sign of every term in the second polynomial, not just the first one.
  • Adding exponents when combining like terms. \(3x^{2}+5x^{2}=8x^{2}\), not \(8x^{4}\) — combining like terms only adds coefficients; the Product Rule (which adds exponents) is for multiplying powers, a different operation entirely.
  • Dropping the middle term when squaring a binomial. \((x+5)^{2} = x^{2}+10x+25\), not \(x^{2}+25\).
  • Multiplying only the first and last terms of two binomials. Skipping the Outer and Inner products in FOIL leaves out half the answer.
  • Dividing only the first term when dividing by a monomial. Every term in the numerator needs to be divided, not just the leading one.

Practice Problems

Work each problem yourself before opening the answer.

Problem 1. Add \((3x^{2}+2x-1)+(x^{2}-5x+4)\).

Show answer

$$ (3x^{2}+2x-1)+(x^{2}-5x+4) = 4x^{2}-3x+3 $$

Answer: \(4x^{2}-3x+3\)

Problem 2. Subtract \((5x^{3}-x+6)-(2x^{3}+4x-2)\).

Show answer

$$ (5x^{3}-x+6)-(2x^{3}+4x-2) = 5x^{3}-x+6-2x^{3}-4x+2 = 3x^{3}-5x+8 $$

Answer: \(3x^{3}-5x+8\)

Problem 3. Multiply \(4x(2x^{2}-3x+1)\).

Show answer

$$ 4x(2x^{2}-3x+1) = 8x^{3}-12x^{2}+4x $$

Answer: \(8x^{3}-12x^{2}+4x\)

Problem 4. Multiply \((x+6)(x-2)\).

Show answer

$$ (x+6)(x-2) = x^{2}-2x+6x-12 = x^{2}+4x-12 $$

Answer: \(x^{2}+4x-12\)

Problem 5. Multiply \((3x-4)(2x+5)\).

Show answer

$$ (3x-4)(2x+5) = 6x^{2}+15x-8x-20 = 6x^{2}+7x-20 $$

Answer: \(6x^{2}+7x-20\)

Problem 6. Expand \((x+9)^{2}\).

Show answer

$$ (x+9)^{2} = x^{2}+2(9)x+9^{2} = x^{2}+18x+81 $$

Answer: \(x^{2}+18x+81\)

Problem 7. Expand \((x-8)(x+8)\).

Show answer

$$ (x-8)(x+8) = x^{2}-8^{2} = x^{2}-64 $$

Answer: \(x^{2}-64\)

Problem 8. Divide \(\dfrac{12x^{4}-8x^{3}+4x^{2}}{4x^{2}}\).

Show answer

$$ \frac{12x^{4}}{4x^{2}} - \frac{8x^{3}}{4x^{2}} + \frac{4x^{2}}{4x^{2}} = 3x^{2}-2x+1 $$

Answer: \(3x^{2}-2x+1\)

Problem 9. Multiply \((2x+1)(x^{2}-3x+4)\).

Show answer

$$ (2x+1)(x^{2}-3x+4) = 2x^{3}-6x^{2}+8x+x^{2}-3x+4 $$

$$ = 2x^{3}+(-6x^{2}+x^{2})+(8x-3x)+4 = 2x^{3}-5x^{2}+5x+4 $$

Answer: \(2x^{3}-5x^{2}+5x+4\)

Problem 10. Simplify \((x+4)^{2}-(x-4)^{2}\) using the special product patterns.

Show answer

$$ (x+4)^{2} = x^{2}+8x+16, \qquad (x-4)^{2} = x^{2}-8x+16 $$

$$ (x^{2}+8x+16)-(x^{2}-8x+16) = 16x $$

Answer: \(16x\)

Quick Reference

SituationMove
Adding/subtracting like termsAdd or subtract coefficients only; the exponent never changes
Subtracting a polynomialDistribute the minus sign to every term first
Multiplying by a monomialDistribute across every term
Multiplying two binomialsFOIL: First, Outer, Inner, Last
\((a+b)^{2}\) or \((a-b)^{2}\)Square of a sum/difference — don’t forget the middle \(2ab\) term
\((a+b)(a-b)\)Difference of squares: \(a^{2}-b^{2}\), no middle term at all
Dividing by a monomialDivide every term separately

Once these operations feel automatic, they carry forward directly into Factoring Polynomials — reversing every multiplication pattern in this lesson to break a polynomial back into its factors — and, later, into polynomial long division. Build speed with the Polynomial Generator, browse the rest of the Algebra lessons as they publish, revisit Integer Exponents if the exponent rules above felt unfamiliar, or explore the site’s calculators to check your own arithmetic against a worked result.

Frequently Asked Questions

What makes an expression a polynomial?+

Every exponent on a variable must be a nonnegative integer, and there must be a finite number of terms. That excludes any expression with a variable in a denominator, a variable under a radical, or a negative or fractional exponent on a variable — none of those are polynomials.

What's the difference between a term's degree and a polynomial's degree?+

A term's degree is the exponent on its variable. A polynomial's degree is simply the highest degree among all of its terms — in \(3x^{2} + 5x^{4} - 1\), the polynomial's degree is 4, from the \(5x^{4}\) term, even though that term isn't listed first.

Why does FOIL only work for two binomials?+

FOIL (First, Outer, Inner, Last) is a memory aid for distributing two two-term expressions, which produces exactly four products. Multiplying a binomial by a trinomial produces six products, so FOIL doesn't apply there — the same distributive property does, just with more terms to track.

Why do I need to distribute a negative sign when subtracting polynomials?+

Subtracting a polynomial means adding its opposite, and the opposite of a sum is the sum of the opposites: \(-(x^{2} - 5x + 2) = -x^{2} + 5x - 2\). Flipping only the first term's sign and leaving the rest alone is the single most common polynomial mistake.

Is x squared times x cubed equal to x to the sixth or x to the fifth?+

\(x^{5}\). Multiplying same-base powers adds the exponents — the Product Rule from Integer Exponents: \(x^{2} \cdot x^{3} = x^{2+3} = x^{5}\). \(x^{6}\) would be the result of \(\left(x^{2}\right)^{3}\) instead, which multiplies the exponents rather than adding them.

What comes after polynomials in this chapter?+

Factoring — reversing multiplication to rewrite a polynomial as a product — and polynomial long division, which extends the division ideas from this lesson to dividing by another polynomial instead of a single monomial.

Related lessons