Calculus Examples

Find the Local Maxima and Minima 2cos(x)^2
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.2.1
To apply the Chain Rule, set as .
Step 2.2.2
Differentiate using the Power Rule which states that is where .
Step 2.2.3
Replace all occurrences of with .
Step 2.3
Multiply by .
Step 2.4
The derivative of with respect to is .
Step 2.5
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 Product Rule which states that is where and .
Step 3.3
The derivative of with respect to is .
Step 3.4
Raise to the power of .
Step 3.5
Raise to the power of .
Step 3.6
Use the power rule to combine exponents.
Step 3.7
Add and .
Step 3.8
The derivative of with respect to is .
Step 3.9
Raise to the power of .
Step 3.10
Raise to the power of .
Step 3.11
Use the power rule to combine exponents.
Step 3.12
Add and .
Step 3.13
Simplify.
Tap for more steps...
Step 3.13.1
Apply the distributive property.
Step 3.13.2
Multiply by .
Step 3.13.3
Rewrite as .
Step 3.13.4
Rewrite as .
Step 3.13.5
Reorder and .
Step 3.13.6
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 3.13.7
Multiply by .
Step 3.13.8
Expand using the FOIL Method.
Tap for more steps...
Step 3.13.8.1
Apply the distributive property.
Step 3.13.8.2
Apply the distributive property.
Step 3.13.8.3
Apply the distributive property.
Step 3.13.9
Combine the opposite terms in .
Tap for more steps...
Step 3.13.9.1
Reorder the factors in the terms and .
Step 3.13.9.2
Add and .
Step 3.13.9.3
Add and .
Step 3.13.10
Simplify each term.
Tap for more steps...
Step 3.13.10.1
Multiply .
Tap for more steps...
Step 3.13.10.1.1
Multiply by .
Step 3.13.10.1.2
Raise to the power of .
Step 3.13.10.1.3
Raise to the power of .
Step 3.13.10.1.4
Use the power rule to combine exponents.
Step 3.13.10.1.5
Add and .
Step 3.13.10.2
Multiply .
Tap for more steps...
Step 3.13.10.2.1
Multiply by .
Step 3.13.10.2.2
Raise to the power of .
Step 3.13.10.2.3
Raise to the power of .
Step 3.13.10.2.4
Use the power rule to combine exponents.
Step 3.13.10.2.5
Add and .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 6
Set equal to and solve for .
Tap for more steps...
Step 6.1
Set equal to .
Step 6.2
Solve for .
Tap for more steps...
Step 6.2.1
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 6.2.2
Simplify the right side.
Tap for more steps...
Step 6.2.2.1
The exact value of is .
Step 6.2.3
The cosine function is positive in the first and fourth quadrants. To find the second solution, subtract the reference angle from to find the solution in the fourth quadrant.
Step 6.2.4
Simplify .
Tap for more steps...
Step 6.2.4.1
To write as a fraction with a common denominator, multiply by .
Step 6.2.4.2
Combine fractions.
Tap for more steps...
Step 6.2.4.2.1
Combine and .
Step 6.2.4.2.2
Combine the numerators over the common denominator.
Step 6.2.4.3
Simplify the numerator.
Tap for more steps...
Step 6.2.4.3.1
Multiply by .
Step 6.2.4.3.2
Subtract from .
Step 6.2.5
The solution to the equation .
Step 7
Set equal to and solve for .
Tap for more steps...
Step 7.1
Set equal to .
Step 7.2
Solve for .
Tap for more steps...
Step 7.2.1
Take the inverse sine of both sides of the equation to extract from inside the sine.
Step 7.2.2
Simplify the right side.
Tap for more steps...
Step 7.2.2.1
The exact value of is .
Step 7.2.3
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 7.2.4
Subtract from .
Step 7.2.5
The solution to the equation .
Step 8
The final solution is all the values that make true.
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
Simplify each term.
Tap for more steps...
Step 10.1.1
The exact value of is .
Step 10.1.2
One to any power is one.
Step 10.1.3
Multiply by .
Step 10.1.4
The exact value of is .
Step 10.1.5
Raising to any positive power yields .
Step 10.1.6
Multiply by .
Step 10.2
Add and .
Step 11
is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
is a local minimum
Step 12
Find the y-value when .
Tap for more steps...
Step 12.1
Replace the variable with in the expression.
Step 12.2
Simplify the result.
Tap for more steps...
Step 12.2.1
The exact value of is .
Step 12.2.2
Raising to any positive power yields .
Step 12.2.3
Multiply by .
Step 12.2.4
The final answer is .
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
Simplify each term.
Tap for more steps...
Step 14.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because sine is negative in the fourth quadrant.
Step 14.1.2
The exact value of is .
Step 14.1.3
Multiply by .
Step 14.1.4
Raise to the power of .
Step 14.1.5
Multiply by .
Step 14.1.6
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 14.1.7
The exact value of is .
Step 14.1.8
Raising to any positive power yields .
Step 14.1.9
Multiply by .
Step 14.2
Add and .
Step 15
is a local minimum because the value of the second derivative is positive. This is referred to as the second derivative test.
is a local minimum
Step 16
Find the y-value when .
Tap for more steps...
Step 16.1
Replace the variable with in the expression.
Step 16.2
Simplify the result.
Tap for more steps...
Step 16.2.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 16.2.2
The exact value of is .
Step 16.2.3
Raising to any positive power yields .
Step 16.2.4
Multiply by .
Step 16.2.5
The final answer is .
Step 17
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 18
Evaluate the second derivative.
Tap for more steps...
Step 18.1
Simplify each term.
Tap for more steps...
Step 18.1.1
The exact value of is .
Step 18.1.2
Raising to any positive power yields .
Step 18.1.3
Multiply by .
Step 18.1.4
The exact value of is .
Step 18.1.5
One to any power is one.
Step 18.1.6
Multiply by .
Step 18.2
Subtract from .
Step 19
is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
is a local maximum
Step 20
Find the y-value when .
Tap for more steps...
Step 20.1
Replace the variable with in the expression.
Step 20.2
Simplify the result.
Tap for more steps...
Step 20.2.1
The exact value of is .
Step 20.2.2
One to any power is one.
Step 20.2.3
Multiply by .
Step 20.2.4
The final answer is .
Step 21
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 22
Evaluate the second derivative.
Tap for more steps...
Step 22.1
Simplify each term.
Tap for more steps...
Step 22.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 22.1.2
The exact value of is .
Step 22.1.3
Raising to any positive power yields .
Step 22.1.4
Multiply by .
Step 22.1.5
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 22.1.6
The exact value of is .
Step 22.1.7
Multiply by .
Step 22.1.8
Raise to the power of .
Step 22.1.9
Multiply by .
Step 22.2
Subtract from .
Step 23
is a local maximum because the value of the second derivative is negative. This is referred to as the second derivative test.
is a local maximum
Step 24
Find the y-value when .
Tap for more steps...
Step 24.1
Replace the variable with in the expression.
Step 24.2
Simplify the result.
Tap for more steps...
Step 24.2.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 24.2.2
The exact value of is .
Step 24.2.3
Multiply by .
Step 24.2.4
Raise to the power of .
Step 24.2.5
Multiply by .
Step 24.2.6
The final answer is .
Step 25
These are the local extrema for .
is a local minima
is a local minima
is a local maxima
is a local maxima
Step 26