Calculus Examples

Find the Local Maxima and Minima f(x)=2(cos(2x)-sin(2x))
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Differentiate.
Tap for more steps...
Step 1.1.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.1.2
By the Sum Rule, the derivative of with respect to is .
Step 1.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.1
To apply the Chain Rule, set as .
Step 1.2.2
The derivative of with respect to is .
Step 1.2.3
Replace all occurrences of with .
Step 1.3
Differentiate.
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
Multiply by .
Step 1.3.3
Differentiate using the Power Rule which states that is where .
Step 1.3.4
Multiply by .
Step 1.3.5
Since is constant with respect to , the derivative of with respect to is .
Step 1.4
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.4.1
To apply the Chain Rule, set as .
Step 1.4.2
The derivative of with respect to is .
Step 1.4.3
Replace all occurrences of with .
Step 1.5
Differentiate.
Tap for more steps...
Step 1.5.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.5.2
Multiply by .
Step 1.5.3
Differentiate using the Power Rule which states that is where .
Step 1.5.4
Multiply by .
Step 1.6
Simplify.
Tap for more steps...
Step 1.6.1
Apply the distributive property.
Step 1.6.2
Combine terms.
Tap for more steps...
Step 1.6.2.1
Multiply by .
Step 1.6.2.2
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
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.2.2.1
To apply the Chain Rule, set as .
Step 2.2.2.2
The derivative of with respect to is .
Step 2.2.2.3
Replace all occurrences of with .
Step 2.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.4
Differentiate using the Power Rule which states that is where .
Step 2.2.5
Multiply by .
Step 2.2.6
Move to the left of .
Step 2.2.7
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
Multiply by .
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
Divide each term in the equation by .
Step 5
Separate fractions.
Step 6
Convert from to .
Step 7
Divide by .
Step 8
Cancel the common factor of .
Tap for more steps...
Step 8.1
Cancel the common factor.
Step 8.2
Divide by .
Step 9
Separate fractions.
Step 10
Convert from to .
Step 11
Divide by .
Step 12
Multiply by .
Step 13
Add to both sides of the equation.
Step 14
Divide each term in by and simplify.
Tap for more steps...
Step 14.1
Divide each term in by .
Step 14.2
Simplify the left side.
Tap for more steps...
Step 14.2.1
Cancel the common factor of .
Tap for more steps...
Step 14.2.1.1
Cancel the common factor.
Step 14.2.1.2
Divide by .
Step 14.3
Simplify the right side.
Tap for more steps...
Step 14.3.1
Divide by .
Step 15
Take the inverse tangent of both sides of the equation to extract from inside the tangent.
Step 16
Simplify the right side.
Tap for more steps...
Step 16.1
The exact value of is .
Step 17
Divide each term in by and simplify.
Tap for more steps...
Step 17.1
Divide each term in by .
Step 17.2
Simplify the left side.
Tap for more steps...
Step 17.2.1
Cancel the common factor of .
Tap for more steps...
Step 17.2.1.1
Cancel the common factor.
Step 17.2.1.2
Divide by .
Step 17.3
Simplify the right side.
Tap for more steps...
Step 17.3.1
Multiply the numerator by the reciprocal of the denominator.
Step 17.3.2
Multiply .
Tap for more steps...
Step 17.3.2.1
Multiply by .
Step 17.3.2.2
Multiply by .
Step 18
The tangent function is negative in the second and fourth quadrants. To find the second solution, subtract the reference angle from to find the solution in the third quadrant.
Step 19
Simplify the expression to find the second solution.
Tap for more steps...
Step 19.1
Add to .
Step 19.2
The resulting angle of is positive and coterminal with .
Step 19.3
Divide each term in by and simplify.
Tap for more steps...
Step 19.3.1
Divide each term in by .
Step 19.3.2
Simplify the left side.
Tap for more steps...
Step 19.3.2.1
Cancel the common factor of .
Tap for more steps...
Step 19.3.2.1.1
Cancel the common factor.
Step 19.3.2.1.2
Divide by .
Step 19.3.3
Simplify the right side.
Tap for more steps...
Step 19.3.3.1
Multiply the numerator by the reciprocal of the denominator.
Step 19.3.3.2
Multiply .
Tap for more steps...
Step 19.3.3.2.1
Multiply by .
Step 19.3.3.2.2
Multiply by .
Step 20
The solution to the equation .
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
Cancel the common factor of .
Tap for more steps...
Step 22.1.1.1
Move the leading negative in into the numerator.
Step 22.1.1.2
Factor out of .
Step 22.1.1.3
Cancel the common factor.
Step 22.1.1.4
Rewrite the expression.
Step 22.1.2
Move the negative in front of the fraction.
Step 22.1.3
Add full rotations of until the angle is greater than or equal to and less than .
Step 22.1.4
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 22.1.5
The exact value of is .
Step 22.1.6
Cancel the common factor of .
Tap for more steps...
Step 22.1.6.1
Factor out of .
Step 22.1.6.2
Cancel the common factor.
Step 22.1.6.3
Rewrite the expression.
Step 22.1.7
Cancel the common factor of .
Tap for more steps...
Step 22.1.7.1
Move the leading negative in into the numerator.
Step 22.1.7.2
Factor out of .
Step 22.1.7.3
Cancel the common factor.
Step 22.1.7.4
Rewrite the expression.
Step 22.1.8
Move the negative in front of the fraction.
Step 22.1.9
Add full rotations of until the angle is greater than or equal to and less than .
Step 22.1.10
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 22.1.11
The exact value of is .
Step 22.1.12
Cancel the common factor of .
Tap for more steps...
Step 22.1.12.1
Move the leading negative in into the numerator.
Step 22.1.12.2
Factor out of .
Step 22.1.12.3
Cancel the common factor.
Step 22.1.12.4
Rewrite the expression.
Step 22.1.13
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
Simplify each term.
Tap for more steps...
Step 24.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 24.2.1.1.1
Move the leading negative in into the numerator.
Step 24.2.1.1.2
Factor out of .
Step 24.2.1.1.3
Cancel the common factor.
Step 24.2.1.1.4
Rewrite the expression.
Step 24.2.1.2
Move the negative in front of the fraction.
Step 24.2.1.3
Add full rotations of until the angle is greater than or equal to and less than .
Step 24.2.1.4
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 24.2.1.5
The exact value of is .
Step 24.2.1.6
Cancel the common factor of .
Tap for more steps...
Step 24.2.1.6.1
Move the leading negative in into the numerator.
Step 24.2.1.6.2
Factor out of .
Step 24.2.1.6.3
Cancel the common factor.
Step 24.2.1.6.4
Rewrite the expression.
Step 24.2.1.7
Move the negative in front of the fraction.
Step 24.2.1.8
Add full rotations of until the angle is greater than or equal to and less than .
Step 24.2.1.9
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 24.2.1.10
The exact value of is .
Step 24.2.1.11
Multiply .
Tap for more steps...
Step 24.2.1.11.1
Multiply by .
Step 24.2.1.11.2
Multiply by .
Step 24.2.2
Simplify terms.
Tap for more steps...
Step 24.2.2.1
Combine the numerators over the common denominator.
Step 24.2.2.2
Add and .
Step 24.2.2.3
Cancel the common factor of .
Tap for more steps...
Step 24.2.2.3.1
Cancel the common factor.
Step 24.2.2.3.2
Rewrite the expression.
Step 24.2.3
The final answer is .
Step 25
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 26
Evaluate the second derivative.
Tap for more steps...
Step 26.1
Simplify each term.
Tap for more steps...
Step 26.1.1
Cancel the common factor of .
Tap for more steps...
Step 26.1.1.1
Factor out of .
Step 26.1.1.2
Cancel the common factor.
Step 26.1.1.3
Rewrite the expression.
Step 26.1.2
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 26.1.3
The exact value of is .
Step 26.1.4
Cancel the common factor of .
Tap for more steps...
Step 26.1.4.1
Move the leading negative in into the numerator.
Step 26.1.4.2
Factor out of .
Step 26.1.4.3
Cancel the common factor.
Step 26.1.4.4
Rewrite the expression.
Step 26.1.5
Multiply by .
Step 26.1.6
Cancel the common factor of .
Tap for more steps...
Step 26.1.6.1
Factor out of .
Step 26.1.6.2
Cancel the common factor.
Step 26.1.6.3
Rewrite the expression.
Step 26.1.7
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 26.1.8
The exact value of is .
Step 26.1.9
Cancel the common factor of .
Tap for more steps...
Step 26.1.9.1
Factor out of .
Step 26.1.9.2
Cancel the common factor.
Step 26.1.9.3
Rewrite the expression.
Step 26.2
Add and .
Step 27
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 28
Find the y-value when .
Tap for more steps...
Step 28.1
Replace the variable with in the expression.
Step 28.2
Simplify the result.
Tap for more steps...
Step 28.2.1
Simplify each term.
Tap for more steps...
Step 28.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 28.2.1.1.1
Factor out of .
Step 28.2.1.1.2
Cancel the common factor.
Step 28.2.1.1.3
Rewrite the expression.
Step 28.2.1.2
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 28.2.1.3
The exact value of is .
Step 28.2.1.4
Cancel the common factor of .
Tap for more steps...
Step 28.2.1.4.1
Factor out of .
Step 28.2.1.4.2
Cancel the common factor.
Step 28.2.1.4.3
Rewrite the expression.
Step 28.2.1.5
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 28.2.1.6
The exact value of is .
Step 28.2.2
Simplify terms.
Tap for more steps...
Step 28.2.2.1
Combine the numerators over the common denominator.
Step 28.2.2.2
Subtract from .
Step 28.2.2.3
Cancel the common factor of .
Tap for more steps...
Step 28.2.2.3.1
Cancel the common factor.
Step 28.2.2.3.2
Rewrite the expression.
Step 28.2.3
The final answer is .
Step 29
These are the local extrema for .
is a local maxima
is a local minima
Step 30