Calculus Examples

Find the Absolute Max and Min over the Interval f(x)=2sin(x)^2 , [pi/3,2pi]
f(x)=2sin2(x) , [π3,2π]
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
Since 2 is constant with respect to x, the derivative of 2sin2(x) with respect to x is 2ddx[sin2(x)].
2ddx[sin2(x)]
Step 1.1.1.2
Differentiate using the chain rule, which states that ddx[f(g(x))] is f(g(x))g(x) where f(x)=x2 and g(x)=sin(x).
Tap for more steps...
Step 1.1.1.2.1
To apply the Chain Rule, set u as sin(x).
2(ddu[u2]ddx[sin(x)])
Step 1.1.1.2.2
Differentiate using the Power Rule which states that ddu[un] is nun-1 where n=2.
2(2uddx[sin(x)])
Step 1.1.1.2.3
Replace all occurrences of u with sin(x).
2(2sin(x)ddx[sin(x)])
2(2sin(x)ddx[sin(x)])
Step 1.1.1.3
Multiply 2 by 2.
4(sin(x)ddx[sin(x)])
Step 1.1.1.4
The derivative of sin(x) with respect to x is cos(x).
4sin(x)cos(x)
Step 1.1.1.5
Reorder the factors of 4sin(x)cos(x).
f(x)=4cos(x)sin(x)
f(x)=4cos(x)sin(x)
Step 1.1.2
The first derivative of f(x) with respect to x is 4cos(x)sin(x).
4cos(x)sin(x)
4cos(x)sin(x)
Step 1.2
Set the first derivative equal to 0 then solve the equation 4cos(x)sin(x)=0.
Tap for more steps...
Step 1.2.1
Set the first derivative equal to 0.
4cos(x)sin(x)=0
Step 1.2.2
If any individual factor on the left side of the equation is equal to 0, the entire expression will be equal to 0.
cos(x)=0
sin(x)=0
Step 1.2.3
Set cos(x) equal to 0 and solve for x.
Tap for more steps...
Step 1.2.3.1
Set cos(x) equal to 0.
cos(x)=0
Step 1.2.3.2
Solve cos(x)=0 for x.
Tap for more steps...
Step 1.2.3.2.1
Take the inverse cosine of both sides of the equation to extract x from inside the cosine.
x=arccos(0)
Step 1.2.3.2.2
Simplify the right side.
Tap for more steps...
Step 1.2.3.2.2.1
The exact value of arccos(0) is π2.
x=π2
x=π2
Step 1.2.3.2.3
The cosine function is positive in the first and fourth quadrants. To find the second solution, subtract the reference angle from 2π to find the solution in the fourth quadrant.
x=2π-π2
Step 1.2.3.2.4
Simplify 2π-π2.
Tap for more steps...
Step 1.2.3.2.4.1
To write 2π as a fraction with a common denominator, multiply by 22.
x=2π22-π2
Step 1.2.3.2.4.2
Combine fractions.
Tap for more steps...
Step 1.2.3.2.4.2.1
Combine 2π and 22.
x=2π22-π2
Step 1.2.3.2.4.2.2
Combine the numerators over the common denominator.
x=2π2-π2
x=2π2-π2
Step 1.2.3.2.4.3
Simplify the numerator.
Tap for more steps...
Step 1.2.3.2.4.3.1
Multiply 2 by 2.
x=4π-π2
Step 1.2.3.2.4.3.2
Subtract π from 4π.
x=3π2
x=3π2
x=3π2
Step 1.2.3.2.5
Find the period of cos(x).
Tap for more steps...
Step 1.2.3.2.5.1
The period of the function can be calculated using 2π|b|.
2π|b|
Step 1.2.3.2.5.2
Replace b with 1 in the formula for period.
2π|1|
Step 1.2.3.2.5.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
2π1
Step 1.2.3.2.5.4
Divide 2π by 1.
2π
2π
Step 1.2.3.2.6
The period of the cos(x) function is 2π so values will repeat every 2π radians in both directions.
x=π2+2πn,3π2+2πn, for any integer n
x=π2+2πn,3π2+2πn, for any integer n
x=π2+2πn,3π2+2πn, for any integer n
Step 1.2.4
Set sin(x) equal to 0 and solve for x.
Tap for more steps...
Step 1.2.4.1
Set sin(x) equal to 0.
sin(x)=0
Step 1.2.4.2
Solve sin(x)=0 for x.
Tap for more steps...
Step 1.2.4.2.1
Take the inverse sine of both sides of the equation to extract x from inside the sine.
x=arcsin(0)
Step 1.2.4.2.2
Simplify the right side.
Tap for more steps...
Step 1.2.4.2.2.1
The exact value of arcsin(0) is 0.
x=0
x=0
Step 1.2.4.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.
x=π-0
Step 1.2.4.2.4
Subtract 0 from π.
x=π
Step 1.2.4.2.5
Find the period of sin(x).
Tap for more steps...
Step 1.2.4.2.5.1
The period of the function can be calculated using 2π|b|.
2π|b|
Step 1.2.4.2.5.2
Replace b with 1 in the formula for period.
2π|1|
Step 1.2.4.2.5.3
The absolute value is the distance between a number and zero. The distance between 0 and 1 is 1.
2π1
Step 1.2.4.2.5.4
Divide 2π by 1.
2π
2π
Step 1.2.4.2.6
The period of the sin(x) function is 2π so values will repeat every 2π radians in both directions.
x=2πn,π+2πn, for any integer n
x=2πn,π+2πn, for any integer n
x=2πn,π+2πn, for any integer n
Step 1.2.5
The final solution is all the values that make 4cos(x)sin(x)=0 true.
x=π2+2πn,3π2+2πn,2πn,π+2πn, for any integer n
Step 1.2.6
Consolidate the answers.
x=πn2, for any integer n
x=πn2, for any integer n
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 2sin2(x) at each x value where the derivative is 0 or undefined.
Tap for more steps...
Step 1.4.1
Evaluate at x=0.
Tap for more steps...
Step 1.4.1.1
Substitute 0 for x.
2sin2(0)
Step 1.4.1.2
Simplify.
Tap for more steps...
Step 1.4.1.2.1
The exact value of sin(0) is 0.
202
Step 1.4.1.2.2
Raising 0 to any positive power yields 0.
20
Step 1.4.1.2.3
Multiply 2 by 0.
0
0
0
Step 1.4.2
Evaluate at x=π2.
Tap for more steps...
Step 1.4.2.1
Substitute π2 for x.
2sin2(π2)
Step 1.4.2.2
Simplify.
Tap for more steps...
Step 1.4.2.2.1
The exact value of sin(π2) is 1.
212
Step 1.4.2.2.2
One to any power is one.
21
Step 1.4.2.2.3
Multiply 2 by 1.
2
2
2
Step 1.4.3
List all of the points.
(0+πn,0),(π2+πn,2), for any integer n
(0+πn,0),(π2+πn,2), for any integer n
(0+πn,0),(π2+πn,2), for any integer n
Step 2
Exclude the points that are not on the interval.
(π,0),(2π,0),(π2,2),(3π2,2)
Step 3
Evaluate at the included endpoints.
Tap for more steps...
Step 3.1
Evaluate at x=π3.
Tap for more steps...
Step 3.1.1
Substitute π3 for x.
2sin2(π3)
Step 3.1.2
Simplify.
Tap for more steps...
Step 3.1.2.1
The exact value of sin(π3) is 32.
2(32)2
Step 3.1.2.2
Apply the product rule to 32.
23222
Step 3.1.2.3
Rewrite 32 as 3.
Tap for more steps...
Step 3.1.2.3.1
Use nax=axn to rewrite 3 as 312.
2(312)222
Step 3.1.2.3.2
Apply the power rule and multiply exponents, (am)n=amn.
2312222
Step 3.1.2.3.3
Combine 12 and 2.
232222
Step 3.1.2.3.4
Cancel the common factor of 2.
Tap for more steps...
Step 3.1.2.3.4.1
Cancel the common factor.
232222
Step 3.1.2.3.4.2
Rewrite the expression.
23122
23122
Step 3.1.2.3.5
Evaluate the exponent.
2322
2322
Step 3.1.2.4
Raise 2 to the power of 2.
2(34)
Step 3.1.2.5
Cancel the common factor of 2.
Tap for more steps...
Step 3.1.2.5.1
Factor 2 out of 4.
232(2)
Step 3.1.2.5.2
Cancel the common factor.
2322
Step 3.1.2.5.3
Rewrite the expression.
32
32
32
32
Step 3.2
Evaluate at x=2π.
Tap for more steps...
Step 3.2.1
Substitute 2π for x.
2sin2(2π)
Step 3.2.2
Simplify.
Tap for more steps...
Step 3.2.2.1
Subtract full rotations of 2π until the angle is greater than or equal to 0 and less than 2π.
2sin2(0)
Step 3.2.2.2
The exact value of sin(0) is 0.
202
Step 3.2.2.3
Raising 0 to any positive power yields 0.
20
Step 3.2.2.4
Multiply 2 by 0.
0
0
0
Step 3.3
List all of the points.
(π3,32),(2π,0)
(π3,32),(2π,0)
Step 4
Compare the f(x) values found for each value of x in order to determine the absolute maximum and minimum over the given interval. The maximum will occur at the highest f(x) value and the minimum will occur at the lowest f(x) value.
Absolute Maximum: (π2,2),(3π2,2)
Absolute Minimum: (π,0),(2π,0)
Step 5
 [x2  12  π  xdx ]