Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 14 · Quadratics and simultaneous equations
GCSE Maths · Quadratic and Simultaneous Equations · Higher · Lesson 14.9

GCSE Maths: The quadratic formula (Higher)

Part of the GCSE Maths quadratic and simultaneous equations chapter (Higher). Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
14.9

The quadratic formula

Edexcel 1MA1: A18
Grade 6-8

Many quadratic equations cannot be factorised with whole numbers. For example x2 + 3x − 5 = 0: you need two whole numbers that multiply to −5 and add to 3, and there are none. Yet the equation does have solutions (the graph crosses the axis). The quadratic formula finds them for any quadratic equation.

The formula. If ax2 + bx + c = 0 then

x = −b ± √(b2 − 4ac)2a

The ± sign means “plus or minus”: do the calculation once with + and once with −, giving two solutions. The number b2 − 4ac is called the discriminant.

Where does it come from? It is just completing the square (section 14.10) done once for all quadratics. Start with ax2 + bx + c = 0. Divide by a: x2 + (b/a)x + c/a = 0. Complete the square: (x + b/2a)2 − b2/4a2 + c/a = 0. Move the numbers across: (x + b/2a)2 = (b2 − 4ac)/4a2. Take the square root of both sides (remembering ±): x + b/2a = ±√(b2 − 4ac)/2a. Subtract b/2a and you have the formula. So the formula is a short-cut that always works.

Using it. (1) Rearrange so that one side is 0 and the equation is in the form ax2 + bx + c = 0. (2) Write down a, b and c with their signs. (3) Substitute into the formula, using brackets for negative numbers. (4) Work out b2 − 4ac first. (5) Take the square root and finish. The answer may be a whole number, a fraction, a decimal rounded as the question asks, or an exact surd such as 3 ± √5 (see Chapter 6 for simplifying surds).

The discriminant tells you how many solutions. If b2 − 4ac is positive there are two solutions. If it is 0 there is exactly one (a repeated root). If it is negative there are no real solutions because you cannot take the square root of a negative number: the graph never crosses the x-axis.

Key ideas

  • Quadratic formula: for ax2 + bx + c = 0, x = (−b ± √(b2 − 4ac)) ÷ 2a.
  • First rearrange to equal 0. Write down a, b, c with their signs and substitute in brackets.
  • The discriminant b2 − 4ac: positive gives 2 solutions, zero gives 1, negative gives none.
  • Exact answers keep the surd, e.g. 3 ± √5. Decimal answers are rounded only at the very end.
  • The whole of the top, −b ± √…, is divided by 2a.
Worked example 14.9.1
Solve 2x2 + 5x − 3 = 0 using the quadratic formula.

Key words. The discriminant is b2 − 4ac. A surd is a square root that is not a whole number, like √5. An exact answer keeps the surd; a decimal answer is rounded.

Method. Rearrange to ax2 + bx + c = 0, read off a, b, c, substitute them (in brackets) into the quadratic formula, work out the discriminant first, then give the answer in the form asked.

  1. Write down the equation. The quadratic formula solves any equation in the form ax2 + bx + c = 0.
    2x2 + 5x − 3 = 0
  2. Read off a, b and c. a is the number in front of x2, b is the number in front of x, and c is the number on its own. Each number keeps its sign (a minus sign belongs to the number after it). If there is no number in front of a letter, it is 1.
    2x2 + 5x − 3 = 0
    a = 2,   b = 5,   c = −3
  3. Write down the quadratic formula. This formula works for every quadratic equation. (It is proved by completing the square in general; see the start of this section.)
    x = −b ± √(b2 − 4ac)2a
  4. Substitute a, b and c, using brackets. Brackets stop sign mistakes, especially when a number is negative, because (−5)2 = 25 but −52 would be −25.
    x = −5 ± √(52 − 4 × 2 × (−3))2 × 2
  5. Work out the pieces one at a time. The part under the square root, b2 − 4ac, is called the discriminant. Work it out separately and carefully; it decides what kind of answer we get.
    b2 = 52 = 25
    4ac = 4 × 2 × (−3) = −24
    b2 − 4ac = 25 − (−24) = 49
    −b = −5
    2a = 2 × 2 = 4
  6. Put the pieces into the formula. Now the formula only needs a square root and a division.
    x = −5 ± √494
  7. Find the square root of 49. 7 × 7 = 49, so √49 = 7. The ± sign means we do one calculation with + and one with −.
    x = −5 ± 74
  8. Work out the two answers. One calculation with the + sign and one with the − sign. Simplify each fraction.
    With +: −5 + 74 = 24 = 12
    With −: −5 − 74 = −124 = −3

