Enter an equation or problem
Camera input is not recognized!

Solving −2z2+9z−1=0 quadratic equation by completing the square

Solution

Exact form: z1=94+734
z_1=9/4+√(73)/4
z2=94-734
z_2=9/4-√(73)/4
Decimal form: z1=4.386
z_1=4.386
z2=0.114
z_2=0.114

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.

−2z2+9z−1=0

a=−2
b=9
c=−1

2. Divide by a so the square can be completed

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

−2z2+9z−1=0

−2−2z2+9z−2−1−2=0−2

Simplify the expression

z2-92z+12=0


The coefficients are:
a=1
b=-92
c=12

3. Isolate the x terms

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

z2-92z+12=0

z2-92z+12-12=0-12

z2-92z=-12

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

(b2)2=(-922)2

Use the exponents fraction rule (xy)2=x2y2

(-922)2=(-92)222

(-92)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

z2-92z=-12

z2-92z+8116=-12+8116

Find the lowest common denominator:

z2-92z+8116=(-1·8)(2·8)+8116

Multiply the denominators:

z2-92z+8116=(-1·8)16+8116

Multiply the numerators:

z2-92z+8116=-816+8116

Combine the fractions:

z2-92z+8116=(-8+81)16

Combine the numerators:

z2-92z+8116=7316

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

2 additional steps

b2=-922

Simplify the division:

b2=-9(2·2)

Simplify the arithmetic:

b2=-94

z2-92z+8116=7316

(z-94)2=7316

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.

(z-94)2=7316

(z-94)2=7316

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

z-94=±7316

Add 94 to both sides

z-94+94=94±7316

Simplify the left side:

z=94±7316

z=94±7316

z=94±734

The two solutions come from the plus and minus square-root branches:
z1=94+734
z2=94-734

6. See the completed square on the graph

The completed-square equation is (z-94)2=7316. It also tells us the parabola's vertex is (2.25,9.125) and its axis of symmetry is z=2.25. The parabola crosses the x-axis at z=4.386 and z=0.114.

7. Check your work

Check the roots against the equation we solved, not just against the final line. From (z-94)2=7316, the roots z1=94+734 and z2=94-734 make the square side match the right side. Substituting \frac{9}{4}+\frac{\sqrt{73}}{4} or \frac{9}{4}-\frac{\sqrt{73}}{4} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(4.386)≈0 and f(0.114)≈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.