Operations with Polynomials

Algebra 2Module 4: Polynomials and Polynomial FunctionsAdvanced Math

Learn operations with polynomials step by step with worked examples you can follow. Then practise with 22 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.

Add, subtract, and multiply polynomials — including the FOIL method and distributing across multiple terms

Key Concepts

🔑 What Is a Polynomial?

A polynomial is a monomial or the sum of monomials. Each term must have a non-negative integer exponent.

✓ Polynomial: 5x³ − 2x + 7
✓ Polynomial: 3a⁴b + 9 (degree = 5)
✗ NOT polynomial: x⁻² + 3 (negative exponent)
✗ NOT polynomial: ∛x − 1 (fractional exponent 1/3)

Binomial = sum of 2 monomials    Trinomial = sum of 3 monomials

ℹ Closure Property: The sum, difference, or product of two polynomials is always a polynomial. The set of polynomials is closed under +, −, and ×.

🔑 Adding & Subtracting Polynomials

Combine like terms — terms with the same variable raised to the same power.

Method 1: Horizontal

(3x² − 2x + 1) + (x² + 5x − 3)
= (3x²+x²) + (−2x+5x) + (1−3)
= 4x² + 3x − 2

Method 2: Vertical (align)

  3x² − 2x + 1
(+) x² + 5x − 3
──────────────
  4x² + 3x − 2
⚠ Subtracting: Distribute the negative sign to ALL terms of the subtracted polynomial before combining. (a − b) = a + (−b)

🔑 Multiplying Polynomials

Use the Distributive Property: multiply each term in one polynomial by each term in the other.

ℹ FOIL Method (for two binomials only):
(a + b)(c + d) = First + Outer + Inner + Last
(2x + 4)(x − 3)
First
2x · x = 2x²
Outer
2x · (−3) = −6x
Inner
4 · x = 4x
Last
4 · (−3) = −12
= 2x² − 6x + 4x − 12 = 2x² − 2x − 12

For polynomials with more than 2 terms, use the distributive property repeated times.

Key Figures

Figure 1 — FOIL is really just an area grid
× x −3 2x 4 2x² −6x 4x −12 add the four cells: 2x² − 6x + 4x − 12 = 2x² − 2x − 12
Multiplying (2x + 4)(x − 3) means finding the area of a rectangle whose sides are those two expressions. Split each side into its terms and you get four smaller rectangles — and those four areas are exactly First, Outer, Inner, Last. The grid is worth learning because nothing can be left out: every row must meet every column.
Figure 2 — the grid keeps working when FOIL stops
× x² 2x −1 x 3 x³ 2x² −x 3x² 6x −3 add all six cells: x³ + 5x² + 5x − 3
FOIL is a four-letter word, so it only ever handles two-term × two-term. Here (x² + 2x − 1)(x + 3) needs six products, and the grid produces all six without you having to remember a mnemonic. Add along the diagonals and like terms are already grouped for you: 2x² + 3x² = 5x², and −x + 6x = 5x.

Worked Examples

Determine whether each is a polynomial. If it is, state the degree.
a. x⁶ + ∛x − 4∛x = x^(1/3) → NOT a polynomial
b. 5a⁴b + 3a²b⁷ − 9IS a polynomial — degrees: 5, 9, 0 → degree 9
c. (2/3)x⁻⁵ − 6x⁻³ − xNegative exponents → NOT a polynomial
Only (b) is a polynomial: degree 9
Find (6x³ + 7x² − 2x + 5) + (x³ − 4x² − 8x + 1).

Method 1: Horizontal

(6x³ + x³) + (7x² − 4x²) + (−2x − 8x) + (5 + 1)

= 7x³ + 3x² − 10x + 6

Method 2: Vertical

  6x³ + 7x² − 2x + 5
(+) x³ − 4x² − 8x + 1
──────────────────────
  7x³ + 3x² − 10x + 6
