Skip to main content
Examonaut

Topic A.3 · Lesson 2 of 6

Quadratic equations

Quadratic equations by factorising

A quadratic equation contains an x2x^2 term, such as x2+2x=15x^2 + 2x = 15. It usually has two solutions, because a parabola usually crosses a line twice. The key fact: if two numbers multiply to give 0, at least one of them must be 0. So if we can write the equation as (bracket) × (bracket) =0= 0, each bracket gives a solution.

How to solve a quadratic by factorising

  1. Step 1: Rearrange so that one side is 0: x2+2x−15=0x^2 + 2x - 15 = 0.
  2. Step 2: Factorise (see Notation, vocabulary and manipulation): (x+5)(x−3)=0(x + 5)(x - 3) = 0.
  3. Step 3: Set each bracket equal to 0: x+5=0x + 5 = 0 or x−3=0x - 3 = 0.
  4. Step 4: Solve each: x=−5x = -5 or x=3x = 3.

Step 1 matters. (x+5)(x−3)=7(x + 5)(x - 3) = 7 tells you nothing, because there are endless pairs of numbers that multiply to 7. Also, never divide both sides by xx: from x2=6xx^2 = 6x, write x2−6x=0x^2 - 6x = 0, so x(x−6)=0x(x - 6) = 0 and x=0x = 0 or x=6x = 6. Dividing by xx would lose the solution x=0x = 0.

(Higher tier) The same method works for ax2+bx+c=0ax^2 + bx + c = 0: 2x2+5x−3=02x^2 + 5x - 3 = 0 factorises to (2x−1)(x+3)=0(2x - 1)(x + 3) = 0, so x=12x = \frac{1}{2} or x=−3x = -3.

Completing the squareHigher tier

Some quadratics do not factorise with whole numbers. Completing the square works for all of them. The idea is that (x+3)2=x2+6x+9(x + 3)^2 = x^2 + 6x + 9, so x2+6xx^2 + 6x is "a perfect square, minus 9":

x²3x3x9x3x3x² + 3x + 3x makes an L-shapeadd the missing corner, 3² = 9,to make a square (x + 3)²x² + 6x = (x + 3)² − 9
x2+bx=(x+b2)2−(b2)2x^2 + bx = \left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2

How to solve by completing the square

  1. Step 1: If the coefficient of x2x^2 is not 1, divide every term by it.
  2. Step 2: Halve the coefficient of xx and write (x+b2)2−(b2)2\left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2, then add the constant.
  3. Step 3: Rearrange to (bracket)² = number, square-root both sides remembering ±\pm, and solve.

Worked example

Completing the squaregrade 8

Solve x2+6x−2=0x^2 + 6x - 2 = 0, giving exact answers.

Show solution
  1. Half of 6 is 3: x2+6x−2=(x+3)2−9−2=(x+3)2−11x^2 + 6x - 2 = (x + 3)^2 - 9 - 2 = (x + 3)^2 - 11.
  2. So (x+3)2=11(x + 3)^2 = 11.
  3. Square-root both sides, with both signs: x+3=±11x + 3 = \pm\sqrt{11}.
  4. x=−3+11x = -3 + \sqrt{11} or x=−3−11x = -3 - \sqrt{11}.

The quadratic formulaHigher tier

Completing the square on the general equation ax2+bx+c=0ax^2 + bx + c = 0 gives a formula that solves any quadratic:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Here aa, bb and cc are the coefficients of x2x^2, of xx and the constant, including their signs. Learn the formula. The part under the root, b2−4acb^2 - 4ac, tells you how many solutions there are: positive gives two, zero gives one (repeated), and negative gives none, because a negative number has no real square root. Use the formula when a question asks for answers to a number of decimal places or significant figures, which is a strong hint that the quadratic will not factorise.

Try it: set a, b and c and see the roots by factorising, by completing the square and by the formula.

Try it: simulation

Quadratics

Loading the simulation…

Worked example

The quadratic formulagrade 7–8

Solve 2x2−5x−4=02x^2 - 5x - 4 = 0, giving your answers to 2 decimal places.

Show solution
  1. Identify the coefficients: a=2a = 2, b=−5b = -5, c=−4c = -4.
  2. Work out b2−4acb^2 - 4ac first, to avoid sign errors: (−5)2−4(2)(−4)=25+32=57(-5)^2 - 4(2)(-4) = 25 + 32 = 57.
  3. Substitute: x=−(−5)±572×2=5±574x = \frac{-(-5) \pm \sqrt{57}}{2 \times 2} = \frac{5 \pm \sqrt{57}}{4}.
  4. x=5+7.549…4=3.14x = \frac{5 + 7.549…}{4} = 3.14 or x=5−7.549…4=−0.64x = \frac{5 - 7.549…}{4} = -0.64 (2 decimal places).

Practise this topic

Both are part of Premium.