Examples

Solve by Completing the Square
x2+10x+16=0
Step 1
Subtract 16 from both sides of the equation.
x2+10x=-16
Step 2
To create a trinomial square on the left side of the equation, find a value that is equal to the square of half of b.
(b2)2=(5)2
Step 3
Add the term to each side of the equation.
x2+10x+(5)2=-16+(5)2
Step 4
Simplify the equation.
Tap for more steps...
Step 4.1
Simplify the left side.
Tap for more steps...
Step 4.1.1
Raise 5 to the power of 2.
x2+10x+25=-16+(5)2
x2+10x+25=-16+(5)2
Step 4.2
Simplify the right side.
Tap for more steps...
Step 4.2.1
Simplify -16+(5)2.
Tap for more steps...
Step 4.2.1.1
Raise 5 to the power of 2.
x2+10x+25=-16+25
Step 4.2.1.2
Add -16 and 25.
x2+10x+25=9
x2+10x+25=9
x2+10x+25=9
x2+10x+25=9
Step 5
Factor the perfect trinomial square into (x+5)2.
(x+5)2=9
Step 6
Solve the equation for x.
Tap for more steps...
Step 6.1
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
x+5=±9
Step 6.2
Simplify ±9.
Tap for more steps...
Step 6.2.1
Rewrite 9 as 32.
x+5=±32
Step 6.2.2
Pull terms out from under the radical, assuming positive real numbers.
x+5=±3
x+5=±3
Step 6.3
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 6.3.1
First, use the positive value of the ± to find the first solution.
x+5=3
Step 6.3.2
Move all terms not containing x to the right side of the equation.
Tap for more steps...
Step 6.3.2.1
Subtract 5 from both sides of the equation.
x=3-5
Step 6.3.2.2
Subtract 5 from 3.
x=-2
x=-2
Step 6.3.3
Next, use the negative value of the ± to find the second solution.
x+5=-3
Step 6.3.4
Move all terms not containing x to the right side of the equation.
Tap for more steps...
Step 6.3.4.1
Subtract 5 from both sides of the equation.
x=-3-5
Step 6.3.4.2
Subtract 5 from -3.
x=-8
x=-8
Step 6.3.5
The complete solution is the result of both the positive and negative portions of the solution.
x=-2,-8
x=-2,-8
x=-2,-8
Enter YOUR Problem
Mathway requires javascript and a modern browser.
 [x2  12  π  xdx ] 
AmazonPay