Skip to the page
Home Campus
Start free

Solving Quadratic Equations by Factorisation

What a quadratic equation is, and how to solve one by factorising it: when a product of factors is 00, one of the factors must be 00.

Before you start

  • In chapter 3 you factorised x2+bx+cx^2 + bx + c by finding two numbers whose product is cc and whose sum is bb: x2+5x+6=(x+2)(x+3),x^2 + 5x + 6 = (x + 2)(x + 3)\text{,} because 2×3=62 \times 3 = 6 and 2+3=52 + 3 = 5.
  • You also took out a common factor: x2−5x=x(x−5)x^2 - 5x = x(x - 5).
  • In Secondary 1 you solved linear equations such as x+3=0x + 3 = 0 (so x=−3x = -3) and 2x−1=02x - 1 = 0 (so x=12x = \frac{1}{2}). Every quadratic equation in this lesson ends as two equations like these.

What Is a Quadratic Equation?

In a linear equation such as 2x+3=02x + 3 = 0, the highest power of xx is 11. In a quadratic equation the highest power of xx is 22: there is an x2x^2 term, and there may also be an xx term and a number.

A quadratic equation in one variable

A quadratic equation in xx is an equation that, after expanding and collecting terms, can be written as

ax2+bx+c=0ax^2 + bx + c = 0, where aa, bb and cc are numbers and a≠0a \neq 0.

aa is the coefficient of x2x^2, bb is the coefficient of xx and cc is the constant term. The sign in front of a term belongs to its coefficient: in 5x2−8x+3=05x^2 - 8x + 3 = 0, b=−8b = -8.

bb or cc (or both) may be 00. aa may not: with no x2x^2 term the equation is linear.

Quadratic or not?

Quadratic: x2+5x+6=0x^2 + 5x + 6 = 0, 2x2−3x+1=02x^2 - 3x + 1 = 0, x2−4=0x^2 - 4 = 0 (here b=0b = 0), 3x2+7x=03x^2 + 7x = 0 (here c=0c = 0).

Not quadratic: 2x+3=02x + 3 = 0 (the highest power of xx is 11); x3−2x=0x^3 - 2x = 0 (the highest power is 33); x2+y=3x^2 + y = 3 (two variables, not one).

Always collect the terms before you decide. An equation can show x2x^2 and still be linear, or show no x2x^2 at all and still be quadratic.

Example 1: Collect the terms first

Which of these are quadratic equations in xx?
(a) x2+2x=x2+5x^2 + 2x = x^2 + 5
(b) x(x+3)=10x(x + 3) = 10
(c) 4−x2=04 - x^2 = 0

Solution

(a) Subtract x2x^2 from both sides: 2x=52x = 5. The x2x^2 terms cancel, so this is a linear equation, not a quadratic one.

(b) Expand the bracket: x2+3x=10x^2 + 3x = 10. Subtract 1010 from both sides: x2+3x−10=0x^2 + 3x - 10 = 0. This is quadratic, with a=1a = 1, b=3b = 3 and c=−10c = -10.

(c) Write the terms in order of power: −x2+4=0-x^2 + 4 = 0. This is quadratic, with a=−1a = -1, b=0b = 0 and c=4c = 4.

(b) and (c) are quadratic equations; (a) is linear, since it becomes 2x=52x = 5.

Example 2: Naming aa, bb and cc

State the values of aa, bb and cc in
(a) 5x2−8x+3=05x^2 - 8x + 3 = 0
(b) x2−4=0x^2 - 4 = 0
(c) 3x2+7x=03x^2 + 7x = 0.

Solution

(a) Compare with ax2+bx+c=0ax^2 + bx + c = 0. The coefficient of x2x^2 is 55; the term in xx is −8x-8x, so its coefficient is −8-8; the constant term is 33.

(b) x2x^2 is 1x21x^2, so a=1a = 1. There is no xx term, so b=0b = 0. The constant term is −4-4.

(c) a=3a = 3 and b=7b = 7. There is no constant term, so c=0c = 0.