Check. When x = −3: 2 × (−3)2 + 5 × (−3) − 3 = 18 − 15 − 3 = 0. ✓
When x = 12: 2 × 122 + 5 × 12 − 3 = 12 + 52 − 3 = 0. ✓

Watch out. Put every number in brackets when you substitute. The whole top line is divided by 2a, not just the square root.

Worked example 14.9.2
Solve x2 − 6x + 4 = 0. Give your answers in the form p ± √q.

Key words. The discriminant is b2 − 4ac. A surd is a square root that is not a whole number, like √5. An exact answer keeps the surd; a decimal answer is rounded.

Method. Rearrange to ax2 + bx + c = 0, read off a, b, c, substitute them (in brackets) into the quadratic formula, work out the discriminant first, then give the answer in the form asked.

  1. Write down the equation. The quadratic formula solves any equation in the form ax2 + bx + c = 0.
    x2 − 6x + 4 = 0
  2. Read off a, b and c. a is the number in front of x2, b is the number in front of x, and c is the number on its own. Each number keeps its sign (a minus sign belongs to the number after it). If there is no number in front of a letter, it is 1.
    x2 − 6x + 4 = 0
    a = 1,   b = −6,   c = 4
  3. Write down the quadratic formula. This formula works for every quadratic equation. (It is proved by completing the square in general; see the start of this section.)
    x = −b ± √(b2 − 4ac)2a
  4. Substitute a, b and c, using brackets. Brackets stop sign mistakes, especially when a number is negative, because (−5)2 = 25 but −52 would be −25.
    x = −(−6) ± √((−6)2 − 4 × 1 × 4)2 × 1
  5. Work out the pieces one at a time. The part under the square root, b2 − 4ac, is called the discriminant. Work it out separately and carefully; it decides what kind of answer we get.
    b2 = (−6)2 = 36
    4ac = 4 × 1 × 4 = 16
    b2 − 4ac = 36 − 16 = 20
    −b = −(−6) = 6
    2a = 2 × 1 = 2
  6. Put the pieces into the formula. Now the formula only needs a square root and a division.
    x = 6 ± √202
  7. Simplify √20. 20 = 4 × 5 and 4 is a square number, so √20 = √4 × √5 = 2√5. (Look for the biggest square number that divides into 20.)
    √20 = 2√5
  8. Cancel the common factor in the fraction. Every number in the fraction (6, 2 and 2) can be divided by 2. Divide the top and the bottom by 2. You can only cancel a factor that divides every term on the top.
    x = 6 ± 2√52 = 3 ± √5

Check. Substitute x = 0.76: 1 × (0.76)2 + (−6) × (0.76) + 4 ≈ 0.018, which is very close to 0 (it is not exactly 0 only because 0.76 is rounded). ✓
Substitute x = 5.24: 1 × (5.24)2 + (−6) × (5.24) + 4 ≈ 0.018, which is very close to 0 (it is not exactly 0 only because 5.24 is rounded). ✓

Watch out. Put every number in brackets when you substitute. The whole top line is divided by 2a, not just the square root.

Worked example 14.9.3
Solve 3x2 + 4x − 2 = 0. Give your answers correct to 2 decimal places.

Key words. The discriminant is b2 − 4ac. A surd is a square root that is not a whole number, like √5. An exact answer keeps the surd; a decimal answer is rounded.

Method. Rearrange to ax2 + bx + c = 0, read off a, b, c, substitute them (in brackets) into the quadratic formula, work out the discriminant first, then give the answer in the form asked.

  1. Write down the equation. The quadratic formula solves any equation in the form ax2 + bx + c = 0.
    3x2 + 4x − 2 = 0
  2. Read off a, b and c. a is the number in front of x2, b is the number in front of x, and c is the number on its own. Each number keeps its sign (a minus sign belongs to the number after it). If there is no number in front of a letter, it is 1.
    3x2 + 4x − 2 = 0
    a = 3,   b = 4,   c = −2
  3. Write down the quadratic formula. This formula works for every quadratic equation. (It is proved by completing the square in general; see the start of this section.)
    x = −b ± √(b2 − 4ac)2a
  4. Substitute a, b and c, using brackets. Brackets stop sign mistakes, especially when a number is negative, because (−5)2 = 25 but −52 would be −25.
    x = −4 ± √(42 − 4 × 3 × (−2))2 × 3
  5. Work out the pieces one at a time. The part under the square root, b2 − 4ac, is called the discriminant. Work it out separately and carefully; it decides what kind of answer we get.
    b2 = 42 = 16
    4ac = 4 × 3 × (−2) = −24
    b2 − 4ac = 16 − (−24) = 40
    −b = −4
    2a = 2 × 3 = 6
  6. Put the pieces into the formula. Now the formula only needs a square root and a division.
    x = −4 ± √406
  7. Simplify √40. 40 = 4 × 10 and 4 is a square number, so √40 = √4 × √10 = 2√10. (Look for the biggest square number that divides into 40.)
    √40 = 2√10
  8. Cancel the common factor in the fraction. Every number in the fraction (4, 2 and 6) can be divided by 2. Divide the top and the bottom by 2. You can only cancel a factor that divides every term on the top.
    x = −4 ± 2√106 = −2 ± √103
  9. Use a calculator and round to 2 decimal places. Type the whole top of the fraction in brackets, then divide by the bottom. Do the + and the − separately. Do not round until the end.
    With +: x = −4 + 2√106 = 0.3874… ≈ 0.39
    With −: x = −4 − 2√106 = −1.7208… ≈ −1.72

