MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Upper Secondary
MathematicsUpper Secondary

Solving quadratics by factorising

U2 — Algebra Advancing › U2.2 — Quadratic EquationsLecture 1 of 4~1980 words

What a zero tells you

I am thinking of two numbers. When I multiply them, I get 12. What are they? You cannot say. They could be 3 and 4, or 2 and 6, or 24 and one half, or −1 and −12. There are endless pairs.

Now I am thinking of two different numbers, and when I multiply them, I get 0. What do you know? Quite a lot. At least one of them must be 0. There is no other way to make a product of zero. That small fact, which sounds almost too obvious to say, is the whole key to this lecture.

The last unit gave you three ways to rewrite a quadratic: factorising into two brackets, the difference of two squares, and completing the square. It ended with a hint: each bracket is zero for one value of . This unit turns those rewriting tools into equation-solving tools, starting with factorising.

The zero product property

The zero product property

If , then or (or both).

Why is it true? Suppose is not zero. Then you are allowed to divide both sides of by , and you get . So if one of them is not zero, the other one has to be. Nothing like this works for any other number. If , knowing is not zero only tells you , which could be anything.

Here is how it solves an equation. Take . Factorise the left side, as in the lecture on factorising quadratics: you need two numbers with product 6 and sum 5, which are 2 and 3.

Now read it as , with and . One of the brackets must be zero. So either , which gives , or , which gives . Two small linear equations replace one quadratic. That is it. That is the whole idea.

Check both answers in the original equation. For : . For : . Both work. The solutions of an equation are also called its roots.

Solving a quadratic by factorising

1. Rearrange so that one side is 0.

2. Factorise the other side.

3. Set each factor equal to 0.

4. Solve each small equation.

5. Check each answer in the original equation.

Why the zero matters so much

Step 1 is the step people skip, so look at what goes wrong without it.

Stop and think

A student solves like this: " or , so or ." Check the answers. What went wrong?

Show the answer

Try : , not 6. Try : , not 6. Both are wrong. A product of 6 does not mean one factor is 6; it could be 2 × 3, or 1 × 6, or 12 × 0.5. Only a product of 0 forces a factor to be 0. The correct method rearranges first. Expand: , so . Factorise: . So or . Check : . Check : . Both work.

Roots on a graph

The graph of shows the same story. The equation asks: where is zero? That is where the curve meets the -axis. So the roots of the equation are where the graph crosses the axis.

−3 −2 y = (x + 2)(x + 3): crosses twice 3 y = (x − 3)²: touches once
Left: y = (x + 2)(x + 3) crosses the x-axis at x = −3 and x = −2, the two roots of (x + 2)(x + 3) = 0. Right: y = (x − 3)² only touches the x-axis, at x = 3, because both brackets are zero at the same place. That is a repeated root.

Each bracket is zero at exactly one place, . So the brackets and the crossing points match one for one. Choose two roots below and watch the equation and the graph that go with them.

Explore — from roots to equation to graph

Choose two roots, r and s. The equation (x − r)(x − s) = 0 has exactly these solutions. Watch the expanded equation and where the graph meets the x-axis. Then make r and s equal.

Four pairs of roots with their equations. In the last row the root is repeated, so the graph touches the x-axis instead of crossing it.

RootsFactorisedExpanded
−2, −3(x + 2)(x + 3) = 0x² + 5x + 6 = 0
−2, 5(x + 2)(x − 5) = 0x² − 3x − 10 = 0
0, 7x(x − 7) = 0x² − 7x = 0
3 (twice)(x − 3)² = 0x² − 6x + 9 = 0

Notice the pattern in the expanded equations. For roots and , the equation is . The middle number is minus the sum of the roots, and the last number is their product. That is exactly why the factorising method looks for a pair with a given sum and product.

Zero, one or two roots

The explorer always gives at least one root, because you chose the roots first. But some quadratic equations have none. How many roots can a quadratic equation have?

Stop and think

Solve .

Show the answer

There is no real solution. is never negative, so is always at least 4 and can never be 0. The difference-of-two-squares lecture showed the same thing from the other side: a sum of two squares does not factorise into brackets with real numbers. On a graph, sits entirely above the -axis and never meets it.

