are known as differences of squares and can be factorised as follows:
This simple factorisation leads to another technique to solve quadratic equations known as
completing the square .
We demonstrate with a simple example, by trying to solve for
in:
We cannot easily find factors of this term, but the first two terms look similar to the first two terms of the perfect square:
However, we can cheat and create a perfect square by adding 2 to both sides of the equation in
[link] as:
Now we know that:
which means that:
is a difference of squares.
Therefore we can write:
The solution to
is then:
or
This means
or
. This example demonstrates the use of
completing the square to solve a quadratic equation.
Method: solving quadratic equations by completing the square
Write the equation in the form
. e.g.
Take the constant over to the right hand side of the equation. e.g.
If necessary, make the coefficient of the
term = 1, by dividing through by the existing coefficient.
Take half the coefficient of the
term, square it and add it to both sides of the equation. e.g. in
, half of the coefficient of the
term is 1 and
. Therefore we add 1 to both sides to get:
.
Write the left hand side as a perfect square:
You should then be able to factorise the equation in terms of difference of squares and then solve for
:
Solve:
by completing the square
The coefficient of the
term is 1.
The coefficient of the
term is -10. Therefore, half of the coefficient of the
term will be
and the square of it will be
. Therefore:
Solve:
by completing the square
The coefficient of the
term is 2. Therefore, divide both sides by 2:
The coefficient of the
term is -4;
and
. Therefore:
Leave the left hand side written as a perfect square
Therefore
or
Compare to answer in step 7.
Solution by completing the square
Solve the following equations by completing the square: