Enter an equation or problem
Camera input is not recognized!

Solving −13n2−3n quadratic equation by completing the square

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.

−13n2−3n=0

a=−13
b=−3
c=0

2. Divide by a so the square can be completed

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

−13n2−3n=0

−13−13n2−3n−13=0−13

Simplify the expression

n2+313n=0


The coefficients are:
a=1
b=313
c=0

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

(b2)2=(3132)2

Use the exponents fraction rule (xy)2=x2y2

(3132)2=(313)222

(313)222=91694

91694=9169·14

9169·14=9676

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

n2+313n=0

n2+313n+9676=0+9676

Simplify the arithmetic:

n2+313n+9676=9676

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

2 additional steps

b2=3132

Simplify the division:

b2=3(13·2)

Simplify the arithmetic:

b2=326

n2+313n+9676=9676

(n+326)2=9676

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.

(n+326)2=9676

(n+326)2=9676

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

n+326=±9676

Subtract 326 from both sides

n+326-326=-326±9676

Simplify the left side:

n=-326±9676

n=-326±9676

n=-326±326

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

5. See the completed square on the graph

The completed-square equation is (n+326)2=9676. It also tells us the parabola's vertex is (-0.115,0.173) and its axis of symmetry is n=-0.115. The parabola crosses the x-axis at n=0 and n=-3/13.

6. Check your work

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