Algebra Examples

Solve by Completing the Square x^2-4x+13=0
x2-4x+13=0
Step 1
Subtract 13 from both sides of the equation.
x2-4x=-13
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=(-2)2
Step 3
Add the term to each side of the equation.
x2-4x+(-2)2=-13+(-2)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 -2 to the power of 2.
x2-4x+4=-13+(-2)2
x2-4x+4=-13+(-2)2
Step 4.2
Simplify the right side.
Tap for more steps...
Step 4.2.1
Simplify -13+(-2)2.
Tap for more steps...
Step 4.2.1.1
Raise -2 to the power of 2.
x2-4x+4=-13+4
Step 4.2.1.2
Add -13 and 4.
x2-4x+4=-9
x2-4x+4=-9
x2-4x+4=-9
x2-4x+4=-9
Step 5
Factor the perfect trinomial square into (x-2)2.
(x-2)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-2=±-9
Step 6.2
Simplify ±-9.
Tap for more steps...
Step 6.2.1
Rewrite -9 as -1(9).
x-2=±-1(9)
Step 6.2.2
Rewrite -1(9) as -19.
x-2=±-19
Step 6.2.3
Rewrite -1 as i.
x-2=±i9
Step 6.2.4
Rewrite 9 as 32.
x-2=±i32
Step 6.2.5
Pull terms out from under the radical, assuming positive real numbers.
x-2=±i3
Step 6.2.6
Move 3 to the left of i.
x-2=±3i
x-2=±3i
Step 6.3
Move all terms not containing x to the right side of the equation.
Tap for more steps...
Step 6.3.1
Add 2 to both sides of the equation.
x=±3i+2
Step 6.3.2
Reorder ±3i and 2.
x=2±3i
x=2±3i
x=2±3i
x2-4x+13=0
(
(
)
)
|
|
[
[
]
]
7
7
8
8
9
9
4
4
5
5
6
6
/
/
^
^
×
×
>
>
1
1
2
2
3
3
-
-
+
+
÷
÷
<
<
π
π
,
,
0
0
.
.
%
%
=
=
 [x2  12  π  xdx ]