Vertex Learn

Quadratic equations: solving, and forming from the roots

What this lesson covers

  • Every quadratic can be solved by factorising, the formula, or completing the square, and each suits different equations.
  • The roots of a quadratic fix its factors, so the equation can be rebuilt from its solutions.
Key idea

A quadratic equation

  • Ax² + bx + c = 0.
  • Usually two solutions, called roots.
  • Three ways: factorise, formula, or graph.
Worked example

Roots are where the graph crosses

  • y = x² − 5x − 14.
  • It crosses the x-axis at −2 and 7.
  • Those are the solutions of x² − 5x − 14 = 0.
Roots are where the graph crosses
Worked example

Solving by factorising

  • Product −14, sum −5.
  • A factor must be zero.
  1. x² − 5x − 14 = 0
  2. −7 × 2 = −14, −7 + 2 = −5
  3. (x − 7)(x + 2) = 0factorise
  4. x − 7 = 0 or x + 2 = 0a factor is zero
  5. x = 7 or x = −2
Worked example

Rearrange to zero first

  • Make one side zero.
  • Then factorise.
  1. x(x + 3) = 10
  2. x² + 3x = 10expand
  3. x² + 3x − 10 = 0subtract 10
  4. (x + 5)(x − 2) = 05 × (−2) = −10
  5. x = −5 or x = 2
  6. x = 2: 2 × 5 = 10
Worked example

When it will not factorise

  • Write a, b, c with signs.
  • Brackets round negatives.
  1. x = (−b ± √(b² − 4ac))/2a
  2. 2x² − 3x − 4 = 0
  3. a = 2, b = −3, c = −4
  4. b² − 4ac = (−3)² − 4(2)(−4)
  5. = 9 + 32 = 41
  6. x = (3 ± √41)/4−b = 3, 2a = 4
  7. x = (3 + √41)/4 = 2.351
  8. x = (3 − √41)/4 = −0.851
Key idea

Try it: roots on the graph

Worked example

Working backwards: roots to equation

  • Each root gives a factor.
  • Clear the fraction first.
  1. x = 3, so x − 3 = 0
  2. x = −1/2
  3. 2x = −1, so 2x + 1 = 0double both sides
  4. (x − 3)(2x + 1) = 0
  5. 2x² + x − 6x − 3 = 0expand
  6. 2x² − 5x − 3 = 0collect
Key idea

Graphing calculator

Key idea

What a fractional root tells you

  • A root x = p/q comes from a factor (qx − p).
  • So the leading coefficient is a multiple of q.
  • Fractional roots mean the equation factorises.
Key idea

Try it: roots and equations, both ways

Worked example

In context: reject what cannot be

  • Write the equation first.
  • Reject what cannot be.
  1. x(x + 3) = 40width × length
  2. x² + 3x − 40 = 0expand, subtract 40
  3. (x + 8)(x − 5) = 08 × (−5) = −40
  4. x = −8 or x = 5
  5. x = −8a width is positive
  6. x = 5, length 5 + 3 = 8
  7. 5 m by 8 m
  8. 5 × 8 = 40 m²
Key idea

State the equation you formed

  • Write the equation before solving it.
  • The specification asks for this.
  • An answer alone is not enough.
Key idea

Where the marks are

  • Achieved: solve, and form from roots.
  • Merit: in context, choosing the method.
  • Excellence: modelling a real situation.
Summary

What to take away

  • Equal to zero first, then factorise or use the formula.
Firstrearrange to = 0
Factorisewhen the numbers are friendly
Formulax = (−b ± √(b² − 4ac)) / 2a
From rootseach root gives a factor
Fractional rootx = p/q gives (qx − p)
Contextreject impossible answers

Common mistakes

  • x(x + 3) = 10, so x = 10 or x + 3 = 10
    A product only splits when it equals zero: x² + 3x − 10 = 0 gives (x + 5)(x − 2) = 0, so x = −5 or x = 2.
  • 2x² − 3x − 4 = 0: b² − 4ac = −3² − 4(2)(−4) = −9 + 32 = 23
    Bracket negative values: (−3)² − 4(2)(−4) = 9 + 32 = 41.
  • The root x = −1/2 gives the factor (2x − 1).
    x = −1/2 means 2x = −1, so 2x + 1 = 0 and the factor is (2x + 1).
  • x² + 3x − 40 = 0, so the width is x = −8 or x = 5.
    Reject x = −8 because a width is positive, then answer in context: the garden is 5 m by 8 m.
Your turn

Your turn: four questions

  • Question 3: whole-number coefficients.
  • Question 4 needs the formula.
1

Solve x² + 2x − 15 = 0.

2

Solve 3x² + x − 2 = 0.

3

Form a quadratic with roots 2 and −3/4.

4

Solve x² − 4x − 1 = 0, to 3 decimal places.

Show answer

1. (x + 5)(x − 3) = 0: x = 3 or −5. 2. (3x − 2)(x + 1) = 0: x = 2/3 or −1. 3. (x − 2)(4x + 3) = 4x² − 5x − 6 = 0. 4. x = (4 ± √20)/2 = 2 ± √5: 4.236 or −0.236.