(a) a=5a = 5, b=−8b = -8, c=3c = 3
(b) a=1a = 1, b=0b = 0, c=−4c = -4
(c) a=3a = 3, b=7b = 7, c=0c = 0

When a Product Is Zero

Multiply any two numbers that are not zero: 3×4=123 \times 4 = 12, (−2)×5=−10(-2) \times 5 = -10, 12×6=3\frac{1}{2} \times 6 = 3. The answer is never 00. The only way to get a product of 00 is for one of the numbers to be 00: 0×7=00 \times 7 = 0 and 5×0=05 \times 0 = 0.

This is the key to the whole chapter. If an equation says that two factors multiply to give 00, then one of them must be 00, and each of those is a simple linear equation.

If a product is zero

If A×B=0A \times B = 0, then A=0A = 0 or B=0B = 0 (or both).

AA and BB may be numbers or expressions such as x+3x + 3 and x−5x - 5.

This is true only when the product is 00. If A×B=6A \times B = 6, neither AA nor BB has to be any particular number (2×32 \times 3, 1×61 \times 6, 12×1212 \times \frac{1}{2} …).

The values of xx that make an equation true are its solutions, also called its roots.

Example 3: An equation already in factors

Solve (x+3)(x−5)=0(x + 3)(x - 5) = 0.

Solution

The product of (x+3)(x + 3) and (x−5)(x - 5) is 00, so one of the factors is 00.

Either x+3=0x + 3 = 0, so x=−3x = -3 (subtract 33 from both sides),

or x−5=0x - 5 = 0, so x=5x = 5 (add 55 to both sides).

Check x=−3x = -3: (−3+3)(−3−5)=0×(−8)=0(-3 + 3)(-3 - 5) = 0 \times (-8) = 0 ✓

Check x=5x = 5: (5+3)(5−5)=8×0=0(5 + 3)(5 - 5) = 8 \times 0 = 0 ✓

x=−3x = -3 or x=5x = 5

Notice the signs: the factor x+3x + 3 gives the root −3-3, and the factor x−5x - 5 gives the root 55. Solve each factor; do not just copy its number.

Example 4: A lone xx, and a coefficient in a factor

Solve
(a) x(x+5)=0x(x + 5) = 0
(b) 3x(x−2)=03x(x - 2) = 0
(c) (2x−1)(x+3)=0(2x - 1)(x + 3) = 0.

Solution

(a) The two factors are xx and x+5x + 5. Either x=0x = 0, or x+5=0x + 5 = 0, so x=−5x = -5.

(b) The factors are 3x3x and x−2x - 2. Either 3x=03x = 0, so x=0x = 0 (divide both sides by 33), or x−2=0x - 2 = 0, so x=2x = 2.

(c) Either 2x−1=02x - 1 = 0, so 2x=12x = 1 and x=12x = \frac{1}{2}, or x+3=0x + 3 = 0, so x=−3x = -3.

Check (c), x=12x = \frac{1}{2}: (2×12−1)(12+3)=0×312=0(2 \times \frac{1}{2} - 1)(\frac{1}{2} + 3) = 0 \times 3\frac{1}{2} = 0 ✓. And x=−3x = -3: (−6−1)(−3+3)=(−7)×0=0(-6 - 1)(-3 + 3) = (-7) \times 0 = 0 ✓

(a) x=0x = 0 or x=−5x = -5
(b) x=0x = 0 or x=2x = 2
(c) x=12x = \frac{1}{2} or x=−3x = -3

In (a) and (b), x=0x = 0 is a root like any other. Do not leave it out.

Example 5: Two equal roots

Solve (x−2)2=0(x - 2)^2 = 0.

Solution

(x−2)2=0(x - 2)^2 = 0 means (x−2)(x−2)=0(x - 2)(x - 2) = 0.

Either x−2=0x - 2 = 0 or x−2=0x - 2 = 0. Both factors give the same equation, so x=2x = 2.

Check: (2−2)2=02=0(2 - 2)^2 = 0^2 = 0 ✓

x=2x = 2. The equation has two equal roots, and the answer is written once.

