The quickest way to solve a quadratic equation, when it works, is to factorise the left side into two brackets. The method rests on one simple fact about multiplication: if a product is zero, one of the factors must be zero. This lesson uses the splitting-the-middle-term method from the chapter on factorisation to solve quadratic equations.
The zero product rule#
If p × q = 0 p \times q = 0 p × q = 0 , then p = 0 p = 0 p = 0 or q = 0 q = 0 q = 0 (or both).
No two non-zero numbers multiply to give 0. So once a quadratic is written as ( x − α ) ( x − β ) = 0 (x - \alpha)(x - \beta) = 0 ( x − α ) ( x − β ) = 0 , its roots can be read off: x = α x = \alpha x = α or x = β x = \beta x = β .
This only works when one side is zero . From ( x − 2 ) ( x − 3 ) = 6 (x - 2)(x - 3) = 6 ( x − 2 ) ( x − 3 ) = 6 you cannot conclude that x − 2 = 6 x - 2 = 6 x − 2 = 6 or anything similar. Always bring the equation to the form "expression = 0 = 0 = 0 " first.
Splitting the middle term#
To factorise a x 2 + b x + c ax^2 + bx + c a x 2 + b x + c , find two numbers whose product is a c ac a c and whose sum is b b b . Use them to split b x bx b x into two terms, then group in pairs and take out common factors.
Example 1#
Solve x 2 − 7 x + 12 = 0 x^2 - 7x + 12 = 0 x 2 − 7 x + 12 = 0 .
We need two numbers with product 1 × 12 = 12 1 \times 12 = 12 1 × 12 = 12 and sum − 7 -7 − 7 : they are − 3 -3 − 3 and − 4 -4 − 4 .
x 2 − 3 x − 4 x + 12 = 0 x ( x − 3 ) − 4 ( x − 3 ) = 0 ( x − 3 ) ( x − 4 ) = 0 \begin{aligned} x^2 - 3x - 4x + 12 &= 0 \\ x(x - 3) - 4(x - 3) &= 0 \\ (x - 3)(x - 4) &= 0 \end{aligned} x 2 − 3 x − 4 x + 12 x ( x − 3 ) − 4 ( x − 3 ) ( x − 3 ) ( x − 4 ) = 0 = 0 = 0
So x − 3 = 0 x - 3 = 0 x − 3 = 0 or x − 4 = 0 x - 4 = 0 x − 4 = 0 , giving x = 3 x = 3 x = 3 or x = 4 x = 4 x = 4 .
Check: 9 − 21 + 12 = 0 9 - 21 + 12 = 0 9 − 21 + 12 = 0 and 16 − 28 + 12 = 0 16 - 28 + 12 = 0 16 − 28 + 12 = 0 .
Example 2#
Solve 2 x 2 + 5 x − 3 = 0 2x^2 + 5x - 3 = 0 2 x 2 + 5 x − 3 = 0 .
Product a c = 2 × ( − 3 ) = − 6 ac = 2 \times (-3) = -6 a c = 2 × ( − 3 ) = − 6 , sum 5 5 5 : the numbers are 6 6 6 and − 1 -1 − 1 .
2 x 2 + 6 x − x − 3 = 0 2 x ( x + 3 ) − 1 ( x + 3 ) = 0 ( 2 x − 1 ) ( x + 3 ) = 0 \begin{aligned} 2x^2 + 6x - x - 3 &= 0 \\ 2x(x + 3) - 1(x + 3) &= 0 \\ (2x - 1)(x + 3) &= 0 \end{aligned} 2 x 2 + 6 x − x − 3 2 x ( x + 3 ) − 1 ( x + 3 ) ( 2 x − 1 ) ( x + 3 ) = 0 = 0 = 0
So 2 x − 1 = 0 2x - 1 = 0 2 x − 1 = 0 or x + 3 = 0 x + 3 = 0 x + 3 = 0 , giving x = 1 2 \displaystyle x = \frac{1}{2} x = 2 1 or x = − 3 x = -3 x = − 3 .
Example 3#
Solve 6 x 2 − 13 x + 6 = 0 6x^2 - 13x + 6 = 0 6 x 2 − 13 x + 6 = 0 .
Product a c = 36 ac = 36 a c = 36 , sum − 13 -13 − 13 : the numbers are − 4 -4 − 4 and − 9 -9 − 9 .
6 x 2 − 4 x − 9 x + 6 = 0 2 x ( 3 x − 2 ) − 3 ( 3 x − 2 ) = 0 ( 2 x − 3 ) ( 3 x − 2 ) = 0 \begin{aligned} 6x^2 - 4x - 9x + 6 &= 0 \\ 2x(3x - 2) - 3(3x - 2) &= 0 \\ (2x - 3)(3x - 2) &= 0 \end{aligned} 6 x 2 − 4 x − 9 x + 6 2 x ( 3 x − 2 ) − 3 ( 3 x − 2 ) ( 2 x − 3 ) ( 3 x − 2 ) = 0 = 0 = 0
So x = 3 2 \displaystyle x = \frac{3}{2} x = 2 3 or x = 2 3 \displaystyle x = \frac{2}{3} x = 3 2 . Notice that the two roots are reciprocals of each other; this happens because a = c a = c a = c .
Example 4#
Solve x 2 + 3 x − 108 = 0 x^2 + 3x - 108 = 0 x 2 + 3 x − 108 = 0 (the rectangle from the last lesson).
Product − 108 -108 − 108 , sum 3 3 3 : the numbers are 12 12 12 and − 9 -9 − 9 .
x 2 + 12 x − 9 x − 108 = 0 ⟹ x ( x + 12 ) − 9 ( x + 12 ) = 0 ⟹ ( x − 9 ) ( x + 12 ) = 0 x^2 + 12x - 9x - 108 = 0 \implies x(x + 12) - 9(x + 12) = 0 \implies (x - 9)(x + 12) = 0 x 2 + 12 x − 9 x − 108 = 0 ⟹ x ( x + 12 ) − 9 ( x + 12 ) = 0 ⟹ ( x − 9 ) ( x + 12 ) = 0
So x = 9 x = 9 x = 9 or x = − 12 x = -12 x = − 12 . A width cannot be negative, so the width is 9 m and the length is 12 m.
Two special shapes#
No constant term. When c = 0 c = 0 c = 0 , take out the common factor x x x .
Example 5#
Solve x 2 = 5 x x^2 = 5x x 2 = 5 x .
Bring everything to one side: x 2 − 5 x = 0 x^2 - 5x = 0 x 2 − 5 x = 0 , so x ( x − 5 ) = 0 x(x - 5) = 0 x ( x − 5 ) = 0 , giving x = 0 x = 0 x = 0 or x = 5 x = 5 x = 5 .
Do not divide both sides by x x x . That would give only x = 5 x = 5 x = 5 and lose the root x = 0 x = 0 x = 0 . Dividing by an expression that might be zero throws away solutions.
No middle term. When b = 0 b = 0 b = 0 and the constant is negative, use the difference of two squares, p 2 − q 2 = ( p − q ) ( p + q ) p^2 - q^2 = (p - q)(p + q) p 2 − q 2 = ( p − q ) ( p + q ) .
Example 6#
Solve 9 x 2 − 25 = 0 9x^2 - 25 = 0 9 x 2 − 25 = 0 .
( 3 x ) 2 − 5 2 = 0 ⟹ ( 3 x − 5 ) ( 3 x + 5 ) = 0 ⟹ x = 5 3 or x = − 5 3 \displaystyle (3x)^2 - 5^2 = 0 \implies (3x - 5)(3x + 5) = 0 \implies x = \frac{5}{3} \text{ or } x = -\frac{5}{3} ( 3 x ) 2 − 5 2 = 0 ⟹ ( 3 x − 5 ) ( 3 x + 5 ) = 0 ⟹ x = 3 5 or x = − 3 5
A quick alternative: 9 x 2 = 25 9x^2 = 25 9 x 2 = 25 , so x 2 = 25 9 \displaystyle x^2 = \frac{25}{9} x 2 = 9 25 and x = ± 5 3 \displaystyle x = \pm\frac{5}{3} x = ± 3 5 . Remember both signs.
Equations with surds#
Example 7#
Solve x 2 − ( 3 + 1 ) x + 3 = 0 x^2 - (\sqrt{3} + 1)x + \sqrt{3} = 0 x 2 − ( 3 + 1 ) x + 3 = 0 .
We need two numbers with product 3 \sqrt{3} 3 and sum − ( 3 + 1 ) -(\sqrt{3} + 1) − ( 3 + 1 ) : they are − 3 -\sqrt{3} − 3 and − 1 -1 − 1 .
x 2 − 3 x − x + 3 = 0 ⟹ x ( x − 3 ) − 1 ( x − 3 ) = 0 ⟹ ( x − 1 ) ( x − 3 ) = 0 x^2 - \sqrt{3}x - x + \sqrt{3} = 0 \implies x(x - \sqrt{3}) - 1(x - \sqrt{3}) = 0 \implies (x - 1)(x - \sqrt{3}) = 0 x 2 − 3 x − x + 3 = 0 ⟹ x ( x − 3 ) − 1 ( x − 3 ) = 0 ⟹ ( x − 1 ) ( x − 3 ) = 0
So x = 1 x = 1 x = 1 or x = 3 x = \sqrt{3} x = 3 .
Equations that need tidying first#
Example 8#
Solve x 3 + 2 x = 5 3 \displaystyle \frac{x}{3} + \frac{2}{x} = \frac{5}{3} 3 x + x 2 = 3 5 , where x ≠ 0 x \neq 0 x = 0 .
Multiply every term by 3 x 3x 3 x : x 2 + 6 = 5 x x^2 + 6 = 5x x 2 + 6 = 5 x , that is x 2 − 5 x + 6 = 0 x^2 - 5x + 6 = 0 x 2 − 5 x + 6 = 0 . This factorises as ( x − 2 ) ( x − 3 ) = 0 (x - 2)(x - 3) = 0 ( x − 2 ) ( x − 3 ) = 0 , so x = 2 x = 2 x = 2 or x = 3 x = 3 x = 3 . Neither makes a denominator zero, so both are roots.
Example 9#
Solve ( x − 1 ) ( x + 2 ) = 18 (x - 1)(x + 2) = 18 ( x − 1 ) ( x + 2 ) = 18 .
Expand and bring 18 across: x 2 + x − 2 − 18 = 0 x^2 + x - 2 - 18 = 0 x 2 + x − 2 − 18 = 0 , so x 2 + x − 20 = 0 x^2 + x - 20 = 0 x 2 + x − 20 = 0 . Product − 20 -20 − 20 , sum 1 1 1 : the numbers are 5 5 5 and − 4 -4 − 4 . So ( x + 5 ) ( x − 4 ) = 0 (x + 5)(x - 4) = 0 ( x + 5 ) ( x − 4 ) = 0 , giving x = − 5 x = -5 x = − 5 or x = 4 x = 4 x = 4 .
Check x = 4 x = 4 x = 4 : 3 × 6 = 18 3 \times 6 = 18 3 × 6 = 18 . Check x = − 5 x = -5 x = − 5 : ( − 6 ) × ( − 3 ) = 18 (-6) \times (-3) = 18 ( − 6 ) × ( − 3 ) = 18 .
Practice#
Solve each equation by factorisation.
x 2 + 9 x + 20 = 0 x^2 + 9x + 20 = 0 x 2 + 9 x + 20 = 0
x 2 − 2 x − 35 = 0 x^2 - 2x - 35 = 0 x 2 − 2 x − 35 = 0
3 x 2 − 10 x + 8 = 0 3x^2 - 10x + 8 = 0 3 x 2 − 10 x + 8 = 0
2 x 2 − x − 15 = 0 2x^2 - x - 15 = 0 2 x 2 − x − 15 = 0
4 x 2 − 12 x + 9 = 0 4x^2 - 12x + 9 = 0 4 x 2 − 12 x + 9 = 0
5 x 2 = 20 x 5x^2 = 20x 5 x 2 = 20 x
16 x 2 − 49 = 0 16x^2 - 49 = 0 16 x 2 − 49 = 0
x 2 − ( 2 + 2 ) x + 2 2 = 0 x^2 - (\sqrt{2} + 2)x + 2\sqrt{2} = 0 x 2 − ( 2 + 2 ) x + 2 2 = 0
x + 12 x = 7 \displaystyle x + \frac{12}{x} = 7 x + x 12 = 7 , where x ≠ 0 x \neq 0 x = 0
( 2 x + 1 ) ( x − 3 ) = 15 (2x + 1)(x - 3) = 15 ( 2 x + 1 ) ( x − 3 ) = 15
Answers#
Show answers
( x + 4 ) ( x + 5 ) = 0 (x + 4)(x + 5) = 0 ( x + 4 ) ( x + 5 ) = 0 : x = − 4 x = -4 x = − 4 or − 5 -5 − 5 .
( x − 7 ) ( x + 5 ) = 0 (x - 7)(x + 5) = 0 ( x − 7 ) ( x + 5 ) = 0 : x = 7 x = 7 x = 7 or − 5 -5 − 5 .
( 3 x − 4 ) ( x − 2 ) = 0 (3x - 4)(x - 2) = 0 ( 3 x − 4 ) ( x − 2 ) = 0 : x = 4 3 \displaystyle x = \frac{4}{3} x = 3 4 or 2 2 2 .
( 2 x + 5 ) ( x − 3 ) = 0 (2x + 5)(x - 3) = 0 ( 2 x + 5 ) ( x − 3 ) = 0 : x = − 5 2 \displaystyle x = -\frac{5}{2} x = − 2 5 or 3 3 3 .
( 2 x − 3 ) 2 = 0 (2x - 3)^2 = 0 ( 2 x − 3 ) 2 = 0 : x = 3 2 \displaystyle x = \frac{3}{2} x = 2 3 (a repeated root).
5 x ( x − 4 ) = 0 5x(x - 4) = 0 5 x ( x − 4 ) = 0 : x = 0 x = 0 x = 0 or 4 4 4 .
( 4 x − 7 ) ( 4 x + 7 ) = 0 (4x - 7)(4x + 7) = 0 ( 4 x − 7 ) ( 4 x + 7 ) = 0 : x = ± 7 4 \displaystyle x = \pm\frac{7}{4} x = ± 4 7 .
( x − 2 ) ( x − 2 ) = 0 (x - \sqrt{2})(x - 2) = 0 ( x − 2 ) ( x − 2 ) = 0 : x = 2 x = \sqrt{2} x = 2 or 2 2 2 .
x 2 − 7 x + 12 = 0 x^2 - 7x + 12 = 0 x 2 − 7 x + 12 = 0 : x = 3 x = 3 x = 3 or 4 4 4 .
2 x 2 − 5 x − 3 = 15 2x^2 - 5x - 3 = 15 2 x 2 − 5 x − 3 = 15 , so 2 x 2 − 5 x − 18 = 0 2x^2 - 5x - 18 = 0 2 x 2 − 5 x − 18 = 0 , ( 2 x − 9 ) ( x + 2 ) = 0 (2x - 9)(x + 2) = 0 ( 2 x − 9 ) ( x + 2 ) = 0 : x = 9 2 \displaystyle x = \frac{9}{2} x = 2 9 or − 2 -2 − 2 .