Worked example

The answers: questions 1 and 2

  1. 1. x² + 2x − 15 = 0
  2. (x + 5)(x − 3) = 05 × (−3) = −15, 5 − 3 = 2
  3. x = −5 or x = 3
  4. 2. 3x² + x − 2 = 0
  5. a × c = −6: use 3 and −2
  6. 3x² + 3x − 2x − 2 = 0split x
  7. 3x(x + 1) − 2(x + 1) = 0group in pairs
  8. (3x − 2)(x + 1) = 0common bracket
  9. x = 2/3 or x = −13x = 2
Worked example

The answers: questions 3 and 4

  1. 3. x = 2 gives x − 2
  2. x = −3/4 gives 4x + 34x = −3
  3. (x − 2)(4x + 3) = 0
  4. 4x² + 3x − 8x − 6 = 0expand
  5. 4x² − 5x − 6 = 0collect
  6. 4. b² − 4ac = (−4)² − 4(1)(−1)
  7. = 16 + 4 = 20
  8. x = (4 ± √20)/2 = 2 ± √5√20 = 2√5
  9. x = 4.236 or x = −0.2363 decimal places
Your turn

Sample question: Achieved

Solve x² = 3x + 10.

Hint

Rearrange so one side is zero before you factorise.

Answer

x = 5 or x = −2

Step by step
  1. To solve by factorising, one side must be zero, because the method relies on a product being zero.
  2. Take 3x and 10 from both sides: x² − 3x − 10 = 0.
  3. Find two numbers that multiply to −10 and add to −3. They are −5 and 2.
  4. So x² − 3x − 10 = (x − 5)(x + 2) = 0.
  5. If two brackets multiply to zero, one of them must be zero: x − 5 = 0 or x + 2 = 0.
  6. So x = 5 or x = −2.
  7. Classic mistake: dividing both sides by x first. That loses solutions and leaves x = 3 + 10x, which is harder, not easier.
  8. Check x = 5: 25 and 3 × 5 + 10 = 25. Check x = −2: 4 and −6 + 10 = 4. Both work.
Full working
  1. x² − 3x − 10 = 0rearrange to zero
  2. (x − 5)(x + 2) = 0−5 × 2 = −10, −5 + 2 = −3
  3. x = 5 or x = −2
Your turn

Sample questions: Merit

1

Form a quadratic equation with integer coefficients whose roots are x = 23 and x = −52.

Hint

Turn each root into a factor with no fractions: x = 23 comes from 3x − 2 = 0.

Answer

6x² + 11x − 10 = 0

Step by step
  1. Each root comes from a bracket equal to zero. Work backwards from each root to its bracket.
  2. x = 23: multiply both sides by 3 to get 3x = 2, so 3x − 2 = 0. The factor is (3x − 2).
  3. x = −52: multiply by 2 to get 2x = −5, so 2x + 5 = 0. The factor is (2x + 5).
  4. Classic mistake: using (x − 23)(x + 52). That has the right roots but fraction coefficients, and the question asks for integers.
  5. Multiply the factors: (3x − 2)(2x + 5) = 6x² + 15x − 4x − 10.
  6. Collect like terms: 6x² + 11x − 10.
  7. So the equation is 6x² + 11x − 10 = 0. It is an equation, so it needs the = 0.
  8. Check x = 23: 6 × 49 + 223 − 10 = 83 + 223 − 303 = 0. Correct.
Full working
  1. x = 23 gives 3x − 2 = 0clear the fraction
  2. x = −52 gives 2x + 5 = 0
  3. (3x − 2)(2x + 5) = 0
  4. 6x² + 15x − 4x − 10 = 0expand
  5. 6x² + 11x − 10 = 0
2

Solve 2x(x − 3) = 1 − x, giving exact answers in simplest form and then values to 3 decimal places.

Hint

Expand and rearrange to the form ax² + bx + c = 0. It will not factorise, so use the quadratic formula.

Answer

x = 5 ± √334, so x ≈ 2.686 or x ≈ −0.186

Step by step
  1. Expand the left side: 2x(x − 3) = 2x² − 6x.
  2. Rearrange so one side is zero: 2x² − 6x − 1 + x = 0, which is 2x² − 5x − 1 = 0.
  3. Try to factorise: you need two numbers that multiply to 2 × (−1) = −2 and add to −5. There are none, so use the formula.
  4. Recall the formula: x = −b ± √(b² − 4ac)2a, with a = 2, b = −5 and c = −1.
  5. −b = 5. Under the root: b² − 4ac = 25 − 4 × 2 × (−1) = 25 + 8 = 33.
  6. Classic mistake: writing 25 − 8. When c is negative, −4ac becomes positive.
  7. So x = 5 ± √334. 33 has no square factor other than 1, so √33 cannot be simplified. This is the exact answer.
  8. To 3 decimal places: √33 ≈ 5.7446, so x ≈ 10.7446 ÷ 4 ≈ 2.686 or x ≈ −0.7446 ÷ 4 ≈ −0.186.
  9. Check x ≈ 2.686: the left side is 2 × 2.686 × (−0.314) ≈ −1.686, and the right side is 1 − 2.686 = −1.686. They match.