Solving x² + bx + c = 0 by Factorising

Most quadratic equations do not come in factors. Factorise the expression first; then the rule for a zero product finishes the work.

Solving a quadratic equation by factorisation

1. Make sure one side of the equation is 00. (Lesson 5.2 shows what to do when it is not.)

2. Factorise the other side completely, by any method from chapter 3.

3. Set each factor equal to 00.

4. Solve each of these linear equations.

5. Check each root by substituting it into the equation as it was first given.

The signs of the two numbers, for x² + bx + c

You need two numbers whose product is cc and whose sum is bb.

If cc is positive and bb is positive, both numbers are positive: x2+6x+8=(x+2)(x+4).x^2 + 6x + 8 = (x + 2)(x + 4)\text{.}

If cc is positive and bb is negative, both numbers are negative: x2−7x+12=(x−3)(x−4).x^2 - 7x + 12 = (x - 3)(x - 4)\text{.}

If cc is negative, the numbers have opposite signs, and the one with the larger size (ignoring its sign) has the same sign as bb: x2+x−12=(x+4)(x−3).x^2 + x - 12 = (x + 4)(x - 3)\text{.}

If b=0b = 0, the two numbers are equal in size, as in x2−4=(x+2)(x−2);x^2 - 4 = (x + 2)(x - 2)\text{;} lesson 5.3 solves these.

Example 6: bb and cc both positive

Solve x2+6x+8=0x^2 + 6x + 8 = 0.

Solution

One side is already 00. Find two numbers with product 88 and sum 66. Both are positive.

Factor pairs of 88: 1×81 \times 8 (sum 99), 2×42 \times 4 (sum 66) ✓.

(x+2)(x+4)=0(x + 2)(x + 4) = 0

Either x+2=0x + 2 = 0, so x=−2x = -2, or x+4=0x + 4 = 0, so x=−4x = -4.

Check x=−2x = -2: (−2)2+6(−2)+8=4−12+8=0(-2)^2 + 6(-2) + 8 = 4 - 12 + 8 = 0 ✓

Check x=−4x = -4: (−4)2+6(−4)+8=16−24+8=0(-4)^2 + 6(-4) + 8 = 16 - 24 + 8 = 0 ✓

x=−2x = -2 or x=−4x = -4

Example 7: bb negative, cc positive

Solve x2−7x+12=0x^2 - 7x + 12 = 0.

Solution

Two numbers with product 1212 and sum −7-7: the product is positive and the sum negative, so both are negative.

Negative pairs with product 1212: −1-1 and −12-12 (sum −13-13), −2-2 and −6-6 (sum −8-8), −3-3 and −4-4 (sum −7-7) ✓.

(x−3)(x−4)=0(x - 3)(x - 4) = 0

Either x−3=0x - 3 = 0, so x=3x = 3, or x−4=0x - 4 = 0, so x=4x = 4.

Check x=3x = 3: 9−21+12=09 - 21 + 12 = 0 ✓. Check x=4x = 4: 16−28+12=016 - 28 + 12 = 0 ✓

x=3x = 3 or x=4x = 4

Example 8: cc negative

Solve x2−2x−15=0x^2 - 2x - 15 = 0.

Solution

Two numbers with product −15-15 and sum −2-2. The product is negative, so they have opposite signs, and their sizes differ by 22.

Pairs of 1515: 11 and 1515 (they differ by 1414), 33 and 55 (they differ by 22) ✓. The larger, 55, takes the sign of bb, which is negative: the numbers are −5-5 and 33.

(x−5)(x+3)=0(x - 5)(x + 3) = 0

Either x−5=0x - 5 = 0, so x=5x = 5, or x+3=0x + 3 = 0, so x=−3x = -3.

Check x=5x = 5: 25−10−15=025 - 10 - 15 = 0 ✓. Check x=−3x = -3: 9+6−15=09 + 6 - 15 = 0 ✓

x=5x = 5 or x=−3x = -3

Equations with a Common Factor

When there is no constant term, as in x2−5x=0x^2 - 5x = 0, every term has the factor xx. Take it out, and the equation is in factors at once.

