Enter an equation or problem
Camera input is not recognized!

Solving x2−1000x+1000000 quadratic equation by completing the square

Solution

x1=500+5003i
x_1=500+500√(3)i
x2=500-5003i
x_2=500-500√(3)i

Step-by-step explanation

1. Simplify the expression

2 additional steps

x2-1000x+1000000=0

Subtract 1,000,000 from both sides:

(x2-1000x+1000000)-1000000=0-1000000

Simplify the arithmetic:

x2-1000x=0-1000000

Simplify the arithmetic:

x2-1000x=-1000000

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

x2−1000x=−1000000

Add -1000000 to both sides of the equation:

x2−1000x+1000000=−1000000+1000000

Simplify the expression

x2−1000x+1000000=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−1000x+1000000=0

a=1
b=−1000
c=1,000,000

4. Isolate the x terms

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

x2−1000x+1000000=0

x2−1000x+1000000−1000000=0−1000000

x2−1000x=−1000000

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=−1000

(b2)2=(-10002)2

Use the exponents fraction rule (xy)2=x2y2

(-10002)2=(-1000)222

(-1000)222=10000004

10000004=250000

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

x2−1000x=−1000000

x2−1000x+250000=−1000000+250000

Simplify the arithmetic:

x2−1000x+250000=−750000

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

2 additional steps

b2=-10002

Find the greatest common factor of the numerator and denominator:

b2=(-500·2)(1·2)

Factor out and cancel the greatest common factor:

b2=-500

x2−1000x+250000=−750000

(x−500)2=−750000

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−500)2=−750000

(x-500)2=-750000

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

x-500=±-750000

Add 500 to both sides

x-500+500=500±-750000

Simplify the left side:

x=500±-750000

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

500±(-1)·750000

500±i750000

Write the prime factors:

500±i2·2·2·2·3·5·5·5·5·5·5

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

500±i22·22·3·52·52·52

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

500±2·2·5·5·5i·3

Perform any multiplication or division, from left to right:

500±4·5·5·5i·3

500±20·5·5i·3

500±100·5i·3

500±500i·3

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

7. See the completed square on the graph

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

8. Check your work

Check the roots against the equation we solved, not just against the final line. From (x-500)2=-750000, the roots x1=500+5003i and x2=500-5003i 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 x^2-1000x+1000000=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.