Solving quadratic equation by completing the square
Step-by-step explanation
1. Simplify the expression
Group like terms:
Simplify the arithmetic:
Swap sides:
Add to both sides:
Simplify the arithmetic:
Multiply both sides by :
Expand the parentheses:
Simplify the arithmetic:
Multiply the fraction(s):
Group like terms:
Simplify the arithmetic:
Multiply the fraction(s):
Simplify the arithmetic:
2. Move all terms to the left side of the equation
Subtract 4 from both sides:
Simplify the expression
3. Identify a, b, and c
First write the quadratic in standard form, . Completing the square works from the coefficients , , and , so identify them before changing the equation.
4. Divide by a so the square can be completed
To complete a square, the term needs coefficient . Since , divide every term on both sides by so the solution set stays the same.
Simplify the expression
The coefficients are:
5. Isolate the x terms
Move the constant term away from the terms. Add to both sides, which keeps the equation balanced and leaves the left side ready to become a square.
6. Add the missing square term
Stuck here? Watch the one-minute explanation
A trinomial factors as . That is why we add . The same value must be added to both sides.
Use the exponents fraction rule
Here the square value is . Add it to both sides, then combine the right side so the equation is still equivalent to the original.
Now the left side is a perfect-square trinomial. Half of the coefficient is the number inside the parentheses:
, so . Rewrite the left side as one squared binomial.
Reduce the zero numerator:
7. Use square roots to solve for
The equation is now in the form , where 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.
Cancel out the square and square root on the left side of the equation:
Subtract from both sides
Simplify the left side:
The two solutions come from the plus and minus square-root branches:
8. See the completed square on the graph
The completed-square equation is . It also tells us the parabola's vertex is and its axis of symmetry is . The parabola crosses the x-axis at x=1/4 and x=-1/4.
9. Check your work
Check the roots against the equation we solved, not just against the final line. From , the roots and make the square side match the right side. Substituting \frac{1}{4} or -\frac{1}{4} into the completed-square equation makes the squared expression equal the right side. Using rounded decimals, f(1/4)≈0 and f(-1/4)≈0. The exact roots make the original equation equal 0.