Enter a problem...
Calculus Examples
f(x)=sin2(x)f(x)=sin2(x) on [0,π][0,π]
Step 1
Step 1.1
Find the first derivative.
Step 1.1.1
Find the first derivative.
Step 1.1.1.1
Differentiate using the chain rule, which states that ddx[f(g(x))]ddx[f(g(x))] is f′(g(x))g′(x)f'(g(x))g'(x) where f(x)=x2f(x)=x2 and g(x)=sin(x)g(x)=sin(x).
Step 1.1.1.1.1
To apply the Chain Rule, set uu as sin(x)sin(x).
ddu[u2]ddx[sin(x)]ddu[u2]ddx[sin(x)]
Step 1.1.1.1.2
Differentiate using the Power Rule which states that ddu[un]ddu[un] is nun-1nun−1 where n=2n=2.
2uddx[sin(x)]2uddx[sin(x)]
Step 1.1.1.1.3
Replace all occurrences of uu with sin(x)sin(x).
2sin(x)ddx[sin(x)]2sin(x)ddx[sin(x)]
2sin(x)ddx[sin(x)]2sin(x)ddx[sin(x)]
Step 1.1.1.2
The derivative of sin(x)sin(x) with respect to xx is cos(x)cos(x).
2sin(x)cos(x)2sin(x)cos(x)
Step 1.1.1.3
Simplify.
Step 1.1.1.3.1
Reorder the factors of 2sin(x)cos(x)2sin(x)cos(x).
2cos(x)sin(x)2cos(x)sin(x)
Step 1.1.1.3.2
Reorder 2cos(x)2cos(x) and sin(x)sin(x).
sin(x)(2cos(x))sin(x)(2cos(x))
Step 1.1.1.3.3
Reorder sin(x)sin(x) and 22.
2⋅sin(x)cos(x)2⋅sin(x)cos(x)
Step 1.1.1.3.4
Apply the sine double-angle identity.
f′(x)=sin(2x)f'(x)=sin(2x)
f′(x)=sin(2x)f'(x)=sin(2x)
f′(x)=sin(2x)f'(x)=sin(2x)
Step 1.1.2
The first derivative of f(x)f(x) with respect to xx is sin(2x)sin(2x).
sin(2x)sin(2x)
sin(2x)sin(2x)
Step 1.2
Set the first derivative equal to 00 then solve the equation sin(2x)=0sin(2x)=0.
Step 1.2.1
Set the first derivative equal to 00.
sin(2x)=0sin(2x)=0
Step 1.2.2
Take the inverse sine of both sides of the equation to extract xx from inside the sine.
2x=arcsin(0)2x=arcsin(0)
Step 1.2.3
Simplify the right side.
Step 1.2.3.1
The exact value of arcsin(0)arcsin(0) is 00.
2x=02x=0
2x=02x=0
Step 1.2.4
Divide each term in 2x=02x=0 by 22 and simplify.
Step 1.2.4.1
Divide each term in 2x=02x=0 by 22.
2x2=022x2=02
Step 1.2.4.2
Simplify the left side.
Step 1.2.4.2.1
Cancel the common factor of 22.
Step 1.2.4.2.1.1
Cancel the common factor.
2x2=02
Step 1.2.4.2.1.2
Divide x by 1.
x=02
x=02
x=02
Step 1.2.4.3
Simplify the right side.
Step 1.2.4.3.1
Divide 0 by 2.
x=0
x=0
x=0
Step 1.2.5
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.
2x=π-0
Step 1.2.6
Solve for x.
Step 1.2.6.1
Simplify.
Step 1.2.6.1.1
Multiply -1 by 0.
2x=π+0
Step 1.2.6.1.2
Add π and 0.
2x=π
2x=π
Step 1.2.6.2
Divide each term in 2x=π by 2 and simplify.
Step 1.2.6.2.1
Divide each term in 2x=π by 2.
2x2=π2
Step 1.2.6.2.2
Simplify the left side.
Step 1.2.6.2.2.1
Cancel the common factor of 2.
Step 1.2.6.2.2.1.1
Cancel the common factor.
2x2=π2
Step 1.2.6.2.2.1.2
Divide x by 1.
x=π2
x=π2
x=π2
x=π2
x=π2
Step 1.2.7
Find the period of sin(2x).
Step 1.2.7.1
The period of the function can be calculated using 2π|b|.
2π|b|
Step 1.2.7.2
Replace b with 2 in the formula for period.
2π|2|
Step 1.2.7.3
The absolute value is the distance between a number and zero. The distance between 0 and 2 is 2.
2π2
Step 1.2.7.4
Cancel the common factor of 2.
Step 1.2.7.4.1
Cancel the common factor.
2π2
Step 1.2.7.4.2
Divide π by 1.
π
π
π
Step 1.2.8
The period of the sin(2x) function is π so values will repeat every π radians in both directions.
x=πn,π2+πn, for any integer n
Step 1.2.9
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.
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 sin2(x) at each x value where the derivative is 0 or undefined.
Step 1.4.1
Evaluate at x=0.
Step 1.4.1.1
Substitute 0 for x.
sin2(0)
Step 1.4.1.2
Simplify.
Step 1.4.1.2.1
The exact value of sin(0) is 0.
02
Step 1.4.1.2.2
Raising 0 to any positive power yields 0.
0
0
0
Step 1.4.2
Evaluate at x=π2.
Step 1.4.2.1
Substitute π2 for x.
sin2(π2)
Step 1.4.2.2
Simplify.
Step 1.4.2.2.1
The exact value of sin(π2) is 1.
12
Step 1.4.2.2.2
One to any power is one.
1
1
1
Step 1.4.3
List all of the points.
(0+πn,0),(π2+πn,1), for any integer n
(0+πn,0),(π2+πn,1), for any integer n
(0+πn,0),(π2+πn,1), for any integer n
Step 2
Exclude the points that are not on the interval.
(π2,1)
Step 3
Step 3.1
Split (-∞,∞) into separate intervals around the x values that make the first derivative 0 or undefined.
(-∞,0)∪(0,π2)∪(π2,π)∪(π,∞)
Step 3.2
Substitute any number, such as -2, from the interval (-∞,0) in the first derivative sin(2x) to check if the result is negative or positive.
Step 3.2.1
Replace the variable x with -2 in the expression.
f′(-2)=sin(2(-2))
Step 3.2.2
Simplify the result.
Step 3.2.2.1
Multiply 2 by -2.
f′(-2)=sin(-4)
Step 3.2.2.2
Evaluate sin(-4).
f′(-2)=0.75680249
Step 3.2.2.3
The final answer is 0.75680249.
0.75680249
0.75680249
0.75680249
Step 3.3
Substitute any number, such as 1, from the interval (0,π2) in the first derivative sin(2x) to check if the result is negative or positive.
Step 3.3.1
Replace the variable x with 1 in the expression.
f′(1)=sin(2(1))
Step 3.3.2
Simplify the result.
Step 3.3.2.1
Multiply 2 by 1.
f′(1)=sin(2)
Step 3.3.2.2
Evaluate sin(2).
f′(1)=0.90929742
Step 3.3.2.3
The final answer is 0.90929742.
0.90929742
0.90929742
0.90929742
Step 3.4
Substitute any number, such as 2, from the interval (π2,π) in the first derivative sin(2x) to check if the result is negative or positive.
Step 3.4.1
Replace the variable x with 2 in the expression.
f′(2)=sin(2(2))
Step 3.4.2
Simplify the result.
Step 3.4.2.1
Multiply 2 by 2.
f′(2)=sin(4)
Step 3.4.2.2
Evaluate sin(4).
f′(2)=-0.75680249
Step 3.4.2.3
The final answer is -0.75680249.
-0.75680249
-0.75680249
-0.75680249
Step 3.5
Substitute any number, such as 6, from the interval (π,∞) in the first derivative sin(2x) to check if the result is negative or positive.
Step 3.5.1
Replace the variable x with 6 in the expression.
f′(6)=sin(2(6))
Step 3.5.2
Simplify the result.
Step 3.5.2.1
Multiply 2 by 6.
f′(6)=sin(12)
Step 3.5.2.2
Evaluate sin(12).
f′(6)=-0.53657291
Step 3.5.2.3
The final answer is -0.53657291.
-0.53657291
-0.53657291
-0.53657291
Step 3.6
Since the first derivative did not change signs around x=0, this is not a local maximum or minimum.
Not a local maximum or minimum
Step 3.7
Since the first derivative changed signs from positive to negative around x=π2, then x=π2 is a local maximum.
x=π2 is a local maximum
Step 3.8
Since the first derivative did not change signs around x=π, this is not a local maximum or minimum.
Not a local maximum or minimum
Step 3.9
These are the local extrema for f(x)=sin2(x).
x=π2 is a local maximum
x=π2 is a local maximum
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,1)
No absolute minimum
Step 5
