Grade by Grade
A. Quadratic Functions · Quadratic Expressions and Equations

Completing the Square and Developing the Quadratic Formula

A1.6About 75 minutes
Learning goals
  • I can solve equations of the form (x + p)² = k by taking square roots.
  • I can solve a quadratic equation by completing the square.
  • I can follow the development of the quadratic formula and connect each step to a numerical example.

Words to know

square root property
If X² = k with k ≥ 0, then X = √k or X = −√k.
completing the square
Adding (b/2)² to x² + bx to make the perfect square (x + b/2)².
quadratic formula
x = (−b ± √(b² − 4ac)) / (2a), the roots of ax² + bx + c = 0.
exact value
An answer written with radicals or fractions, such as −2 + √5, rather than a rounded decimal.
computer algebra system (CAS)
Software that manipulates algebraic expressions and solves equations symbolically.

When factoring fails

Try to solve x² + 4x − 1 = 0 by factoring. You need two integers with product −1 and sum 4. The only pairs are 1 and −1 (sum 0). Factoring fails.

Yet the graph clearly crosses the x-axis twice, near −4.24 and 0.24. The roots exist; they just are not "nice" numbers. We need a method that works for every quadratic equation. That method is completing the square, and doing it once for the general equation ax² + bx + c = 0 produces the famous quadratic formula.

−6−5−4−3−2−1012−6−4−20246xy≈ −4.24≈ 0.24y = x² + 4x − 1
y = x² + 4x − 1 has two x-intercepts, but they are not integers, so x² + 4x − 1 does not factor over the integers.

Tool 1: square roots

If an equation looks like (something)² = k with k ≥ 0, take the square root of both sides. Remember both signs, because 3² = 9 and (−3)² = 9.

(x + 2)² = 5 → x + 2 = ±√5 → x = −2 ± √5, so x ≈ 0.24 or x ≈ −4.24.

If k is negative, there is no real solution: no real number squared is negative.

Tool 2: completing the square

To use square roots on x² + 4x − 1 = 0, we need the left side to be a perfect square. Move the constant: x² + 4x = 1. Now add the number that completes the square. For x² + bx, that number is (b/2)²: half the coefficient of x, squared.

x²2x2x4x2x2x² + 4x is a square withone corner missing.The missing corner is 2 × 2 = 4.x² + 4x + 4 = (x + 2)²Add (half of 4)² = 4 to complete it.
x² + 4x arranged as a square with a missing 2-by-2 corner. Adding 4 completes the square: x² + 4x + 4 = (x + 2)².
Worked example

Example 1: Solve by completing the square

Solve x² + 4x − 1 = 0.

  1. Move the constant: x² + 4x = 1.
  2. Half of 4 is 2, and 2² = 4. Add 4 to both sides: x² + 4x + 4 = 5.
  3. Write the left side as a square: (x + 2)² = 5.
  4. Square roots: x + 2 = ±√5.
  5. x = −2 + √5 ≈ 0.236 or x = −2 − √5 ≈ −4.236. These match the graph.

x = −2 ± √5 (x ≈ 0.24 or x ≈ −4.24)

Developing the quadratic formula

Now do exactly the same steps to the general equation ax² + bx + c = 0 (with a ≠ 0). The table puts a numerical example beside the general case so you can connect each step. You are not expected to reproduce the general version from memory, but you should be able to follow it and explain each step with the example.

StepExample: 2x² + 6x − 3 = 0General: ax² + bx + c = 0
1. Move the constant2x² + 6x = 3ax² + bx = −c
2. Divide by ax² + 3x = 3/2x² + (b/a)x = −c/a
3. Add (half the x-coefficient)²x² + 3x + 9/4 = 3/2 + 9/4x² + (b/a)x + b²/(4a²) = −c/a + b²/(4a²)
4. Write as a square; combine the right side(x + 3/2)² = 15/4(x + b/(2a))² = (b² − 4ac)/(4a²)
5. Take square rootsx + 3/2 = ±√15 / 2x + b/(2a) = ±√(b² − 4ac) / (2a)
6. Isolate xx = (−3 ± √15) / 2x = (−b ± √(b² − 4ac)) / (2a)
Completing the square on a numerical example and on the general equation, step by step.

The quadratic formula

For ax² + bx + c = 0 with a ≠ 0:

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

The ± gives two roots: one with + and one with −. The whole numerator, −b ± √(b² − 4ac), is divided by 2a.

Worked example

Example 2: Connecting the formula to the example

