Enter an equation or problem
Camera input is not recognized!

Solving x2−x−22.752=0 quadratic equation by completing the square

Solution

Exact form: x1=12+5750550
x_1=1/2+√(57505)/50
x2=12-5750550
x_2=1/2-√(57505)/50
Decimal form: x1=5.296
x_1=5.296
x2=−4.296
x_2=-4.296

Step-by-step explanation

1. 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-1x-2844125=0

a=1
b=-1
c=-2844125

2. Isolate the x terms

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

x2-1x-2844125=0

x2-1x-2844125+2844125=0+2844125

x2-1x=2844125

3. 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=−1

(b2)2=(-12)2

Use the exponents fraction rule (xy)2=x2y2

(-12)2=(-1)222

(-1)222=14

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

5 additional steps

x2-1x=2844125

x2-1x+14=2844125+14

Find the lowest common denominator:

x2-1x+14=(2844·4)(125·4)+(1·125)(4·125)

Multiply the denominators:

x2-1x+14=(2844·4)500+(1·125)500

Multiply the numerators:

x2-1x+14=11376500+125500

Combine the fractions:

x2-1x+14=(11376+125)500

Combine the numerators:

x2-1x+14=11501500

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

b2=-12

x2-1x+14=11501500

(x-12)2=11501500

4. 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-12)2=11501500

(x-12)2=11501500

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

x-12=±11501500

Add 12 to both sides

x-12+12=12±11501500

Simplify the left side:

x=12±11501500

x=12±11501500

x=12±11501·500500·500

x=12±5750500500

Write the prime factors:

x=12±2·2·5·5·5·7·31·53500

Group the prime factors into pairs and rewrite them in exponent form:

x=12±22·52·5·7·31·53500

Use the rule (x2)=x to simplify further:

x=12±2·5·5·7·31·53500

Perform any multiplication or division, from left to right:

x=12±10·5·7·31·53500

Perform any multiplication or division, from left to right:

x=12±10·35·31·53500

x=12±10·1085·53500

x=12±10·57505500

Simplify the fraction

x=12±5750550

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

5. See the completed square on the graph

The completed-square equation is (x-12)2=11501500. It also tells us the parabola's vertex is (0.5,-23.002) and its axis of symmetry is x=0.5. The parabola crosses the x-axis at x=5.296 and x=-4.296.

6. Check your work

Check the roots against the equation we solved, not just against the final line. From (x-12)2=11501500, the roots x1=12+5750550 and x2=12-5750550 make the square side match the right side. Substituting \frac{1}{2}+\frac{\sqrt{57505}}{50} or \frac{1}{2}-\frac{\sqrt{57505}}{50} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(5.296)≈0 and f(-4.296)≈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.