Enter a problem...
Calculus Examples
f(x)=5cos2(x)f(x)=5cos2(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
Since 55 is constant with respect to xx, the derivative of 5cos2(x)5cos2(x) with respect to xx is 5ddx[cos2(x)]5ddx[cos2(x)].
5ddx[cos2(x)]5ddx[cos2(x)]
Step 1.1.1.2
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)=cos(x)g(x)=cos(x).
Step 1.1.1.2.1
To apply the Chain Rule, set uu as cos(x)cos(x).
5(ddu[u2]ddx[cos(x)])5(ddu[u2]ddx[cos(x)])
Step 1.1.1.2.2
Differentiate using the Power Rule which states that ddu[un]ddu[un] is nun-1nun−1 where n=2n=2.
5(2uddx[cos(x)])5(2uddx[cos(x)])
Step 1.1.1.2.3
Replace all occurrences of uu with cos(x)cos(x).
5(2cos(x)ddx[cos(x)])5(2cos(x)ddx[cos(x)])
5(2cos(x)ddx[cos(x)])5(2cos(x)ddx[cos(x)])
Step 1.1.1.3
Multiply 22 by 55.
10(cos(x)ddx[cos(x)])10(cos(x)ddx[cos(x)])
Step 1.1.1.4
The derivative of cos(x)cos(x) with respect to xx is -sin(x)−sin(x).
10cos(x)(-sin(x))10cos(x)(−sin(x))
Step 1.1.1.5
Multiply -1−1 by 1010.
f′(x)=-10cos(x)sin(x)f'(x)=−10cos(x)sin(x)
f′(x)=-10cos(x)sin(x)f'(x)=−10cos(x)sin(x)
Step 1.1.2
The first derivative of f(x)f(x) with respect to xx is -10cos(x)sin(x)−10cos(x)sin(x).
-10cos(x)sin(x)−10cos(x)sin(x)
-10cos(x)sin(x)−10cos(x)sin(x)
Step 1.2
Set the first derivative equal to 00 then solve the equation -10cos(x)sin(x)=0−10cos(x)sin(x)=0.
Step 1.2.1
Set the first derivative equal to 00.
-10cos(x)sin(x)=0−10cos(x)sin(x)=0
Step 1.2.2
If any individual factor on the left side of the equation is equal to 00, the entire expression will be equal to 00.
cos(x)=0cos(x)=0
sin(x)=0sin(x)=0
Step 1.2.3
Set cos(x)cos(x) equal to 00 and solve for xx.
Step 1.2.3.1
Set cos(x)cos(x) equal to 00.
cos(x)=0cos(x)=0
Step 1.2.3.2
Solve cos(x)=0cos(x)=0 for xx.
Step 1.2.3.2.1
Take the inverse cosine of both sides of the equation to extract xx from inside the cosine.
x=arccos(0)x=arccos(0)
Step 1.2.3.2.2
Simplify the right side.
Step 1.2.3.2.2.1
The exact value of arccos(0)arccos(0) is π2π2.
x=π2x=π2
x=π2x=π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π2π to find the solution in the fourth quadrant.
x=2π-π2x=2π−π2
Step 1.2.3.2.4
Simplify 2π-π22π−π2.
Step 1.2.3.2.4.1
To write 2π2π as a fraction with a common denominator, multiply by 2222.
x=2π⋅22-π2x=2π⋅22−π2
Step 1.2.3.2.4.2
Combine fractions.
Step 1.2.3.2.4.2.1
Combine 2π2π and 2222.
x=2π⋅22-π2x=2π⋅22−π2
Step 1.2.3.2.4.2.2
Combine the numerators over the common denominator.
x=2π⋅2-π2x=2π⋅2−π2
x=2π⋅2-π2x=2π⋅2−π2
Step 1.2.3.2.4.3
Simplify the numerator.
Step 1.2.3.2.4.3.1
Multiply 22 by 22.
x=4π-π2x=4π−π2
Step 1.2.3.2.4.3.2
Subtract ππ from 4π4π.
x=3π2x=3π2
x=3π2x=3π2
x=3π2x=3π2
Step 1.2.3.2.5
Find the period of cos(x)cos(x).
Step 1.2.3.2.5.1
The period of the function can be calculated using 2π|b|2π|b|.
2π|b|2π|b|
Step 1.2.3.2.5.2
Replace bb with 11 in the formula for period.
2π|1|2π|1|
Step 1.2.3.2.5.3
The absolute value is the distance between a number and zero. The distance between 00 and 11 is 11.
2π12π1
Step 1.2.3.2.5.4
Divide 2π2π by 11.
2π2π
2π2π
Step 1.2.3.2.6
The period of the cos(x)cos(x) function is 2π2π so values will repeat every 2π2π radians in both directions.
x=π2+2πn,3π2+2πnx=π2+2πn,3π2+2πn, for any integer nn
x=π2+2πn,3π2+2πnx=π2+2πn,3π2+2πn, for any integer nn
x=π2+2πn,3π2+2πnx=π2+2πn,3π2+2πn, for any integer nn
Step 1.2.4
Set sin(x)sin(x) equal to 00 and solve for xx.
Step 1.2.4.1
Set sin(x)sin(x) equal to 00.
sin(x)=0sin(x)=0
Step 1.2.4.2
Solve sin(x)=0sin(x)=0 for xx.
Step 1.2.4.2.1
Take the inverse sine of both sides of the equation to extract xx from inside the sine.
x=arcsin(0)x=arcsin(0)
Step 1.2.4.2.2
Simplify the right side.
Step 1.2.4.2.2.1
The exact value of arcsin(0)arcsin(0) is 00.
x=0x=0
x=0x=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=π-0x=π−0
Step 1.2.4.2.4
Subtract 00 from ππ.
x=πx=π
Step 1.2.4.2.5
Find the period of sin(x)sin(x).
Step 1.2.4.2.5.1
The period of the function can be calculated using 2π|b|2π|b|.
2π|b|2π|b|
Step 1.2.4.2.5.2
Replace bb with 11 in the formula for period.
2π|1|2π|1|
Step 1.2.4.2.5.3
The absolute value is the distance between a number and zero. The distance between 00 and 11 is 11.
2π12π1
Step 1.2.4.2.5.4
Divide 2π2π by 11.
2π2π
2π2π
Step 1.2.4.2.6
The period of the sin(x)sin(x) function is 2π2π so values will repeat every 2π2π radians in both directions.
x=2πn,π+2πnx=2πn,π+2πn, for any integer nn
x=2πn,π+2πnx=2πn,π+2πn, for any integer nn
x=2πn,π+2πnx=2πn,π+2πn, for any integer nn
Step 1.2.5
The final solution is all the values that make -10cos(x)sin(x)=0−10cos(x)sin(x)=0 true.
x=π2+2πn,3π2+2πn,2πn,π+2πnx=π2+2πn,3π2+2πn,2πn,π+2πn, for any integer nn
Step 1.2.6
Consolidate the answers.
x=πn2x=πn2, for any integer nn
x=πn2x=πn2, for any integer nn
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 5cos2(x)5cos2(x) at each xx value where the derivative is 00 or undefined.
Step 1.4.1
Evaluate at x=0x=0.
Step 1.4.1.1
Substitute 00 for xx.
5cos2(0)5cos2(0)
Step 1.4.1.2
Simplify.
Step 1.4.1.2.1
The exact value of cos(0)cos(0) is 11.
5⋅125⋅12
Step 1.4.1.2.2
One to any power is one.
5⋅1
Step 1.4.1.2.3
Multiply 5 by 1.
5
5
5
Step 1.4.2
Evaluate at x=π2.
Step 1.4.2.1
Substitute π2 for x.
5cos2(π2)
Step 1.4.2.2
Simplify.
Step 1.4.2.2.1
The exact value of cos(π2) is 0.
5⋅02
Step 1.4.2.2.2
Raising 0 to any positive power yields 0.
5⋅0
Step 1.4.2.2.3
Multiply 5 by 0.
0
0
0
Step 1.4.3
List all of the points.
(0+πn,5),(π2+πn,0), for any integer n
(0+πn,5),(π2+πn,0), for any integer n
(0+πn,5),(π2+πn,0), for any integer n
Step 2
Exclude the points that are not on the interval.
(π2,0)
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 -10cos(x)sin(x) to check if the result is negative or positive.
Step 3.2.1
Replace the variable x with -2 in the expression.
f′(-2)=-10cos(-2)sin(-2)
Step 3.2.2
Simplify the result.
Step 3.2.2.1
Evaluate cos(-2).
f′(-2)=-10⋅(-0.41614683sin(-2))
Step 3.2.2.2
Multiply -10 by -0.41614683.
f′(-2)=4.16146836sin(-2)
Step 3.2.2.3
Evaluate sin(-2).
f′(-2)=4.16146836⋅-0.90929742
Step 3.2.2.4
Multiply 4.16146836 by -0.90929742.
f′(-2)=-3.78401247
Step 3.2.2.5
The final answer is -3.78401247.
-3.78401247
-3.78401247
-3.78401247
Step 3.3
Substitute any number, such as 1, from the interval (0,π2) in the first derivative -10cos(x)sin(x) to check if the result is negative or positive.
Step 3.3.1
Replace the variable x with 1 in the expression.
f′(1)=-10cos(1)sin(1)
Step 3.3.2
Simplify the result.
Step 3.3.2.1
Evaluate cos(1).
f′(1)=-10⋅(0.5403023sin(1))
Step 3.3.2.2
Multiply -10 by 0.5403023.
f′(1)=-5.40302305sin(1)
Step 3.3.2.3
Evaluate sin(1).
f′(1)=-5.40302305⋅0.84147098
Step 3.3.2.4
Multiply -5.40302305 by 0.84147098.
f′(1)=-4.54648713
Step 3.3.2.5
The final answer is -4.54648713.
-4.54648713
-4.54648713
-4.54648713
Step 3.4
Substitute any number, such as 2, from the interval (π2,π) in the first derivative -10cos(x)sin(x) to check if the result is negative or positive.
Step 3.4.1
Replace the variable x with 2 in the expression.
f′(2)=-10cos(2)sin(2)
Step 3.4.2
Simplify the result.
Step 3.4.2.1
Evaluate cos(2).
f′(2)=-10⋅(-0.41614683sin(2))
Step 3.4.2.2
Multiply -10 by -0.41614683.
f′(2)=4.16146836sin(2)
Step 3.4.2.3
Evaluate sin(2).
f′(2)=4.16146836⋅0.90929742
Step 3.4.2.4
Multiply 4.16146836 by 0.90929742.
f′(2)=3.78401247
Step 3.4.2.5
The final answer is 3.78401247.
3.78401247
3.78401247
3.78401247
Step 3.5
Substitute any number, such as 6, from the interval (π,∞) in the first derivative -10cos(x)sin(x) to check if the result is negative or positive.
Step 3.5.1
Replace the variable x with 6 in the expression.
f′(6)=-10cos(6)sin(6)
Step 3.5.2
Simplify the result.
Step 3.5.2.1
Evaluate cos(6).
f′(6)=-10⋅(0.96017028sin(6))
Step 3.5.2.2
Multiply -10 by 0.96017028.
f′(6)=-9.60170286sin(6)
Step 3.5.2.3
Evaluate sin(6).
f′(6)=-9.60170286⋅-0.27941549
Step 3.5.2.4
Multiply -9.60170286 by -0.27941549.
f′(6)=2.68286459
Step 3.5.2.5
The final answer is 2.68286459.
2.68286459
2.68286459
2.68286459
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 negative to positive around x=π2, then x=π2 is a local minimum.
x=π2 is a local minimum
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)=5cos2(x).
x=π2 is a local minimum
x=π2 is a local minimum
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.
No absolute maximum
Absolute Minimum: (π2,0)
Step 5