Calculus Examples

Find the Absolute Max and Min over the Interval h(x)=sin(x)^2+cos(x) , 0<x<2pi
,
Step 1
Find the critical points.
Tap for more steps...
Step 1.1
Find the first derivative.
Tap for more steps...
Step 1.1.1
Find the first derivative.
Tap for more steps...
Step 1.1.1.1
By the Sum Rule, the derivative of with respect to is .
Step 1.1.1.2
Evaluate .
Tap for more steps...
Step 1.1.1.2.1
Differentiate using the chain rule, which states that is where and .
Tap for more steps...
Step 1.1.1.2.1.1
To apply the Chain Rule, set as .
Step 1.1.1.2.1.2
Differentiate using the Power Rule which states that is where .
Step 1.1.1.2.1.3
Replace all occurrences of with .
Step 1.1.1.2.2
The derivative of with respect to is .
Step 1.1.1.3
The derivative of with respect to is .
Step 1.1.1.4
Simplify.
Tap for more steps...
Step 1.1.1.4.1
Reorder terms.
Step 1.1.1.4.2
Simplify each term.
Tap for more steps...
Step 1.1.1.4.2.1
Reorder and .
Step 1.1.1.4.2.2
Reorder and .
Step 1.1.1.4.2.3
Apply the sine double-angle identity.
Step 1.1.2
The first derivative of with respect to is .
Step 1.2
Set the first derivative equal to then solve the equation .
Tap for more steps...
Step 1.2.1
Set the first derivative equal to .
Step 1.2.2
Apply the sine double-angle identity.
Step 1.2.3
Factor out of .
Tap for more steps...
Step 1.2.3.1
Factor out of .
Step 1.2.3.2
Factor out of .
Step 1.2.3.3
Factor out of .
Step 1.2.4
If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .
Step 1.2.5
Set equal to and solve for .
Tap for more steps...
Step 1.2.5.1
Set equal to .
Step 1.2.5.2
Solve for .
Tap for more steps...
Step 1.2.5.2.1
Take the inverse sine of both sides of the equation to extract from inside the sine.
Step 1.2.5.2.2
Simplify the right side.
Tap for more steps...
Step 1.2.5.2.2.1
The exact value of is .
Step 1.2.5.2.3
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 1.2.5.2.4
Subtract from .
Step 1.2.5.2.5
Find the period of .
Tap for more steps...
Step 1.2.5.2.5.1
The period of the function can be calculated using .
Step 1.2.5.2.5.2
Replace with in the formula for period.
Step 1.2.5.2.5.3
The absolute value is the distance between a number and zero. The distance between and is .
Step 1.2.5.2.5.4
Divide by .
Step 1.2.5.2.6
The period of the function is so values will repeat every radians in both directions.
, for any integer
, for any integer
, for any integer
Step 1.2.6
Set equal to and solve for .
Tap for more steps...
Step 1.2.6.1
Set equal to .
Step 1.2.6.2
Solve for .
Tap for more steps...
Step 1.2.6.2.1
Add to both sides of the equation.
Step 1.2.6.2.2
Divide each term in by and simplify.
Tap for more steps...
Step 1.2.6.2.2.1
Divide each term in by .
Step 1.2.6.2.2.2
Simplify the left side.
Tap for more steps...
Step 1.2.6.2.2.2.1
Cancel the common factor of .
Tap for more steps...
Step 1.2.6.2.2.2.1.1
Cancel the common factor.
Step 1.2.6.2.2.2.1.2
Divide by .
Step 1.2.6.2.3
Take the inverse cosine of both sides of the equation to extract from inside the cosine.
Step 1.2.6.2.4
Simplify the right side.
Tap for more steps...
Step 1.2.6.2.4.1
The exact value of is .
Step 1.2.6.2.5
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 1.2.6.2.6
Simplify .
Tap for more steps...
Step 1.2.6.2.6.1
To write as a fraction with a common denominator, multiply by .
Step 1.2.6.2.6.2
Combine fractions.
Tap for more steps...
Step 1.2.6.2.6.2.1
Combine and .
Step 1.2.6.2.6.2.2
Combine the numerators over the common denominator.
Step 1.2.6.2.6.3
Simplify the numerator.
Tap for more steps...
Step 1.2.6.2.6.3.1
Multiply by .
Step 1.2.6.2.6.3.2
Subtract from .
Step 1.2.6.2.7
Find the period of .
Tap for more steps...
Step 1.2.6.2.7.1
The period of the function can be calculated using .
Step 1.2.6.2.7.2
Replace with in the formula for period.
Step 1.2.6.2.7.3
The absolute value is the distance between a number and zero. The distance between and is .
Step 1.2.6.2.7.4
Divide by .
Step 1.2.6.2.8
The period of the function is so values will repeat every radians in both directions.
, for any integer
, for any integer
, for any integer
Step 1.2.7
The final solution is all the values that make true.
, for any integer
Step 1.2.8
Consolidate and to .
, for any integer
, for any integer
Step 1.3
Find the values where the derivative is undefined.
Tap for more steps...
Step 1.3.1
The domain of the expression is all real numbers except where the expression is undefined. In this case, there is no real number that makes the expression undefined.
Step 1.4
Evaluate at each value where the derivative is or undefined.
Tap for more steps...
Step 1.4.1
Evaluate at .
Tap for more steps...
Step 1.4.1.1
Substitute for .
Step 1.4.1.2
Simplify.
Tap for more steps...
Step 1.4.1.2.1
Simplify each term.
Tap for more steps...
Step 1.4.1.2.1.1
The exact value of is .
Step 1.4.1.2.1.2
Raising to any positive power yields .
Step 1.4.1.2.1.3
The exact value of is .
Step 1.4.1.2.2
Add and .
Step 1.4.2
Evaluate at .
Tap for more steps...
Step 1.4.2.1
Substitute for .
Step 1.4.2.2
Simplify.
Tap for more steps...
Step 1.4.2.2.1
Simplify each term.
Tap for more steps...
Step 1.4.2.2.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 1.4.2.2.1.2
The exact value of is .
Step 1.4.2.2.1.3
Raising to any positive power yields .
Step 1.4.2.2.1.4
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 1.4.2.2.1.5
The exact value of is .
Step 1.4.2.2.1.6
Multiply by .
Step 1.4.2.2.2
Subtract from .
Step 1.4.3
Evaluate at .
Tap for more steps...
Step 1.4.3.1
Substitute for .
Step 1.4.3.2
Simplify.
Tap for more steps...
Step 1.4.3.2.1
Simplify each term.
Tap for more steps...
Step 1.4.3.2.1.1
The exact value of is .
Step 1.4.3.2.1.2
Apply the product rule to .
Step 1.4.3.2.1.3
Rewrite as .
Tap for more steps...
Step 1.4.3.2.1.3.1
Use to rewrite as .
Step 1.4.3.2.1.3.2
Apply the power rule and multiply exponents, .
Step 1.4.3.2.1.3.3
Combine and .
Step 1.4.3.2.1.3.4
Cancel the common factor of .
Tap for more steps...
Step 1.4.3.2.1.3.4.1
Cancel the common factor.
Step 1.4.3.2.1.3.4.2
Rewrite the expression.
Step 1.4.3.2.1.3.5
Evaluate the exponent.
Step 1.4.3.2.1.4
Raise to the power of .
Step 1.4.3.2.1.5
The exact value of is .
Step 1.4.3.2.2
To write as a fraction with a common denominator, multiply by .
Step 1.4.3.2.3
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 1.4.3.2.3.1
Multiply by .
Step 1.4.3.2.3.2
Multiply by .
Step 1.4.3.2.4
Combine the numerators over the common denominator.
Step 1.4.3.2.5
Add and .
Step 1.4.4
List all of the points.
, for any integer
, for any integer
, for any integer
Step 2
Exclude the points that are not on the interval.
Step 3
Use the first derivative test to determine which points can be maxima or minima.
Tap for more steps...
Step 3.1
Split into separate intervals around the values that make the first derivative or undefined.
Step 3.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 3.2.1
Replace the variable with in the expression.
Step 3.2.2
Simplify the result.
Tap for more steps...
Step 3.2.2.1
Simplify each term.
Tap for more steps...
Step 3.2.2.1.1
Multiply by .
Step 3.2.2.1.2
Evaluate .
Step 3.2.2.1.3
Evaluate .
Step 3.2.2.1.4
Multiply by .
Step 3.2.2.2
Add and .
Step 3.2.2.3
The final answer is .
Step 3.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 3.3.1
Replace the variable with in the expression.
Step 3.3.2
Simplify the result.
Tap for more steps...
Step 3.3.2.1
Simplify each term.
Tap for more steps...
Step 3.3.2.1.1
Multiply by .
Step 3.3.2.1.2
Evaluate .
Step 3.3.2.1.3
Evaluate .
Step 3.3.2.1.4
Multiply by .
Step 3.3.2.2
Subtract from .
Step 3.3.2.3
The final answer is .
Step 3.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 3.4.1
Replace the variable with in the expression.
Step 3.4.2
Simplify the result.
Tap for more steps...
Step 3.4.2.1
Simplify each term.
Tap for more steps...
Step 3.4.2.1.1
Multiply by .
Step 3.4.2.1.2
Evaluate .
Step 3.4.2.1.3
Evaluate .
Step 3.4.2.1.4
Multiply by .
Step 3.4.2.2
Subtract from .
Step 3.4.2.3
The final answer is .
Step 3.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 3.5.1
Replace the variable with in the expression.
Step 3.5.2
Simplify the result.
Tap for more steps...
Step 3.5.2.1
Simplify each term.
Tap for more steps...
Step 3.5.2.1.1
Multiply by .
Step 3.5.2.1.2
Evaluate .
Step 3.5.2.1.3
Evaluate .
Step 3.5.2.1.4
Multiply by .
Step 3.5.2.2
Add and .
Step 3.5.2.3
The final answer is .
Step 3.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 3.6.1
Replace the variable with in the expression.
Step 3.6.2
Simplify the result.
Tap for more steps...
Step 3.6.2.1
Simplify each term.
Tap for more steps...
Step 3.6.2.1.1
Multiply by .
Step 3.6.2.1.2
Evaluate .
Step 3.6.2.1.3
Evaluate .
Step 3.6.2.1.4
Multiply by .
Step 3.6.2.2
Subtract from .
Step 3.6.2.3
The final answer is .
Step 3.7
Since the first derivative did not change signs around , this is not a local maximum or minimum.
Not a local maximum or minimum
Step 3.8
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
Step 3.9
Since the first derivative changed signs from negative to positive around , then is a local minimum.
is a local minimum
Step 3.10
Since the first derivative changed signs from positive to negative around , then is a local maximum.
is a local maximum
Step 3.11
These are the local extrema for .
is a local maximum
is a local minimum
is a local maximum
is a local maximum
is a local minimum
is a local maximum
Step 4
Compare the values found for each value of in order to determine the absolute maximum and minimum over the given interval. The maximum will occur at the highest value and the minimum will occur at the lowest value.
Absolute Maximum:
Absolute Minimum:
Step 5