Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=sin(x)^2-cos(x) , and 0<=x<=pi
, and
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
Evaluate .
Tap for more steps...
Step 1.1.1.3.1
Since is constant with respect to , the derivative of with respect to is .
Step 1.1.1.3.2
The derivative of with respect to is .
Step 1.1.1.3.3
Multiply by .
Step 1.1.1.3.4
Multiply by .
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
Raise to the power of .
Step 1.2.3.3
Factor out of .
Step 1.2.3.4
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
Subtract from 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.2.3
Simplify the right side.
Tap for more steps...
Step 1.2.6.2.2.3.1
Move the negative in front of the fraction.
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 negative in the second and third quadrants. To find the second solution, subtract the reference angle from to find the solution in the third 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.1.4
Multiply by .
Step 1.4.1.2.2
Subtract from .
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 .
Tap for more steps...
Step 1.4.2.2.1.6.1
Multiply by .
Step 1.4.2.2.1.6.2
Multiply by .
Step 1.4.2.2.2
Add and .
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
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 1.4.3.2.1.2
The exact value of is .
Step 1.4.3.2.1.3
Apply the product rule to .
Step 1.4.3.2.1.4
Rewrite as .
Tap for more steps...
Step 1.4.3.2.1.4.1
Use to rewrite as .
Step 1.4.3.2.1.4.2
Apply the power rule and multiply exponents, .
Step 1.4.3.2.1.4.3
Combine and .
Step 1.4.3.2.1.4.4
Cancel the common factor of .
Tap for more steps...
Step 1.4.3.2.1.4.4.1
Cancel the common factor.
Step 1.4.3.2.1.4.4.2
Rewrite the expression.
Step 1.4.3.2.1.4.5
Evaluate the exponent.
Step 1.4.3.2.1.5
Raise to the power of .
Step 1.4.3.2.1.6
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.3.2.1.7
The exact value of is .
Step 1.4.3.2.1.8
Multiply .
Tap for more steps...
Step 1.4.3.2.1.8.1
Multiply by .
Step 1.4.3.2.1.8.2
Multiply by .
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
Evaluate at the included endpoints.
Tap for more steps...
Step 3.1
Evaluate at .
Tap for more steps...
Step 3.1.1
Substitute for .
Step 3.1.2
Simplify.
Tap for more steps...
Step 3.1.2.1
Simplify each term.
Tap for more steps...
Step 3.1.2.1.1
The exact value of is .
Step 3.1.2.1.2
Raising to any positive power yields .
Step 3.1.2.1.3
The exact value of is .
Step 3.1.2.1.4
Multiply by .
Step 3.1.2.2
Subtract from .
Step 3.2
Evaluate at .
Tap for more steps...
Step 3.2.1
Substitute for .
Step 3.2.2
Simplify.
Tap for more steps...
Step 3.2.2.1
Simplify each term.
Tap for more steps...
Step 3.2.2.1.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 3.2.2.1.2
The exact value of is .
Step 3.2.2.1.3
Raising to any positive power yields .
Step 3.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 3.2.2.1.5
The exact value of is .
Step 3.2.2.1.6
Multiply .
Tap for more steps...
Step 3.2.2.1.6.1
Multiply by .
Step 3.2.2.1.6.2
Multiply by .
Step 3.2.2.2
Add and .
Step 3.3
List all of the points.
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