Enter an equation or problem
Camera input is not recognized!

Solving n2=n2 quadratic equation by completing the square

Solution

Exact form: n1=2
n_1=√(2)
n2=-2
n_2=-√(2)
Decimal form: n1=1.414
n_1=1.414
n2=−1.414
n_2=-1.414

Step-by-step explanation

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

n2=2

Subtract 2 from both sides:

n2−2=2−2

Simplify the expression

n2−2=0

2. 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.

n2−2=0

a=1
b=0
c=−2

3. Isolate the x terms

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

n2+0n−2=0

n2+0n−2+2=0+2

n2+0n=2

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=0

(b2)2=(02)2

Use the exponents fraction rule (xy)2=x2y2

(02)2=0222

0222=04

04=00

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

2 additional steps

n2+0n=2

n2+0n+00=2+00

Reduce the zero numerator:

n2+0n+00=2+0

Simplify the arithmetic:

n2+0n+00=2

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

b2=02

Reduce the zero numerator:

b2=0

n2+0n+00=2

(n+0)2=2

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.

(n+0)2=2

(n+0)2=2

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

n+0=±2

Subtract from both sides

n+0+0=±2

Simplify the left side:

n=±2

The two solutions come from the plus and minus square-root branches:
n1=2
n2=-2

6. See the completed square on the graph

The completed-square equation is (n+0)2=2. It also tells us the parabola's vertex is (0,−2) and its axis of symmetry is n=0. The parabola crosses the x-axis at n=1.414 and n=-1.414.

7. Check your work

Check the roots against the equation we solved, not just against the final line. From (n+0)2=2, the roots n1=2 and n2=-2 make the square side match the right side. Substituting \sqrt{2} or -\sqrt{2} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(1.414)≈0 and f(-1.414)≈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.