Calculus Examples

Find the Maximum/Minimum Value y=2sin(x-pi/2)
Step 1
Find the first derivative of the function.
Tap for more steps...
Step 1.1
Since is constant with respect to , 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
By the Sum Rule, the derivative of with respect to is .
Step 1.3.2
Differentiate using the Power Rule which states that is where .
Step 1.3.3
Since is constant with respect to , the derivative of with respect to is .
Step 1.3.4
Simplify the expression.
Tap for more steps...
Step 1.3.4.1
Add and .
Step 1.3.4.2
Multiply by .
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
Differentiate using the Power Rule which states that is where .
Step 2.3.4
Since is constant with respect to , the derivative of with respect to is .
Step 2.3.5
Simplify the expression.
Tap for more steps...
Step 2.3.5.1
Add and .
Step 2.3.5.2
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 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
Divide by .
Step 4.3
Simplify the right side.
Tap for more steps...
Step 4.3.1
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
Combine the numerators over the common denominator.
Step 7.3
Add and .
Step 7.4
Cancel the common factor of .
Tap for more steps...
Step 7.4.1
Cancel the common factor.
Step 7.4.2
Divide by .
Step 8
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 9
Solve for .
Tap for more steps...
Step 9.1
Simplify .
Tap for more steps...
Step 9.1.1
To write as a fraction with a common denominator, multiply by .
Step 9.1.2
Combine fractions.
Tap for more steps...
Step 9.1.2.1
Combine and .
Step 9.1.2.2
Combine the numerators over the common denominator.
Step 9.1.3
Simplify the numerator.
Tap for more steps...
Step 9.1.3.1
Multiply by .
Step 9.1.3.2
Subtract from .
Step 9.2
Move all terms not containing to the right side of the equation.
Tap for more steps...
Step 9.2.1
Add to both sides of the equation.
Step 9.2.2
Combine the numerators over the common denominator.
Step 9.2.3
Add and .
Step 9.2.4
Cancel the common factor of and .
Tap for more steps...
Step 9.2.4.1
Factor out of .
Step 9.2.4.2
Cancel the common factors.
Tap for more steps...
Step 9.2.4.2.1
Factor out of .
Step 9.2.4.2.2
Cancel the common factor.
Step 9.2.4.2.3
Rewrite the expression.
Step 9.2.4.2.4
Divide by .
Step 10
The solution to the equation .
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
To write as a fraction with a common denominator, multiply by .
Step 12.2
Combine fractions.
Tap for more steps...
Step 12.2.1
Combine and .
Step 12.2.2
Combine the numerators over the common denominator.
Step 12.3
Simplify the numerator.
Tap for more steps...
Step 12.3.1
Move to the left of .
Step 12.3.2
Subtract from .
Step 12.4
The exact value of is .
Step 12.5
Multiply by .
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
To write as a fraction with a common denominator, multiply by .
Step 14.2.2
Combine fractions.
Tap for more steps...
Step 14.2.2.1
Combine and .
Step 14.2.2.2
Combine the numerators over the common denominator.
Step 14.2.3
Simplify the numerator.
Tap for more steps...
Step 14.2.3.1
Move to the left of .
Step 14.2.3.2
Subtract from .
Step 14.2.4
The exact value of is .
Step 14.2.5
Multiply by .
Step 14.2.6
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
To write as a fraction with a common denominator, multiply by .
Step 16.2
Combine fractions.
Tap for more steps...
Step 16.2.1
Combine and .
Step 16.2.2
Combine the numerators over the common denominator.
Step 16.3
Simplify the numerator.
Tap for more steps...
Step 16.3.1
Multiply by .
Step 16.3.2
Subtract from .
Step 16.4
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.5
The exact value of is .
Step 16.6
Multiply .
Tap for more steps...
Step 16.6.1
Multiply by .
Step 16.6.2
Multiply by .
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
To write as a fraction with a common denominator, multiply by .
Step 18.2.2
Combine fractions.
Tap for more steps...
Step 18.2.2.1
Combine and .
Step 18.2.2.2
Combine the numerators over the common denominator.
Step 18.2.3
Simplify the numerator.
Tap for more steps...
Step 18.2.3.1
Multiply by .
Step 18.2.3.2
Subtract from .
Step 18.2.4
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.5
The exact value of is .
Step 18.2.6
Multiply .
Tap for more steps...
Step 18.2.6.1
Multiply by .
Step 18.2.6.2
Multiply by .
Step 18.2.7
The final answer is .
Step 19
These are the local extrema for .
is a local maxima
is a local minima
Step 20