Calculus Examples

Find the Local Maxima and Minima k(x)=2cos(x)-sin(x)
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.2.3
Multiply by .
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
The derivative of with respect to is .
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.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
The derivative of with respect to is .
Step 2.3.3
Multiply by .
Step 2.3.4
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
Move the negative in front of the fraction.
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
Evaluate .
Step 17
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 18
Simplify the expression to find the second solution.
Tap for more steps...
Step 18.1
Add to .
Step 18.2
The resulting angle of is positive and coterminal with .
Step 19
The solution to the equation .
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
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 22
Find the y-value when .
Tap for more steps...
Step 22.1
Replace the variable with in the expression.
Step 22.2
The final answer is .
Step 23
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 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
The final answer is .
Step 26
These are the local extrema for .
is a local maxima
is a local minima
Step 27