Enter an equation or problem
Camera input is not recognized!

Solving x2+7x+494=654 quadratic equation by completing the square

Solution

Exact form: x1=-72+652
x_1=-7/2+√(65)/2
x2=-72-652
x_2=-7/2-√(65)/2
Decimal form: x1=0.531
x_1=0.531
x2=−7.531
x_2=-7.531

Step-by-step explanation

1. Simplify the expression

8 additional steps

x2+7x+494=654

Subtract 494 from both sides:

(x2+7x+494)-494=(654)-494

Combine the fractions:

x2+7x+(49-49)4=(654)-494

Combine the numerators:

x2+7x+04=(654)-494

Reduce the zero numerator:

x2+7x+0=(654)-494

Simplify the arithmetic:

x2+7x=(654)-494

Combine the fractions:

x2+7x=(65-49)4

Combine the numerators:

x2+7x=164

Find the greatest common factor of the numerator and denominator:

x2+7x=(4·4)(1·4)

Factor out and cancel the greatest common factor:

x2+7x=4

2. Move all terms to the left side of the equation

x2+7x=4

Subtract 4 from both sides:

x2+7x−4=4−4

Simplify the expression

x2+7x−4=0

3. Identify the coefficient that controls the square

The equation is now in standard form, ax2+bx+c=0. Completing the square works from the coefficients, and we need the coefficient of x because half of that coefficient determines the square to add.

x2+7x−4=0

a=1
b=7
c=−4

4. Isolate the x terms

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

x2+7x−4=0

x2+7x−4+4=0+4

x2+7x=4

5. 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=7

(b2)2=(72)2

Use the exponents fraction rule (xy)2=x2y2

(72)2=7222

7222=494

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

3 additional steps

x2+7x=4

x2+7x+494=4+494

Convert the integer into a fraction:

x2+7x+494=164+494

Combine the fractions:

x2+7x+494=(16+49)4

Combine the numerators:

x2+7x+494=654

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

b2=72

x2+7x+494=654

(x+72)2=654

6. 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+72)2=654

(x+72)2=654

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

x+72=±654

Subtract 72 from both sides

x+72-72=-72±654

Simplify the left side:

x=-72±654

x=-72±654

x=-72±652

The two solutions come from the plus and minus square-root branches:
x1=-72+652
x2=-72-652

7. See the completed square on the graph

The completed-square equation is (x+72)2=654. It also tells us the parabola's vertex is (-3.5,-16.25) and its axis of symmetry is x=-3.5. The parabola crosses the x-axis at x=0.531 and x=-7.531.

8. Check your work

Check the roots against the equation we solved, not just against the final line. From (x+72)2=654, the roots x1=-72+652 and x2=-72-652 make the square side match the right side. Substituting -\frac{7}{2}+\frac{\sqrt{65}}{2} or -\frac{7}{2}-\frac{\sqrt{65}}{2} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(0.531)≈0 and f(-7.531)≈0. The exact roots make the original equation equal 0.

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.