Enter a problem...
Calculus Examples
f(x)=3x4+4x3-12x2+5f(x)=3x4+4x3−12x2+5
Step 1
Step 1.1
By the Sum Rule, the derivative of 3x4+4x3-12x2+53x4+4x3−12x2+5 with respect to xx is ddx[3x4]+ddx[4x3]+ddx[-12x2]+ddx[5]ddx[3x4]+ddx[4x3]+ddx[−12x2]+ddx[5].
ddx[3x4]+ddx[4x3]+ddx[-12x2]+ddx[5]ddx[3x4]+ddx[4x3]+ddx[−12x2]+ddx[5]
Step 1.2
Evaluate ddx[3x4]ddx[3x4].
Step 1.2.1
Since 33 is constant with respect to xx, the derivative of 3x43x4 with respect to xx is 3ddx[x4]3ddx[x4].
3ddx[x4]+ddx[4x3]+ddx[-12x2]+ddx[5]3ddx[x4]+ddx[4x3]+ddx[−12x2]+ddx[5]
Step 1.2.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn−1 where n=4n=4.
3(4x3)+ddx[4x3]+ddx[-12x2]+ddx[5]3(4x3)+ddx[4x3]+ddx[−12x2]+ddx[5]
Step 1.2.3
Multiply 4 by 3.
12x3+ddx[4x3]+ddx[-12x2]+ddx[5]
12x3+ddx[4x3]+ddx[-12x2]+ddx[5]
Step 1.3
Evaluate ddx[4x3].
Step 1.3.1
Since 4 is constant with respect to x, the derivative of 4x3 with respect to x is 4ddx[x3].
12x3+4ddx[x3]+ddx[-12x2]+ddx[5]
Step 1.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
12x3+4(3x2)+ddx[-12x2]+ddx[5]
Step 1.3.3
Multiply 3 by 4.
12x3+12x2+ddx[-12x2]+ddx[5]
12x3+12x2+ddx[-12x2]+ddx[5]
Step 1.4
Evaluate ddx[-12x2].
Step 1.4.1
Since -12 is constant with respect to x, the derivative of -12x2 with respect to x is -12ddx[x2].
12x3+12x2-12ddx[x2]+ddx[5]
Step 1.4.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
12x3+12x2-12(2x)+ddx[5]
Step 1.4.3
Multiply 2 by -12.
12x3+12x2-24x+ddx[5]
12x3+12x2-24x+ddx[5]
Step 1.5
Differentiate using the Constant Rule.
Step 1.5.1
Since 5 is constant with respect to x, the derivative of 5 with respect to x is 0.
12x3+12x2-24x+0
Step 1.5.2
Add 12x3+12x2-24x and 0.
12x3+12x2-24x
12x3+12x2-24x
12x3+12x2-24x
Step 2
Step 2.1
By the Sum Rule, the derivative of 12x3+12x2-24x with respect to x is ddx[12x3]+ddx[12x2]+ddx[-24x].
f′′(x)=ddx(12x3)+ddx(12x2)+ddx(-24x)
Step 2.2
Evaluate ddx[12x3].
Step 2.2.1
Since 12 is constant with respect to x, the derivative of 12x3 with respect to x is 12ddx[x3].
f′′(x)=12ddx(x3)+ddx(12x2)+ddx(-24x)
Step 2.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
f′′(x)=12(3x2)+ddx(12x2)+ddx(-24x)
Step 2.2.3
Multiply 3 by 12.
f′′(x)=36x2+ddx(12x2)+ddx(-24x)
f′′(x)=36x2+ddx(12x2)+ddx(-24x)
Step 2.3
Evaluate ddx[12x2].
Step 2.3.1
Since 12 is constant with respect to x, the derivative of 12x2 with respect to x is 12ddx[x2].
f′′(x)=36x2+12ddx(x2)+ddx(-24x)
Step 2.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
f′′(x)=36x2+12(2x)+ddx(-24x)
Step 2.3.3
Multiply 2 by 12.
f′′(x)=36x2+24x+ddx(-24x)
f′′(x)=36x2+24x+ddx(-24x)
Step 2.4
Evaluate ddx[-24x].
Step 2.4.1
Since -24 is constant with respect to x, the derivative of -24x with respect to x is -24ddx[x].
f′′(x)=36x2+24x-24ddxx
Step 2.4.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
f′′(x)=36x2+24x-24⋅1
Step 2.4.3
Multiply -24 by 1.
f′′(x)=36x2+24x-24
f′′(x)=36x2+24x-24
f′′(x)=36x2+24x-24
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
12x3+12x2-24x=0
Step 4
Step 4.1
Find the first derivative.
Step 4.1.1
By the Sum Rule, the derivative of 3x4+4x3-12x2+5 with respect to x is ddx[3x4]+ddx[4x3]+ddx[-12x2]+ddx[5].
ddx[3x4]+ddx[4x3]+ddx[-12x2]+ddx[5]
Step 4.1.2
Evaluate ddx[3x4].
Step 4.1.2.1
Since 3 is constant with respect to x, the derivative of 3x4 with respect to x is 3ddx[x4].
3ddx[x4]+ddx[4x3]+ddx[-12x2]+ddx[5]
Step 4.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=4.
3(4x3)+ddx[4x3]+ddx[-12x2]+ddx[5]
Step 4.1.2.3
Multiply 4 by 3.
12x3+ddx[4x3]+ddx[-12x2]+ddx[5]
12x3+ddx[4x3]+ddx[-12x2]+ddx[5]
Step 4.1.3
Evaluate ddx[4x3].
Step 4.1.3.1
Since 4 is constant with respect to x, the derivative of 4x3 with respect to x is 4ddx[x3].
12x3+4ddx[x3]+ddx[-12x2]+ddx[5]
Step 4.1.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
12x3+4(3x2)+ddx[-12x2]+ddx[5]
Step 4.1.3.3
Multiply 3 by 4.
12x3+12x2+ddx[-12x2]+ddx[5]
12x3+12x2+ddx[-12x2]+ddx[5]
Step 4.1.4
Evaluate ddx[-12x2].
Step 4.1.4.1
Since -12 is constant with respect to x, the derivative of -12x2 with respect to x is -12ddx[x2].
12x3+12x2-12ddx[x2]+ddx[5]
Step 4.1.4.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
12x3+12x2-12(2x)+ddx[5]
Step 4.1.4.3
Multiply 2 by -12.
12x3+12x2-24x+ddx[5]
12x3+12x2-24x+ddx[5]
Step 4.1.5
Differentiate using the Constant Rule.
Step 4.1.5.1
Since 5 is constant with respect to x, the derivative of 5 with respect to x is 0.
12x3+12x2-24x+0
Step 4.1.5.2
Add 12x3+12x2-24x and 0.
f′(x)=12x3+12x2-24x
f′(x)=12x3+12x2-24x
f′(x)=12x3+12x2-24x
Step 4.2
The first derivative of f(x) with respect to x is 12x3+12x2-24x.
12x3+12x2-24x
12x3+12x2-24x
Step 5
Step 5.1
Set the first derivative equal to 0.
12x3+12x2-24x=0
Step 5.2
Factor the left side of the equation.
Step 5.2.1
Factor 12x out of 12x3+12x2-24x.
Step 5.2.1.1
Factor 12x out of 12x3.
12x(x2)+12x2-24x=0
Step 5.2.1.2
Factor 12x out of 12x2.
12x(x2)+12x(x)-24x=0
Step 5.2.1.3
Factor 12x out of -24x.
12x(x2)+12x(x)+12x(-2)=0
Step 5.2.1.4
Factor 12x out of 12x(x2)+12x(x).
12x(x2+x)+12x(-2)=0
Step 5.2.1.5
Factor 12x out of 12x(x2+x)+12x(-2).
12x(x2+x-2)=0
12x(x2+x-2)=0
Step 5.2.2
Factor.
Step 5.2.2.1
Factor x2+x-2 using the AC method.
Step 5.2.2.1.1
Consider the form x2+bx+c. Find a pair of integers whose product is c and whose sum is b. In this case, whose product is -2 and whose sum is 1.
-1,2
Step 5.2.2.1.2
Write the factored form using these integers.
12x((x-1)(x+2))=0
12x((x-1)(x+2))=0
Step 5.2.2.2
Remove unnecessary parentheses.
12x(x-1)(x+2)=0
12x(x-1)(x+2)=0
12x(x-1)(x+2)=0
Step 5.3
If any individual factor on the left side of the equation is equal to 0, the entire expression will be equal to 0.
x=0
x-1=0
x+2=0
Step 5.4
Set x equal to 0.
x=0
Step 5.5
Set x-1 equal to 0 and solve for x.
Step 5.5.1
Set x-1 equal to 0.
x-1=0
Step 5.5.2
Add 1 to both sides of the equation.
x=1
x=1
Step 5.6
Set x+2 equal to 0 and solve for x.
Step 5.6.1
Set x+2 equal to 0.
x+2=0
Step 5.6.2
Subtract 2 from both sides of the equation.
x=-2
x=-2
Step 5.7
The final solution is all the values that make 12x(x-1)(x+2)=0 true.
x=0,1,-2
x=0,1,-2
Step 6
Step 6.1
The domain of the expression is all real numbers except where the expression is undefined. In this case, there is no real number that makes the expression undefined.
Step 7
Critical points to evaluate.
x=0,1,-2
Step 8
Evaluate the second derivative at x=0. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
36(0)2+24(0)-24
Step 9
Step 9.1
Simplify each term.
Step 9.1.1
Raising 0 to any positive power yields 0.
36⋅0+24(0)-24
Step 9.1.2
Multiply 36 by 0.
0+24(0)-24
Step 9.1.3
Multiply 24 by 0.
0+0-24
0+0-24
Step 9.2
Simplify by adding and subtracting.
Step 9.2.1
Add 0 and 0.
0-24
Step 9.2.2
Subtract 24 from 0.
-24
-24
-24
Step 10
x=0 is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
x=0 is a local maximum
Step 11
Step 11.1
Replace the variable x with 0 in the expression.
f(0)=3(0)4+4(0)3-12(0)2+5
Step 11.2
Simplify the result.
Step 11.2.1
Simplify each term.
Step 11.2.1.1
Raising 0 to any positive power yields 0.
f(0)=3⋅0+4(0)3-12(0)2+5
Step 11.2.1.2
Multiply 3 by 0.
f(0)=0+4(0)3-12(0)2+5
Step 11.2.1.3
Raising 0 to any positive power yields 0.
f(0)=0+4⋅0-12(0)2+5
Step 11.2.1.4
Multiply 4 by 0.
f(0)=0+0-12(0)2+5
Step 11.2.1.5
Raising 0 to any positive power yields 0.
f(0)=0+0-12⋅0+5
Step 11.2.1.6
Multiply -12 by 0.
f(0)=0+0+0+5
f(0)=0+0+0+5
Step 11.2.2
Simplify by adding numbers.
Step 11.2.2.1
Add 0 and 0.
f(0)=0+0+5
Step 11.2.2.2
Add 0 and 0.
f(0)=0+5
Step 11.2.2.3
Add 0 and 5.
f(0)=5
f(0)=5
Step 11.2.3
The final answer is 5.
y=5
y=5
y=5
Step 12
Evaluate the second derivative at x=1. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
36(1)2+24(1)-24
Step 13
Step 13.1
Simplify each term.
Step 13.1.1
One to any power is one.
36⋅1+24(1)-24
Step 13.1.2
Multiply 36 by 1.
36+24(1)-24
Step 13.1.3
Multiply 24 by 1.
36+24-24
36+24-24
Step 13.2
Simplify by adding and subtracting.
Step 13.2.1
Add 36 and 24.
60-24
Step 13.2.2
Subtract 24 from 60.
36
36
36
Step 14
x=1 is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
x=1 is a local minimum
Step 15
Step 15.1
Replace the variable x with 1 in the expression.
f(1)=3(1)4+4(1)3-12(1)2+5
Step 15.2
Simplify the result.
Step 15.2.1
Simplify each term.
Step 15.2.1.1
One to any power is one.
f(1)=3⋅1+4(1)3-12(1)2+5
Step 15.2.1.2
Multiply 3 by 1.
f(1)=3+4(1)3-12(1)2+5
Step 15.2.1.3
One to any power is one.
f(1)=3+4⋅1-12(1)2+5
Step 15.2.1.4
Multiply 4 by 1.
f(1)=3+4-12(1)2+5
Step 15.2.1.5
One to any power is one.
f(1)=3+4-12⋅1+5
Step 15.2.1.6
Multiply -12 by 1.
f(1)=3+4-12+5
f(1)=3+4-12+5
Step 15.2.2
Simplify by adding and subtracting.
Step 15.2.2.1
Add 3 and 4.
f(1)=7-12+5
Step 15.2.2.2
Subtract 12 from 7.
f(1)=-5+5
Step 15.2.2.3
Add -5 and 5.
f(1)=0
f(1)=0
Step 15.2.3
The final answer is 0.
y=0
y=0
y=0
Step 16
Evaluate the second derivative at x=-2. If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
36(-2)2+24(-2)-24
Step 17
Step 17.1
Simplify each term.
Step 17.1.1
Raise -2 to the power of 2.
36⋅4+24(-2)-24
Step 17.1.2
Multiply 36 by 4.
144+24(-2)-24
Step 17.1.3
Multiply 24 by -2.
144-48-24
144-48-24
Step 17.2
Simplify by subtracting numbers.
Step 17.2.1
Subtract 48 from 144.
96-24
Step 17.2.2
Subtract 24 from 96.
72
72
72
Step 18
x=-2 is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
x=-2 is a local minimum
Step 19
Step 19.1
Replace the variable x with -2 in the expression.
f(-2)=3(-2)4+4(-2)3-12(-2)2+5
Step 19.2
Simplify the result.
Step 19.2.1
Simplify each term.
Step 19.2.1.1
Raise -2 to the power of 4.
f(-2)=3⋅16+4(-2)3-12(-2)2+5
Step 19.2.1.2
Multiply 3 by 16.
f(-2)=48+4(-2)3-12(-2)2+5
Step 19.2.1.3
Raise -2 to the power of 3.
f(-2)=48+4⋅-8-12(-2)2+5
Step 19.2.1.4
Multiply 4 by -8.
f(-2)=48-32-12(-2)2+5
Step 19.2.1.5
Raise -2 to the power of 2.
f(-2)=48-32-12⋅4+5
Step 19.2.1.6
Multiply -12 by 4.
f(-2)=48-32-48+5
f(-2)=48-32-48+5
Step 19.2.2
Simplify by adding and subtracting.
Step 19.2.2.1
Subtract 32 from 48.
f(-2)=16-48+5
Step 19.2.2.2
Subtract 48 from 16.
f(-2)=-32+5
Step 19.2.2.3
Add -32 and 5.
f(-2)=-27
f(-2)=-27
Step 19.2.3
The final answer is -27.
y=-27
y=-27
y=-27
Step 20
These are the local extrema for f(x)=3x4+4x3-12x2+5.
(0,5) is a local maxima
(1,0) is a local minima
(-2,-27) is a local minima
Step 21