• Foundation
  • About 16 min
  • 5 practice questions

The quadratic formula

Use the quadratic formula x = (−b ± √(b² − 4ac)) / 2a to solve any quadratic equation with real roots, including ones that do not factorise neatly, and see where the formula comes from.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Identify a, b and c correctly, including signs and zero values, from any quadratic equation.
  • Apply the quadratic formula and simplify the result, including surd roots.
  • Use the formula to solve word problems.

Factorisation works only when you can spot the right split, and many equations, such as x² − 4x + 1 = 0, have roots that are not rational at all. The quadratic formula solves every quadratic equation that has real roots, with no guessing. Indian mathematicians such as Brahmagupta and Sridharacharya described rules of this kind many centuries ago.

The roots of ax² + bx + c = 0 (a ≠ 0) are x = (−b ± √(b² − 4ac)) / 2a, provided b² − 4ac ≥ 0.

— Quadratic formula

Where the formula comes from (for interest)

Divide ax² + bx + c = 0 by a and move the constant: x² + (b/a)x = −c/a. Add (b/2a)² to both sides so the left side becomes a perfect square: (x + b/2a)² = (b² − 4ac)/4a². Taking square roots, x + b/2a = ±√(b² − 4ac)/2a, which rearranges to the formula. This trick of making a perfect square is called completing the square.

Getting a, b and c right

Always rewrite in standard form first
EquationStandard formabc
3x² − 5 = 2x3x² − 2x − 5 = 03−2−5
x² = 6xx² − 6x + 0 = 01−60
5 − x² = 0−x² + 0x + 5 = 0−105

Using the quadratic formula

  1. Standard form ax² + bx + c = 0
  2. Read a, b, c Include the signs.
  3. Work out b² − 4ac If it is negative, there are no real roots.
  4. Substitute x = (−b ± √(b² − 4ac)) / 2a
  5. Simplify both roots One with +, one with −.

Worked example 1: 2x² + 5x − 3 = 0

Working: a = 2, b = 5, c = −3. b² − 4ac = 25 − 4 × 2 × (−3) = 25 + 24 = 49, and √49 = 7. So x = (−5 ± 7)/4. With +: x = 2/4 = 1/2. With −: x = −12/4 = −3. Check x = 1/2: 2 × 1/4 + 5/2 − 3 = 1/2 + 5/2 − 3 = 0.

Worked example 2: x² − 4x + 1 = 0

Working: a = 1, b = −4, c = 1. b² − 4ac = 16 − 4 = 12, and √12 = 2√3. So x = (4 ± 2√3)/2 = 2 + √3 or 2 − √3. These roots are irrational, so no factorisation with whole numbers would have found them. Check with Chapter 2: their sum is 4 = −b/a and their product is 4 − 3 = 1 = c/a.

Worked example 3: a garden

A rectangular garden has perimeter 32 m and area 60 m². Find its sides. Working: length + breadth = 16, so if one side is x m the other is (16 − x) m. Area: x(16 − x) = 60, so 16x − x² = 60, giving x² − 16x + 60 = 0. Here a = 1, b = −16, c = 60: b² − 4ac = 256 − 240 = 16, √16 = 4. x = (16 ± 4)/2 = 10 or 6. The garden is 10 m by 6 m. Check: 2(10 + 6) = 32 and 10 × 6 = 60.

Key takeaways: rewrite in standard form, read a, b and c with their signs (a missing term means 0), compute b² − 4ac first, then use x = (−b ± √(b² − 4ac)) / 2a and simplify. The formula works even when roots are irrational. Adding the two roots always gives −b/a, linking back to Chapter 2.

Check your understanding

  1. 1. Using the quadratic formula on 2x² − 3x − 4 = 0, what are the roots?

    1. (−3 ± √41)/4
    2. (3 ± √41)/4
    3. (3 ± √23)/4
    4. (3 ± √41)/2
    Show answer

    Answer: B. a = 2, b = −3, c = −4. b² − 4ac = 9 + 32 = 41. So x = (−(−3) ± √41)/(2 × 2) = (3 ± √41)/4.

  2. 2. What are the roots of x² + 2x − 4 = 0?

    1. 1 ± √5
    2. −1 ± √5
    3. −2 ± √5
    4. −1 ± √3
    Show answer

    Answer: B. a = 1, b = 2, c = −4. b² − 4ac = 4 + 16 = 20 and √20 = 2√5. x = (−2 ± 2√5)/2 = −1 ± √5.

  3. 3. For the equation 3x² = 5x + 2, what are a, b and c?

    1. a = 3, b = 5, c = 2
    2. a = 3, b = −5, c = 2
    3. a = 3, b = 5, c = −2
    4. a = 3, b = −5, c = −2
    Show answer

    Answer: D. Standard form: 3x² − 5x − 2 = 0, so a = 3, b = −5, c = −2. (The roots are 2 and −1/3.)

  4. 4. What are the roots of x² − 6x + 7 = 0?

    1. 3 ± √2
    2. −3 ± √2
    3. 3 ± 2√2
    4. 6 ± √2
    Show answer

    Answer: A. a = 1, b = −6, c = 7. b² − 4ac = 36 − 28 = 8 and √8 = 2√2. x = (6 ± 2√2)/2 = 3 ± √2.

  5. 5. Adding the two roots given by the quadratic formula for ax² + bx + c = 0 gives

    1. b/a
    2. c/a
    3. −b/a
    4. −b/2a
    Show answer

    Answer: C. (−b + √D)/2a + (−b − √D)/2a = −2b/2a = −b/a, where D = b² − 4ac. The √D parts cancel. This matches the sum of zeroes from Chapter 2.

Privacy · Terms · Refunds · Delivery