The shortcut

If a quadratic expression factorises, the equation is as good as solved, because a product is zero only when one of its factors is zero. Here we put the familiar technique of splitting the middle term to work on solving equations, including ones that need rearranging first, and word problems where one root has to be thrown out.

The principle

If p×q=0p \times q = 0, then p=0p = 0 or q=0q = 0. There's simply no other way to multiply two numbers and get zero. So once ax2+bx+cax^2 + bx + c is written as a product of two linear factors, setting each factor to zero gives a root.

Splitting the middle term

To factorise ax2+bx+cax^2 + bx + c, look for two numbers whose product is acac and whose sum is bb. Use them to split bxbx into two terms, and then factor by grouping.

Example 1. Solve x2−7x+10=0x^2 - 7x + 10 = 0.

ac=10ac = 10, b=−7b = -7. Two numbers with product 1010 and sum −7-7: −2-2 and −5-5.

x2−2x−5x+10=x(x−2)−5(x−2)=(x−2)(x−5)x^2 - 2x - 5x + 10 = x(x - 2) - 5(x - 2) = (x - 2)(x - 5)

So x−2=0x - 2 = 0 or x−5=0x - 5 = 0: the roots are 22 and 55. Check: 4−14+10=04 - 14 + 10 = 0 ✓, 25−35+10=025 - 35 + 10 = 0 ✓.

Graph of y = x squared - 7x + 10, which factorises as (x - 2)(x - 5): the parabola crosses the x-axis at (2, 0) and (5, 0), the two roots.
The roots 2 and 5 are where the graph crosses the x-axis

Example 2. Solve 3x2+10x−8=03x^2 + 10x - 8 = 0.

ac=−24ac = -24, b=10b = 10. Product −24-24, sum 1010: 1212 and −2-2.

3x2+12x−2x−8=3x(x+4)−2(x+4)=(3x−2)(x+4)3x^2 + 12x - 2x - 8 = 3x(x + 4) - 2(x + 4) = (3x - 2)(x + 4)

Roots: x=23\displaystyle x = \dfrac{2}{3} and x=−4x = -4. Check x=−4x = -4: 48−40−8=048 - 40 - 8 = 0 ✓.

Example 3. Solve 2x2−9x+9=02x^2 - 9x + 9 = 0.

ac=18ac = 18, b=−9b = -9. Product 1818, sum −9-9: −3-3 and −6-6.

2x2−3x−6x+9=x(2x−3)−3(2x−3)=(2x−3)(x−3)2x^2 - 3x - 6x + 9 = x(2x - 3) - 3(2x - 3) = (2x - 3)(x - 3)

Roots: 32\displaystyle \dfrac{3}{2} and 33.

Rearrange first

Be careful: factorising only works on an expression equal to zero. x(x−3)=10x(x - 3) = 10 does not mean x=10x = 10 or x−3=10x - 3 = 10, because a product equal to 1010 tells you nothing about its factors. Zero is special; ten is not.

Example 4. Solve x(x−3)=10x(x - 3) = 10.

x2−3x−10=0x^2 - 3x - 10 = 0. Product −10-10, sum −3-3: −5-5 and 22. (x−5)(x+2)=0(x - 5)(x + 2) = 0, so x=5x = 5 or x=−2x = -2.

Special shapes

No constant term. x2−6x=0x^2 - 6x = 0 factorises as x(x−6)=0x(x - 6) = 0, giving roots 00 and 66. Resist the temptation to divide through by xx; that quietly throws away the root x=0x = 0.

No middle term. 4x2−25=04x^2 - 25 = 0 is a difference of squares: (2x−5)(2x+5)=0(2x - 5)(2x + 5) = 0, roots ±52\displaystyle \pm\dfrac{5}{2}.

A perfect square. x2+8x+16=(x+4)2=0x^2 + 8x + 16 = (x + 4)^2 = 0 has the single repeated root x=−4x = -4.