Example 9: Take out the common factor

Solve
(a) x2−5x=0x^2 - 5x = 0
(b) 3x2+12x=03x^2 + 12x = 0.

Solution

(a) Take out the common factor xx: x(x−5)=0x(x - 5) = 0. Either x=0x = 0, or x−5=0x - 5 = 0, so x=5x = 5.

Check x=0x = 0: 0−0=00 - 0 = 0 ✓. Check x=5x = 5: 25−25=025 - 25 = 0 ✓

(b) The highest common factor of 3x23x^2 and 12x12x is 3x3x: 3x(x+4)=03x(x + 4) = 0. Either 3x=03x = 0, so x=0x = 0, or x+4=0x + 4 = 0, so x=−4x = -4.

Check x=−4x = -4: 3(−4)2+12(−4)=48−48=03(-4)^2 + 12(-4) = 48 - 48 = 0 ✓

(a) x=0x = 0 or x=5x = 5
(b) x=0x = 0 or x=−4x = -4

Do not divide by x

It is tempting to divide x2−5x=0x^2 - 5x = 0 by xx and get x−5=0x - 5 = 0. That loses the root x=0x = 0, because dividing by xx is dividing by 00 when x=0x = 0. Take xx out as a factor instead.

Common Mistakes

  • Copying the numbers from the factors without solving: from (x+3)(x−5)=0(x + 3)(x - 5) = 0, writing x=3x = 3 or x=−5x = -5. Solve each factor: x+3=0x + 3 = 0 gives x=−3x = -3.
  • Forgetting to divide: from (2x−1)(x+3)=0(2x - 1)(x + 3) = 0, writing x=1x = 1. The factor 2x−1=02x - 1 = 0 gives x=12x = \frac{1}{2}.
  • Giving only one root. A quadratic equation usually has two roots; give both, unless they are equal.
  • Losing x=0x = 0 by dividing by xx. Take out xx as a common factor instead.
  • Factorising when the other side is not 00. The rule works only for a product equal to 00 (lesson 5.2).
  • Not checking. Substitute each root into the equation as it was given; a wrong sign shows up at once.

Practice Questions

Work each question on paper before you open its solution. Check every root by substituting it back. The questions get harder as you go.

Question 1

Which of these are quadratic equations in xx? For each one that is, state aa, bb and cc.
(a) 2x2−7=02x^2 - 7 = 0
(b) x2+3x=x2−6x^2 + 3x = x^2 - 6
(c) x(2x−1)=0x(2x - 1) = 0
(d) 6+x−x2=06 + x - x^2 = 0
(e) x3+x2=0x^3 + x^2 = 0

ShowHide solution

(a) Quadratic: a=2a = 2, b=0b = 0 (no xx term), c=−7c = -7.

(b) Subtract x2x^2 from both sides: 3x=−63x = -6. Linear, not quadratic.

(c) Expand: 2x2−x=02x^2 - x = 0. Quadratic: a=2a = 2, b=−1b = -1, c=0c = 0.

(d) In order of power: −x2+x+6=0-x^2 + x + 6 = 0. Quadratic: a=−1a = -1, b=1b = 1, c=6c = 6.

(e) The highest power of xx is 33, so it is not quadratic.

(a), (c) and (d) are quadratic; (b) is linear and (e) has an x3x^3 term.

Question 2

Solve (x−4)(x+1)=0(x - 4)(x + 1) = 0.

ShowHide solution

Either x−4=0x - 4 = 0, so x=4x = 4, or x+1=0x + 1 = 0, so x=−1x = -1.

Check x=4x = 4: 0×5=00 \times 5 = 0 ✓. Check x=−1x = -1: (−5)×0=0(-5) \times 0 = 0 ✓

x=4x = 4 or x=−1x = -1

Question 3

Solve
(a) x(x−9)=0x(x - 9) = 0
(b) 5x(x+2)=05x(x + 2) = 0
(c) (3x+2)(x−4)=0(3x + 2)(x - 4) = 0.

ShowHide solution

