← All MathIsland labs
a·bFactoring Lab

What keeps your card number safe is that big numbers are hard to factor.

Expanding (x+2)(x+3) is mechanical. But can you fold x²+5x+6 back the other way?

Folding an expanded expression back into multiplication blocks — factoring.

Experiment

Hands-on experiment

Predict first — x²+5x+6 = (x+□)(x+□). Which two numbers fill the blanks?

Puzzle 1

Puzzle: fold x² + 5x + 6

Pick the pair that multiplies to 6 and adds to 5. We'll expand to check.

Read more — why it exists · insights · common mistakes · formulasExpand ▾

Why

Why does this exist?

Expanding hides information. x²+5x+6 shows you nothing, but (x+2)(x+3) instantly shows when it equals zero (x=−2, −3).

The core weapon of equation-solving comes from here: if A×B=0 then A=0 or B=0. The moment you split into a product, one quadratic equation becomes two linear ones.

Just as numbers decompose into primes, expressions decompose into factors — precisely the spirit of prime factorization. Decompose and the structure shows; see the structure and the problem solves.

Insight

Insights from the video

Factoring is prime factorization for expressions.

As 60 = 2²×3×5 lets you read 60's properties, x²+5x+6 = (x+2)(x+3) lets you read the expression's properties — roots, signs, x-intercepts. Decomposition is understanding.

You don't memorize product formulas — you re-derive them.

(a+b)(a−b) = a²−b² falls out of one area picture. A formula whose derivation you know can be reconstructed after you forget it — that's what it means to own a formula.

Misconception

Common misconceptions

Expanding and factoring are two separate skills.

They are one identity read in two directions. In (x+2)(x+3) = x²+5x+6, left-to-right is expanding, right-to-left is factoring. Expanding is mechanical; factoring is a puzzle — same equation, different difficulty per direction.

Every quadratic factors.

Over the integers (rationals), many don't — x²+x+1 for one. Whether something factors is itself information; the discriminant is the tool that tells you.

Formula

Writing it as math

The tools from the pair hunt and the mental-math trick, in mathematical language.

The basic form

Find two numbers that multiply to the constant and add to the x-coefficient, and you're done — the true identity of the pair hunt.

Difference of squares

A difference of squares splits into sum × difference. The principle behind 97×103 = (100−3)(100+3) = 10000−9.

Perfect square

The key check: is the middle term 'twice the product'? Completing the square — and the quadratic formula — starts here.

In Real Life

Where you meet it in real life

Solving quadratic equations

x²+5x+6=0 → (x+2)(x+3)=0 → x=−2 or −3. A product is zero only when a factor is — factoring is the master key to equations.

Fast mental arithmetic

98² = (100−2)² = 10000−400+4 = 9604. To someone who owns the product formulas, any multiplication near a round number is mental math.

Cryptography and factoring

RSA's security rests on 'factoring large numbers is hard'. Factoring expressions and factoring numbers sharing a word is no coincidence.

Engineering housekeeping

Control theory's transfer functions and signal-processing filters factor polynomials to read a system's behavior off the positions of its roots (poles and zeros).

Try Yourself

Test yourself

Q1Factor x² + 7x + 12.Show answer ▾

Two numbers multiplying to 12 and adding to 7: that's 3 and 4. So (x+3)(x+4). Expand to check: x²+4x+3x+12 = x²+7x+12 — confirmed.

Q2Can you compute 51² − 49² in your head?Show answer ▾

Difference of squares: 51²−49² = (51+49)(51−49) = 100×2 = 200. One multiplication instead of two squarings and a subtraction — the privilege of seeing structure.

Q3Why doesn't x² + x + 1 factor as (x+a)(x+b)?Show answer ▾

There are no two rationals multiplying to 1 and adding to 1. The discriminant b²−4ac = 1−4 = −3 < 0 — it doesn't factor over the reals either, and this is the doorway where imaginary numbers become necessary.

Try answering yourself before revealing it — getting it wrong is where learning starts.

Connection

Concepts connect

Previous concept

x=?

Equations

Factoring is the most powerful weapon for solving equations — meet the problem first.

← Equations lab

Leads to next

Quadratic Functions

The roots you found by factoring are the two points where the parabola crosses the x-axis — formula meets picture.

Go to the Quadratic Functions lab →

Related

Labs worth exploring together

Related lab

p

Prime Numbers

Factoring numbers and factoring expressions share one spirit — decompose and the structure shows.

Go to the Prime Numbers lab →

Related lab

Quadratic Functions

The two roots of (x+2)(x+3) appear as the parabola's x-intercepts.

Go to the Quadratic Functions lab →