Calculus Examples

Find the Local Maxima and Minima 3cos(x)-cos(x)^3
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
By the Sum Rule, the derivative of with respect to is .
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
The derivative of with respect to is .
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 chain rule, which states that is where and .
Tap for more steps...
Step 2.3.2.1
To apply the Chain Rule, set as .
Step 2.3.2.2
Differentiate using the Power Rule which states that is where .
Step 2.3.2.3
Replace all occurrences of with .
Step 2.3.3
The derivative of with respect to is .
Step 2.3.4
Multiply by .
Step 2.3.5
Multiply by .
Step 2.4
Simplify.
Tap for more steps...
Step 2.4.1
Reorder terms.
Step 2.4.2
Factor out of .
Tap for more steps...
Step 2.4.2.1
Factor out of .
Step 2.4.2.2
Factor out of .
Step 2.4.2.3
Factor out of .
Step 2.4.3
Reorder and .
Step 2.4.4
Rewrite as .
Step 2.4.5
Factor out of .
Step 2.4.6
Factor out of .
Step 2.4.7
Rewrite as .
Step 2.4.8
Apply pythagorean identity.
Step 2.4.9
Multiply by by adding the exponents.
Tap for more steps...
Step 2.4.9.1
Move .
Step 2.4.9.2
Multiply by .
Tap for more steps...
Step 2.4.9.2.1
Raise to the power of .
Step 2.4.9.2.2
Use the power rule to combine exponents.
Step 2.4.9.3
Add and .
Step 2.4.10
Multiply by .
Step 3
Find the second derivative of the function.
Tap for more steps...
Step 3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.2.1
To apply the Chain Rule, set as .
Step 3.2.2
Differentiate using the Power Rule which states that is where .
Step 3.2.3
Replace all occurrences of with .
Step 3.3
Multiply by .
Step 3.4
The derivative of with respect to is .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Divide each term in by and simplify.
Tap for more steps...
Step 5.1
Divide each term in by .
Step 5.2
Simplify the left side.
Tap for more steps...
Step 5.2.1
Cancel the common factor of .
Tap for more steps...
Step 5.2.1.1
Cancel the common factor.
Step 5.2.1.2
Divide by .
Step 5.3
Simplify the right side.
Tap for more steps...
Step 5.3.1
Divide by .
Step 6
Take the specified root of both sides of the equation to eliminate the exponent on the left side.
Step 7
Simplify .
Tap for more steps...
Step 7.1
Rewrite as .
Step 7.2
Pull terms out from under the radical, assuming real numbers.
Step 8
Take the inverse sine of both sides of the equation to extract from inside the sine.
Step 9
Simplify the right side.
Tap for more steps...
Step 9.1
The exact value of is .
Step 10
The sine function is positive in the first and second quadrants. To find the second solution, subtract the reference angle from to find the solution in the second quadrant.
Step 11
Subtract from .
Step 12
The solution to the equation .
Step 13
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 14
Evaluate the second derivative.
Tap for more steps...
Step 14.1
The exact value of is .
Step 14.2
Raising to any positive power yields .
Step 14.3
Multiply by .
Step 14.4
The exact value of is .
Step 14.5
Multiply by .
Step 15
Since there is at least one point with or undefined second derivative, apply the first derivative test.
Tap for more steps...
Step 15.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 15.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 15.2.1
Replace the variable with in the expression.
Step 15.2.2
Simplify the result.
Tap for more steps...
Step 15.2.2.1
Evaluate .
Step 15.2.2.2
Raise to the power of .
Step 15.2.2.3
Multiply by .
Step 15.2.2.4
The final answer is .
Step 15.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 15.3.1
Replace the variable with in the expression.
Step 15.3.2
Simplify the result.
Tap for more steps...
Step 15.3.2.1
Evaluate .
Step 15.3.2.2
Raise to the power of .
Step 15.3.2.3
Multiply by .
Step 15.3.2.4
The final answer is .
Step 15.4
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 15.4.1
Replace the variable with in the expression.
Step 15.4.2
Simplify the result.
Tap for more steps...
Step 15.4.2.1
Evaluate .
Step 15.4.2.2
Raise to the power of .
Step 15.4.2.3
Multiply by .
Step 15.4.2.4
The final answer is .
Step 15.5
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
Step 15.6
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 15.7
These are the local extrema for .
is a local maximum
is a local minimum
is a local maximum
is a local minimum
Step 16