(a) Either x=0x = 0, or x−9=0x - 9 = 0, so x=9x = 9.

(b) Either 5x=05x = 0, so x=0x = 0, or x+2=0x + 2 = 0, so x=−2x = -2.

(c) Either 3x+2=03x + 2 = 0, so 3x=−23x = -2 and x=−23x = -\frac{2}{3}, or x−4=0x - 4 = 0, so x=4x = 4.

Check (c), x=−23x = -\frac{2}{3}: 3×(−23)+2=−2+2=0,3 \times (-\frac{2}{3}) + 2 = -2 + 2 = 0\text{,} so the first factor is 00 ✓.

(a) x=0x = 0 or x=9x = 9
(b) x=0x = 0 or x=−2x = -2
(c) x=−23x = -\frac{2}{3} or x=4x = 4

Question 4

Solve (x+6)2=0(x + 6)^2 = 0.

ShowHide solution

(x+6)(x+6)=0(x + 6)(x + 6) = 0, and both factors give x+6=0x + 6 = 0, so x=−6x = -6.

Check: (−6+6)2=0(-6 + 6)^2 = 0 ✓

x=−6x = -6 (two equal roots)

Question 5

Solve x2+5x+4=0x^2 + 5x + 4 = 0.

ShowHide solution

Product 44, sum 55: both positive. 1×41 \times 4 has sum 55 ✓ (2×22 \times 2 has sum 44).

(x+1)(x+4)=0(x + 1)(x + 4) = 0, so x=−1x = -1 or x=−4x = -4.

Check x=−1x = -1: 1−5+4=01 - 5 + 4 = 0 ✓. Check x=−4x = -4: 16−20+4=016 - 20 + 4 = 0 ✓

x=−1x = -1 or x=−4x = -4

Question 6

Solve x2−8x+15=0x^2 - 8x + 15 = 0.

ShowHide solution

Product 1515, sum −8-8: both negative. −1-1 and −15-15 (sum −16-16); −3-3 and −5-5 (sum −8-8) ✓.

(x−3)(x−5)=0(x - 3)(x - 5) = 0, so x=3x = 3 or x=5x = 5.

Check x=3x = 3: 9−24+15=09 - 24 + 15 = 0 ✓. Check x=5x = 5: 25−40+15=025 - 40 + 15 = 0 ✓

x=3x = 3 or x=5x = 5

Question 7

Solve x2+x−30=0x^2 + x - 30 = 0.

ShowHide solution

Product −30-30, sum 11: opposite signs, sizes differing by 11. Pairs of 3030: 1,301, 30; 2,152, 15; 3,103, 10; 5,65, 6 ✓. The larger, 66, takes the sign of bb (positive): 66 and −5-5.

(x+6)(x−5)=0(x + 6)(x - 5) = 0, so x=−6x = -6 or x=5x = 5.

Check x=−6x = -6: 36−6−30=036 - 6 - 30 = 0 ✓. Check x=5x = 5: 25+5−30=025 + 5 - 30 = 0 ✓

x=−6x = -6 or x=5x = 5

Question 8

Solve x2−4x−21=0x^2 - 4x - 21 = 0.

ShowHide solution

Product −21-21, sum −4-4: opposite signs, sizes differing by 44. Pairs of 2121: 1,211, 21; 3,73, 7 ✓. The larger, 77, takes the sign of bb (negative): −7-7 and 33.

(x−7)(x+3)=0(x - 7)(x + 3) = 0, so x=7x = 7 or x=−3x = -3.

Check x=7x = 7: 49−28−21=049 - 28 - 21 = 0 ✓. Check x=−3x = -3: 9+12−21=09 + 12 - 21 = 0 ✓

x=7x = 7 or x=−3x = -3

Question 9

Solve
(a) x2+7x=0x^2 + 7x = 0
(b) 4x2−10x=04x^2 - 10x = 0.

ShowHide solution

(a) x(x+7)=0x(x + 7) = 0, so x=0x = 0 or x=−7x = -7.

