Skip to main content
SingaporeAdditional MathematicsSyllabus dot point

How does completing the square reveal the maximum or minimum value and the line of symmetry of a quadratic?

Express a quadratic in completed-square form and use it to find the vertex, the maximum or minimum value, and the line of symmetry

A focused answer to the O-Level A-Maths outcome on quadratic functions. Completing the square to find the vertex, the maximum or minimum value, and the line of symmetry, and sketching the parabola.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to rewrite a quadratic ax2+bx+cax^2 + bx + c in completed-square form a(x−h)2+ka(x - h)^2 + k, because that form hands you the vertex (h,k)(h, k), the maximum or minimum value, and the line of symmetry x=hx = h at a glance. It is the single most useful manipulation for understanding a parabola.

The answer

Why completed-square form is useful

A squared term is never negative. So in a(x−h)2+ka(x - h)^2 + k, the bracket contributes its least value 00 when x=hx = h, and the whole expression equals kk there. If a>0a > 0 the parabola opens upward and kk is the minimum; if a<0a < 0 it opens downward and kk is the maximum.

Completing the square when a equals 1

For x2+bx+cx^2 + bx + c, halve the coefficient of xx, square it, add and subtract it:

x2+bx+c=(x+b2)2−b24+c.x^2 + bx + c = \left(x + \frac{b}{2}\right)^2 - \frac{b^2}{4} + c.

The vertex is at x=−b2x = -\dfrac{b}{2}.

Completing the square when a is not 1

Factor aa out of the xx terms first, complete the square inside the bracket, then expand the constant back out:

ax2+bx+c=a(x2+bax)+c.ax^2 + bx + c = a\left(x^2 + \frac{b}{a}x\right) + c.

Reading off the key features

From a(x−h)2+ka(x - h)^2 + k: the vertex (turning point) is (h,k)(h, k); the line of symmetry is the vertical line x=hx = h; the maximum or minimum value is kk, and which it is depends on the sign of aa.

Sketching from the completed-square form

The completed-square form gives everything needed for a quick sketch: plot the vertex (h,k)(h, k), draw the axis of symmetry through it, note whether the curve opens up or down from the sign of aa, and mark the yy-intercept by setting x=0x = 0 in the original. The shape follows without a table of values.

Solving equations by completing the square

Completing the square also solves a quadratic equation: rearranging a(x−h)2+k=0a(x - h)^2 + k = 0 to (x−h)2=−ka(x - h)^2 = -\dfrac{k}{a} and taking the square root gives the roots directly. This is the manipulation that derives the quadratic formula itself.

Examples in context

Example 1. Maximum height of a projectile. A height model h=−5t2+20t+2h = -5t^2 + 20t + 2 completes to h=−5(t−2)2+22h = -5(t - 2)^2 + 22, so the greatest height is 2222 metres at t=2t = 2 seconds, found instantly without calculus.

Example 2. Minimising cost. A cost function C=3x2−12x+50C = 3x^2 - 12x + 50 completes to 3(x−2)2+383(x - 2)^2 + 38, showing the least cost is 3838 at x=2x = 2 units, the kind of optimisation a quadratic model captures directly.

Try this

Q1. Express x2+8x+3x^2 + 8x + 3 in the form (x+a)2+b(x + a)^2 + b. [2 marks]

  • Cue. Half of 88 is 44: (x+4)2−16+3=(x+4)2−13(x + 4)^2 - 16 + 3 = (x + 4)^2 - 13.

Q2. State the minimum value of (x−5)2+7(x - 5)^2 + 7 and where it occurs. [1 mark]

  • Cue. Minimum value 77 at x=5x = 5.

Q3. Express 2x2−12x+12x^2 - 12x + 1 in completed-square form. [3 marks]

  • Cue. 2(x2−6x)+1=2[(x−3)2−9]+1=2(x−3)2−172(x^2 - 6x) + 1 = 2[(x - 3)^2 - 9] + 1 = 2(x - 3)^2 - 17.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original4 marksExpress x2−6x+11x^2 - 6x + 11 in the form (x−a)2+b(x - a)^2 + b, and hence state the minimum value of the expression and the value of xx at which it occurs.
Show worked answer →

Halve the coefficient of xx (−6→−3-6 \to -3) and square it (99): x2−6x+11=(x−3)2−9+11=(x−3)2+2x^2 - 6x + 11 = (x - 3)^2 - 9 + 11 = (x - 3)^2 + 2.

Since (x−3)2≥0(x - 3)^2 \geq 0, the minimum value is 22, occurring when x−3=0x - 3 = 0, that is x=3x = 3.

Markers reward the correct completed-square form, the minimum value 22, and the value x=3x = 3.

Original5 marksExpress f(x)=2x2+8x+5f(x) = 2x^2 + 8x + 5 in the form a(x+b)2+ca(x + b)^2 + c, and state the coordinates of the turning point of y=f(x)y = f(x).
Show worked answer →

Factor the 22 from the xx terms: 2(x2+4x)+52(x^2 + 4x) + 5.

Complete the square inside: x2+4x=(x+2)2−4x^2 + 4x = (x + 2)^2 - 4, so 2[(x+2)2−4]+5=2(x+2)2−8+5=2(x+2)2−32[(x + 2)^2 - 4] + 5 = 2(x + 2)^2 - 8 + 5 = 2(x + 2)^2 - 3.

The turning point is at x=−2x = -2, y=−3y = -3, so (−2,−3)(-2, -3). As a=2>0a = 2 > 0 it is a minimum.

Markers reward factoring out the leading coefficient first, completing the square correctly, and reading the vertex from the form.

Related dot points