Enter an equation or problem
Camera input is not recognized!

Solving 21r2−10+r 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.

21r2+1r−10=0

a=21
b=1
c=−10

2. Divide by a so the square can be completed

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

21r2+1r−10=0

2121r2+1r21−1021=021

Simplify the expression

r2+121r-1021=0


The coefficients are:
a=1
b=121
c=-1021

3. Isolate the x terms

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

r2+121r-1021=0

r2+121r-1021+1021=0+1021

r2+121r=1021

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

(b2)2=(1212)2

Use the exponents fraction rule (xy)2=x2y2

(1212)2=(121)222

(121)222=14414

14414=1441·14

1441·14=11764

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

5 additional steps

r2+121r=1021

r2+121r+11764=1021+11764

Find the lowest common denominator:

r2+121r+11764=(10·84)(21·84)+11764

Multiply the denominators:

r2+121r+11764=(10·84)1764+11764

Multiply the numerators:

r2+121r+11764=8401764+11764

Combine the fractions:

r2+121r+11764=(840+1)1764

Combine the numerators:

r2+121r+11764=8411764

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

2 additional steps

b2=1212

Simplify the division:

b2=1(21·2)

Simplify the arithmetic:

b2=142

r2+121r+11764=8411764

(r+142)2=8411764

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.

(r+142)2=8411764

(r+142)2=8411764

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

r+142=±8411764

Subtract 142 from both sides

r+142-142=-142±8411764

Simplify the left side:

r=-142±8411764

r=-142±8411764

r=-142±2942

The two solutions come from the plus and minus square-root branches:
r1=23
r2=-57

6. See the completed square on the graph

The completed-square equation is (r+142)2=8411764. It also tells us the parabola's vertex is (-0.024,-10.012) and its axis of symmetry is r=-0.024. The parabola crosses the x-axis at r=2/3 and r=-5/7.

7. Check your work

Check the roots against the equation we solved, not just against the final line. From (r+142)2=8411764, the roots r1=23 and r2=-57 make the square side match the right side. Substituting \frac{2}{3} or -\frac{5}{7} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(2/3)≈0 and f(-5/7)≈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.