Print

Maths

Solving and using quadratic equations

Completing the square - Higher

This is another way to solve a quadratic equation if the equation will not factorise.

It is often convenient to write an algebraic expression as a square plus another term. The other term is found by dividing the coefficient of x by 2, and squaring it.

Any quadratic equation can be rearranged so that it can be solved in this way.

Have a look at this example.

Example 1

Rewrite x2 + 6x as a square plus another term.

The coeffient of x is 6. Dividing 6 by 2 and squaring it gives 9.

x2 + 6x = (x2 + 6x + 9) - 9

= (x + 3)2 - 9

Example 2

We have seen in the previous example that x2 + 6x = (x + 3)2 - 9

So work out x2 + 6x - 2

x2 + 6x - 2 = ( x2 + 6x + 9 ) - 9 - 2 = (x + 3)2 - 11

Now try one for yourself.

Question

Solve x2 + 6x - 2 = 0

toggle answer

Answer

From the previous examples, we know that x2 + 6x - 2 = 0 can be written as (x + 3)2 - 11 = 0

So, to solve the equation, take the square root of both sides. So (x + 3)2 = 11

x + 3 = + square root of 11

or x + 3 = - square root of 11

x = - 3 + square root of 11

or x = - 3 - square root of 11

x = - 3 + 3.317 or x = - 3 - 3.317 (square root of 11 is 3.317)

x = 0.317 (3 s.f) or x = - 6.317 (3 s.f)

Example 3

Rewrite 2x2 + 20x + 3

Rewrite to get x2 on its own.

2( x2 + 10x ) + 3

  • The coefficient of x is 10. Divide 10 by 2, and square to get 25.
  • = 2 ( ( x + 5)2 - 25) + 3
  • = 2 (x + 5)2 - 50 + 3
  • = 2 (x + 5)2 - 47
Question

Now use the previous example to solve 2x2 + 20x + 3 = 0

toggle answer

Answer

From the previous example, we know that 2x2 + 20x + 3 can be rewritten as:

  • 2 (x + 5)2 - 47
  • Therefore, we can rewrite the equation as:
  • 2(x + 5 )2 - 47 = 0
  • 2(x + 5 )2 = 47
  • (x + 5 )2 = 23.5 (dividing both sides by 2)

Take the square root of both sides.

x + 5 = square root of 23.5

or x + 5 = - square root of 23.5

x = - 5 + square root of 23.5

or x = - 5 - square root of 23.5

x = - 5 + square root of 23.5

or x = - 5 - square root of 23.5

x = - 0.152 (3 s.f) or x = - 9.85 (3 s.f)

Back to Algebra index

bbc.co.uk navigation

BBC © 2012

The BBC is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.