Enter an equation or problem
Camera input is not recognized!

Solving 3p2−1p−2=0 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.

3p2−1p−2=0

a=3
b=−1
c=−2

2. Divide by a so the square can be completed

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

3p2−1p−2=0

33p2−1p3−23=03

Simplify the expression

p2-13p-23=0


The coefficients are:
a=1
b=-13
c=-23

3. Isolate the x terms

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

p2-13p-23=0

p2-13p-23+23=0+23

p2-13p=23

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

(b2)2=(-132)2

Use the exponents fraction rule (xy)2=x2y2

(-132)2=(-13)222

(-13)222=194

194=19·14

19·14=136

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

5 additional steps

p2-13p=23

p2-13p+136=23+136

Find the lowest common denominator:

p2-13p+136=(2·12)(3·12)+136

Multiply the denominators:

p2-13p+136=(2·12)36+136

Multiply the numerators:

p2-13p+136=2436+136

Combine the fractions:

p2-13p+136=(24+1)36

Combine the numerators:

p2-13p+136=2536

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

2 additional steps

b2=-132

Simplify the division:

b2=-1(3·2)

Simplify the arithmetic:

b2=-16

p2-13p+136=2536

(p-16)2=2536

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.

(p-16)2=2536

(p-16)2=2536

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

p-16=±2536

Add 16 to both sides

p-16+16=16±2536

Simplify the left side:

p=16±2536

p=16±2536

p=16±56

The two solutions come from the plus and minus square-root branches:
p1=1
p2=-23

6. See the completed square on the graph

The completed-square equation is (p-16)2=2536. It also tells us the parabola's vertex is (0.167,-2.083) and its axis of symmetry is p=0.167. The parabola crosses the x-axis at p=1 and p=-2/3.

7. Check your work

Check the roots against the equation we solved, not just against the final line. From (p-16)2=2536, the roots p1=1 and p2=-23 make the square side match the right side. Substituting 1 or -\frac{2}{3} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(1)≈0 and f(-2/3)≈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.