Calculus Examples

Find the Local Maxima and Minima y=x^3-6x^2+12x-6
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
Differentiate.
Tap for more steps...
Step 2.1.1
By the Sum Rule, the derivative of with respect to is .
Step 2.1.2
Differentiate using the Power Rule which states that is where .
Step 2.2
Evaluate .
Tap for more steps...
Step 2.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.2
Differentiate using the Power Rule which states that is where .
Step 2.2.3
Multiply by .
Step 2.3
Evaluate .
Tap for more steps...
Step 2.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.2
Differentiate using the Power Rule which states that is where .
Step 2.3.3
Multiply by .
Step 2.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 2.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.4.2
Add and .
Step 3
Find the second derivative of the function.
Tap for more steps...
Step 3.1
By the Sum Rule, the derivative of with respect to is .
Step 3.2
Evaluate .
Tap for more steps...
Step 3.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2.2
Differentiate using the Power Rule which states that is where .
Step 3.2.3
Multiply by .
Step 3.3
Evaluate .
Tap for more steps...
Step 3.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.2
Differentiate using the Power Rule which states that is where .
Step 3.3.3
Multiply by .
Step 3.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 3.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.4.2
Add and .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Find the first derivative.
Tap for more steps...
Step 5.1
Find the first derivative.
Tap for more steps...
Step 5.1.1
Differentiate.
Tap for more steps...
Step 5.1.1.1
By the Sum Rule, the derivative of with respect to is .
Step 5.1.1.2
Differentiate using the Power Rule which states that is where .
Step 5.1.2
Evaluate .
Tap for more steps...
Step 5.1.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.2.2
Differentiate using the Power Rule which states that is where .
Step 5.1.2.3
Multiply by .
Step 5.1.3
Evaluate .
Tap for more steps...
Step 5.1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.3.2
Differentiate using the Power Rule which states that is where .
Step 5.1.3.3
Multiply by .
Step 5.1.4
Differentiate using the Constant Rule.
Tap for more steps...
Step 5.1.4.1
Since is constant with respect to , the derivative of with respect to is .
Step 5.1.4.2
Add and .
Step 5.2
The first derivative of with respect to is .
Step 6
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 6.1
Set the first derivative equal to .
Step 6.2
Factor the left side of the equation.
Tap for more steps...
Step 6.2.1
Factor out of .
Tap for more steps...
Step 6.2.1.1
Factor out of .
Step 6.2.1.2
Factor out of .
Step 6.2.1.3
Factor out of .
Step 6.2.1.4
Factor out of .
Step 6.2.1.5
Factor out of .
Step 6.2.2
Factor using the perfect square rule.
Tap for more steps...
Step 6.2.2.1
Rewrite as .
Step 6.2.2.2
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 6.2.2.3
Rewrite the polynomial.
Step 6.2.2.4
Factor using the perfect square trinomial rule , where and .
Step 6.3
Divide each term in by and simplify.
Tap for more steps...
Step 6.3.1
Divide each term in by .
Step 6.3.2
Simplify the left side.
Tap for more steps...
Step 6.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.3.2.1.1
Cancel the common factor.
Step 6.3.2.1.2
Divide by .
Step 6.3.3
Simplify the right side.
Tap for more steps...
Step 6.3.3.1
Divide by .
Step 6.4
Set the equal to .
Step 6.5
Add to both sides of the equation.
Step 7
Find the values where the derivative is undefined.
Tap for more steps...
Step 7.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 8
Critical points to evaluate.
Step 9
Evaluate the second derivative at . If the second derivative is positive, then this is a local minimum. If it is negative, then this is a local maximum.
Step 10
Evaluate the second derivative.
Tap for more steps...
Step 10.1
Multiply by .
Step 10.2
Subtract from .
Step 11
Since there is at least one point with or undefined second derivative, apply the first derivative test.
Tap for more steps...
Step 11.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 11.2
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Tap for more steps...
Step 11.2.1
Replace the variable with in the expression.
Step 11.2.2
Simplify the result.
Tap for more steps...
Step 11.2.2.1
Simplify each term.
Tap for more steps...
Step 11.2.2.1.1
Raising to any positive power yields .
Step 11.2.2.1.2
Multiply by .
Step 11.2.2.1.3
Multiply by .
Step 11.2.2.2
Simplify by adding numbers.
Tap for more steps...
Step 11.2.2.2.1
Add and .
Step 11.2.2.2.2
Add and .
Step 11.2.2.3
The final answer is .
Step 11.3
Substitute any number, such as , from the interval in the first derivative to check if the result is negative or positive.
Tap for more steps...
Step 11.3.1
Replace the variable with in the expression.
Step 11.3.2
Simplify the result.
Tap for more steps...
Step 11.3.2.1
Simplify each term.
Tap for more steps...
Step 11.3.2.1.1
Raise to the power of .
Step 11.3.2.1.2
Multiply by .
Step 11.3.2.1.3
Multiply by .
Step 11.3.2.2
Simplify by adding and subtracting.
Tap for more steps...
Step 11.3.2.2.1
Subtract from .
Step 11.3.2.2.2
Add and .
Step 11.3.2.3
The final answer is .
Step 11.4
Since the first derivative did not change signs around , this is not a local maximum or minimum.
Not a local maximum or minimum
Step 11.5
No local maxima or minima found for .
No local maxima or minima
No local maxima or minima
Step 12