Grasp Maths

Year 11

Completing the square

Write ax2+bx+cax^2 + bx + c in the form a(x+p)2+qa(x+p)^2 + q and use it to find the vertex and solve equations.

Back to Year 11Previous lessonNext lessonProgress: not startedMastery: not started

Lesson overview

Algebra - quadratic expressions

Completing the square is a powerful algebraic technique that rewrites a quadratic expression into a form that reveals the vertex of its parabola. For a quadratic x2+bx+cx^2 + bx + c, we can rewrite it as (x+b2)2b24+c(x + \frac{b}{2})^2 - \frac{b^2}{4} + c. This form makes it easy to find the minimum or maximum value (the vertex), solve equations without using the formula, and understand the transformations of parabolic graphs. For quadratics with a leading coefficient a1a \neq 1, we factor out aa first, complete the square for the expression in brackets, then distribute.

Completing the square for x2+6x+2x^2 + 6x + 2

Rewrite x2+6x+2x^2 + 6x + 2 in the form (x+p)2+q(x + p)^2 + q.

Half the coefficient of xx is 62=3\frac{6}{2} = 3. Square it: 32=93^2 = 9. Subtract the squared term and simplify.

Finding the vertex from completed square form

Find the vertex of the parabola y=(x2)2+5y = (x - 2)^2 + 5.

Formy=(x2)2+5y = (x - 2)^2 + 5

(x2)2(x - 2)^2 is zero when x=2x = 2

Minimum valuey=5y = 5

Occurs at x=2x = 2

Vertex(2,5)(2, 5)

The turning point of the parabola

The vertex is (p,q)(−p, q) from the form (x+p)2+q(x + p)^2 + q. Here, the form is (x2)2+5(x - 2)^2 + 5, so the vertex is (2,5)(2, 5).

Completing the square when a1a \neq 1

Write 2x2+8x+32x^2 + 8x + 3 in the form a(x+p)2+qa(x + p)^2 + q.

Factor out the coefficient of x2x^2 first. Complete the square inside the brackets. Then distribute and simplify.

Using completed square form to solve equations

Solve x2+4x5=0x^2 + 4x - 5 = 0 using completing the square.

After completing the square, take square roots of both sides, remembering both positive and negative roots.

Worked example: Complete the square and find the minimum

For the quadratic f(x)=3x212x+7f(x) = 3x^2 - 12x + 7, complete the square and find the minimum value.

  1. Factor out 3 from the first two terms: 3(x24x)+73(x^2 - 4x) + 7.
  2. To complete the square inside brackets, take half of the coefficient of xx: 42=2\frac{-4}{2} = -2.
  3. Square it: (2)2=4(-2)^2 = 4. Write as: 3((x2)24)+73((x - 2)^2 - 4) + 7.
  4. Distribute the 3: 3(x2)212+73(x - 2)^2 - 12 + 7.
  5. Simplify: 3(x2)253(x - 2)^2 - 5.
  6. The minimum value is 5-5 (when (x2)2=0(x - 2)^2 = 0, i.e., when x=2x = 2).

Try it

Read each question carefully. Complete the square and identify the vertex or solve the equation. Choose the correct answer from the four options.

Question 1

Write x2+8x+3x^2 + 8x + 3 in the form (x+p)2+q(x + p)^2 + q.

💡 Half of 8 is 4. Square it to get 16. So x2+8x+3=(x+4)216+3=(x+4)213x^2 + 8x + 3 = (x + 4)^2 - 16 + 3 = (x + 4)^2 - 13.

Question 2

Find the vertex of the parabola y=(x+3)27y = (x + 3)^2 - 7.

💡 In the form (x+p)2+q(x + p)^2 + q, the vertex is (p,q)(-p, q). Here, p=3p = 3 and q=7q = -7, so the vertex is (3,7)(-3, -7).

Question 3

Complete the square: 2x212x+5=2(xp)2+q2x^2 - 12x + 5 = 2(x - p)^2 + q. What is qq?

💡 Factor: 2(x26x)+52(x^2 - 6x) + 5. Complete: 2((x3)29)+5=2(x3)218+5=2(x3)2132((x - 3)^2 - 9) + 5 = 2(x - 3)^2 - 18 + 5 = 2(x - 3)^2 - 13.

Question 4

Solve x2+6x+8=0x^2 + 6x + 8 = 0 by completing the square.

💡 (x+3)29+8=0(x+3)2=1x+3=±1x=2(x + 3)^2 - 9 + 8 = 0 \Rightarrow (x + 3)^2 = 1 \Rightarrow x + 3 = \pm 1 \Rightarrow x = -2 or x=4x = -4.

Question 5

What is the minimum value of f(x)=x210x+21f(x) = x^2 - 10x + 21?

💡 Complete the square: (x5)225+21=(x5)24(x - 5)^2 - 25 + 21 = (x - 5)^2 - 4. The minimum is 4-4 when (x5)2=0(x - 5)^2 = 0.

Common mistakes

Watch for these when working through the lesson.

  • Forgetting to subtract the squared term after rewriting. If you complete the square to (x+b)2(x + b)^2, you must subtract b2b^2 to maintain equality.
  • When a1a \neq 1, failing to factor out aa before completing the square, or forgetting to distribute aa back through the adjusted constant.
  • Confusing the sign of pp in the vertex. From (x+p)2+q(x + p)^2 + q, the vertex is (p,q)(-p, q). The xx-coordinate is the opposite sign.

Related topics

These ideas fit closely with this lesson.

  • Solving quadratics by factorisation and the quadratic formula
  • Graphs of quadratic functions and transformations
  • Finding turning points and sketching parabolas

Practice next

Independent practice will plug in here

This lesson builds the understanding first. Deeper adaptive practice can sit here later.