Enter an equation or problem
Camera input is not recognized!

Solving 93−24x2−48x quadratic equation by completing the square

Solution

Exact form: x1=-1+784
x_1=-1+√(78)/4
x2=-1-784
x_2=-1-√(78)/4
Decimal form: x1=1.208
x_1=1.208
x2=−3.208
x_2=-3.208

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.

−24x2−48x+93=0

a=−24
b=−48
c=93

2. Divide by a so the square can be completed

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

−24x2−48x+93=0

−24−24x2−48x−24+93−24=0−24

Simplify the expression

x2+2x-318=0


The coefficients are:
a=1
b=2
c=-318

3. Isolate the x terms

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

x2+2x-318=0

x2+2x-318+318=0+318

x2+2x=318

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

(b2)2=(22)2

Use the exponents fraction rule (xy)2=x2y2

(22)2=2222

2222=44

44=1

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

3 additional steps

x2+2x=318

x2+2x+1=318+1

Convert the integer into a fraction:

x2+2x+1=318+88

Combine the fractions:

x2+2x+1=(31+8)8

Combine the numerators:

x2+2x+1=398

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

2 additional steps

b2=22

Find the greatest common factor of the numerator and denominator:

b2=(1·2)(1·2)

Factor out and cancel the greatest common factor:

b2=1

x2+2x+1=398

(x+1)2=398

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.

(x+1)2=398

(x+1)2=398

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

x+1=±398

Subtract 1 from both sides

x+1-1=-1±398

Simplify the left side:

x=-1±398

x=-1±398

x=-1±39·88·8

x=-1±3128

Write the prime factors:

x=-1±2·2·2·3·138

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

x=-1±22·2·3·138

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

x=-1±2·2·3·138

Perform any multiplication or division, from left to right:

x=-1±2·6·138

x=-1±2·788

Simplify the fraction

x=-1±784

The two solutions come from the plus and minus square-root branches:
x1=-1+784
x2=-1-784

6. See the completed square on the graph

The completed-square equation is (x+1)2=398. It also tells us the parabola's vertex is (-1,117) and its axis of symmetry is x=-1. The parabola crosses the x-axis at x=1.208 and x=-3.208.

7. Check your work

Check the roots against the equation we solved, not just against the final line. From (x+1)2=398, the roots x1=-1+784 and x2=-1-784 make the square side match the right side. Substituting -1+\frac{\sqrt{78}}{4} or -1-\frac{\sqrt{78}}{4} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(1.208)≈0 and f(-3.208)≈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.