Find the intervals in which the following function is increasing or decreasing. f(x) = 3x - 3x , 0 < x < π
Question 603 marksMedium
Find the intervals in which the following function is increasing or decreasing.
f(x)=sin3x−cos3x, 0<x<π
Solution:
Key idea: A function is increasing where f′(x)>0 and decreasing where f′(x)<0. Writing asinθ+bcosθ as a single sine, a2+b2sin(θ+α), makes its sign easy to read.
Step 1 — Differentiate with the chain rule.
The derivative of sin3x is 3cos3x and the derivative of cos3x is −3sin3x.
f′(x)=3cos3x+3sin3x
Step 2 — Write the derivative as a single sine.
We take out 32, use the values cos4π and sin4π, both equal to 21, and then write sinAcosB+cosAsinB as sin(A+B).
f′(x)=32(21sin3x+21cos3x)
f′(x)=32(sin3xcos4π+cos3xsin4π)
f′(x)=32sin(3x+4π)
Since 32>0, the sign of f′(x) is the sign of sinθ, where θ=3x+4π.
Step 3 — Find the range of θ.
We multiply 0<x<π by 3 and add 4π.
4π<θ<3π+4π
4π<θ<413π
Step 4 — Find where sinθ changes sign.
In this range sinθ is zero at θ=π, 2π and 3π. We change back to x with x=3θ−12π.
Value of θ
Value of x
π
4π
2π
127π
3π
1211π
Step 5 — Tabulate the sign of f′(x).
Sine is positive between 0 and π (and between 2π and 3π) and negative between π and 2π (and between 3π and 4π).
Range of θ
Range of x
Sign of f′(x)
f is
(4π,π)
(0,4π)
+
increasing
(π,2π)
(4π,127π)
−
decreasing
(2π,3π)
(127π,1211π)
+
increasing
(3π,413π)
(1211π,π)
−
decreasing
Therefore, f is increasing on (0,4π)∪(127π,1211π) and decreasing on (4π,127π)∪(1211π,π).