Full working
  1. 2x² − 6x = 1 − xexpand
  2. 2x² − 5x − 1 = 0rearrange to zero
  3. x = 5 ± √(25 + 8)4a = 2, b = −5, c = −1
  4. x = 5 ± √334
  5. x ≈ 2.686 or x ≈ −0.186
Your turn

Sample questions: Excellence

1

x = 2 + √5 is a root of x² + bx + c = 0, where b and c are integers. Find b and c, and the other root. Justify your method.

Hint

Substitute x = 2 + √5 and expand. The whole-number parts and the √5 parts must each add to zero, because b and c are integers.

Answer

b = −4, c = −1; the other root is 2 − √5

Step by step
  1. Substitute the root into the equation: (2 + √5)² + b(2 + √5) + c = 0.
  2. Expand the square: (2 + √5)² = 4 + 4√5 + 5 = 9 + 4√5.
  3. So 9 + 4√5 + 2b + b√5 + c = 0. Group it: (9 + 2b + c) + (4 + b)√5 = 0.
  4. Why must each part be zero? b and c are integers, so 9 + 2b + c and 4 + b are integers. If 4 + b were not zero, √5 would equal a fraction of integers, but √5 is irrational.
  5. So 4 + b = 0, which gives b = −4.
  6. And 9 + 2b + c = 0, so 9 − 8 + c = 0 and c = −1.
  7. The equation is x² − 4x − 1 = 0.
  8. Find the other root with the formula: x = 4 ± √(16 + 4)2 = 4 ± √202 = 4 ± 2√52 = 2 ± √5.
  9. So the other root is 2 − √5.
  10. Classic mistake: assuming the other root is −2 − √5 or −(2 + √5). With integer coefficients, irrational roots come as a pair 2 ± √5, the same number with the surd's sign flipped.
  11. Another route: x − 2 = ±√5 means (x − 2)² = 5, which expands to x² − 4x − 1 = 0. The same answer.
  12. Check: (2 + √5)(2 − √5) = 4 − 5 = −1 = c, and (2 + √5) + (2 − √5) = 4 = −b. Both fit.
Full working
  1. (2 + √5)² + b(2 + √5) + c = 0substitute the root
  2. (9 + 2b + c) + (4 + b)√5 = 0(2 + √5)² = 9 + 4√5
  3. 4 + b = 0 and 9 + 2b + c = 0b, c integers and √5 is irrational
  4. b = −4, c = −1: x² − 4x − 1 = 0
  5. x = 4 ± √202 = 2 ± √5quadratic formula
  6. b = −4, c = −1, other root 2 − √5
2

A ferry travels 36 km down a river with the current and then 36 km back against it. The current flows at 3 km per hour, and the round trip takes 5 hours of travelling. Form an equation for the ferry's speed v in still water, and solve it to find v.

Hint

With the current the speed is v + 3, against it v − 3. Time = distance ÷ speed, and the two times add to 5.

Answer

v = 15 km per hour

Step by step
  1. Speed with the current is v + 3. Speed against it is v − 3, in km per hour.
  2. Time = distance ÷ speed. Downstream takes 36v + 3 hours and upstream takes 36v − 3 hours.
  3. The two times add to 5: 36v + 3 + 36v − 3 = 5.
  4. Clear the fractions by multiplying every term by (v + 3)(v − 3): 36(v − 3) + 36(v + 3) = 5(v + 3)(v − 3).
  5. Simplify the left side: 36v − 108 + 36v + 108 = 72v. The right side is 5(v² − 9) = 5v² − 45.
  6. So 72v = 5v² − 45, which rearranges to 5v² − 72v − 45 = 0.
  7. Use the formula with a = 5, b = −72 and c = −45: b² − 4ac = 5184 + 900 = 6084 = 78².
  8. v = 72 ± 7810, so v = 15 or v = −0.6.
  9. A speed in still water cannot be negative, and the ferry must go faster than the 3 km per hour current to get back at all. So reject −0.6.
  10. Classic mistake: adding the two speeds or averaging them. Times add, not speeds, because each leg takes a different time.
  11. So the ferry's speed in still water is 15 km per hour.
  12. Check: downstream 36 ÷ 18 = 2 hours and upstream 36 ÷ 12 = 3 hours, a total of 5 hours. Correct.
Full working
  1. 36v + 3 + 36v − 3 = 5time = distance ÷ speed
  2. 36(v − 3) + 36(v + 3) = 5(v² − 9)multiply by (v + 3)(v − 3)
  3. 5v² − 72v − 45 = 0
  4. v = 72 ± √608410 = 72 ± 7810quadratic formula
  5. v = 15 or v = −0.6; reject −0.6speed must be more than 3
  6. v = 15 km per hour
Try it

Graphing Quadratics

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91261

Is your child on track?

Take the free placement test