How do you solve the quadratic equation by completing the square: x24x+2=0?

1 Answer
Jul 19, 2015

Complete the square to find (x2)2=x24x+4=2

Hence x=2±2

Explanation:

Add 2 to both sides to get:

2=x24x+4=(x2)2

So 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 derive the quadratic formula for solutions of ax2+bx+c=0:

x=b±b24ac2a

Notice the b2a term that gives us:

a(x+b2a)2=ax2+bx+b24a