Enter an equation or problem
Camera input is not recognized!

Solving 5x2+2x+7 quadratic equation by completing the square

Solution

x1=-15+345i
x_1=-1/5+√(34)/5i
x2=-15-345i
x_2=-1/5-√(34)/5i

Step-by-step explanation

1. Identify a, b, and c

First write the quadratic in standard form, ax2+bx+c=0. Completing the square works from the coefficients a, b, and c, so identify them before changing the equation.

5x2+2x+7=0

a=5
b=2
c=7

2. Divide by a so the square can be completed

To complete a square, the x2 term needs coefficient 1. Since a=5, divide every term on both sides by 5 so the solution set stays the same.

5x2+2x+7=0

55x2+2x5+75=05

Simplify the expression

x2+25x+75=0


The coefficients are:
a=1
b=25
c=75

3. Isolate the x terms

Move the constant term away from the x terms. Subtract 75 from both sides, which keeps the equation balanced and leaves the left side ready to become a square.

x2+25x+75=0

x2+25x+75-75=0-75

x2+25x=-75

4. Add the missing square term

A trinomial x2+bx+(b2)2 factors as (x+b2)2. That is why we add (b2)2. The same value must be added to both sides.

b=25

(b2)2=(252)2

Use the exponents fraction rule (xy)2=x2y2

(252)2=(25)222

(25)222=4254

4254=425·14

425·14=125

Here the square value is 125. Add it to both sides, then combine the right side so the equation is still equivalent to the original.

5 additional steps

x2+25x=-75

x2+25x+125=-75+125

Find the lowest common denominator:

x2+25x+125=(-7·5)(5·5)+125

Multiply the denominators:

x2+25x+125=(-7·5)25+125

Multiply the numerators:

x2+25x+125=-3525+125

Combine the fractions:

x2+25x+125=(-35+1)25

Combine the numerators:

x2+25x+125=-3425

Now the left side is a perfect-square trinomial. Half of the b coefficient is the number inside the parentheses:
b=25, so b2=15. Rewrite the left side as one squared binomial.

2 additional steps

b2=252

Simplify the division:

b2=2(5·2)

Cancel terms:

b2=15

x2+25x+125=-3425

(x+15)2=-3425

5. Use square roots to solve for x

The equation is now in the form u2=N, where u is the linear expression inside the parentheses. Take the square root of both sides. A square can come from a positive or a negative value, so use the ± sign before solving the two branches.

(x+15)2=-3425

(x+15)2=-3425

Cancel out the square and square root on the left side of the equation:

x+15=±-3425

Subtract 15 from both sides

x+15-15=-15±-3425

Simplify the left side:

x=-15±-3425

The square root of a negative number does not exist among the set of Real Numbers. We introduce The imaginary number "i", which is the square root of negative one. −1=i

x=-15±3425·-1

x=-15±3425·i

x=-15±3425·i

x=-15±345·i

The two solutions come from the plus and minus square-root branches:
x1=-15+345i
x2=-15-345i

6. See the completed square on the graph

The completed-square equation is (x+15)2=-3425. It also tells us the parabola's vertex is (-0.2,6.8) and its axis of symmetry is x=-0.2. The parabola stays on one side of the x-axis, so the roots are complex and there are no real x-intercepts.

7. Check your work

Check the roots against the equation we solved, not just against the final line. From (x+15)2=-3425, the roots x1=-15+345i and x2=-15-345i make the square side match the right side. Each complex root contains the square root of a negative number, so squaring the plus and minus branches returns the same completed-square value. Because the graph of 5x^2+2x+7=0 has no real x-intercepts, the non-real roots are consistent with the completed-square equation.

Why learn this

Learn more with Tiger
Completing the square turns a quadratic into vertex form, so the algebra and the graph tell the same story. It is useful when factoring is not convenient, and it explains where the quadratic formula comes from. The method also shows the vertex, axis of symmetry, and whether the graph crosses the x-axis.