\({x}^{2}+10x-2=0\)
2.2 Completing the square
Previous
2.1 Revision
|
Next
2.3 Quadratic formula
|
2.2 Completing the square (EMBFJ)
Completing the square
Can you solve each equation using two different methods?
- x2−4=0
- x2−8=0
- x2−4x+4=0
- x2−4x−4=0
Factorising the last equation is quite difficult. Use the previous examples as a hint and try to create a difference of two squares.
We have seen that expressions of the form x2−b2 are known as differences of squares and can be factorised as (x−b)(x+b). This simple factorisation leads to another technique for solving quadratic equations known as completing the square.
Consider the equation x2−2x−1=0. We cannot easily factorise this expression. When we expand the perfect square (x−1)2 and examine the terms we see that (x−1)2=x2−2x+1.
We compare the two equations and notice that only the constant terms are different. We can create a perfect square by adding and subtracting the same amount to the original equation.
x2−2x−1=0(x2−2x+1)−1−1=0(x2−2x+1)−2=0(x−1)2−2=0
Method 1: Take square roots on both sides of the equation to solve for x. (x−1)2−2=0(x−1)2=2√(x−1)2=±√2x−1=±√2x=1±√2Therefore x=1+√2 or x=1−√2
Very important: Always remember to include both a positive and a negative answer when taking the square root, since 22=4 and (−2)2=4.
Method 2: Factorise the expression as a difference of two squares using 2=(√2)2.
We can write
(x−1)2−2=0(x−1)2−(√2)2=0((x−1)+√2)((x−1)−√2)=0
The solution is then (x−1)+√2=0x=1−√2 or (x−1)−√2=0x=1+√2
Method for solving quadratic equations by completing the square
-
Write the equation in the standard form ax2+bx+c=0.
-
Make the coefficient of the x2 term equal to 1 by dividing the entire equation by a.
-
Take half the coefficient of the x term and square it; then add and subtract it from the equation so that the equation remains mathematically correct. In the example above, we added 1 to complete the square and then subtracted 1 so that the equation remained true.
-
Write the left hand side as a difference of two squares.
-
Factorise the equation in terms of a difference of squares and solve for x.
Worked example 6: Solving quadratic equations by completing the square
Solve by completing the square: x2−10x−11=0
The equation is already in the form ax2+bx+c=0
Make sure the coefficient of the x2 term is equal to 1
x2−10x−11=0Take half the coefficient of the x term and square it; then add and subtract it from the equation
The coefficient of the x term is −10. Half of the coefficient of the x term is −5 and the square of it is 25. Therefore x2−10x+25−25−11=0.
Write the trinomial as a perfect square
(x2−10x+25)−25−11=0(x−5)2−36=0Method 1: Take square roots on both sides of the equation
(x−5)2−36=0(x−5)2=36x−5=±√36Important: When taking a square root always remember that there is a positive and negative answer, since (6)2=36 and (−6)2=36.
x−5=±6Solve for x
x=−1 or x=11Method 2: Factorise equation as a difference of two squares
(x−5)2−(6)2=0[(x−5)+6][(x−5)−6]=0Simplify and solve for x
(x+1)(x−11)=0∴x=−1 or x=11Write the final answer
x=−1 or x=11Notice that both methods produce the same answer. These roots are rational because 36 is a perfect square.
Worked example 7: Solving quadratic equations by completing the square
Solve by completing the square: 2x2−6x−10=0
The equation is already in standard form ax2+bx+c=0
Make sure that the coefficient of the x2 term is equal to 1
The coefficient of the x2 term is 2. Therefore divide the entire equation by 2:
x2−3x−5=0Take half the coefficient of the x term, square it; then add and subtract it from the equation
The coefficient of the x term is −3, so then (−32)2=94:
(x2−3x+94)−94−5=0
Write the trinomial as a perfect square
(x−32)2−94−204=0(x−32)2−294=0Method 1: Take square roots on both sides of the equation
(x−32)2−294=0(x−32)2=294x−32=±√294Remember: When taking a square root there is a positive and a negative answer.
Solve for x
x−32=±√294x=32±√292=3±√292Method 2: Factorise equation as a difference of two squares
(x−32)2−294=0(x−32)2−(√294)2=0(x−32−√294)(x−32+√294)=0Solve for x
(x−32−√292)(x−32+√292)=0Therefore x=32+√292 or x=32−√292Notice that these roots are irrational since 29 is not a perfect square.
Solution by completing the square
Solve the following equations by completing the square:
\({x}^{2}+4x+3=0\)
\(p^2 - 5 = - 8p\)
\(2(6x + x^2) = -4\)
\({x}^{2}+5x+9=0\)
\(t^2 + 30 = 2(10-8t)\)
\(3{x}^{2}+6x-2=0\)
\({z}^{2}+8z-6=0\)
\(2z^2 = 11z\)
\(5+4z-{z}^{2}=0\)
Solve for \(k\) in terms of \(a\): \(k^2 + 6k+ a = 0\)
Solve for \(y\) in terms of \(p\), \(q\) and \(r\): \(py^2 + qy + r = 0\)
Previous
2.1 Revision
|
Table of Contents |
Next
2.3 Quadratic formula
|