How do you solve x24x+2=0 using completing the square?

1 Answer
Jun 11, 2015

0=x24x+2=(x2)22.

Hence x2=±2 and x=2±2

Explanation:

(x2)2=x24x+4

So x24x+2=(x2)24+2=(x2)22

To solve (x2)22=0, first add 2 to both sides to get:

(x2)2=2

Then (x2)=±2

Add 2 to both sides to get:

x=2±2

In the general case:

ax2+bx+c

=a(x+b2a)2+(cb24a)

From which we can deduce the quadratic formula:

x=b±b24ac2a