Three parabolas: x squared - 6x crosses the x-axis at 0 and 6; 4x squared - 25 at -5/2 and 5/2; (x + 4) squared only touches it at -4, a repeated root.
No constant term, no middle term, and a perfect square

Word problems: reject what does not fit

Example 5. The product of two consecutive positive odd integers is 9999. Find them.

Smaller xx, next odd integer x+2x + 2: x(x+2)=99x(x + 2) = 99, so x2+2x−99=0x^2 + 2x - 99 = 0. Product −99-99, sum 22: 1111 and −9-9. (x+11)(x−9)=0(x + 11)(x - 9) = 0, so x=9x = 9 or x=−11x = -11.

The question says positive, so we reject −11-11. The integers are 99 and 1111. Check: 9×11=999 \times 11 = 99 ✓.

Make it a habit to test each root against the wording. A negative length, a fractional number of people, or a speed that makes a time negative may be a root of the equation, but it is not an answer to the question. The algebra doesn't know the story; you do.

Practice

Solve by factorisation.

  1. x2−9x+20=0x^2 - 9x + 20 = 0
  2. x2+3x−28=0x^2 + 3x - 28 = 0
  3. 2x2+7x+3=02x^2 + 7x + 3 = 0
  4. 6x2−x−2=06x^2 - x - 2 = 0
  5. x2−5x=0x^2 - 5x = 0
  6. 9x2−16=09x^2 - 16 = 0
  7. (x+2)(x−1)=18(x + 2)(x - 1) = 18
  8. Two consecutive positive integers have a product of 210210. Find them.
  9. The altitude of a right triangle is 33 cm less than its base, and the hypotenuse is 1515 cm. Find the base.
Practice question 9: a right triangle with the right angle at the bottom right, base labelled x, altitude labelled x - 3 and hypotenuse 15 cm.
Practice question 9: base x, altitude x - 3, hypotenuse 15 cm

Answers

Show answers
  1. (x−4)(x−5)=0(x - 4)(x - 5) = 0: x=4,5x = 4, 5.
  2. Product −28-28, sum 33: 7,−47, -4. (x+7)(x−4)=0(x + 7)(x - 4) = 0: x=−7,4x = -7, 4.
  3. ac=6ac = 6, sum 77: 6,16, 1. 2x2+6x+x+3=2x(x+3)+1(x+3)=(2x+1)(x+3)2x^2 + 6x + x + 3 = 2x(x + 3) + 1(x + 3) = (2x + 1)(x + 3): x=−12,−3\displaystyle x = -\dfrac{1}{2}, -3.
  4. ac=−12ac = -12, sum −1-1: −4,3-4, 3. 6x2−4x+3x−2=2x(3x−2)+1(3x−2)=(2x+1)(3x−2)6x^2 - 4x + 3x - 2 = 2x(3x - 2) + 1(3x - 2) = (2x + 1)(3x - 2): x=−12,23\displaystyle x = -\dfrac{1}{2}, \dfrac{2}{3}.
  5. x(x−5)=0x(x - 5) = 0: x=0,5x = 0, 5.
  6. (3x−4)(3x+4)=0(3x - 4)(3x + 4) = 0: x=±43\displaystyle x = \pm\dfrac{4}{3}.
  7. x2+x−2=18x^2 + x - 2 = 18, so x2+x−20=0=(x+5)(x−4)x^2 + x - 20 = 0 = (x + 5)(x - 4): x=−5,4x = -5, 4.
  8. x(x+1)=210x(x + 1) = 210, so x2+x−210=0=(x+15)(x−14)x^2 + x - 210 = 0 = (x + 15)(x - 14). Reject −15-15. The integers are 1414 and 1515.
  9. Base xx, altitude x−3x - 3: x2+(x−3)2=225x^2 + (x - 3)^2 = 225, so 2x2−6x−216=02x^2 - 6x - 216 = 0, i.e. x2−3x−108=0=(x−12)(x+9)x^2 - 3x - 108 = 0 = (x - 12)(x + 9). Reject −9-9. Base 1212 cm (altitude 99 cm; check 144+81=225144 + 81 = 225 ✓).