How do you solve y=5x^2+20x+23y=5x2+20x+23 using the completing square method?

1 Answer
Dec 27, 2016

x = -2+-sqrt((y-3)/5)x=2±y35

Explanation:

I will assume that we want to solve the equation in the sense of expressing possible values of xx in terms of yy.

If you actually just wanted to know the zeros, we can then put y=0y=0 and evaluate the result.

Given:

y = 5x^2+20x+23y=5x2+20x+23

We will perform a sequence of steps to isolate xx on one side.

First divide both sides by 55 to make the coefficient of x^2x2 into 11:

y/5 = x^2+4x+23/5y5=x2+4x+235

If we take half of the coefficient of xx then we get the value 22, so note that:

(x+2)^2 = x^2+4x+4(x+2)2=x2+4x+4

which matches the right hand side of our equation in the first two terms.

So we can proceed as follows:

y/5 = x^2+4x+23/5y5=x2+4x+235

color(white)(y/5) = x^2+4x+4-4+23/5y5=x2+4x+44+235

color(white)(y/5) = (x+2)^2+3/5y5=(x+2)2+35

Subtracting 3/535 from both ends we get:

(y-3)/5 = (x+2)^2y35=(x+2)2

Transposed:

(x+2)^2 = (y-3)/5(x+2)2=y35

Take the square root of both sides, allowing for the possibility of either sign of square root to get:

x+2 = +-sqrt((y-3)/5)x+2=±y35

Finally subtract 22 from both sides to find:

x = -2+-sqrt((y-3)/5)x=2±y35

If we put y=0y=0 to find the zero of the quadratic then we get a pair of non-Real Complex values:

x = -2+-sqrt((0-3)/5) = -2+-sqrt(-3/5) = -2+-sqrt(3/5)i = -2+-sqrt(15)/5ix=2±035=2±35=2±35i=2±155i