Revision Hub / Algebra / Completing the Square

Algebra

Grade 7-8

Completing the Square

Completing the square rewrites a quadratic expression as a single bracket squared plus a constant, revealing the minimum point of its graph directly and giving another way to solve a quadratic equation. This lesson covers completing the square when the coefficient of x² is 1, finding the minimum point of a quadratic graph from the completed square form, completing the square when the coefficient of x² is greater than 1, and solving a quadratic equation by completing the square.

What you need to know

  • Write x squared plus b x plus c as (x + b over 2) squared minus (b over 2) squared plus c.
  • The form (x + p) squared plus q gives the turning point at (minus p, q).
  • It is one way to solve a quadratic that will not factorise nicely.
  • If the coefficient of x squared is not 1, factor it out first.
Asad, co-founder of Teachably

Written by Asad, co-founder of Teachably

Video walkthrough coming soon

The written lesson below covers everything you need in the meantime.

Completing the square when the coefficient of x² is 1

Halve the coefficient of x to find the value inside the bracket, square this bracket, then subtract the square of that value and add back the original constant.

To write x² + 8x + 5 in the form (x + a)² + b, halve 8 to get 4, so the bracket is (x + 4)². Since (x + 4)² = x² + 8x + 16, subtract 16 and add the original 5: x² + 8x + 5 = (x + 4)² − 11.

Finding the minimum point from the completed square form

Once a quadratic is written as (x + a)² + b, the minimum point of its graph is at (−a, b), since the squared bracket is smallest, equal to 0, when x = −a.

For y = x² + 8x + 5 = (x + 4)² − 11, the minimum point is at (−4, −11).

Completing the square when the coefficient of x² is greater than 1

Factor the coefficient of x² out of the x² and x terms first, complete the square inside the bracket, then multiply back through and simplify.

To write 2x² + 8x + 3 in the form p(x + q)² + r, factor out 2: 2(x² + 4x) + 3. Completing the square inside gives 2[(x + 2)² − 4] + 3, which simplifies to 2(x + 2)² − 5.

Solving a quadratic equation by completing the square

Complete the square, set the result equal to zero, then rearrange to isolate x, taking the square root of both sides and remembering both the positive and negative root.

To solve x² + 6x + 2 = 0, complete the square: (x + 3)² − 7 = 0, so (x + 3)² = 7. Taking the square root of both sides gives x + 3 = ±√7, so x = −3 + √7 or x = −3 − √7.

Worked examples

Three exam-style questions, fully solved

x² + 8x + 5 can be written in the form (x + a)² + b, where a and b are integers. Find the values of a and b.

Easy
  1. 1.Halve the coefficient of x: 8 ÷ 2 = 4
  2. 2.Write the bracket and subtract its square, adding back the constant: (x + 4)² − 16 + 5

Answer: a = 4, b = −11

2x² − 12x + 5 can be written in the form p(x + q)² + r, where p, q and r are integers. Find the values of p, q and r.

Medium
  1. 1.Factor out the coefficient of x²: 2(x² − 6x) + 5
  2. 2.Complete the square inside the bracket: 2[(x − 3)² − 9] + 5
  3. 3.Multiply back through and simplify: 2(x − 3)² − 18 + 5 = 2(x − 3)² − 13

Answer: p = 2, q = −3, r = −13

Write x² + 6x + 2 in the form (x + a)² + b, and hence solve x² + 6x + 2 = 0, giving your answers in surd form.

Hard
  1. 1.Complete the square: (x + 3)² − 9 + 2 = (x + 3)² − 7
  2. 2.Set the equation to zero and rearrange: (x + 3)² = 7
  3. 3.Take the square root of both sides: x + 3 = ±√7

Answer: x = −3 + √7 or x = −3 − √7

Practice

6 questions, marked instantly

Type an answer and check it. The worked solution appears once you have had a go. No login needed, and your progress saves in this browser.

Practice

Now try these yourself.

Type your answer and check it. The worked solution appears once you have had a go.

1

Write x² + 6x in the form (x + a)² + b.

2

Write x² − 10x in the form (x + a)² + b.

3

Write x² + 4x + 1 in completed-square form.

4

Write x² − 8x + 20 in completed-square form.

5

The completed-square form of x² + 6x + 5 is (x + 3)² − 4. Write down the minimum value of x² + 6x + 5.

6

Solve x² + 4x − 3 = 0 by completing the square. Give your answers in surd form.

Avoid these

The mistakes students make most often

01

Getting the sign inside the bracket wrong, such as writing (x + 4)² for x² − 8x + ... instead of (x − 4)².

02

Forgetting to subtract the square of the halved value after writing the bracket, leaving (x + 4)² instead of (x + 4)² − 16 for x² + 8x.

03

When the coefficient of x² is greater than 1, forgetting to factor it out of the x² and x terms before completing the square, or making an error multiplying back through.

04

Misreading the coordinates of the minimum point from the completed square form, writing (a, b) instead of (−a, b).

05

When solving using the completed square form, forgetting to include both the positive and negative square root, or making an arithmetic slip isolating x.

FAQ

Questions students and parents ask

Before this topic, make sure you know

What to learn next

Teachably is a GCSE Maths tutoring practice

This hub is our free resource and it stays free. If you would like one-to-one help alongside it, a short call is the best place to start. There is also a free video course for parents.