How do you solve the quadratic equation by completing the square: x^2+4x-1=0x2+4x1=0?

1 Answer

color(green)(x = sqrt 5 - 2x=52 or color(green)(x = -sqrt 5-2x=52

Explanation:

x^2 + 4x = 1x2+4x=1

To write the left hand side as a perfect square, we add 4 to both sides:

x^2 + 4x + 4= 1 + 4x2+4x+4=1+4

x^2 + 2*x*2 + 2^2 = 5x2+2x2+22=5

Using the Identity color(blue)((a+b)^2 = a^2 + 2ab + b^2(a+b)2=a2+2ab+b2, we get
(x+2)^2 = 5(x+2)2=5

x + 2 = sqrt5x+2=5 or x +2 = -sqrt5x+2=5

color(green)(x = sqrt 5 - 2x=52 or color(green)(x = -sqrt 5-2x=52