Use the formula on 2x² + 6x − 3 = 0 and compare with step 6 of the table.

  1. a = 2, b = 6, c = −3.
  2. b² − 4ac = 36 − 4(2)(−3) = 36 + 24 = 60.
  3. x = (−6 ± √60) / 4. With a calculator, √60 ≈ 7.746.
  4. x ≈ (−6 + 7.746) / 4 ≈ 0.436 or x ≈ (−6 − 7.746) / 4 ≈ −3.436.
  5. From the table: (−3 ± √15) / 2, with √15 ≈ 3.873, gives 0.436 and −3.436. The same roots, because √60 = 2√15, so (−6 ± 2√15)/4 = (−3 ± √15)/2.

x ≈ 0.44 or x ≈ −3.44, by both methods

Following the development with technology

A computer algebra system (CAS), such as the free GeoGebra CAS app, can do the algebra for you. Type the general equation into a solve command (in GeoGebra CAS, something like Solve(a x^2 + b x + c = 0, x)), and it returns the quadratic formula. You can also type each step of the table into the CAS and watch it simplify, which is a good way to check that each step is legal. Graphing technology does the reverse check: graph y = 2x² + 6x − 3 and read the x-intercepts (about −3.44 and 0.44).

Just for fun

Many students remember the quadratic formula by singing it to the tune of Pop Goes the Weasel: "x equals negative b, plus or minus the square root, of b squared minus four a c, all over two a!" Try it. It sticks.

Hands-on activity

Complete a real square

You need: paper, a ruler, a pencil and scissors (take care with scissors).

  1. Cut a 10 cm by 10 cm square (call the side x, so this is x²).
  2. Cut two strips 10 cm by 3 cm (each is 3x). Together with the square these show x² + 6x.
  3. Place one strip on the right of the square and the other along the bottom. What shape is missing to make a bigger square?
  4. Cut that missing piece. What are its dimensions and area?

What to look for: the missing corner is 3 cm by 3 cm, area 9 = (6/2)². Adding it gives a 13 cm by 13 cm square: x² + 6x + 9 = (x + 3)². Check: 100 + 60 + 9 = 169 = 13².

Your turn

1

Solve (x − 3)² = 16.

2

Solve (x + 1)² = 7. Give exact and approximate answers.

3

What number completes the square x² + 10x + ___? Write the result as a square.

4

Solve x² + 6x − 2 = 0 by completing the square.

5

Solve x² − 8x + 3 = 0 by completing the square.

6

In the development of the formula, why do we divide by a in step 2?

7

Use the quadratic formula on x² + 6x − 2 = 0 and compare with your answer above.

More practice: warm-up

1

Solve x² = 36.

2

Solve (x + 4)² = 9.

3

Complete the square: x² − 12x + ___.

4

Complete the square: x² + 3x + ___.

5

Write the quadratic formula.

More practice: on your own

1

Solve 2(x − 1)² − 18 = 0.

2

Solve x² + 2x − 5 = 0 by completing the square.

3

Solve 2x² + 8x − 1 = 0 by completing the square, then check with the formula.

4

In the general development, what number is added in step 3, and why?

5

Solve (2x + 1)² = 25.

Challenge

1

Solve 3x² − 6x − 2 = 0 by completing the square, and check with the formula.

2

Explain why (x + 3)² = −4 has no real solutions. Which part of the quadratic formula would show this?

3

Jordan writes the formula as x = −b ± √(b² − 4ac) / 2a. Use 2x² + 6x − 3 = 0 to show why this is wrong.

Check your understanding

Quiz

1.

Solve (x − 5)² = 49.

2.

What number completes the square x² + 14x + ___?

3.

In the development of the quadratic formula, which method is applied to ax² + bx + c = 0?

4.

Which is the quadratic formula?

5.

Why does x² = −9 have no real solutions?

6.

(x + 3)² = 8. The exact solutions are:

For parents and teachers

Big idea (A1.6, first part): students explore where the quadratic formula comes from. The curriculum says they should follow the algebraic development and connect it to a numerical example, not reproduce the general derivation themselves.

How to help: cover the "General" column of the table and ask your teen to explain each step of the numerical example. Then uncover it and ask, "Which general step matches this one?" If you know the Pop Goes the Weasel song, sing it together.

Common difficulties:

  • Forgetting the ± when taking square roots (losing one root).
  • Adding (b/2)² to one side only.
  • Forgetting to divide by a before completing the square.
  • Dividing only the square root by 2a instead of the whole numerator.