Introduction

When you first learn factoring in math class, a question naturally comes up.

"Why would I take a perfectly good expanded expression and bundle it back up? If anything, it looks more complicated."

That question is completely fair. Whether factoring is the "simpler form" flips depending on what you're trying to do. In some situations the expanded sum form is far shorter; in others, the bundled product form is.

What counts as "simple" flips with the situation

Let's write the same expression side by side in two forms.

$$x^2 - 9 \qquad \longleftrightarrow \qquad (x+3)(x-3)$$

The left side is the sum form (expanded form); the right side is the product form (factored form).

When adding or subtracting — if you need to add two expressions together:

$$(x^2 - 9) + (x^2 - 4) = 2x^2 - 13$$

With expanded forms, you just add up the terms of the same degree (like terms) and you're done. With factored forms, on the other hand, \((x+3)(x-3)+(x+2)(x-2)\) forces you to expand the parentheses first, so it's actually more of a hassle.

When finding roots (solutions) — if you need to solve \(x^2 - 9 = 0\):

$$x^2 - 9 = 0 \;\Rightarrow\; x^2 = 9 \;\Rightarrow\; \cdots$$

extra steps are needed. But if you start from the factored form:

$$(x+3)(x-3) = 0$$

for a product to equal zero, one of the factors (the expressions inside the parentheses) must be zero. So \(x = -3\) or \(x = 3\) drops out immediately.

In a word: the sum form is handy for adding and subtracting, and the product form is handy for dividing or finding roots. Factoring is a "preemptive conversion for the moment when you need to multiply, divide, or find roots."

The first formula: the product of a sum and a difference — obvious once you see the area

Here's one key formula:

$$a^2 - b^2 = (a+b)(a-b)$$

Here \(a\) and \(b\) are any numbers or expressions. Why this identity holds becomes instantly convincing once you look at an area picture.

Take a square with side \(a\) (area \(a^2\)), and cut a square with side \(b\) (area \(b^2\)) out of one corner. The area of the remaining L-shape is exactly \(a^2 - b^2\).

If you trace this L-shape with your eyes, you can see two rectangular pieces.

  • Bottom piece: width \(a\), height \((a-b)\) — area \(a(a-b)\)
  • Top piece: width \((a-b)\), height \(b\) — area \((a-b)b\)

Rotate the top piece by 90° and attach it to the right of the bottom piece, and you complete a rectangle.

  • Width: \(a + b\)
  • Height: \(a - b\)
  • Area: \((a+b)(a-b)\)

Since we only cut and reattached the shape, the area is unchanged, so:

$$a^2 - b^2 = (a+b)(a-b) \checkmark$$

Let's check it with numbers too. With \(a = 7,; b = 3\):

$$7^2 - 3^2 = 49 - 9 = 40, \qquad (7+3)(7-3) = 10 \times 4 = 40 \checkmark$$

This formula is also useful for speeding up mental arithmetic. If you have to compute \(51 \times 49\) on the spot:

$$51 \times 49 = (50+1)(50-1) = 50^2 - 1^2 = 2500 - 1 = 2499$$

No paper-and-pencil work needed.

The second formula: factoring a quadratic — match the sum and the product

The second key formula:

$$x^2 + (a+b)x + ab = (x+a)(x+b)$$

Expand the right side directly and it immediately reveals why this works.

$$(x+a)(x+b) = x^2 + bx + ax + ab = x^2 + (a+b)x + ab$$

The core pattern in two lines:

  • The coefficient of \(x\) (the middle term) = the sum \((a+b)\) of the two constants \(a\) and \(b\)
  • The constant term (the last term) = the product \(ab\) of the two constants \(a\) and \(b\)

So to factor \(x^2 + 5x + 6\):

Find two numbers whose sum is \(5\) and whose product is \(6\).

Since \(2 + 3 = 5\) and \(2 \times 3 = 6\), the two numbers are \(2\) and \(3\).

$$x^2 + 5x + 6 = (x+2)(x+3) \checkmark$$

This method is sometimes called the cross-multiplication (X) method. From \((x+2)\) and \((x+3)\), the two diagonal terms \(2x\) and \(3x\) combine to form the middle term \(5x\), and that structure is reminiscent of a cross.

The shared purpose of both formulas

Formula nameWhat it does
Product of a sum and differenceBundles a "difference of squares" into a "sum times difference" form
Factoring a quadraticFinds two numbers — middle term = their sum, constant term = their product — and bundles them up

Both have the same goal: to turn a sum form into a product form, so that in situations that call for multiplication — dividing, finding roots, canceling fractions — the expression becomes short and easy to handle.

Factoring — situation comparison and the area-preserving puzzle
Use the toggle at the top to compare which form gets shorter when adding and when finding roots. With the sliders below, change a and b to watch the area-preserving process in which the L-shape gets rearranged into a rectangle.

Related readingWhy Are Primes the 'Atoms of Numbers'? (the story that connects to prime factorization, the root of factoring) · Why Did Numbers Keep Expanding from the Naturals to the Complexes? (how imaginary numbers were born from trying to solve the quadratic \(x^2 + 1 = 0\))