How do you solve the quadratic equation by completing the square: x^2 -12x-2=0x212x2=0?

1 Answer
Jul 13, 2015

x= 6+sqrt(38)x=6+38 or x=6-sqrt(38)x=638
color(white)("XXXX")XXXX(using the completing the squares method)

Explanation:

Given x^2-12x-2 = 0x212x2=0

Completing the square is simpler if we move the constant to the right side:
color(white)("XXXX")XXXXx^2-12x = 2x212x=2

If x^2x2 and -12x12x are the first two terms of a squared binomial expansion:
color(white)("XXXX")XXXX(x-a)^2 = (x^2-2ax+a^2)(xa)2=(x22ax+a2)
then
color(white)("XXXX")XXXXa=6a=6
and
we need to add a^2 = 36a2=36 to both sides to complete the square

color(white)("XXXX")XXXXx^2-12x+36 = 2+36x212x+36=2+36

Rewriting as a squared binomial (and simplifying the right side)
color(white)("XXXX")XXXX(x-6)^2 = 38(x6)2=38

Taking the square root of both sides
color(white)("XXXX")XXXXx-6 = +-sqrt(38)x6=±38

Adding 66 to both sides:
color(white)("XXXX")XXXXx=6+-sqrt(38)x=6±38