Calculus Examples

Find the Local Maxima and Minima 14cos(x)+7sin(2x)
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
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
Find the second derivative of the function.
Tap for more steps...
Step 3.1
By the Sum Rule, the derivative of with respect to is .
Step 3.2
Evaluate .
Tap for more steps...
Step 3.2.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2.2
The derivative of with respect to is .
Step 3.3
Evaluate .
Tap for more steps...
Step 3.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.3.2.1
To apply the Chain Rule, set as .
Step 3.3.2.2
The derivative of with respect to is .
Step 3.3.2.3
Replace all occurrences of with .
Step 3.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.4
Differentiate using the Power Rule which states that is where .
Step 3.3.5
Multiply by .
Step 3.3.6
Multiply by .
Step 3.3.7
Multiply by .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Simplify each term.
Tap for more steps...
Step 5.1
Use the double-angle identity to transform to .
Step 5.2
Apply the distributive property.
Step 5.3
Multiply by .
Step 5.4
Multiply by .
Step 6
Factor .
Tap for more steps...
Step 6.1
Factor out of .
Tap for more steps...
Step 6.1.1
Factor out of .
Step 6.1.2
Factor out of .
Step 6.1.3
Factor out of .
Step 6.1.4
Factor out of .
Step 6.1.5
Factor out of .
Step 6.2
Factor.
Tap for more steps...
Step 6.2.1
Factor by grouping.
Tap for more steps...
Step 6.2.1.1
Reorder terms.
Step 6.2.1.2
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 6.2.1.2.1
Factor out of .
Step 6.2.1.2.2
Rewrite as plus
Step 6.2.1.2.3
Apply the distributive property.
Step 6.2.1.2.4
Multiply by .
Step 6.2.1.3
Factor out the greatest common factor from each group.
Tap for more steps...
Step 6.2.1.3.1
Group the first two terms and the last two terms.
Step 6.2.1.3.2
Factor out the greatest common factor (GCF) from each group.
Step 6.2.1.4
Factor the polynomial by factoring out the greatest common factor, .
Step 6.2.2
Remove unnecessary parentheses.
Step 7
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
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
Dividing two negative values results in a positive value.
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 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 8.2.6
Simplify .
Tap for more steps...
Step 8.2.6.1
To write as a fraction with a common denominator, multiply by .
Step 8.2.6.2
Combine fractions.
Tap for more steps...
Step 8.2.6.2.1
Combine and .
Step 8.2.6.2.2
Combine the numerators over the common denominator.
Step 8.2.6.3
Simplify the numerator.
Tap for more steps...
Step 8.2.6.3.1
Move to the left of .
Step 8.2.6.3.2
Subtract from .
Step 8.2.7
The solution to the equation .
Step 9
Set equal to and solve for .
Tap for more steps...
Step 9.1
Set equal to .
Step 9.2
Solve for .
Tap for more steps...
Step 9.2.1
Subtract from both sides of the equation.
Step 9.2.2
Take the inverse sine of both sides of the equation to extract from inside the sine.
Step 9.2.3
Simplify the right side.
Tap for more steps...
Step 9.2.3.1
The exact value of is .
Step 9.2.4
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 9.2.5
Simplify the expression to find the second solution.
Tap for more steps...
Step 9.2.5.1
Subtract from .
Step 9.2.5.2
The resulting angle of is positive, less than , and coterminal with .
Step 9.2.6
The solution to the equation .
Step 10
The final solution is all the values that make true.
Step 11
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 12
Evaluate the second derivative.
Tap for more steps...
Step 12.1
Simplify each term.
Tap for more steps...
Step 12.1.1
The exact value of is .
Step 12.1.2
Cancel the common factor of .
Tap for more steps...
Step 12.1.2.1
Factor out of .
Step 12.1.2.2
Cancel the common factor.
Step 12.1.2.3
Rewrite the expression.
Step 12.1.3
Cancel the common factor of .
Tap for more steps...
Step 12.1.3.1
Factor out of .
Step 12.1.3.2
Cancel the common factor.
Step 12.1.3.3
Rewrite the expression.
Step 12.1.4
The exact value of is .
Step 12.1.5
Cancel the common factor of .
Tap for more steps...
Step 12.1.5.1
Factor out of .
Step 12.1.5.2
Cancel the common factor.
Step 12.1.5.3
Rewrite the expression.
Step 12.2
Subtract from .
Step 13
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 14
Find the y-value when .
Tap for more steps...
Step 14.1
Replace the variable with in the expression.
Step 14.2
Simplify the result.
Tap for more steps...
Step 14.2.1
Simplify each term.
Tap for more steps...
Step 14.2.1.1
The exact value of is .
Step 14.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 14.2.1.2.1
Factor out of .
Step 14.2.1.2.2
Cancel the common factor.
Step 14.2.1.2.3
Rewrite the expression.
Step 14.2.1.3
Cancel the common factor of .
Tap for more steps...
Step 14.2.1.3.1
Factor out of .
Step 14.2.1.3.2
Cancel the common factor.
Step 14.2.1.3.3
Rewrite the expression.
Step 14.2.1.4
The exact value of is .
Step 14.2.1.5
Combine and .
Step 14.2.2
To write as a fraction with a common denominator, multiply by .
Step 14.2.3
Combine fractions.
Tap for more steps...
Step 14.2.3.1
Combine and .
Step 14.2.3.2
Combine the numerators over the common denominator.
Step 14.2.4
Simplify the numerator.
Tap for more steps...
Step 14.2.4.1
Multiply by .
Step 14.2.4.2
Add and .
Step 14.2.5
The final answer is .
Step 15
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 16
Evaluate the second derivative.
Tap for more steps...
Step 16.1
Simplify each term.
Tap for more steps...
Step 16.1.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 16.1.2
The exact value of is .
Step 16.1.3
Cancel the common factor of .
Tap for more steps...
Step 16.1.3.1
Move the leading negative in into the numerator.
Step 16.1.3.2
Factor out of .
Step 16.1.3.3
Cancel the common factor.
Step 16.1.3.4
Rewrite the expression.
Step 16.1.4
Multiply by .
Step 16.1.5
Cancel the common factor of .
Tap for more steps...
Step 16.1.5.1
Factor out of .
Step 16.1.5.2
Cancel the common factor.
Step 16.1.5.3
Rewrite the expression.
Step 16.1.6
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 16.1.7
The exact value of is .
Step 16.1.8
Cancel the common factor of .
Tap for more steps...
Step 16.1.8.1
Move the leading negative in into the numerator.
Step 16.1.8.2
Factor out of .
Step 16.1.8.3
Cancel the common factor.
Step 16.1.8.4
Rewrite the expression.
Step 16.1.9
Multiply by .
Step 16.2
Add and .
Step 17
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 18
Find the y-value when .
Tap for more steps...
Step 18.1
Replace the variable with in the expression.
Step 18.2
Simplify the result.
Tap for more steps...
Step 18.2.1
Simplify each term.
Tap for more steps...
Step 18.2.1.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 18.2.1.2
The exact value of is .
Step 18.2.1.3
Cancel the common factor of .
Tap for more steps...
Step 18.2.1.3.1
Move the leading negative in into the numerator.
Step 18.2.1.3.2
Factor out of .
Step 18.2.1.3.3
Cancel the common factor.
Step 18.2.1.3.4
Rewrite the expression.
Step 18.2.1.4
Multiply by .
Step 18.2.1.5
Cancel the common factor of .
Tap for more steps...
Step 18.2.1.5.1
Factor out of .
Step 18.2.1.5.2
Cancel the common factor.
Step 18.2.1.5.3
Rewrite the expression.
Step 18.2.1.6
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 18.2.1.7
The exact value of is .
Step 18.2.1.8
Multiply .
Tap for more steps...
Step 18.2.1.8.1
Multiply by .
Step 18.2.1.8.2
Combine and .
Step 18.2.1.9
Move the negative in front of the fraction.
Step 18.2.2
To write as a fraction with a common denominator, multiply by .
Step 18.2.3
Combine fractions.
Tap for more steps...
Step 18.2.3.1
Combine and .
Step 18.2.3.2
Combine the numerators over the common denominator.
Step 18.2.4
Simplify the numerator.
Tap for more steps...
Step 18.2.4.1
Multiply by .
Step 18.2.4.2
Subtract from .
Step 18.2.5
Move the negative in front of the fraction.
Step 18.2.6
The final answer is .
Step 19
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 20
Evaluate the second derivative.
Tap for more steps...
Step 20.1
Simplify each term.
Tap for more steps...
Step 20.1.1
Add full rotations of until the angle is greater than or equal to and less than .
Step 20.1.2
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 20.1.3
The exact value of is .
Step 20.1.4
Multiply by .
Step 20.1.5
Cancel the common factor of .
Tap for more steps...
Step 20.1.5.1
Move the leading negative in into the numerator.
Step 20.1.5.2
Cancel the common factor.
Step 20.1.5.3
Rewrite the expression.
Step 20.1.6
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 20.1.7
The exact value of is .
Step 20.1.8
Multiply by .
Step 20.2
Add and .
Step 21
Since there is at least one point with or undefined second derivative, apply the first derivative test.
Tap for more steps...
Step 21.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 21.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 21.2.1
Replace the variable with in the expression.
Step 21.2.2
Simplify the result.
Tap for more steps...
Step 21.2.2.1
Simplify each term.
Tap for more steps...
Step 21.2.2.1.1
Evaluate .
Step 21.2.2.1.2
Multiply by .
Step 21.2.2.1.3
Multiply by .
Step 21.2.2.1.4
Evaluate .
Step 21.2.2.1.5
Multiply by .
Step 21.2.2.2
Subtract from .
Step 21.2.2.3
The final answer is .
Step 21.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 21.3.1
Replace the variable with in the expression.
Step 21.3.2
Simplify the result.
Tap for more steps...
Step 21.3.2.1
Simplify each term.
Tap for more steps...
Step 21.3.2.1.1
The exact value of is .
Step 21.3.2.1.2
Multiply by .
Step 21.3.2.1.3
Multiply by .
Step 21.3.2.1.4
The exact value of is .
Step 21.3.2.1.5
Multiply by .
Step 21.3.2.2
Add and .
Step 21.3.2.3
The final answer is .
Step 21.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 21.4.1
Replace the variable with in the expression.
Step 21.4.2
Simplify the result.
Tap for more steps...
Step 21.4.2.1
Simplify each term.
Tap for more steps...
Step 21.4.2.1.1
Evaluate .
Step 21.4.2.1.2
Multiply by .
Step 21.4.2.1.3
Multiply by .
Step 21.4.2.1.4
Evaluate .
Step 21.4.2.1.5
Multiply by .
Step 21.4.2.2
Subtract from .
Step 21.4.2.3
The final answer is .
Step 21.5
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 21.5.1
Replace the variable with in the expression.
Step 21.5.2
Simplify the result.
Tap for more steps...
Step 21.5.2.1
Simplify each term.
Tap for more steps...
Step 21.5.2.1.1
Evaluate .
Step 21.5.2.1.2
Multiply by .
Step 21.5.2.1.3
Multiply by .
Step 21.5.2.1.4
Evaluate .
Step 21.5.2.1.5
Multiply by .
Step 21.5.2.2
Subtract from .
Step 21.5.2.3
The final answer is .
Step 21.6
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 21.6.1
Replace the variable with in the expression.
Step 21.6.2
Simplify the result.
Tap for more steps...
Step 21.6.2.1
Simplify each term.
Tap for more steps...
Step 21.6.2.1.1
Evaluate .
Step 21.6.2.1.2
Multiply by .
Step 21.6.2.1.3
Multiply by .
Step 21.6.2.1.4
Evaluate .
Step 21.6.2.1.5
Multiply by .
Step 21.6.2.2
Add and .
Step 21.6.2.3
The final answer is .
Step 21.7
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 21.8
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
Step 21.9
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 21.10
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
Step 21.11
These are the local extrema for .
is a local minimum
is a local maximum
is a local minimum
is a local maximum
is a local minimum
is a local maximum
is a local minimum
is a local maximum
Step 22