Skip to content
SPM Tuition
Additional Mathematics · Quadratic functions

Completing the square for a turning point

Completing the square works until there is a number in front of x².

Completing the square rewrites a quadratic as a(x + p)² + q. The turning point is then (−p, q): a minimum if a > 0 and a maximum if a < 0.

This lesson is part of quadratic functions. For the matching ideas on roots, see using the discriminant to classify roots.

Why does the form a(x + p)² + q show the turning point?

A squared term is never negative, and it is exactly zero when x + p = 0. So a(x + p)² + q is smallest when x = −p, with value q, if a is positive.

This one fact gives you the turning point at once, without any calculus or graphing.

Worked example 1: a = 1

Here is an illustrative example. Write f(x) = x² − 6x + 11 in the form (x + p)² + q.

  1. Take half of the coefficient of x: −6 ÷ 2 = −3.
  2. Write (x − 3)², which expands to x² − 6x + 9.
  3. Adjust the constant: 11 − 9 = 2.
  4. So f(x) = (x − 3)² + 2.

The minimum value is 2, at x = 3. The turning point is (3, 2). Check: f(3) = 9 − 18 + 11 = 2.

Worked example 2: a = 2

Write g(x) = 2x² + 8x + 3 in the form a(x + p)² + q.

  1. Factor out 2 from the x-terms only: g(x) = 2(x² + 4x) + 3.
  2. Complete the square inside: x² + 4x = (x + 2)² − 4.
  3. Substitute: g(x) = 2[(x + 2)² − 4] + 3.
  4. Expand the outer 2: g(x) = 2(x + 2)² − 8 + 3 = 2(x + 2)² − 5.

The minimum value is −5, at x = −2. Check: g(−2) = 2(4) − 16 + 3 = −5.

Worked example 3: a negative a

Write h(x) = −x² + 4x + 1 in the form a(x + p)² + q.

  1. Factor out −1 from the x-terms: h(x) = −(x² − 4x) + 1.
  2. Complete the square: x² − 4x = (x − 2)² − 4.
  3. Substitute: h(x) = −[(x − 2)² − 4] + 1 = −(x − 2)² + 4 + 1.
  4. So h(x) = −(x − 2)² + 5.

Since a is negative, the graph opens downward and 5 is the maximum value, at x = 2. Check: h(2) = −4 + 8 + 1 = 5.

The mistake that costs marks

The common slip in example 2 is to forget to multiply the −4 by the 2 that was factored out. The working then reads 2(x + 2)² − 4 + 3 = 2(x + 2)² − 1.

Step Wrong Right
After completing the square 2[(x + 2)² − 4] + 3 2[(x + 2)² − 4] + 3
Expanding the outer 2 2(x + 2)² − 4 + 3 2(x + 2)² − 8 + 3
Result 2(x + 2)² − 1 2(x + 2)² − 5

Substitute the turning point to check. With the wrong form, the minimum would be −1, but g(−2) = −5. The numbers disagree, so the wrong form is found out.

Check yourself

Write f(x) = 3x² − 12x + 5 in the form a(x + p)² + q, and state the minimum value and where it occurs.

Answer

f(x) = 3(x² − 4x) + 5 = 3[(x − 2)² − 4] + 5 = 3(x − 2)² − 12 + 5 = 3(x − 2)² − 7.

The minimum value is −7, at x = 2.

Check: f(2) = 12 − 24 + 5 = −7.

What to study next

Knowing the turning point and the roots lets you describe where a quadratic is positive or negative. Continue with solving quadratic inequalities using intervals, then work through the practice set.

For a teacher to watch your bracket step on new cases, see online one-to-one Additional Mathematics tuition.

Common questions

What does a(x + p)² + q tell me?

The turning point is (−p, q). If a is positive the graph opens upward, so q is the minimum value. If a is negative it opens downward, so q is the maximum value.

Why is the turning point at x = −p and not x = p?

(x + p)² is zero when x = −p, and that is where the squared term is smallest. So the turning point sits at x = −p with value q.

Do I always need to complete the square to find the turning point?

No. The x-coordinate of the turning point is also −b/(2a), and you can substitute it to find the y-value. Completing the square is the method that shows the structure and is often asked for by name.

If completing the square works when a is 1 but breaks when a is another number, one-to-one lessons can give you a run of cases and check the bracket step each time.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.