Calculus Examples

Find the Absolute Max and Min over the Interval 2x^3+3x^2-12x+5
2x3+3x2-12x+52x3+3x212x+5
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
By the Sum Rule, the derivative of 2x3+3x2-12x+52x3+3x212x+5 with respect to xx is ddx[2x3]+ddx[3x2]+ddx[-12x]+ddx[5]ddx[2x3]+ddx[3x2]+ddx[12x]+ddx[5].
ddx[2x3]+ddx[3x2]+ddx[-12x]+ddx[5]ddx[2x3]+ddx[3x2]+ddx[12x]+ddx[5]
Step 1.2
Evaluate ddx[2x3]ddx[2x3].
Tap for more steps...
Step 1.2.1
Since 22 is constant with respect to xx, the derivative of 2x32x3 with respect to xx is 2ddx[x3]2ddx[x3].
2ddx[x3]+ddx[3x2]+ddx[-12x]+ddx[5]2ddx[x3]+ddx[3x2]+ddx[12x]+ddx[5]
Step 1.2.2
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn1 where n=3n=3.
2(3x2)+ddx[3x2]+ddx[-12x]+ddx[5]2(3x2)+ddx[3x2]+ddx[12x]+ddx[5]
Step 1.2.3
Multiply 33 by 22.
6x2+ddx[3x2]+ddx[-12x]+ddx[5]6x2+ddx[3x2]+ddx[12x]+ddx[5]
6x2+ddx[3x2]+ddx[-12x]+ddx[5]
Step 1.3
Evaluate ddx[3x2].
Tap for more steps...
Step 1.3.1
Since 3 is constant with respect to x, the derivative of 3x2 with respect to x is 3ddx[x2].
6x2+3ddx[x2]+ddx[-12x]+ddx[5]
Step 1.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
6x2+3(2x)+ddx[-12x]+ddx[5]
Step 1.3.3
Multiply 2 by 3.
6x2+6x+ddx[-12x]+ddx[5]
6x2+6x+ddx[-12x]+ddx[5]
Step 1.4
Evaluate ddx[-12x].
Tap for more steps...
Step 1.4.1
Since -12 is constant with respect to x, the derivative of -12x with respect to x is -12ddx[x].
6x2+6x-12ddx[x]+ddx[5]
Step 1.4.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
6x2+6x-121+ddx[5]
Step 1.4.3
Multiply -12 by 1.
6x2+6x-12+ddx[5]
6x2+6x-12+ddx[5]
Step 1.5
Differentiate using the Constant Rule.
Tap for more steps...
Step 1.5.1
Since 5 is constant with respect to x, the derivative of 5 with respect to x is 0.
6x2+6x-12+0
Step 1.5.2
Add 6x2+6x-12 and 0.
6x2+6x-12
6x2+6x-12
6x2+6x-12
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of 6x2+6x-12 with respect to x is ddx[6x2]+ddx[6x]+ddx[-12].
f′′(x)=ddx(6x2)+ddx(6x)+ddx(-12)
Step 2.2
Evaluate ddx[6x2].
Tap for more steps...
Step 2.2.1
Since 6 is constant with respect to x, the derivative of 6x2 with respect to x is 6ddx[x2].
f′′(x)=6ddx(x2)+ddx(6x)+ddx(-12)
Step 2.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
f′′(x)=6(2x)+ddx(6x)+ddx(-12)
Step 2.2.3
Multiply 2 by 6.
f′′(x)=12x+ddx(6x)+ddx(-12)
f′′(x)=12x+ddx(6x)+ddx(-12)
Step 2.3
Evaluate ddx[6x].
Tap for more steps...
Step 2.3.1
Since 6 is constant with respect to x, the derivative of 6x with respect to x is 6ddx[x].
f′′(x)=12x+6ddx(x)+ddx(-12)
Step 2.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
f′′(x)=12x+61+ddx(-12)
Step 2.3.3
Multiply 6 by 1.
f′′(x)=12x+6+ddx(-12)
f′′(x)=12x+6+ddx(-12)
Step 2.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.4.1
Since -12 is constant with respect to x, the derivative of -12 with respect to x is 0.
f′′(x)=12x+6+0
Step 2.4.2
Add 12x+6 and 0.
f′′(x)=12x+6
f′′(x)=12x+6
f′′(x)=12x+6
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
6x2+6x-12=0
Step 4
Find the first derivative.
Tap for more steps...
Step 4.1
Find the first derivative.
Tap for more steps...
Step 4.1.1
By the Sum Rule, the derivative of 2x3+3x2-12x+5 with respect to x is ddx[2x3]+ddx[3x2]+ddx[-12x]+ddx[5].
ddx[2x3]+ddx[3x2]+ddx[-12x]+ddx[5]
Step 4.1.2
Evaluate ddx[2x3].
Tap for more steps...
Step 4.1.2.1
Since 2 is constant with respect to x, the derivative of 2x3 with respect to x is 2ddx[x3].
2ddx[x3]+ddx[3x2]+ddx[-12x]+ddx[5]
Step 4.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
2(3x2)+ddx[3x2]+ddx[-12x]+ddx[5]
Step 4.1.2.3
Multiply 3 by 2.
6x2+ddx[3x2]+ddx[-12x]+ddx[5]
6x2+ddx[3x2]+ddx[-12x]+ddx[5]
Step 4.1.3
Evaluate ddx[3x2].
Tap for more steps...
Step 4.1.3.1
Since 3 is constant with respect to x, the derivative of 3x2 with respect to x is 3ddx[x2].
6x2+3ddx[x2]+ddx[-12x]+ddx[5]
Step 4.1.3.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
6x2+3(2x)+ddx[-12x]+ddx[5]
Step 4.1.3.3
Multiply 2 by 3.
6x2+6x+ddx[-12x]+ddx[5]
6x2+6x+ddx[-12x]+ddx[5]
Step 4.1.4
Evaluate ddx[-12x].
Tap for more steps...
Step 4.1.4.1
Since -12 is constant with respect to x, the derivative of -12x with respect to x is -12ddx[x].
6x2+6x-12ddx[x]+ddx[5]
Step 4.1.4.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
6x2+6x-121+ddx[5]
Step 4.1.4.3
Multiply -12 by 1.
6x2+6x-12+ddx[5]
6x2+6x-12+ddx[5]
Step 4.1.5
Differentiate using the Constant Rule.
Tap for more steps...
Step 4.1.5.1
Since 5 is constant with respect to x, the derivative of 5 with respect to x is 0.
6x2+6x-12+0
Step 4.1.5.2
Add 6x2+6x-12 and 0.
f(x)=6x2+6x-12
f(x)=6x2+6x-12
f(x)=6x2+6x-12
Step 4.2
The first derivative of f(x) with respect to x is 6x2+6x-12.
6x2+6x-12
6x2+6x-12
Step 5
Set the first derivative equal to 0 then solve the equation 6x2+6x-12=0.
Tap for more steps...
Step 5.1
Set the first derivative equal to 0.
6x2+6x-12=0
Step 5.2
Factor the left side of the equation.
Tap for more steps...
Step 5.2.1
Factor 6 out of 6x2+6x-12.
Tap for more steps...
Step 5.2.1.1
Factor 6 out of 6x2.
6(x2)+6x-12=0
Step 5.2.1.2
Factor 6 out of 6x.
6(x2)+6(x)-12=0
Step 5.2.1.3
Factor 6 out of -12.
6(x2)+6x+6-2=0
Step 5.2.1.4
Factor 6 out of 6(x2)+6x.
6(x2+x)+6-2=0
Step 5.2.1.5
Factor 6 out of 6(x2+x)+6-2.
6(x2+x-2)=0
6(x2+x-2)=0
Step 5.2.2
Factor.
Tap for more steps...
Step 5.2.2.1
Factor x2+x-2 using the AC method.
Tap for more steps...
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.
6((x-1)(x+2))=0
6((x-1)(x+2))=0
Step 5.2.2.2
Remove unnecessary parentheses.
6(x-1)(x+2)=0
6(x-1)(x+2)=0
6(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-1=0
x+2=0
Step 5.4
Set x-1 equal to 0 and solve for x.
Tap for more steps...
Step 5.4.1
Set x-1 equal to 0.
x-1=0
Step 5.4.2
Add 1 to both sides of the equation.
x=1
x=1
Step 5.5
Set x+2 equal to 0 and solve for x.
Tap for more steps...
Step 5.5.1
Set x+2 equal to 0.
x+2=0
Step 5.5.2
Subtract 2 from both sides of the equation.
x=-2
x=-2
Step 5.6
The final solution is all the values that make 6(x-1)(x+2)=0 true.
x=1,-2
x=1,-2
Step 6
Find the values where the derivative is undefined.
Tap for more steps...
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=1,-2
Step 8
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.
12(1)+6
Step 9
Evaluate the second derivative.
Tap for more steps...
Step 9.1
Multiply 12 by 1.
12+6
Step 9.2
Add 12 and 6.
18
18
Step 10
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 11
Find the y-value when x=1.
Tap for more steps...
Step 11.1
Replace the variable x with 1 in the expression.
f(1)=2(1)3+3(1)2-121+5
Step 11.2
Simplify the result.
Tap for more steps...
Step 11.2.1
Simplify each term.
Tap for more steps...
Step 11.2.1.1
One to any power is one.
f(1)=21+3(1)2-121+5
Step 11.2.1.2
Multiply 2 by 1.
f(1)=2+3(1)2-121+5
Step 11.2.1.3
One to any power is one.
f(1)=2+31-121+5
Step 11.2.1.4
Multiply 3 by 1.
f(1)=2+3-121+5
Step 11.2.1.5
Multiply -12 by 1.
f(1)=2+3-12+5
f(1)=2+3-12+5
Step 11.2.2
Simplify by adding and subtracting.
Tap for more steps...
Step 11.2.2.1
Add 2 and 3.
f(1)=5-12+5
Step 11.2.2.2
Subtract 12 from 5.
f(1)=-7+5
Step 11.2.2.3
Add -7 and 5.
f(1)=-2
f(1)=-2
Step 11.2.3
The final answer is -2.
y=-2
y=-2
y=-2
Step 12
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.
12(-2)+6
Step 13
Evaluate the second derivative.
Tap for more steps...
Step 13.1
Multiply 12 by -2.
-24+6
Step 13.2
Add -24 and 6.
-18
-18
Step 14
x=-2 is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
x=-2 is a local maximum
Step 15
Find the y-value when x=-2.
Tap for more steps...
Step 15.1
Replace the variable x with -2 in the expression.
f(-2)=2(-2)3+3(-2)2-12-2+5
Step 15.2
Simplify the result.
Tap for more steps...
Step 15.2.1
Simplify each term.
Tap for more steps...
Step 15.2.1.1
Raise -2 to the power of 3.
f(-2)=2-8+3(-2)2-12-2+5
Step 15.2.1.2
Multiply 2 by -8.
f(-2)=-16+3(-2)2-12-2+5
Step 15.2.1.3
Raise -2 to the power of 2.
f(-2)=-16+34-12-2+5
Step 15.2.1.4
Multiply 3 by 4.
f(-2)=-16+12-12-2+5
Step 15.2.1.5
Multiply -12 by -2.
f(-2)=-16+12+24+5
f(-2)=-16+12+24+5
Step 15.2.2
Simplify by adding numbers.
Tap for more steps...
Step 15.2.2.1
Add -16 and 12.
f(-2)=-4+24+5
Step 15.2.2.2
Add -4 and 24.
f(-2)=20+5
Step 15.2.2.3
Add 20 and 5.
f(-2)=25
f(-2)=25
Step 15.2.3
The final answer is 25.
y=25
y=25
y=25
Step 16
These are the local extrema for f(x)=2x3+3x2-12x+5.
(1,-2) is a local minima
(-2,25) is a local maxima
Step 17
 [x2  12  π  xdx ]