Calculus Examples

Find the Local Maxima and Minima y=-2+5sin(pi/12*(x-2))
Step 1
Write as a function.
Step 2
Find the first derivative of the function.
Tap for more steps...
Step 2.1
Differentiate.
Tap for more steps...
Step 2.1.1
By the Sum Rule, the derivative of with respect to is .
Step 2.1.2
Since is constant with respect to , 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.3
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.4
By the Sum Rule, the derivative of with respect to is .
Step 2.2.5
Differentiate using the Power Rule which states that is where .
Step 2.2.6
Since is constant with respect to , the derivative of with respect to is .
Step 2.2.7
Add and .
Step 2.2.8
Multiply by .
Step 2.2.9
Combine and .
Step 2.2.10
Combine and .
Step 2.3
Simplify.
Tap for more steps...
Step 2.3.1
Apply the distributive property.
Step 2.3.2
Combine terms.
Tap for more steps...
Step 2.3.2.1
Combine and .
Step 2.3.2.2
Move to the left of .
Step 2.3.2.3
Cancel the common factor of and .
Tap for more steps...
Step 2.3.2.3.1
Factor out of .
Step 2.3.2.3.2
Cancel the common factors.
Tap for more steps...
Step 2.3.2.3.2.1
Factor out of .
Step 2.3.2.3.2.2
Cancel the common factor.
Step 2.3.2.3.2.3
Rewrite the expression.
Step 2.3.2.4
Move the negative in front of the fraction.
Step 2.3.2.5
Combine and .
Step 2.3.2.6
Add and .
Step 2.3.3
Reorder terms.
Step 3
Find the second derivative of the function.
Tap for more steps...
Step 3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 3.2.1
To apply the Chain Rule, set as .
Step 3.2.2
The derivative of with respect to is .
Step 3.2.3
Replace all occurrences of with .
Step 3.3
Differentiate.
Tap for more steps...
Step 3.3.1
Combine and .
Step 3.3.2
By the Sum Rule, the derivative of with respect to is .
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
Since is constant with respect to , the derivative of with respect to is .
Step 3.3.7
Combine fractions.
Tap for more steps...
Step 3.3.7.1
Add and .
Step 3.3.7.2
Multiply by .
Step 3.4
Raise to the power of .
Step 3.5
Raise to the power of .
Step 3.6
Use the power rule to combine exponents.
Step 3.7
Add and .
Step 3.8
Multiply by .
Step 4
To find the local maximum and minimum values of the function, set the derivative equal to and solve.
Step 5
Set the numerator equal to zero.
Step 6
Solve the equation for .
Tap for more steps...
Step 6.1
Divide each term in by and simplify.
Tap for more steps...
Step 6.1.1
Divide each term in by .
Step 6.1.2
Simplify the left side.
Tap for more steps...
Step 6.1.2.1
Cancel the common factor of .
Tap for more steps...
Step 6.1.2.1.1
Cancel the common factor.
Step 6.1.2.1.2
Rewrite the expression.
Step 6.1.2.2
Cancel the common factor of .
Tap for more steps...
Step 6.1.2.2.1
Cancel the common factor.
Step 6.1.2.2.2
Divide by .
Step 6.1.3
Simplify the right side.
Tap for more steps...
Step 6.1.3.1
Cancel the common factor of and .
Tap for more steps...
Step 6.1.3.1.1
Factor out of .
Step 6.1.3.1.2
Cancel the common factors.
Tap for more steps...
Step 6.1.3.1.2.1
Factor out of .
Step 6.1.3.1.2.2
Cancel the common factor.
Step 6.1.3.1.2.3
Rewrite the expression.
Step 6.1.3.2
Divide by .
Step 6.2
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 6.3
Simplify the right side.
Tap for more steps...
Step 6.3.1
The exact value of is .
Step 6.4
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.4.1
Add to both sides of the equation.
Step 6.4.2
To write as a fraction with a common denominator, multiply by .
Step 6.4.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 6.4.3.1
Multiply by .
Step 6.4.3.2
Multiply by .
Step 6.4.4
Combine the numerators over the common denominator.
Step 6.4.5
Simplify the numerator.
Tap for more steps...
Step 6.4.5.1
Move to the left of .
Step 6.4.5.2
Add and .
Step 6.4.6
Cancel the common factor of and .
Tap for more steps...
Step 6.4.6.1
Factor out of .
Step 6.4.6.2
Cancel the common factors.
Tap for more steps...
Step 6.4.6.2.1
Factor out of .
Step 6.4.6.2.2
Cancel the common factor.
Step 6.4.6.2.3
Rewrite the expression.
Step 6.5
Multiply both sides of the equation by .
Step 6.6
Simplify both sides of the equation.
Tap for more steps...
Step 6.6.1
Simplify the left side.
Tap for more steps...
Step 6.6.1.1
Simplify .
Tap for more steps...
Step 6.6.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.6.1.1.1.1
Cancel the common factor.
Step 6.6.1.1.1.2
Rewrite the expression.
Step 6.6.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 6.6.1.1.2.1
Factor out of .
Step 6.6.1.1.2.2
Cancel the common factor.
Step 6.6.1.1.2.3
Rewrite the expression.
Step 6.6.2
Simplify the right side.
Tap for more steps...
Step 6.6.2.1
Simplify .
Tap for more steps...
Step 6.6.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.6.2.1.1.1
Factor out of .
Step 6.6.2.1.1.2
Cancel the common factor.
Step 6.6.2.1.1.3
Rewrite the expression.
Step 6.6.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 6.6.2.1.2.1
Factor out of .
Step 6.6.2.1.2.2
Cancel the common factor.
Step 6.6.2.1.2.3
Rewrite the expression.
Step 6.6.2.1.3
Multiply by .
Step 6.7
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 6.8
Solve for .
Tap for more steps...
Step 6.8.1
Simplify .
Tap for more steps...
Step 6.8.1.1
To write as a fraction with a common denominator, multiply by .
Step 6.8.1.2
Combine fractions.
Tap for more steps...
Step 6.8.1.2.1
Combine and .
Step 6.8.1.2.2
Combine the numerators over the common denominator.
Step 6.8.1.3
Simplify the numerator.
Tap for more steps...
Step 6.8.1.3.1
Multiply by .
Step 6.8.1.3.2
Subtract from .
Step 6.8.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 6.8.2.1
Add to both sides of the equation.
Step 6.8.2.2
To write as a fraction with a common denominator, multiply by .
Step 6.8.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 6.8.2.3.1
Multiply by .
Step 6.8.2.3.2
Multiply by .
Step 6.8.2.4
Combine the numerators over the common denominator.
Step 6.8.2.5
Simplify the numerator.
Tap for more steps...
Step 6.8.2.5.1
Multiply by .
Step 6.8.2.5.2
Add and .
Step 6.8.2.6
Cancel the common factor of and .
Tap for more steps...
Step 6.8.2.6.1
Factor out of .
Step 6.8.2.6.2
Cancel the common factors.
Tap for more steps...
Step 6.8.2.6.2.1
Factor out of .
Step 6.8.2.6.2.2
Cancel the common factor.
Step 6.8.2.6.2.3
Rewrite the expression.
Step 6.8.3
Multiply both sides of the equation by .
Step 6.8.4
Simplify both sides of the equation.
Tap for more steps...
Step 6.8.4.1
Simplify the left side.
Tap for more steps...
Step 6.8.4.1.1
Simplify .
Tap for more steps...
Step 6.8.4.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.8.4.1.1.1.1
Cancel the common factor.
Step 6.8.4.1.1.1.2
Rewrite the expression.
Step 6.8.4.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 6.8.4.1.1.2.1
Factor out of .
Step 6.8.4.1.1.2.2
Cancel the common factor.
Step 6.8.4.1.1.2.3
Rewrite the expression.
Step 6.8.4.2
Simplify the right side.
Tap for more steps...
Step 6.8.4.2.1
Simplify .
Tap for more steps...
Step 6.8.4.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 6.8.4.2.1.1.1
Factor out of .
Step 6.8.4.2.1.1.2
Cancel the common factor.
Step 6.8.4.2.1.1.3
Rewrite the expression.
Step 6.8.4.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 6.8.4.2.1.2.1
Factor out of .
Step 6.8.4.2.1.2.2
Cancel the common factor.
Step 6.8.4.2.1.2.3
Rewrite the expression.
Step 6.8.4.2.1.3
Multiply by .
Step 6.9
The solution to the equation .
Step 7
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 8
Evaluate the second derivative.
Tap for more steps...
Step 8.1
Cancel the common factor of and .
Tap for more steps...
Step 8.1.1
Factor out of .
Step 8.1.2
Cancel the common factors.
Tap for more steps...
Step 8.1.2.1
Factor out of .
Step 8.1.2.2
Cancel the common factor.
Step 8.1.2.3
Rewrite the expression.
Step 8.2
Simplify the numerator.
Tap for more steps...
Step 8.2.1
Move to the left of .
Step 8.2.2
To write as a fraction with a common denominator, multiply by .
Step 8.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 8.2.3.1
Multiply by .
Step 8.2.3.2
Multiply by .
Step 8.2.4
Combine the numerators over the common denominator.
Step 8.2.5
Simplify the numerator.
Tap for more steps...
Step 8.2.5.1
Multiply by .
Step 8.2.5.2
Subtract from .
Step 8.2.6
Cancel the common factor of and .
Tap for more steps...
Step 8.2.6.1
Factor out of .
Step 8.2.6.2
Cancel the common factors.
Tap for more steps...
Step 8.2.6.2.1
Factor out of .
Step 8.2.6.2.2
Cancel the common factor.
Step 8.2.6.2.3
Rewrite the expression.
Step 8.2.7
The exact value of is .
Step 8.2.8
Multiply by .
Step 9
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 10
Find the y-value when .
Tap for more steps...
Step 10.1
Replace the variable with in the expression.
Step 10.2
Simplify the result.
Tap for more steps...
Step 10.2.1
Simplify each term.
Tap for more steps...
Step 10.2.1.1
Subtract from .
Step 10.2.1.2
Cancel the common factor of .
Tap for more steps...
Step 10.2.1.2.1
Factor out of .
Step 10.2.1.2.2
Cancel the common factor.
Step 10.2.1.2.3
Rewrite the expression.
Step 10.2.1.3
The exact value of is .
Step 10.2.1.4
Multiply by .
Step 10.2.2
Add and .
Step 10.2.3
The final answer is .
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
Cancel the common factor of and .
Tap for more steps...
Step 12.1.1
Factor out of .
Step 12.1.2
Cancel the common factors.
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.2
Simplify the numerator.
Tap for more steps...
Step 12.2.1
Move to the left of .
Step 12.2.2
To write as a fraction with a common denominator, multiply by .
Step 12.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 12.2.3.1
Multiply by .
Step 12.2.3.2
Multiply by .
Step 12.2.4
Combine the numerators over the common denominator.
Step 12.2.5
Simplify the numerator.
Tap for more steps...
Step 12.2.5.1
Multiply by .
Step 12.2.5.2
Subtract from .
Step 12.2.6
Cancel the common factor of and .
Tap for more steps...
Step 12.2.6.1
Factor out of .
Step 12.2.6.2
Cancel the common factors.
Tap for more steps...
Step 12.2.6.2.1
Factor out of .
Step 12.2.6.2.2
Cancel the common factor.
Step 12.2.6.2.3
Rewrite the expression.
Step 12.2.7
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 12.2.8
The exact value of is .
Step 12.2.9
Multiply by .
Step 12.2.10
Multiply by .
Step 12.3
Move the negative in front of the fraction.
Step 12.4
Multiply .
Tap for more steps...
Step 12.4.1
Multiply by .
Step 12.4.2
Multiply by .
Step 13
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 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
Subtract from .
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
Factor out of .
Step 14.2.1.2.3
Cancel the common factor.
Step 14.2.1.2.4
Rewrite the expression.
Step 14.2.1.3
Combine and .
Step 14.2.1.4
Move to the left of .
Step 14.2.1.5
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 14.2.1.6
The exact value of is .
Step 14.2.1.7
Multiply .
Tap for more steps...
Step 14.2.1.7.1
Multiply by .
Step 14.2.1.7.2
Multiply by .
Step 14.2.2
Subtract from .
Step 14.2.3
The final answer is .
Step 15
These are the local extrema for .
is a local maxima
is a local minima
Step 16