Enter an equation or problem
Camera input is not recognized!

Solving x2−4.5x−13.5=0 quadratic equation by completing the square

Solution

Exact form: x1=94+2974
x_1=9/4+√(297)/4
x2=94-2974
x_2=9/4-√(297)/4
Decimal form: x1=6.558
x_1=6.558
x2=−2.058
x_2=-2.058

Step-by-step explanation

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

x2-4.5x-272=0

a=1
b=-4.5
c=-272

2. Isolate the x terms

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

x2-4.5x-272=0

x2-4.5x-272+272=0+272

x2-4.5x=272

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=−4.5

(b2)2=(-4.52)2

Use the exponents fraction rule (xy)2=x2y2

(-4.52)2=(-4.5)222

(-4.5)222=8144

8144=814·14

814·14=8116

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

5 additional steps

x2-4.5x=272

x2-4.5x+8116=272+8116

Find the lowest common denominator:

x2-4.5x+8116=(27·8)(2·8)+8116

Multiply the denominators:

x2-4.5x+8116=(27·8)16+8116

Multiply the numerators:

x2-4.5x+8116=21616+8116

Combine the fractions:

x2-4.5x+8116=(216+81)16

Combine the numerators:

x2-4.5x+8116=29716

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

b2=-4.52

Simplify the arithmetic:

b2=-2.25

x2-4.5x+8116=29716

(x-94)2=29716

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.

(x-94)2=29716

(x-94)2=29716

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

x-94=±29716

Add 94 to both sides

x-94+94=94±29716

Simplify the left side:

x=94±29716

x=94±29716

x=94±2974

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

5. See the completed square on the graph

The completed-square equation is (x-94)2=29716. It also tells us the parabola's vertex is (2.25,-18.562) and its axis of symmetry is x=2.25. The parabola crosses the x-axis at x=6.558 and x=-2.058.

6. Check your work

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