Calculus Examples

Find the Maximum/Minimum Value -sin(x)^2+cos(x)^2
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.2
Evaluate .
Tap for more steps...
Step 1.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.2.1
To apply the Chain Rule, set as .
Step 1.2.2.2
Differentiate using the Power Rule which states that is where .
Step 1.2.2.3
Replace all occurrences of with .
Step 1.2.3
The derivative of with respect to is .
Step 1.2.4
Multiply by .
Step 1.3
Evaluate .
Tap for more steps...
Step 1.3.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.3.1.1
To apply the Chain Rule, set as .
Step 1.3.1.2
Differentiate using the Power Rule which states that is where .
Step 1.3.1.3
Replace all occurrences of with .
Step 1.3.2
The derivative of with respect to is .
Step 1.3.3
Multiply by .
Step 1.4
Combine terms.
Tap for more steps...
Step 1.4.1
Reorder the factors of .
Step 1.4.2
Subtract from .
Step 2
Find the second 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 Product Rule which states that is where and .
Step 2.3
The derivative of with respect to is .
Step 2.4
Raise to the power of .
Step 2.5
Raise to the power of .
Step 2.6
Use the power rule to combine exponents.
Step 2.7
Add and .
Step 2.8
The derivative of with respect to is .
Step 2.9
Raise to the power of .
Step 2.10
Raise to the power of .
Step 2.11
Use the power rule to combine exponents.
Step 2.12
Add and .
Step 2.13
Simplify.
Tap for more steps...
Step 2.13.1
Apply the distributive property.
Step 2.13.2
Multiply by .
Step 2.13.3
Rewrite as .
Step 2.13.4
Rewrite as .
Step 2.13.5
Reorder and .
Step 2.13.6
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 2.13.7
Multiply by .
Step 2.13.8
Expand using the FOIL Method.
Tap for more steps...
Step 2.13.8.1
Apply the distributive property.
Step 2.13.8.2
Apply the distributive property.
Step 2.13.8.3
Apply the distributive property.
Step 2.13.9
Combine the opposite terms in .
Tap for more steps...
Step 2.13.9.1
Reorder the factors in the terms and .
Step 2.13.9.2
Add and .
Step 2.13.9.3
Add and .
Step 2.13.10
Simplify each term.
Tap for more steps...
Step 2.13.10.1
Multiply .
Tap for more steps...
Step 2.13.10.1.1
Multiply by .
Step 2.13.10.1.2
Raise to the power of .
Step 2.13.10.1.3
Raise to the power of .
Step 2.13.10.1.4
Use the power rule to combine exponents.
Step 2.13.10.1.5
Add and .
Step 2.13.10.2
Multiply .
Tap for more steps...
Step 2.13.10.2.1
Multiply by .
Step 2.13.10.2.2
Raise to the power of .
Step 2.13.10.2.3
Raise to the power of .
Step 2.13.10.2.4
Use the power rule to combine exponents.
Step 2.13.10.2.5
Add and .
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 4
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 5
Set equal to and solve for .
Tap for more steps...
Step 5.1
Set equal to .
Step 5.2
Solve for .
Tap for more steps...
Step 5.2.1
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 5.2.2
Simplify the right side.
Tap for more steps...
Step 5.2.2.1
The exact value of is .
Step 5.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 5.2.4
Simplify .
Tap for more steps...
Step 5.2.4.1
To write as a fraction with a common denominator, multiply by .
Step 5.2.4.2
Combine fractions.
Tap for more steps...
Step 5.2.4.2.1
Combine and .
Step 5.2.4.2.2
Combine the numerators over the common denominator.
Step 5.2.4.3
Simplify the numerator.
Tap for more steps...
Step 5.2.4.3.1
Multiply by .
Step 5.2.4.3.2
Subtract from .
Step 5.2.5
The solution to the equation .
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 sine of both sides of the equation to extract from inside the sine.
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 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 6.2.4
Subtract from .
Step 6.2.5
The solution to the equation .
Step 7
The final solution is all the values that make true.
Step 8
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 9
Evaluate the second derivative.
Tap for more steps...
Step 9.1
Simplify each term.
Tap for more steps...
Step 9.1.1
The exact value of is .
Step 9.1.2
One to any power is one.
Step 9.1.3
Multiply by .
Step 9.1.4
The exact value of is .
Step 9.1.5
Raising to any positive power yields .
Step 9.1.6
Multiply by .
Step 9.2
Add and .
Step 10
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 11
Find the y-value when .
Tap for more steps...
Step 11.1
Replace the variable with in the expression.
Step 11.2
Simplify the result.
Tap for more steps...
Step 11.2.1
Reorder and .
Step 11.2.2
Apply the cosine double-angle identity.
Step 11.2.3
Cancel the common factor of .
Tap for more steps...
Step 11.2.3.1
Cancel the common factor.
Step 11.2.3.2
Rewrite the expression.
Step 11.2.4
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 11.2.5
The exact value of is .
Step 11.2.6
Multiply by .
Step 11.2.7
The final answer is .
Step 12
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 13
Evaluate the second derivative.
Tap for more steps...
Step 13.1
Simplify each term.
Tap for more steps...
Step 13.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 13.1.2
The exact value of is .
Step 13.1.3
Multiply by .
Step 13.1.4
Raise to the power of .
Step 13.1.5
Multiply by .
Step 13.1.6
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 13.1.7
The exact value of is .
Step 13.1.8
Raising to any positive power yields .
Step 13.1.9
Multiply by .
Step 13.2
Add and .
Step 14
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 15
Find the y-value when .
Tap for more steps...
Step 15.1
Replace the variable with in the expression.
Step 15.2
Simplify the result.
Tap for more steps...
Step 15.2.1
Reorder and .
Step 15.2.2
Apply the cosine double-angle identity.
Step 15.2.3
Cancel the common factor of .
Tap for more steps...
Step 15.2.3.1
Cancel the common factor.
Step 15.2.3.2
Rewrite the expression.
Step 15.2.4
Subtract full rotations of until the angle is greater than or equal to and less than .
Step 15.2.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 15.2.6
The exact value of is .
Step 15.2.7
Multiply by .
Step 15.2.8
The final answer is .
Step 16
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 17
Evaluate the second derivative.
Tap for more steps...
Step 17.1
Simplify each term.
Tap for more steps...
Step 17.1.1
The exact value of is .
Step 17.1.2
Raising to any positive power yields .
Step 17.1.3
Multiply by .
Step 17.1.4
The exact value of is .
Step 17.1.5
One to any power is one.
Step 17.1.6
Multiply by .
Step 17.2
Subtract from .
Step 18
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 19
Find the y-value when .
Tap for more steps...
Step 19.1
Replace the variable with in the expression.
Step 19.2
Simplify the result.
Tap for more steps...
Step 19.2.1
Reorder and .
Step 19.2.2
Apply the cosine double-angle identity.
Step 19.2.3
Multiply by .
Step 19.2.4
The exact value of is .
Step 19.2.5
The final answer is .
Step 20
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 21
Evaluate the second derivative.
Tap for more steps...
Step 21.1
Simplify each term.
Tap for more steps...
Step 21.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 21.1.2
The exact value of is .
Step 21.1.3
Raising to any positive power yields .
Step 21.1.4
Multiply by .
Step 21.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 21.1.6
The exact value of is .
Step 21.1.7
Multiply by .
Step 21.1.8
Raise to the power of .
Step 21.1.9
Multiply by .
Step 21.2
Subtract from .
Step 22
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 23
Find the y-value when .
Tap for more steps...
Step 23.1
Replace the variable with in the expression.
Step 23.2
Simplify the result.
Tap for more steps...
Step 23.2.1
Reorder and .
Step 23.2.2
Apply the cosine double-angle identity.
Step 23.2.3
Subtract full rotations of until the angle is greater than or equal to and less than .
Step 23.2.4
The exact value of is .
Step 23.2.5
The final answer is .
Step 24
These are the local extrema for .
is a local minima
is a local minima
is a local maxima
is a local maxima
Step 25