Mark M. answered 01/05/24
I love tutoring Math.
Our equation is x2 - 4x - 8 = 0
"Completing the square" means trying to write the x2 - 4x - 8 as the product of two identical factors:
x2 - 4x - 8 = (x + something)(x + something).
We have to find out what this "something" is (and then we might have to change the x2 - 4x - 8 a little bit, in order to accommodate the "something" that we find).
Let's multiply out the (x + something)(x + something) and see what we get.
(x + something)(x + something) = x2 + 2x·something + something2
[Are you okay with the above multiplication? The multiplication yields four terms,
(x + something)(x + something) = x2 + x·something + x·something + something2
and I combined the two center terms (x·something + x·something) into 2x·something.]
We want the above product x2 + 2x·something + something2 to be equal to x2 - 4x - 8.
Therefore the 2x·something term must be equal to the -4x term:
2x·something = -4x
To find out what the something is, divide both sides of the above equation by 2x:
something = (-4x)/(2x) = -2.
So the "something" is -2.
Therefore our two identical factors (x + something)(x + something) are really (x-2)(x-2).
Let's multiply out the (x-2)(x-2) and see what we get:
(x-2)(x-2) = x2 - 4x + 4.
This x2 - 4x + 4 is almost the same as the polynomial x2 - 4x - 8 that we started with.
To get the x2 - 4x + 4, all we have to do is add 12 to both sides of the x2 - 4x - 8 = 0
x2 - 4x - 8 = 0
+12 +12
-----------------------
x2 - 4x + 4 = 12
Now we have a left side that we can easily factor into two identical factors (and we already know what the two factors are):
(x-2)(x-2) = 12
The "x" appears in two different places in the above equation. To make the "x" appear in only one place,
take the square root of both sides. (Since the left side is the product of two identical factors, it's very easy to take the square root of the left side.)
x-2 = ±√12
To get the "x" all by itself, add 2 to both sides of the above equation:
x = 2 ± √12
If desired, you can simplify the √12 like this.
√12 = √(4·3) = √(22·3) = 2√3
("Simplifying" means getting the smallest possible number under the square root sign. For example, 2√3 is simpler than √12 because 3 is smaller than 12.)
So the answer x = 2 ± √12 can also be written as 2 ± 2√3