(b) The highest common factor of 4x24x^2 and 10x10x is 2x2x: 2x(2x−5)=02x(2x - 5) = 0. Either 2x=02x = 0, so x=0x = 0, or 2x−5=02x - 5 = 0, so x=52x = \frac{5}{2}.

Check (b), x=52x = \frac{5}{2}: 4×254−10×52=25−25=04 \times \frac{25}{4} - 10 \times \frac{5}{2} = 25 - 25 = 0 ✓

(a) x=0x = 0 or x=−7x = -7
(b) x=0x = 0 or x=52x = \frac{5}{2}

Question 10

Solve x2+2x−48=0x^2 + 2x - 48 = 0.

ShowHide solution

Product −48-48, sum 22: opposite signs, sizes differing by 22. Pairs of 4848: 1,481, 48; 2,242, 24; 3,163, 16; 4,124, 12; 6,86, 8 ✓. The larger, 88, is positive like bb: 88 and −6-6.

(x+8)(x−6)=0(x + 8)(x - 6) = 0, so x=−8x = -8 or x=6x = 6.

Check x=−8x = -8: 64−16−48=064 - 16 - 48 = 0 ✓. Check x=6x = 6: 36+12−48=036 + 12 - 48 = 0 ✓

x=−8x = -8 or x=6x = 6

Question 11

Mei solved x2−x−20=0x^2 - x - 20 = 0 like this: “(x−5)(x+4)=0(x - 5)(x + 4) = 0, so x=−5x = -5 or x=4x = 4.” Find her mistake and give the correct roots.

ShowHide solution

Her factorisation is right: (x−5)(x+4)=x2+4x−5x−20=x2−x−20.(x - 5)(x + 4) = x^2 + 4x - 5x - 20 = x^2 - x - 20\text{.}

Her mistake is in the last step: she copied the numbers from the brackets with the wrong signs. x−5=0x - 5 = 0 gives x=5x = 5, and x+4=0x + 4 = 0 gives x=−4x = -4.

Her answer fails the check: x=−5x = -5 gives 25+5−20=1025 + 5 - 20 = 10, not 00.

Check x=5x = 5: 25−5−20=025 - 5 - 20 = 0 ✓. Check x=−4x = -4: 16+4−20=016 + 4 - 20 = 0 ✓

The roots are x=5x = 5 or x=−4x = -4.

Question 12

Write down a quadratic equation, in the form x2+bx+c=0x^2 + bx + c = 0, whose roots are 22 and −5-5.

ShowHide solution

Work backwards. The root 22 comes from the factor x−2x - 2, and the root −5-5 from the factor x+5x + 5.

So (x−2)(x+5)=0(x - 2)(x + 5) = 0. Expand: x2+5x−2x−10=0,x^2 + 5x - 2x - 10 = 0\text{,} which is x2+3x−10=0x^2 + 3x - 10 = 0.

Check x=2x = 2: 4+6−10=04 + 6 - 10 = 0 ✓. Check x=−5x = -5: 25−15−10=025 - 15 - 10 = 0 ✓

x2+3x−10=0x^2 + 3x - 10 = 0

Key Points

  • A quadratic equation in xx is one that, after expanding and collecting terms, can be written as ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \neq 0.
  • aa is the coefficient of x2x^2, bb the coefficient of xx and cc the constant term; the sign in front of a term belongs to its coefficient.
  • If A×B=0A \times B = 0, then A=0A = 0 or B=0B = 0. This works only when the product is 00.
  • To solve by factorisation: make one side 00, factorise the other side completely, set each factor equal to 00 and solve, then check each root.
  • For x2+bx+cx^2 + bx + c, find two numbers whose product is cc and whose sum is bb.
  • A quadratic equation has at most two roots. (x−2)2=0(x - 2)^2 = 0 has two equal roots, x=2x = 2.
  • When every term has the factor xx, take it out: x=0x = 0 is then one of the roots. Never divide by xx.

‹ 4.9 Finding an Unknown in a Formula 5.2 Rearranging Quadratic Equations Before Factorising ›

All Secondary 2 (Grade 8) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 1. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 2 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.