Calculus Examples

Find the Maximum/Minimum Value y=-2-4sin(pi/2(x-1/3))
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
By the Sum Rule, the derivative of with respect to is .
Step 1.1.2
Since is constant with respect to , 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
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.2.2.1
To apply the Chain Rule, set as .
Step 1.2.2.2
The derivative of with respect to is .
Step 1.2.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.4
By the Sum Rule, the derivative of with respect to is .
Step 1.2.5
Differentiate using the Power Rule which states that is where .
Step 1.2.6
Since is constant with respect to , the derivative of with respect to is .
Step 1.2.7
Add and .
Step 1.2.8
Multiply by .
Step 1.2.9
Combine and .
Step 1.2.10
Combine and .
Step 1.2.11
Cancel the common factor of and .
Tap for more steps...
Step 1.2.11.1
Factor out of .
Step 1.2.11.2
Cancel the common factors.
Tap for more steps...
Step 1.2.11.2.1
Factor out of .
Step 1.2.11.2.2
Cancel the common factor.
Step 1.2.11.2.3
Rewrite the expression.
Step 1.2.11.2.4
Divide by .
Step 1.3
Simplify.
Tap for more steps...
Step 1.3.1
Apply the distributive property.
Step 1.3.2
Combine terms.
Tap for more steps...
Step 1.3.2.1
Multiply by .
Step 1.3.2.2
Multiply by .
Step 1.3.2.3
Combine and .
Step 1.3.2.4
Subtract from .
Step 1.3.3
Reorder the factors of .
Step 2
Find the second derivative of the function.
Tap for more steps...
Step 2.1
Since is constant with respect to , the derivative of with respect to is .
Step 2.2
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 2.2.1
To apply the Chain Rule, set as .
Step 2.2.2
The derivative of with respect to is .
Step 2.2.3
Replace all occurrences of with .
Step 2.3
Differentiate.
Tap for more steps...
Step 2.3.1
Multiply by .
Step 2.3.2
By the Sum Rule, the derivative of with respect to is .
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
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.7
Combine fractions.
Tap for more steps...
Step 2.3.7.1
Add and .
Step 2.3.7.2
Combine and .
Step 2.3.7.3
Combine and .
Step 2.4
Raise to the power of .
Step 2.5
Raise to the power of .
Step 2.6
Use the power rule to combine exponents.
Step 2.7
Add and .
Step 2.8
Combine and .
Step 2.9
Cancel the common factor of .
Tap for more steps...
Step 2.9.1
Cancel the common factor.
Step 2.9.2
Divide 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 by and simplify.
Tap for more steps...
Step 4.1
Divide each term in by .
Step 4.2
Simplify the left side.
Tap for more steps...
Step 4.2.1
Cancel the common factor of .
Tap for more steps...
Step 4.2.1.1
Cancel the common factor.
Step 4.2.1.2
Rewrite the expression.
Step 4.2.2
Cancel the common factor of .
Tap for more steps...
Step 4.2.2.1
Cancel the common factor.
Step 4.2.2.2
Divide by .
Step 4.3
Simplify the right side.
Tap for more steps...
Step 4.3.1
Cancel the common factor of and .
Tap for more steps...
Step 4.3.1.1
Factor out of .
Step 4.3.1.2
Cancel the common factors.
Tap for more steps...
Step 4.3.1.2.1
Factor out of .
Step 4.3.1.2.2
Cancel the common factor.
Step 4.3.1.2.3
Rewrite the expression.
Step 4.3.2
Divide by .
Step 5
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 6
Simplify the right side.
Tap for more steps...
Step 6.1
The exact value of is .
Step 7
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 7.1
Add to both sides of the equation.
Step 7.2
To write as a fraction with a common denominator, multiply by .
Step 7.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 7.3.1
Multiply by .
Step 7.3.2
Multiply by .
Step 7.4
Combine the numerators over the common denominator.
Step 7.5
Simplify the numerator.
Tap for more steps...
Step 7.5.1
Move to the left of .
Step 7.5.2
Add and .
Step 7.6
Cancel the common factor of and .
Tap for more steps...
Step 7.6.1
Factor out of .
Step 7.6.2
Cancel the common factors.
Tap for more steps...
Step 7.6.2.1
Factor out of .
Step 7.6.2.2
Cancel the common factor.
Step 7.6.2.3
Rewrite the expression.
Step 8
Multiply both sides of the equation by .
Step 9
Simplify both sides of the equation.
Tap for more steps...
Step 9.1
Simplify the left side.
Tap for more steps...
Step 9.1.1
Simplify .
Tap for more steps...
Step 9.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 9.1.1.1.1
Cancel the common factor.
Step 9.1.1.1.2
Rewrite the expression.
Step 9.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 9.1.1.2.1
Factor out of .
Step 9.1.1.2.2
Cancel the common factor.
Step 9.1.1.2.3
Rewrite the expression.
Step 9.2
Simplify the right side.
Tap for more steps...
Step 9.2.1
Simplify .
Tap for more steps...
Step 9.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 9.2.1.1.1
Factor out of .
Step 9.2.1.1.2
Cancel the common factor.
Step 9.2.1.1.3
Rewrite the expression.
Step 9.2.1.2
Combine and .
Step 9.2.1.3
Multiply by .
Step 10
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 11
Solve for .
Tap for more steps...
Step 11.1
Simplify .
Tap for more steps...
Step 11.1.1
To write as a fraction with a common denominator, multiply by .
Step 11.1.2
Combine fractions.
Tap for more steps...
Step 11.1.2.1
Combine and .
Step 11.1.2.2
Combine the numerators over the common denominator.
Step 11.1.3
Simplify the numerator.
Tap for more steps...
Step 11.1.3.1
Multiply by .
Step 11.1.3.2
Subtract from .
Step 11.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 11.2.1
Add to both sides of the equation.
Step 11.2.2
To write as a fraction with a common denominator, multiply by .
Step 11.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 11.2.3.1
Multiply by .
Step 11.2.3.2
Multiply by .
Step 11.2.4
Combine the numerators over the common denominator.
Step 11.2.5
Simplify the numerator.
Tap for more steps...
Step 11.2.5.1
Multiply by .
Step 11.2.5.2
Add and .
Step 11.2.6
Cancel the common factor of and .
Tap for more steps...
Step 11.2.6.1
Factor out of .
Step 11.2.6.2
Cancel the common factors.
Tap for more steps...
Step 11.2.6.2.1
Factor out of .
Step 11.2.6.2.2
Cancel the common factor.
Step 11.2.6.2.3
Rewrite the expression.
Step 11.3
Multiply both sides of the equation by .
Step 11.4
Simplify both sides of the equation.
Tap for more steps...
Step 11.4.1
Simplify the left side.
Tap for more steps...
Step 11.4.1.1
Simplify .
Tap for more steps...
Step 11.4.1.1.1
Cancel the common factor of .
Tap for more steps...
Step 11.4.1.1.1.1
Cancel the common factor.
Step 11.4.1.1.1.2
Rewrite the expression.
Step 11.4.1.1.2
Cancel the common factor of .
Tap for more steps...
Step 11.4.1.1.2.1
Factor out of .
Step 11.4.1.1.2.2
Cancel the common factor.
Step 11.4.1.1.2.3
Rewrite the expression.
Step 11.4.2
Simplify the right side.
Tap for more steps...
Step 11.4.2.1
Simplify .
Tap for more steps...
Step 11.4.2.1.1
Cancel the common factor of .
Tap for more steps...
Step 11.4.2.1.1.1
Factor out of .
Step 11.4.2.1.1.2
Cancel the common factor.
Step 11.4.2.1.1.3
Rewrite the expression.
Step 11.4.2.1.2
Combine and .
Step 11.4.2.1.3
Multiply by .
Step 12
The solution to the equation .
Step 13
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 14
Evaluate the second derivative.
Tap for more steps...
Step 14.1
Simplify each term.
Tap for more steps...
Step 14.1.1
Combine and .
Step 14.1.2
Move to the left of .
Step 14.1.3
Multiply the numerator by the reciprocal of the denominator.
Step 14.1.4
Cancel the common factor of .
Tap for more steps...
Step 14.1.4.1
Factor out of .
Step 14.1.4.2
Cancel the common factor.
Step 14.1.4.3
Rewrite the expression.
Step 14.2
To write as a fraction with a common denominator, multiply by .
Step 14.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 14.3.1
Multiply by .
Step 14.3.2
Multiply by .
Step 14.4
Combine the numerators over the common denominator.
Step 14.5
Simplify the numerator.
Tap for more steps...
Step 14.5.1
Multiply by .
Step 14.5.2
Subtract from .
Step 14.6
Cancel the common factor of and .
Tap for more steps...
Step 14.6.1
Factor out of .
Step 14.6.2
Cancel the common factors.
Tap for more steps...
Step 14.6.2.1
Factor out of .
Step 14.6.2.2
Cancel the common factor.
Step 14.6.2.3
Rewrite the expression.
Step 14.7
The exact value of is .
Step 14.8
Multiply by .
Step 15
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 16
Find the y-value when .
Tap for more steps...
Step 16.1
Replace the variable with in the expression.
Step 16.2
Simplify the result.
Tap for more steps...
Step 16.2.1
Simplify each term.
Tap for more steps...
Step 16.2.1.1
Combine the numerators over the common denominator.
Step 16.2.1.2
Subtract from .
Step 16.2.1.3
Cancel the common factor of .
Tap for more steps...
Step 16.2.1.3.1
Cancel the common factor.
Step 16.2.1.3.2
Rewrite the expression.
Step 16.2.1.4
Multiply by .
Step 16.2.1.5
The exact value of is .
Step 16.2.1.6
Multiply by .
Step 16.2.2
Subtract from .
Step 16.2.3
The final answer is .
Step 17
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 18
Evaluate the second derivative.
Tap for more steps...
Step 18.1
Simplify each term.
Tap for more steps...
Step 18.1.1
Combine and .
Step 18.1.2
Move to the left of .
Step 18.1.3
Multiply the numerator by the reciprocal of the denominator.
Step 18.1.4
Cancel the common factor of .
Tap for more steps...
Step 18.1.4.1
Factor out of .
Step 18.1.4.2
Cancel the common factor.
Step 18.1.4.3
Rewrite the expression.
Step 18.2
To write as a fraction with a common denominator, multiply by .
Step 18.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 18.3.1
Multiply by .
Step 18.3.2
Multiply by .
Step 18.4
Combine the numerators over the common denominator.
Step 18.5
Simplify the numerator.
Tap for more steps...
Step 18.5.1
Multiply by .
Step 18.5.2
Subtract from .
Step 18.6
Cancel the common factor of and .
Tap for more steps...
Step 18.6.1
Factor out of .
Step 18.6.2
Cancel the common factors.
Tap for more steps...
Step 18.6.2.1
Factor out of .
Step 18.6.2.2
Cancel the common factor.
Step 18.6.2.3
Rewrite the expression.
Step 18.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 18.8
The exact value of is .
Step 18.9
Multiply by .
Step 18.10
Move to the left of .
Step 18.11
Rewrite as .
Step 19
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 20
Find the y-value when .
Tap for more steps...
Step 20.1
Replace the variable with in the expression.
Step 20.2
Simplify the result.
Tap for more steps...
Step 20.2.1
Simplify each term.
Tap for more steps...
Step 20.2.1.1
Combine the numerators over the common denominator.
Step 20.2.1.2
Subtract from .
Step 20.2.1.3
Divide by .
Step 20.2.1.4
Combine and .
Step 20.2.1.5
Move to the left of .
Step 20.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 20.2.1.7
The exact value of is .
Step 20.2.1.8
Multiply .
Tap for more steps...
Step 20.2.1.8.1
Multiply by .
Step 20.2.1.8.2
Multiply by .
Step 20.2.2
Add and .
Step 20.2.3
The final answer is .
Step 21
These are the local extrema for .
is a local minima
is a local maxima
Step 22