Calculus Examples

Find the 2nd Derivative x(x-4)^3
x(x-4)3x(x4)3
Step 1
Find the first derivative.
Tap for more steps...
Step 1.1
Differentiate using the Product Rule which states that ddx[f(x)g(x)] is f(x)ddx[g(x)]+g(x)ddx[f(x)] where f(x)=x and g(x)=(x-4)3.
xddx[(x-4)3]+(x-4)3ddx[x]
Step 1.2
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x3 and g(x)=x-4.
Tap for more steps...
Step 1.2.1
To apply the Chain Rule, set u as x-4.
x(ddu[u3]ddx[x-4])+(x-4)3ddx[x]
Step 1.2.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=3.
x(3u2ddx[x-4])+(x-4)3ddx[x]
Step 1.2.3
Replace all occurrences of u with x-4.
x(3(x-4)2ddx[x-4])+(x-4)3ddx[x]
x(3(x-4)2ddx[x-4])+(x-4)3ddx[x]
Step 1.3
Differentiate.
Tap for more steps...
Step 1.3.1
By the Sum Rule, the derivative of x-4 with respect to x is ddx[x]+ddx[-4].
x(3(x-4)2(ddx[x]+ddx[-4]))+(x-4)3ddx[x]
Step 1.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
x(3(x-4)2(1+ddx[-4]))+(x-4)3ddx[x]
Step 1.3.3
Since -4 is constant with respect to x, the derivative of -4 with respect to x is 0.
x(3(x-4)2(1+0))+(x-4)3ddx[x]
Step 1.3.4
Simplify the expression.
Tap for more steps...
Step 1.3.4.1
Add 1 and 0.
x(3(x-4)21)+(x-4)3ddx[x]
Step 1.3.4.2
Multiply 3 by 1.
x(3(x-4)2)+(x-4)3ddx[x]
x(3(x-4)2)+(x-4)3ddx[x]
Step 1.3.5
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
x(3(x-4)2)+(x-4)31
Step 1.3.6
Multiply (x-4)3 by 1.
x(3(x-4)2)+(x-4)3
x(3(x-4)2)+(x-4)3
Step 1.4
Simplify.
Tap for more steps...
Step 1.4.1
Factor (x-4)2 out of x(3(x-4)2)+(x-4)3.
Tap for more steps...
Step 1.4.1.1
Factor (x-4)2 out of x(3(x-4)2).
(x-4)2(x(3))+(x-4)3
Step 1.4.1.2
Factor (x-4)2 out of (x-4)3.
(x-4)2(x(3))+(x-4)2(x-4)
Step 1.4.1.3
Factor (x-4)2 out of (x-4)2(x(3))+(x-4)2(x-4).
(x-4)2(x(3)+x-4)
(x-4)2(x(3)+x-4)
Step 1.4.2
Combine terms.
Tap for more steps...
Step 1.4.2.1
Move 3 to the left of x.
(x-4)2(3x+x-4)
Step 1.4.2.2
Add 3x and x.
(x-4)2(4x-4)
(x-4)2(4x-4)
Step 1.4.3
Rewrite (x-4)2 as (x-4)(x-4).
(x-4)(x-4)(4x-4)
Step 1.4.4
Expand (x-4)(x-4) using the FOIL Method.
Tap for more steps...
Step 1.4.4.1
Apply the distributive property.
(x(x-4)-4(x-4))(4x-4)
Step 1.4.4.2
Apply the distributive property.
(xx+x-4-4(x-4))(4x-4)
Step 1.4.4.3
Apply the distributive property.
(xx+x-4-4x-4-4)(4x-4)
(xx+x-4-4x-4-4)(4x-4)
Step 1.4.5
Simplify and combine like terms.
Tap for more steps...
Step 1.4.5.1
Simplify each term.
Tap for more steps...
Step 1.4.5.1.1
Multiply x by x.
(x2+x-4-4x-4-4)(4x-4)
Step 1.4.5.1.2
Move -4 to the left of x.
(x2-4x-4x-4-4)(4x-4)
Step 1.4.5.1.3
Multiply -4 by -4.
(x2-4x-4x+16)(4x-4)
(x2-4x-4x+16)(4x-4)
Step 1.4.5.2
Subtract 4x from -4x.
(x2-8x+16)(4x-4)
(x2-8x+16)(4x-4)
Step 1.4.6
Expand (x2-8x+16)(4x-4) by multiplying each term in the first expression by each term in the second expression.
x2(4x)+x2-4-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7
Simplify each term.
Tap for more steps...
Step 1.4.7.1
Rewrite using the commutative property of multiplication.
4x2x+x2-4-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7.2
Multiply x2 by x by adding the exponents.
Tap for more steps...
Step 1.4.7.2.1
Move x.
4(xx2)+x2-4-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7.2.2
Multiply x by x2.
Tap for more steps...
Step 1.4.7.2.2.1
Raise x to the power of 1.
4(x1x2)+x2-4-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7.2.2.2
Use the power rule aman=am+n to combine exponents.
4x1+2+x2-4-8x(4x)-8x-4+16(4x)+16-4
4x1+2+x2-4-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7.2.3
Add 1 and 2.
4x3+x2-4-8x(4x)-8x-4+16(4x)+16-4
4x3+x2-4-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7.3
Move -4 to the left of x2.
4x3-4x2-8x(4x)-8x-4+16(4x)+16-4
Step 1.4.7.4
Rewrite using the commutative property of multiplication.
4x3-4x2-84xx-8x-4+16(4x)+16-4
Step 1.4.7.5
Multiply x by x by adding the exponents.
Tap for more steps...
Step 1.4.7.5.1
Move x.
4x3-4x2-84(xx)-8x-4+16(4x)+16-4
Step 1.4.7.5.2
Multiply x by x.
4x3-4x2-84x2-8x-4+16(4x)+16-4
4x3-4x2-84x2-8x-4+16(4x)+16-4
Step 1.4.7.6
Multiply -8 by 4.
4x3-4x2-32x2-8x-4+16(4x)+16-4
Step 1.4.7.7
Multiply -4 by -8.
4x3-4x2-32x2+32x+16(4x)+16-4
Step 1.4.7.8
Multiply 4 by 16.
4x3-4x2-32x2+32x+64x+16-4
Step 1.4.7.9
Multiply 16 by -4.
4x3-4x2-32x2+32x+64x-64
4x3-4x2-32x2+32x+64x-64
Step 1.4.8
Subtract 32x2 from -4x2.
4x3-36x2+32x+64x-64
Step 1.4.9
Add 32x and 64x.
f(x)=4x3-36x2+96x-64
f(x)=4x3-36x2+96x-64
f(x)=4x3-36x2+96x-64
Step 2
Find the second derivative.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of 4x3-36x2+96x-64 with respect to x is ddx[4x3]+ddx[-36x2]+ddx[96x]+ddx[-64].
ddx[4x3]+ddx[-36x2]+ddx[96x]+ddx[-64]
Step 2.2
Evaluate ddx[4x3].
Tap for more steps...
Step 2.2.1
Since 4 is constant with respect to x, the derivative of 4x3 with respect to x is 4ddx[x3].
4ddx[x3]+ddx[-36x2]+ddx[96x]+ddx[-64]
Step 2.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
4(3x2)+ddx[-36x2]+ddx[96x]+ddx[-64]
Step 2.2.3
Multiply 3 by 4.
12x2+ddx[-36x2]+ddx[96x]+ddx[-64]
12x2+ddx[-36x2]+ddx[96x]+ddx[-64]
Step 2.3
Evaluate ddx[-36x2].
Tap for more steps...
Step 2.3.1
Since -36 is constant with respect to x, the derivative of -36x2 with respect to x is -36ddx[x2].
12x2-36ddx[x2]+ddx[96x]+ddx[-64]
Step 2.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
12x2-36(2x)+ddx[96x]+ddx[-64]
Step 2.3.3
Multiply 2 by -36.
12x2-72x+ddx[96x]+ddx[-64]
12x2-72x+ddx[96x]+ddx[-64]
Step 2.4
Evaluate ddx[96x].
Tap for more steps...
Step 2.4.1
Since 96 is constant with respect to x, the derivative of 96x with respect to x is 96ddx[x].
12x2-72x+96ddx[x]+ddx[-64]
Step 2.4.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
12x2-72x+961+ddx[-64]
Step 2.4.3
Multiply 96 by 1.
12x2-72x+96+ddx[-64]
12x2-72x+96+ddx[-64]
Step 2.5
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.5.1
Since -64 is constant with respect to x, the derivative of -64 with respect to x is 0.
12x2-72x+96+0
Step 2.5.2
Add 12x2-72x+96 and 0.
f(x)=12x2-72x+96
f(x)=12x2-72x+96
f(x)=12x2-72x+96
Step 3
Find the third derivative.
Tap for more steps...
Step 3.1
By the Sum Rule, the derivative of 12x2-72x+96 with respect to x is ddx[12x2]+ddx[-72x]+ddx[96].
ddx[12x2]+ddx[-72x]+ddx[96]
Step 3.2
Evaluate ddx[12x2].
Tap for more steps...
Step 3.2.1
Since 12 is constant with respect to x, the derivative of 12x2 with respect to x is 12ddx[x2].
12ddx[x2]+ddx[-72x]+ddx[96]
Step 3.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
12(2x)+ddx[-72x]+ddx[96]
Step 3.2.3
Multiply 2 by 12.
24x+ddx[-72x]+ddx[96]
24x+ddx[-72x]+ddx[96]
Step 3.3
Evaluate ddx[-72x].
Tap for more steps...
Step 3.3.1
Since -72 is constant with respect to x, the derivative of -72x with respect to x is -72ddx[x].
24x-72ddx[x]+ddx[96]
Step 3.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
24x-721+ddx[96]
Step 3.3.3
Multiply -72 by 1.
24x-72+ddx[96]
24x-72+ddx[96]
Step 3.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 3.4.1
Since 96 is constant with respect to x, the derivative of 96 with respect to x is 0.
24x-72+0
Step 3.4.2
Add 24x-72 and 0.
f(x)=24x-72
f(x)=24x-72
f(x)=24x-72
Step 4
Find the fourth derivative.
Tap for more steps...
Step 4.1
By the Sum Rule, the derivative of 24x-72 with respect to x is ddx[24x]+ddx[-72].
ddx[24x]+ddx[-72]
Step 4.2
Evaluate ddx[24x].
Tap for more steps...
Step 4.2.1
Since 24 is constant with respect to x, the derivative of 24x with respect to x is 24ddx[x].
24ddx[x]+ddx[-72]
Step 4.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
241+ddx[-72]
Step 4.2.3
Multiply 24 by 1.
24+ddx[-72]
24+ddx[-72]
Step 4.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 4.3.1
Since -72 is constant with respect to x, the derivative of -72 with respect to x is 0.
24+0
Step 4.3.2
Add 24 and 0.
f4(x)=24
f4(x)=24
f4(x)=24
 [x2  12  π  xdx ]