Check. Substitute x = −1.72: 3 × (−1.72)2 + 4 × (−1.72) + (−2) ≈ −0.005, which is very close to 0 (it is not exactly 0 only because −1.72 is rounded). ✓
Substitute x = 0.39: 3 × (0.39)2 + 4 × (0.39) + (−2) ≈ 0.016, which is very close to 0 (it is not exactly 0 only because 0.39 is rounded). ✓

Watch out. Put every number in brackets when you substitute. The whole top line is divided by 2a, not just the square root.

Worked example 14.9.4
Solve x2 + 3x = 5. Give your answers correct to 2 decimal places.

Key words. The discriminant is b2 − 4ac. A surd is a square root that is not a whole number, like √5. An exact answer keeps the surd; a decimal answer is rounded.

Method. Rearrange to ax2 + bx + c = 0, read off a, b, c, substitute them (in brackets) into the quadratic formula, work out the discriminant first, then give the answer in the form asked.

  1. Write down the equation. A quadratic equation contains a squared letter. We want every value of the letter that makes the two sides equal.
    x2 + 3x = 5
  2. Rearrange so that one side equals 0. A quadratic must be rearranged so that one side is exactly 0. The null factor law (see below) only works on a product that equals 0. Move every term to the side where the squared term is positive, using inverse operations on both sides.
    Subtract 5 from both sides: x2 + 3x − 5 = 0
  3. Read off a, b and c. a is the number in front of x2, b is the number in front of x, and c is the number on its own. Each number keeps its sign (a minus sign belongs to the number after it). If there is no number in front of a letter, it is 1.
    x2 + 3x − 5 = 0
    a = 1,   b = 3,   c = −5
  4. Write down the quadratic formula. This formula works for every quadratic equation. (It is proved by completing the square in general; see the start of this section.)
    x = −b ± √(b2 − 4ac)2a
  5. Substitute a, b and c, using brackets. Brackets stop sign mistakes, especially when a number is negative, because (−5)2 = 25 but −52 would be −25.
    x = −3 ± √(32 − 4 × 1 × (−5))2 × 1
  6. Work out the pieces one at a time. The part under the square root, b2 − 4ac, is called the discriminant. Work it out separately and carefully; it decides what kind of answer we get.
    b2 = 32 = 9
    4ac = 4 × 1 × (−5) = −20
    b2 − 4ac = 9 − (−20) = 29
    −b = −3
    2a = 2 × 1 = 2
  7. Put the pieces into the formula. Now the formula only needs a square root and a division.
    x = −3 ± √292
  8. Write the exact answer. An answer with a square root left in it is called an exact answer (a surd). It is exactly right, with no rounding.
    x = −3 ± √292
  9. Use a calculator and round to 2 decimal places. Type the whole top of the fraction in brackets, then divide by the bottom. Do the + and the − separately. Do not round until the end.
    With +: x = −3 + √292 = 1.1926… ≈ 1.19
    With −: x = −3 − √292 = −4.1926… ≈ −4.19

Check. Substitute x = −4.19: 1 × (−4.19)2 + 3 × (−4.19) + (−5) ≈ −0.014, which is very close to 0 (it is not exactly 0 only because −4.19 is rounded). ✓
Substitute x = 1.19: 1 × (1.19)2 + 3 × (1.19) + (−5) ≈ −0.014, which is very close to 0 (it is not exactly 0 only because 1.19 is rounded). ✓

Watch out. Put every number in brackets when you substitute. The whole top line is divided by 2a, not just the square root.

Worked example 14.9.5
Show that x2 + 2x + 5 = 0 has no real solutions.

Key words. The discriminant is b2 − 4ac. A surd is a square root that is not a whole number, like √5. An exact answer keeps the surd; a decimal answer is rounded.

