Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=x^3-3x+2
f(x)=x3-3x+2f(x)=x33x+2
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate.
Tap for more steps...
Step 1.1.1
By the Sum Rule, the derivative of x3-3x+2 with respect to x is ddx[x3]+ddx[-3x]+ddx[2].
ddx[x3]+ddx[-3x]+ddx[2]
Step 1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
3x2+ddx[-3x]+ddx[2]
3x2+ddx[-3x]+ddx[2]
Step 1.2
Evaluate ddx[-3x].
Tap for more steps...
Step 1.2.1
Since -3 is constant with respect to x, the derivative of -3x with respect to x is -3ddx[x].
3x2-3ddx[x]+ddx[2]
Step 1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
3x2-31+ddx[2]
Step 1.2.3
Multiply -3 by 1.
3x2-3+ddx[2]
3x2-3+ddx[2]
Step 1.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 1.3.1
Since 2 is constant with respect to x, the derivative of 2 with respect to x is 0.
3x2-3+0
Step 1.3.2
Add 3x2-3 and 0.
3x2-3
3x2-3
3x2-3
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of 3x2-3 with respect to x is ddx[3x2]+ddx[-3].
f′′(x)=ddx(3x2)+ddx(-3)
Step 2.2
Evaluate ddx[3x2].
Tap for more steps...
Step 2.2.1
Since 3 is constant with respect to x, the derivative of 3x2 with respect to x is 3ddx[x2].
f′′(x)=3ddx(x2)+ddx(-3)
Step 2.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=2.
f′′(x)=3(2x)+ddx(-3)
Step 2.2.3
Multiply 2 by 3.
f′′(x)=6x+ddx(-3)
f′′(x)=6x+ddx(-3)
Step 2.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.3.1
Since -3 is constant with respect to x, the derivative of -3 with respect to x is 0.
f′′(x)=6x+0
Step 2.3.2
Add 6x and 0.
f′′(x)=6x
f′′(x)=6x
f′′(x)=6x
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to 0 and solve.
3x2-3=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
Differentiate.
Tap for more steps...
Step 4.1.1.1
By the Sum Rule, the derivative of x3-3x+2 with respect to x is ddx[x3]+ddx[-3x]+ddx[2].
ddx[x3]+ddx[-3x]+ddx[2]
Step 4.1.1.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=3.
3x2+ddx[-3x]+ddx[2]
3x2+ddx[-3x]+ddx[2]
Step 4.1.2
Evaluate ddx[-3x].
Tap for more steps...
Step 4.1.2.1
Since -3 is constant with respect to x, the derivative of -3x with respect to x is -3ddx[x].
3x2-3ddx[x]+ddx[2]
Step 4.1.2.2
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
3x2-31+ddx[2]
Step 4.1.2.3
Multiply -3 by 1.
3x2-3+ddx[2]
3x2-3+ddx[2]
Step 4.1.3
Differentiate using the Constant Rule.
Tap for more steps...
Step 4.1.3.1
Since 2 is constant with respect to x, the derivative of 2 with respect to x is 0.
3x2-3+0
Step 4.1.3.2
Add 3x2-3 and 0.
f(x)=3x2-3
f(x)=3x2-3
f(x)=3x2-3
Step 4.2
The first derivative of f(x) with respect to x is 3x2-3.
3x2-3
3x2-3
Step 5
Set the first derivative equal to 0 then solve the equation 3x2-3=0.
Tap for more steps...
Step 5.1
Set the first derivative equal to 0.
3x2-3=0
Step 5.2
Add 3 to both sides of the equation.
3x2=3
Step 5.3
Divide each term in 3x2=3 by 3 and simplify.
Tap for more steps...
Step 5.3.1
Divide each term in 3x2=3 by 3.
3x23=33
Step 5.3.2
Simplify the left side.
Tap for more steps...
Step 5.3.2.1
Cancel the common factor of 3.
Tap for more steps...
Step 5.3.2.1.1
Cancel the common factor.
3x23=33
Step 5.3.2.1.2
Divide x2 by 1.
x2=33
x2=33
x2=33
Step 5.3.3
Simplify the right side.
Tap for more steps...
Step 5.3.3.1
Divide 3 by 3.
x2=1
x2=1
x2=1
Step 5.4
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
x=±1
Step 5.5
Any root of 1 is 1.
x=±1
Step 5.6
The complete solution is the result of both the positive and negative portions of the solution.
Tap for more steps...
Step 5.6.1
First, use the positive value of the ± to find the first solution.
x=1
Step 5.6.2
Next, use the negative value of the ± to find the second solution.
x=-1
Step 5.6.3
The complete solution is the result of both the positive and negative portions of the solution.
x=1,-1
x=1,-1
x=1,-1
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,-1
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.
6(1)
Step 9
Multiply 6 by 1.
6
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)=(1)3-31+2
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)=1-31+2
Step 11.2.1.2
Multiply -3 by 1.
f(1)=1-3+2
f(1)=1-3+2
Step 11.2.2
Simplify by adding and subtracting.
Tap for more steps...
Step 11.2.2.1
Subtract 3 from 1.
f(1)=-2+2
Step 11.2.2.2
Add -2 and 2.
f(1)=0
f(1)=0
Step 11.2.3
The final answer is 0.
y=0
y=0
y=0
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.
6(-1)
Step 13
Multiply 6 by -1.
-6
Step 14
x=-1 is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
x=-1 is a local maximum
Step 15
Find the y-value when x=-1.
Tap for more steps...
Step 15.1
Replace the variable x with -1 in the expression.
f(-1)=(-1)3-3-1+2
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 -1 to the power of 3.
f(-1)=-1-3-1+2
Step 15.2.1.2
Multiply -3 by -1.
f(-1)=-1+3+2
f(-1)=-1+3+2
Step 15.2.2
Simplify by adding numbers.
Tap for more steps...
Step 15.2.2.1
Add -1 and 3.
f(-1)=2+2
Step 15.2.2.2
Add 2 and 2.
f(-1)=4
f(-1)=4
Step 15.2.3
The final answer is 4.
y=4
y=4
y=4
Step 16
These are the local extrema for f(x)=x3-3x+2.
(1,0) is a local minima
(-1,4) is a local maxima
Step 17
 [x2  12  π  xdx ]