Calculus Examples

Find the Derivative - d/dx (x-1)^2
(x-1)2
Step 1
Rewrite (x-1)2 as (x-1)(x-1).
ddx[(x-1)(x-1)]
Step 2
Expand (x-1)(x-1) using the FOIL Method.
Tap for more steps...
Step 2.1
Apply the distributive property.
ddx[x(x-1)-1(x-1)]
Step 2.2
Apply the distributive property.
ddx[xx+x-1-1(x-1)]
Step 2.3
Apply the distributive property.
ddx[xx+x-1-1x-1-1]
ddx[xx+x-1-1x-1-1]
Step 3
Simplify and combine like terms.
Tap for more steps...
Step 3.1
Simplify each term.
Tap for more steps...
Step 3.1.1
Multiply x by x.
ddx[x2+x-1-1x-1-1]
Step 3.1.2
Move -1 to the left of x.
ddx[x2-1x-1x-1-1]
Step 3.1.3
Rewrite -1x as -x.
ddx[x2-x-1x-1-1]
Step 3.1.4
Rewrite -1x as -x.
ddx[x2-x-x-1-1]
Step 3.1.5
Multiply -1 by -1.
ddx[x2-x-x+1]
ddx[x2-x-x+1]
Step 3.2
Subtract x from -x.
ddx[x2-2x+1]
ddx[x2-2x+1]
Step 4
By the Sum Rule, the derivative of x2-2x+1 with respect to x is ddx[x2]+ddx[-2x]+ddx[1].
ddx[x2]+ddx[-2x]+ddx[1]
Step 5
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
2x+ddx[-2x]+ddx[1]
Step 6
Since -2 is constant with respect to x, the derivative of -2x with respect to x is -2ddx[x].
2x-2ddx[x]+ddx[1]
Step 7
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
2x-21+ddx[1]
Step 8
Multiply -2 by 1.
2x-2+ddx[1]
Step 9
Since 1 is constant with respect to x, the derivative of 1 with respect to x is 0.
2x-2+0
Step 10
Add 2x-2 and 0.
2x-2
(x-1)2
(
(
)
)
|
|
[
[
]
]
7
7
8
8
9
9
°
°
θ
θ
4
4
5
5
6
6
/
/
^
^
×
×
>
>
π
π
1
1
2
2
3
3
-
-
+
+
÷
÷
<
<
!
!
,
,
0
0
.
.
%
%
=
=
 [x2  12  π  xdx ]