So a quadratic equation can have two roots (the graph crosses the axis twice), one repeated root (it touches once), or no real roots (it misses the axis). It can never have three: a quadratic factorises into at most two brackets, and each bracket gives one root. Can you tell which case you are in before you start? Yes, and a later lecture in this unit, on the discriminant, shows how with a single calculation.

Worked examples

Worked Example 1 — Rearrange first

Solve .

The equation does not equal zero yet, so move every term to the left: . Now find two numbers with product −10 and sum −3. They are 2 and −5.

So or . Check in the original equation. For : . For : . Both work.

Worked Example 2 — A number in front of x²

Solve .

Use the ac method from the factorising lecture. Here . You need two numbers with product −12 and sum −1: they are 3 and −4. Split the middle term and group:

So , giving , or , giving . When the coefficient is not 1, the roots are often fractions. Check : .

Worked Example 3 — A repeated root

Solve .

Two numbers with product 9 and sum −6 are −3 and −3. So , which is .

Both brackets give . That is not two solutions that happen to be equal. There is only one solution, , and it is called a repeated root (or double root). On the graph, the curve touches the -axis at 3 and turns back without crossing it, as in the figure above. You can also see it with completing the square: is already , whose smallest value is 0.

Worked Example 4 — No constant term, and no x term

Solve (a) and (b) .

(a) Rearrange: . The common factor is : . So or . Do not divide both sides by to get . That throws away the root , because dividing by is not allowed when could be 0.

(b) This is a difference of two squares: , so or , written . Taking the square root of gives the same answer, as long as you remember both signs.

Worked Example 5 — A rectangle

A rectangle is 3 cm longer than it is wide. Its area is 40 cm². Find its width.

Let the width be cm. The length is , so . Rearrange: . Two numbers with product −40 and sum 3 are 8 and −5:

So or . A width cannot be negative, so the width is 5 cm and the length is 8 cm. Check: . The algebra gives every solution of the equation; the context decides which ones make sense.

Now look at a student's working for another equation with no constant term.

Spot the error — solving 3x² = 12x

One line of this working is wrong. Tap the line you think is wrong. Every line has an explanation.

The working, with the mistake marked and corrected:

  • Line 1. 3x² = 12x. (The equation.)
  • Line 2. Divide both sides by 3x: x = 4. The mistake: dividing by x is not allowed when x might be 0, and it loses the root x = 0.
  • Line 3. Check: 3 × 16 = 48 and 12 × 4 = 48. (True, but it only checks the root that was found.)
  • Line 4. So the only solution is x = 4. (Wrong. The correct working is 3x² − 12x = 0, so 3x(x − 4) = 0, giving x = 0 or x = 4.)

Three classic mistakes

Trap 1 — Splitting brackets that do not equal zero

does not mean or . The zero product property works only for a product equal to 0. Rearrange so one side is 0 before you split anything.

Trap 2 — Dividing by x

From , dividing by gives only and loses . Take out as a common factor instead: .

Trap 3 — Wrong signs in the answers

gives and , not and . Each root is the value that makes its bracket zero, so the sign flips. Substituting each answer back catches this at once.

Try it yourself

Solve each equation and check every answer by substituting it back.

  1. Solve .

    Hint 1

    Find two numbers with product −12 and sum −1.

    Hint 2

    They are −4 and 3.

    Full answer

    , so or . Check: and .

  2. Solve .

    Hint 1

    . Find two numbers with product 6 and sum 7.

    Hint 2

    Split into and group.

    Full answer

    . So or . Check : .

  3. Solve (a) and (b) .

    Hint 1

    (a) Rearrange and take out the common factor .

    Hint 2

    (b) and .

    Full answer

    (a) , so , giving or . (b) , so or .

  4. Work backwards. Find a quadratic equation with whole-number coefficients whose solutions are and .

    Hint 1

    comes from the bracket . Which bracket gives ?

    Hint 2

    Expand .

    Full answer

    , which expands to . Check : . Any multiple, such as , has the same solutions.

The bigger idea

Zero is special: a product is zero only when one of its factors is zero, and no other number gives you that grip. That is why every method for solving equations in this unit, and many beyond it, works by getting a 0 on one side. The idea scales up: a cubic that factorises into three brackets has up to three roots, one from each bracket.

But factorising only works when the quadratic factorises neatly. The completing-the-square lecture showed that needs surds, and no whole-number pair will find them. The next lecture builds a formula that works for every quadratic, factorisable or not.

Key concepts in this lesson