Calculus Examples

Find the Local Maxima and Minima f(x)=2sin(x)-cos(2x)
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
The derivative of with respect to is .
Step 1.3
Evaluate .
Tap for more steps...
Step 1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.3.2.1
To apply the Chain Rule, set as .
Step 1.3.2.2
The derivative of with respect to is .
Step 1.3.2.3
Replace all occurrences of with .
Step 1.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.4
Differentiate using the Power Rule which states that is where .
Step 1.3.5
Multiply by .
Step 1.3.6
Multiply by .
Step 1.3.7
Multiply by .
Step 2
Find the second 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
The derivative of with respect to is .
Step 2.3.2.3
Replace all occurrences of with .
Step 2.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.4
Differentiate using the Power Rule which states that is where .
Step 2.3.5
Multiply by .
Step 2.3.6
Move to the left of .
Step 2.3.7
Multiply by .
Step 3
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 4
Simplify each term.
Tap for more steps...
Step 4.1
Apply the sine double-angle identity.
Step 4.2
Multiply by .
Step 5
Factor out of .
Tap for more steps...
Step 5.1
Factor out of .
Step 5.2
Factor out of .
Step 5.3
Factor out of .
Step 6
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
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 cosine of both sides of the equation to extract from inside the cosine.
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 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 7.2.4
Simplify .
Tap for more steps...
Step 7.2.4.1
To write as a fraction with a common denominator, multiply by .
Step 7.2.4.2
Combine fractions.
Tap for more steps...
Step 7.2.4.2.1
Combine and .
Step 7.2.4.2.2
Combine the numerators over the common denominator.
Step 7.2.4.3
Simplify the numerator.
Tap for more steps...
Step 7.2.4.3.1
Multiply by .
Step 7.2.4.3.2
Subtract from .
Step 7.2.5
The solution to the equation .
Step 8
Set equal to and solve for .
Tap for more steps...
Step 8.1
Set equal to .
Step 8.2
Solve for .
Tap for more steps...
Step 8.2.1
Subtract from both sides of the equation.
Step 8.2.2
Divide each term in by and simplify.
Tap for more steps...
Step 8.2.2.1
Divide each term in by .
Step 8.2.2.2
Simplify the left side.
Tap for more steps...
Step 8.2.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 8.2.2.2.1.1
Cancel the common factor.
Step 8.2.2.2.1.2
Divide by .
Step 8.2.2.3
Simplify the right side.
Tap for more steps...
Step 8.2.2.3.1
Move the negative in front of the fraction.
Step 8.2.3
Take the inverse sine of both sides of the equation to extract from inside the sine.
Step 8.2.4
Simplify the right side.
Tap for more steps...
Step 8.2.4.1
The exact value of is .
Step 8.2.5
The sine function is negative in the third and fourth quadrants. To find the second solution, subtract the solution from , to find a reference angle. Next, add this reference angle to to find the solution in the third quadrant.
Step 8.2.6
Simplify the expression to find the second solution.
Tap for more steps...
Step 8.2.6.1
Subtract from .
Step 8.2.6.2
The resulting angle of is positive, less than , and coterminal with .
Step 8.2.7
The solution to the equation .
Step 9
The final solution is all the values that make true.
Step 10
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 11
Evaluate the second derivative.
Tap for more steps...
Step 11.1
Simplify each term.
Tap for more steps...
Step 11.1.1
The exact value of is .
Step 11.1.2
Multiply by .
Step 11.1.3
Cancel the common factor of .
Tap for more steps...
Step 11.1.3.1
Cancel the common factor.
Step 11.1.3.2
Rewrite the expression.
Step 11.1.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.1.5
The exact value of is .
Step 11.1.6
Multiply .
Tap for more steps...
Step 11.1.6.1
Multiply by .
Step 11.1.6.2
Multiply by .
Step 11.2
Subtract from .
Step 12
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 13
Find the y-value when .
Tap for more steps...
Step 13.1
Replace the variable with in the expression.
Step 13.2
Simplify the result.
Tap for more steps...
Step 13.2.1
Simplify each term.
Tap for more steps...
Step 13.2.1.1
The exact value of is .
Step 13.2.1.2
Multiply by .
Step 13.2.1.3
Cancel the common factor of .
Tap for more steps...
Step 13.2.1.3.1
Cancel the common factor.
Step 13.2.1.3.2
Rewrite the expression.
Step 13.2.1.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 13.2.1.5
The exact value of is .
Step 13.2.1.6
Multiply .
Tap for more steps...
Step 13.2.1.6.1
Multiply by .
Step 13.2.1.6.2
Multiply by .
Step 13.2.2
Add and .
Step 13.2.3
The final answer is .
Step 14
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 15
Evaluate the second derivative.
Tap for more steps...
Step 15.1
Simplify each term.
Tap for more steps...
Step 15.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 15.1.2
The exact value of is .
Step 15.1.3
Multiply .
Tap for more steps...
Step 15.1.3.1
Multiply by .
Step 15.1.3.2
Multiply by .
Step 15.1.4
Cancel the common factor of .
Tap for more steps...
Step 15.1.4.1
Cancel the common factor.
Step 15.1.4.2
Rewrite the expression.
Step 15.1.5
Subtract full rotations of until the angle is greater than or equal to and less than .
Step 15.1.6
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.1.7
The exact value of is .
Step 15.1.8
Multiply .
Tap for more steps...
Step 15.1.8.1
Multiply by .
Step 15.1.8.2
Multiply by .
Step 15.2
Subtract from .
Step 16
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 17
Find the y-value when .
Tap for more steps...
Step 17.1
Replace the variable with in the expression.
Step 17.2
Simplify the result.
Tap for more steps...
Step 17.2.1
Simplify each term.
Tap for more steps...
Step 17.2.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 17.2.1.2
The exact value of is .
Step 17.2.1.3
Multiply .
Tap for more steps...
Step 17.2.1.3.1
Multiply by .
Step 17.2.1.3.2
Multiply by .
Step 17.2.1.4
Cancel the common factor of .
Tap for more steps...
Step 17.2.1.4.1
Cancel the common factor.
Step 17.2.1.4.2
Rewrite the expression.
Step 17.2.1.5
Subtract full rotations of until the angle is greater than or equal to and less than .
Step 17.2.1.6
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 17.2.1.7
The exact value of is .
Step 17.2.1.8
Multiply .
Tap for more steps...
Step 17.2.1.8.1
Multiply by .
Step 17.2.1.8.2
Multiply by .
Step 17.2.2
Add and .
Step 17.2.3
The final answer is .
Step 18
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 19
Evaluate the second derivative.
Tap for more steps...
Step 19.1
Simplify each term.
Tap for more steps...
Step 19.1.1
Add full rotations of until the angle is greater than or equal to and less than .
Step 19.1.2
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 19.1.3
The exact value of is .
Step 19.1.4
Cancel the common factor of .
Tap for more steps...
Step 19.1.4.1
Move the leading negative in into the numerator.
Step 19.1.4.2
Factor out of .
Step 19.1.4.3
Cancel the common factor.
Step 19.1.4.4
Rewrite the expression.
Step 19.1.5
Multiply by .
Step 19.1.6
Cancel the common factor of .
Tap for more steps...
Step 19.1.6.1
Move the leading negative in into the numerator.
Step 19.1.6.2
Factor out of .
Step 19.1.6.3
Cancel the common factor.
Step 19.1.6.4
Rewrite the expression.
Step 19.1.7
Move the negative in front of the fraction.
Step 19.1.8
Add full rotations of until the angle is greater than or equal to and less than .
Step 19.1.9
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 19.1.10
The exact value of is .
Step 19.1.11
Cancel the common factor of .
Tap for more steps...
Step 19.1.11.1
Factor out of .
Step 19.1.11.2
Cancel the common factor.
Step 19.1.11.3
Rewrite the expression.
Step 19.2
Add and .
Step 20
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 21
Find the y-value when .
Tap for more steps...
Step 21.1
Replace the variable with in the expression.
Step 21.2
Simplify the result.
Tap for more steps...
Step 21.2.1
Simplify each term.
Tap for more steps...
Step 21.2.1.1
Add full rotations of until the angle is greater than or equal to and less than .
Step 21.2.1.2
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 21.2.1.3
The exact value of is .
Step 21.2.1.4
Cancel the common factor of .
Tap for more steps...
Step 21.2.1.4.1
Move the leading negative in into the numerator.
Step 21.2.1.4.2
Cancel the common factor.
Step 21.2.1.4.3
Rewrite the expression.
Step 21.2.1.5
Cancel the common factor of .
Tap for more steps...
Step 21.2.1.5.1
Move the leading negative in into the numerator.
Step 21.2.1.5.2
Factor out of .
Step 21.2.1.5.3
Cancel the common factor.
Step 21.2.1.5.4
Rewrite the expression.
Step 21.2.1.6
Move the negative in front of the fraction.
Step 21.2.1.7
Add full rotations of until the angle is greater than or equal to and less than .
Step 21.2.1.8
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 21.2.1.9
The exact value of is .
Step 21.2.2
To write as a fraction with a common denominator, multiply by .
Step 21.2.3
Combine and .
Step 21.2.4
Combine the numerators over the common denominator.
Step 21.2.5
Simplify the numerator.
Tap for more steps...
Step 21.2.5.1
Multiply by .
Step 21.2.5.2
Subtract from .
Step 21.2.6
Move the negative in front of the fraction.
Step 21.2.7
The final answer is .
Step 22
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 23
Evaluate the second derivative.
Tap for more steps...
Step 23.1
Simplify each term.
Tap for more steps...
Step 23.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 third quadrant.
Step 23.1.2
The exact value of is .
Step 23.1.3
Cancel the common factor of .
Tap for more steps...
Step 23.1.3.1
Move the leading negative in into the numerator.
Step 23.1.3.2
Factor out of .
Step 23.1.3.3
Cancel the common factor.
Step 23.1.3.4
Rewrite the expression.
Step 23.1.4
Multiply by .
Step 23.1.5
Cancel the common factor of .
Tap for more steps...
Step 23.1.5.1
Factor out of .
Step 23.1.5.2
Cancel the common factor.
Step 23.1.5.3
Rewrite the expression.
Step 23.1.6
Subtract full rotations of until the angle is greater than or equal to and less than .
Step 23.1.7
The exact value of is .
Step 23.1.8
Cancel the common factor of .
Tap for more steps...
Step 23.1.8.1
Factor out of .
Step 23.1.8.2
Cancel the common factor.
Step 23.1.8.3
Rewrite the expression.
Step 23.2
Add and .
Step 24
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 25
Find the y-value when .
Tap for more steps...
Step 25.1
Replace the variable with in the expression.
Step 25.2
Simplify the result.
Tap for more steps...
Step 25.2.1
Simplify each term.
Tap for more steps...
Step 25.2.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 third quadrant.
Step 25.2.1.2
The exact value of is .
Step 25.2.1.3
Cancel the common factor of .
Tap for more steps...
Step 25.2.1.3.1
Move the leading negative in into the numerator.
Step 25.2.1.3.2
Cancel the common factor.
Step 25.2.1.3.3
Rewrite the expression.
Step 25.2.1.4
Cancel the common factor of .
Tap for more steps...
Step 25.2.1.4.1
Factor out of .
Step 25.2.1.4.2
Cancel the common factor.
Step 25.2.1.4.3
Rewrite the expression.
Step 25.2.1.5
Subtract full rotations of until the angle is greater than or equal to and less than .
Step 25.2.1.6
The exact value of is .
Step 25.2.2
To write as a fraction with a common denominator, multiply by .
Step 25.2.3
Combine and .
Step 25.2.4
Combine the numerators over the common denominator.
Step 25.2.5
Simplify the numerator.
Tap for more steps...
Step 25.2.5.1
Multiply by .
Step 25.2.5.2
Subtract from .
Step 25.2.6
Move the negative in front of the fraction.
Step 25.2.7
The final answer is .
Step 26
These are the local extrema for .
is a local maxima
is a local maxima
is a local minima
is a local minima
Step 27