Method. Rearrange to ax2 + bx + c = 0, read off a, b, c, substitute them (in brackets) into the quadratic formula, work out the discriminant first, then give the answer in the form asked.

  1. Write down the equation. The quadratic formula solves any equation in the form ax2 + bx + c = 0.
    x2 + 2x + 5 = 0
  2. Read off a, b and c. a is the number in front of x2, b is the number in front of x, and c is the number on its own. Each number keeps its sign (a minus sign belongs to the number after it). If there is no number in front of a letter, it is 1.
    x2 + 2x + 5 = 0
    a = 1,   b = 2,   c = 5
  3. Write down the quadratic formula. This formula works for every quadratic equation. (It is proved by completing the square in general; see the start of this section.)
    x = −b ± √(b2 − 4ac)2a
  4. Substitute a, b and c, using brackets. Brackets stop sign mistakes, especially when a number is negative, because (−5)2 = 25 but −52 would be −25.
    x = −2 ± √(22 − 4 × 1 × 5)2 × 1
  5. Work out the pieces one at a time. The part under the square root, b2 − 4ac, is called the discriminant. Work it out separately and carefully; it decides what kind of answer we get.
    b2 = 22 = 4
    4ac = 4 × 1 × 5 = 20
    b2 − 4ac = 4 − 20 = −16
    −b = −2
    2a = 2 × 1 = 2
  6. Look at the discriminant. You cannot take the square root of a negative number and get an ordinary (real) number, because a number multiplied by itself is never negative.
    −16 is negative, so there are no real solutions.

Watch out. Put every number in brackets when you substitute. The whole top line is divided by 2a, not just the square root.

Watch out

The most common slips are: (1) forgetting that −b is positive when b is negative, (2) writing −52 = −25 instead of (−5)2 = 25, (3) dividing only the square root by 2a instead of the whole top line, and (4) forgetting the b2 − 4ac sign change when c is negative: 4ac is negative so subtracting it adds.

Exercise 14I  The quadratic formula

Calculator allowed
1
FSolve using the quadratic formula. These solutions are rational (whole numbers or fractions).
(a)2x2 − x − 6 = 0
(b)3x2 + x − 4 = 0
(c)x2 − 4x − 12 = 0
(d)2x2 + 7x + 3 = 0
(e)5x2 + 4x − 1 = 0
(f)6x2 − 5x − 4 = 0
2
FSolve x2 + 5x + 2 = 0. Give your answers correct to 2 decimal places.
3
FSolve x2 − 3x − 5 = 0. Give your answers correct to 2 decimal places.
4
FSolve 2x2 + 3x − 4 = 0. Give your answers correct to 2 decimal places.
5
FSolve 3x2 − 8x + 2 = 0. Give your answers correct to 2 decimal places.
6
FSolve 4x2 − 7x + 1 = 0. Give your answers correct to 2 decimal places.
7
FSolve 5x2 + 2x − 4 = 0. Give your answers correct to 2 decimal places.
8
FSolve, giving your answers in the form p ± √q or as exact fractions.
(a)x2 + 4x + 1 = 0
(b)x2 − 2x − 7 = 0
(c)x2 + 6x + 2 = 0
(d)x2 − 8x + 9 = 0
(e)2x2 + 6x + 3 = 0
(f)3x2 − 6x − 1 = 0
9
FRearrange and solve x2 + 3x = 5. Give your answers correct to 2 decimal places.
10
FExpand, rearrange and solve x(x + 4) = 7. Give your answers correct to 2 decimal places.
11
FRearrange and solve 2x2 = 5x + 4. Give your answers correct to 2 decimal places.
12
FExpand, rearrange and solve exactly (x + 2)(x − 3) = 5. Give your answers in the form p ± √q or as exact fractions.
13
RUse the discriminant to decide how many solutions each equation has. You do not need to solve them.
(a)x2 + x + 1 = 0
(b)x2 − 4x + 4 = 0
(c)x2 − 3x − 1 = 0
(d)2x2 + 3x + 5 = 0
14
PSThe height, h metres, of a ball t seconds after it is thrown is given by h = 12t − 5t2. Find the times when the ball is 6 m above the ground. Give your answers to 2 decimal places.
15
PSA rectangle has width x cm and length (x + 3) cm. Its area is 20 cm2. Find the width and the length, to 2 decimal places.
(x + 3) cmx cmArea = 20 cm²
16
PSA farmer has 40 m of fencing to fence three sides of a rectangular field. The fourth side is a wall. The two equal sides are each x m long and the area of the field is 160 m2. Find the possible values of x to 2 decimal places, and the possible dimensions.
17
RUse the quadratic formula to show that the solutions of x2 + 2x − 1 = 0 are x = −1 ± √2.
18
RFind all the values of k for which x2 + kx + 9 = 0 has no real solutions.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings