Factorising quadratic equations
How to factorise a quadratic when the leading coefficient is 1, how the AC method handles the case when it is not, and a short proof of why splitting the middle term always works.
TODO — replace with Arosh’s own write-up. The Maths below is correct; the words are a starting point.
Factorising a quadratic means writing it as two brackets multiplied together. It matters because a product is zero exactly when one of its factors is zero — so once you have the brackets, the solutions fall straight out.
The easy case:
When the coefficient of is 1, you are looking for two numbers that multiply to and add to .
Take . Which pairs multiply to 12? , , . Of those, . So
The reason is just the expansion in reverse:
so has to be and has to be .
Watch the signs. If is negative the two numbers have opposite signs; if is positive they share the sign of . For you want two negatives: and , giving .
The harder case:
When , guessing gets slow. The AC method — also called splitting the middle term — removes the guessing.
Factorise .
- Multiply by : .
- Find two numbers that multiply to and add to . They are and .
- Split the middle term using them:
- Factorise the two halves separately:
- The bracket is now common to both, so take it out:
Expanding to check: . Correct.
Why splitting the middle term always works
It is not a coincidence that the two halves share a bracket. Suppose the quadratic does factorise, as
Expanding the right-hand side gives
so , and .
Now take the two parts of the middle coefficient and multiply them:
So and are two numbers whose product is and whose sum is — precisely what step 2 asks you to find. Finding them is not a trick that happens to work; it is finding the two halves of the middle term directly.
When it does not factorise
Not every quadratic splits into brackets with whole numbers. The test is the discriminant:
- If is a perfect square, the quadratic factorises over the integers.
- If but is not a perfect square, there are two real roots, but they are irrational — use the formula rather than hunting for factors.
- If there are no real roots at all, and no real factorisation.
For : . A perfect square, which is why the factors came out whole.
Completing the square
When factorising fails, completing the square always works, and it is where the quadratic formula comes from:
Setting that to zero and rearranging gives
Worth deriving once yourself rather than only memorising — the above is sitting right there under the square root, which is exactly why it decides how many roots there are.
- algebra
- quadratics
- factorising