You know that . Easy. But if someone hands you and asks "what two things multiply to make this?", where do you even start?
That's factoring. And once you see it as multiplication in reverse, the whole thing stops feeling like a bag of memorized tricks.
What does "factoring" actually mean?
When you multiply , you get . Factoring just undoes that. You start with and go looking for the two simpler pieces that were multiplied together to build it.
Think of it like a rectangle. If a rectangle has area , factoring is the question "what are the side lengths?" That's not just an analogy, it's literally true, and it's the easiest way to see why factoring works instead of just memorizing it.
Multiplying (x + a)(x + b) is just the area of a rectangle with those side lengths. Drag a and b and watch the four pieces become the expanded trinomial.
Drag and . Notice the rectangle always splits into exactly four pieces: one square, two strips worth and , and one little corner worth . Add them up and you get , every single time.
That's the whole secret of factoring a trinomial. The middle coefficient is always , and the constant is always . Once you know that, factoring becomes a search: given the middle number and the constant, which two numbers made them?
The easy case first: pulling out a common factor
Before you go hunting for two numbers, always check for one thing first: do all the terms already share a factor?
Take . Both terms are divisible by , so we can pull it out:
That's it. No searching, no trial and error, just the distributive property run backwards. This is called factoring out the greatest common factor, or GCF, and it's always worth checking first because it makes everything after it smaller and simpler.
Trinomials: the sum-product trick
Now for the interesting part. Given , we know from the rectangle that we need two numbers, call them and , where:
Once you find them, factors as . No formula does this for you, it's a search. But it's a fast one, because only has so many factor pairs.
To factor x² + 7x + 12, we need two numbers that add to 7 and multiply to 12. Slide p, we compute q automatically, watch the product chase the target.
Slide around. Watch update itself to keep the sum at 7, but the product only lands on 12 at one specific spot. That's the moment you've found your factorization.
For : the numbers are 3 and 4, since and . So:
And hey, notice that negative numbers work the same way. For , you need two numbers adding to and multiplying to ... that's and , giving .
A shortcut worth memorizing: difference of squares
There's one pattern that shows up so often it's worth spotting on sight. Look at . There's no middle term, which is really just saying .
In the sum-product framework, that means we need two numbers that add to 0 and multiply to . Those numbers are 3 and , since and . So:
More generally, any time you see "something squared minus something else squared", it factors instantly:
No searching required for this one. Just recognize the shape and write down the answer.
When the leading coefficient isn't 1
Everything so far assumed the had no coefficient in front of it. But what about ? The sum-product trick doesn't directly apply anymore... or does it?
Here's the trick: multiply the leading coefficient by the constant, . Now find two numbers that multiply to 18 and add to 11. That's 2 and 9. Use those to split the middle term into two pieces, then factor by grouping.
When the leading coefficient isn't 1, factoring by grouping splits the middle term into two pieces that share hidden common factors. Press play to watch it unfold.
Press play and watch the algebra unfold, one legal move at a time. Every single step is worth exactly the same thing when you plug in a number, because none of these moves changed the polynomial. They just changed how it's written.
Why bother? Because factors are roots
Here's where it all pays off. If is a factor of a polynomial, then makes that polynomial equal zero. That's because anything times zero is zero, so the whole product collapses the instant hits . This is called the zero product property, and it's the reason factoring matters beyond algebra homework: it's how you solve equations.
Every root is a factor in disguise. Drag either marker along the x-axis and watch the parabola, and its factored form, update to match.
Drag either root marker. The parabola's x-intercepts snap exactly to and , because is zero exactly when or , by construction. The expanded form on top updates too, so you can see the roots and the coefficients are just two views of the same information.
This is why, once you factor a polynomial and set it to zero, you can read off every solution directly. means or . No quadratic formula needed.
The short version
Factoring is multiplication in reverse. A trinomial's middle coefficient is always the sum of two numbers, and its constant is always their product, so factoring is a search for that pair. Always check for a common factor first. Recognize difference of squares on sight. When the leading coefficient isn't 1, multiply it into the constant before searching, then split and group. And underneath all of it, a factor is a root in disguise, which is the entire reason factoring is worth learning in the first place.
All visualizations are interactive React components running entirely in your browser. No libraries beyond React.