7x³ + 3x² − 10x + 6
Find (2x⁵ + 11x⁴ + 7x − 8) − (5x⁴ + 9x³ − 3x + 4).
= 2x⁵ + 11x⁴ + 7x − 8 − 5x⁴ − 9x³ + 3x − 4Distribute −1
= 2x⁵ + (11x⁴ − 5x⁴) + (−9x³) + (7x + 3x) + (−8 − 4)Group like terms
= 2x⁵ + 6x⁴ − 9x³ + 10x − 12Combine
⚠ Key: Always add a zero placeholder for missing degrees when using vertical method (e.g., 0x²).
2x⁵ + 6x⁴ − 9x³ + 10x − 12
Find 2x(4x³ + 5x² − x − 7).
2x · 4x³ = 8x⁴Distribute term 1
2x · 5x² = 10x³Distribute term 2
2x · (−x) = −2x²Distribute term 3
2x · (−7) = −14xDistribute term 4
8x⁴ + 10x³ − 2x² − 14x
Find (3a + 5)(a − 7).
FIRST: 3a · a = 3a²
OUTER: 3a · (−7) = −21a
INNER: 5 · a = 5a
LAST: 5 · (−7) = −35
= 3a² + (−21a + 5a) − 35Combine like terms
= 3a² − 16a − 35Simplify
(3a + 5)(a − 7) = 3a² − 16a − 35
Find (3a + 5)(a − 7)(4a + 1). Multiply the first two, then by the third.
Step 1: (3a + 5)(a − 7) = 3a² − 16a − 35FOIL first two (Example 5)
Step 2: (3a² − 16a − 35)(4a + 1)Distribute
= 3a² · 4a + 3a² · 1 + (−16a) · 4a + (−16a) · 1 + (−35) · 4a + (−35) · 1Distribute each term
= 12a³ + 3a² − 64a² − 16a − 140a − 35Multiply
= 12a³ + (3 − 64)a² + (−16 − 140)a − 35Group like terms
= 12a³ − 61a² − 156a − 35Combine
12a³ − 61a² − 156a − 35

Polynomial Operations Calculator

Enter coefficients for two polynomials (up to degree 3), choose an operation, and see step-by-step work.

P(x) =
Q(x) =

Try It Yourself

Work each one out, then reveal. Problems 2 and 5 are where signs go wrong.

Problem 1

Simplify (4x² − 3x + 7) + (2x² + 5x − 9).
1(4x² + 2x²) + (−3x + 5x) + (7 − 9)Group like terms — same variable, same power
26x² + 2x − 2Combine each group
6x² + 2x − 2
Check with a number: at x = 1 the two originals give 8 and −2, totalling 6; the answer gives 6 + 2 − 2 = 6 ✓. Substituting a value is a fast way to catch a slip.

Problem 2

Simplify (5x² − 2x + 1) − (3x² + 4x − 6).
15x² − 2x + 1 − 3x² − 4x + 6Distribute the minus sign to all three terms
22x² − 6x + 7Combine like terms
2x² − 6x + 7
The subtraction trap: changing only the first sign, giving 2x² + 2x − 5. The minus applies to every term inside the bracket, so −(−6) becomes +6.

Problem 3

Multiply (3x − 5)(2x + 7).
13x · 2x = 6x²First
23x · 7 = 21xOuter
3−5 · 2x = −10xInner
4−5 · 7 = −35Last
6x² + 11x − 35
Check at x = 1: (3 − 5)(2 + 7) = (−2)(9) = −18, and 6 + 11 − 35 = −18 ✓

Problem 4

Multiply (x + 4)(x² − 3x + 2) using a grid.
1x · (x², −3x, 2) = x³, −3x², 2xFirst row of the grid
24 · (x², −3x, 2) = 4x², −12x, 8Second row
3x³ + (−3x² + 4x²) + (2x − 12x) + 8Collect like terms
x³ + x² − 10x + 8
Check at x = 1: (5)(1 − 3 + 2) = (5)(0) = 0, and 1 + 1 − 10 + 8 = 0 ✓. Six products, six cells — the grid guarantees none were skipped.

Problem 5

Expand (2x − 3)².
1(2x − 3)(2x − 3)A square means two identical factors — write them out
24x² − 6x − 6x + 9Four products; note (−3)(−3) = +9
4x² − 12x + 9
The most common error in all of algebra: writing (2x − 3)² = 4x² + 9. Squaring does not distribute across a sum or difference — the middle term −12x is real. Check at x = 1: (−1)² = 1, and 4 − 12 + 9 = 1 ✓, whereas 4 + 9 = 13 ✗

Problem 6

A rectangle is (x + 5) long and (2x − 1) wide. Write its area and its perimeter as polynomials in standard form.
1A = (x + 5)(2x − 1)Area is length × width
2A = 2x² − x + 10x − 5 = 2x² + 9x − 5Multiply out and collect
3P = 2(x + 5) + 2(2x − 1)Perimeter is twice each side
4P = 2x + 10 + 4x − 2 = 6x + 8Distribute and collect
Area = 2x² + 9x − 5 and Perimeter = 6x + 8
Degree tells you they are different animals: area multiplies two lengths so it is degree 2, while perimeter only adds lengths so it stays degree 1. If your area came out linear, you added when you should have multiplied.

📝 Practice Quiz — 15 Questions

Lesson 4-3: Operations with Polynomials

📝 Test your understanding