SOLVER7 Study. Nothing Else.
Chapter 6 Examples Q13

Find the intervals in which the function \(f\) given by
\(f(x) = sin\ x + cos\ x, 0\le x \le 2\pi\)

CBSE Class 12 Maths · Application of Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine a roller-coaster ride. Sometimes the track goes uphill, sometimes downhill. The function \( f(x) = \sin x + \cos x \) behaves the same way. We check whether the ride is going up or down at each point by looking at its slope. When the slope is positive, the function climbs upward. When the slope is negative, it slides downward. Two special points, \( x = \frac{\pi}{4} \) and \( x = \frac{5\pi}{4} \), act like the hilltop and valley, marking where the ride switches direction.

Answer: The function \( f(x) = \sin x + \cos x \) is strictly increasing on \( \left[0, \frac{\pi}{4}\right) \) and \( \left(\frac{5\pi}{4}, 2\pi\right] \), and strictly decreasing on \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \).

📖 Intervals of Increase and Decrease of sin x + cos x

Detailed Explanation

To find where a function is increasing or decreasing, we use the first derivative test. A function \( f \) is strictly increasing on an interval where \( f'(x) > 0 \) and strictly decreasing where \( f'(x) < 0 \). We first find \( f'(x) \), then locate the critical points where \( f'(x) = 0 \). These points split the interval \( [0, 2\pi] \) into sub-intervals. As shown in the number line (Fig 6.6), the critical points \( \frac{\pi}{4} \) and \( \frac{5\pi}{4} \) divide \( [0, 2\pi] \) into three parts, and we test the sign of \( f'(x) \) in each part.

Formula Used

If \( f'(x) > 0 \) then \( f \) is strictly increasing; if \( f'(x) < 0 \) then \( f \) is strictly decreasing. Here \( \frac{d}{dx}(\sin x) = \cos x \) and \( \frac{d}{dx}(\cos x) = -\sin x \).

Solution

  1. Step 1: Differentiate the function with respect to \( x \). \[ f(x) = \sin x + \cos x \] \[ f'(x) = \cos x - \sin x \]
  2. Step 2: Find the critical points by setting \( f'(x) = 0 \). \[ \cos x - \sin x = 0 \] This gives \[ \tan x = 1 \] In the interval \( 0 \le x \le 2\pi \), the solutions are \[ x = \frac{\pi}{4}, \quad x = \frac{5\pi}{4} \]
  3. Step 3: These two points divide \( [0, 2\pi] \) into three intervals, exactly as shown in Fig 6.6: \[ \left[0, \frac{\pi}{4}\right), \quad \left(\frac{\pi}{4}, \frac{5\pi}{4}\right), \quad \left(\frac{5\pi}{4}, 2\pi\right] \] We now test the sign of \( f'(x) = \cos x - \sin x \) in each.
  4. Step 4: Test the interval \( \left(0, \frac{\pi}{4}\right) \). Choose \( x = 0 \): \[ f'(0) = \cos 0 - \sin 0 = 1 - 0 = 1 > 0 \] Since \( f'(x) > 0 \), the function is strictly increasing here.
  5. Step 5: Test the interval \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \). Choose \( x = \frac{\pi}{2} \): \[ f'\left(\frac{\pi}{2}\right) = \cos\frac{\pi}{2} - \sin\frac{\pi}{2} = 0 - 1 = -1 < 0 \] Since \( f'(x) < 0 \), the function is strictly decreasing here.
  6. Step 6: Test the interval \( \left(\frac{5\pi}{4}, 2\pi\right) \). Choose \( x = \frac{3\pi}{2} \): \[ f'\left(\frac{3\pi}{2}\right) = \cos\frac{3\pi}{2} - \sin\frac{3\pi}{2} = 0 - (-1) = 1 > 0 \] Since \( f'(x) > 0 \), the function is strictly increasing here.
  7. Step 7: Combine the results. The function increases, then decreases, then increases again over \( [0, 2\pi] \), matching the three regions on the number line in Fig 6.6.

Final Answer

The function \( f(x) = \sin x + \cos x \) is strictly increasing on \( \left[0, \frac{\pi}{4}\right) \) and \( \left(\frac{5\pi}{4}, 2\pi\right] \), and strictly decreasing on \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \).

Common Mistake

A common mistake is to differentiate \( \cos x \) incorrectly and write \( f'(x) = \cos x + \sin x \) instead of \( \cos x - \sin x \), forgetting that \( \frac{d}{dx}(\cos x) = -\sin x \). This leads to wrong critical points and reversed intervals.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Differentiate the function: We are given \( f(x) = \sin x + \cos x \). Differentiating term-by-term with respect to \( x \): \[f'(x) = \cos x - \sin x\] Reason: The derivative tells us the instantaneous rate of change. Its sign will reveal where the function rises or falls.
  2. Step 2: Locate the critical points: Set \( f'(x) = 0 \) and solve: \[\cos x - \sin x = 0\] This simplifies to \( \cos x = \sin x \), or equivalently \( \tan x = 1 \). Within the closed interval \( [0, 2\pi] \), the solutions are \[x = \frac{\pi}{4}, \quad x = \frac{5\pi}{4}\] Reason: Critical points are where the derivative changes sign, so they act as the natural boundaries between increasing and decreasing regions.
  3. Step 3: Divide the domain into sub-intervals: The two critical points \( x = \frac{\pi}{4} \) and \( x = \frac{5\pi}{4} \) split \( [0, 2\pi] \) into three parts: \[\left[0,\, \frac{\pi}{4}\right), \quad \left(\frac{\pi}{4},\, \frac{5\pi}{4}\right), \quad \left(\frac{5\pi}{4},\, 2\pi\right]\] Reason: The sign of \( f'(x) \) is constant within each sub-interval (no zero-crossing inside), so we can determine monotonicity by testing a single point from each.
  4. Step 4: Test the first sub-interval: Choose the test point \( x = 0 \) from \( \left[0, \frac{\pi}{4}\right) \). Then \[f'(0) = \cos 0 - \sin 0 = 1 - 0 = 1 > 0\] Reason: A positive value of \( f'(x) \) at any interior test point confirms that \( f \) is strictly increasing throughout this sub-interval.
  5. Step 5: Test the second sub-interval: Choose the test point \( x = \frac{\pi}{2} \) from \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \). Then \[f'\!\left(\frac{\pi}{2}\right) = \cos\frac{\pi}{2} - \sin\frac{\pi}{2} = 0 - 1 = -1 < 0\] Reason: A negative derivative confirms that \( f \) is strictly decreasing throughout this middle sub-interval.
  6. Step 6: Test the third sub-interval: Choose the test point \( x = \frac{3\pi}{2} \) from \( \left(\frac{5\pi}{4}, 2\pi\right] \). Then \[f'\!\left(\frac{3\pi}{2}\right) = \cos\frac{3\pi}{2} - \sin\frac{3\pi}{2} = 0 - (-1) = 1 > 0\] Reason: A positive derivative confirms that \( f \) is strictly increasing again on this final sub-interval.
  7. Step 7: Summarise the results: Combining the sign analysis from all three sub-intervals: - \( f'(x) > 0 \) on \( \left[0, \frac{\pi}{4}\right) \) — strictly increasing. - \( f'(x) < 0 \) on \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \) — strictly decreasing. - \( f'(x) > 0 \) on \( \left(\frac{5\pi}{4}, 2\pi\right] \) — strictly increasing. Reason: Gathering all sign conclusions gives us the complete monotonicity picture of \( f \) over \( [0, 2\pi] \).

Final Answer

The function \( f(x) = \sin x + \cos x \) is strictly increasing on \( \left[0, \frac{\pi}{4}\right) \) and \( \left(\frac{5\pi}{4}, 2\pi\right] \), and strictly decreasing on \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \).

Common Mistake

One common mistake: After solving \( \tan x = 1 \), students often write only \( x = \frac{\pi}{4} \) and forget the second solution \( x = \frac{5\pi}{4} \) in \( [0, 2\pi] \). Missing this second critical point leads to an incomplete (and incorrect) interval analysis.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Differentiate: \[f(x) = \sin x + \cos x \implies f'(x) = \cos x - \sin x\]
  2. Step 2: Find critical points: Set \( f'(x) = 0 \): \( \cos x - \sin x = 0 \implies \tan x = 1 \implies x = \dfrac{\pi}{4},\, \dfrac{5\pi}{4} \) on \( [0, 2\pi] \)
  3. Step 3: Sign of f'(x) on each sub-interval: On \( \left[0, \dfrac{\pi}{4}\right) \): \( f'(0) = 1 > 0 \) (increasing). On \( \left(\dfrac{\pi}{4}, \dfrac{5\pi}{4}\right) \): \( f'\!\left(\dfrac{\pi}{2}\right) = -1 < 0 \) (decreasing). On \( \left(\dfrac{5\pi}{4}, 2\pi\right] \): \( f'(2\pi) = 1 > 0 \) (increasing).

Answer: The function \( f(x) = \sin x + \cos x \) is strictly increasing on \( \left[0, \frac{\pi}{4}\right) \) and \( \left(\frac{5\pi}{4}, 2\pi\right] \), and strictly decreasing on \( \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \).

➕ More Examples

More Examples

Example 1

Question: Find the intervals in which the function \( f(x) = \sin x - \cos x \) is strictly increasing or strictly decreasing on \( [0, 2\pi] \).

Solution: Step 1: Differentiate f(x). \[f'(x) = \cos x + \sin x\] Step 2: Set f'(x) = 0 to find critical points in \( [0, 2\pi] \). \[\cos x + \sin x = 0\] Dividing both sides by \( \cos x \) (where \( \cos x \ne 0 \)): \[\tan x = -1\] In \( [0, 2\pi] \), this gives \[x = \frac{3\pi}{4} \quad \text{and} \quad x = \frac{7\pi}{4}\] Step 3: The critical points divide \( [0, 2\pi] \) into three sub-intervals: \( \left[0, \frac{3\pi}{4}\right] \), \( \left[\frac{3\pi}{4}, \frac{7\pi}{4}\right] \), and \( \left[\frac{7\pi}{4}, 2\pi\right] \). Step 4: Check the sign of \( f'(x) = \cos x + \sin x \) in each interval. For \( x = \frac{\pi}{4} \in \left(0, \frac{3\pi}{4}\right) \): \[f'\!\left(\frac{\pi}{4}\right) = \cos\frac{\pi}{4} + \sin\frac{\pi}{4} = \frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}} = \sqrt{2} > 0\] So f is increasing on \( \left[0, \frac{3\pi}{4}\right] \). For \( x = \pi \in \left(\frac{3\pi}{4}, \frac{7\pi}{4}\right) \): \[f'(\pi) = \cos\pi + \sin\pi = -1 + 0 = -1 < 0\] So f is decreasing on \( \left[\frac{3\pi}{4}, \frac{7\pi}{4}\right] \). For \( x = \frac{15\pi}{8} \in \left(\frac{7\pi}{4}, 2\pi\right) \): \[f'\!\left(\frac{15\pi}{8}\right) = \cos\frac{15\pi}{8} + \sin\frac{15\pi}{8} > 0\] (Both terms together are positive in this interval.) So f is increasing on \( \left[\frac{7\pi}{4}, 2\pi\right] \).

Answer: Strictly increasing on \( \left[0,\, \frac{3\pi}{4}\right] \) and \( \left[\frac{7\pi}{4},\, 2\pi\right] \); strictly decreasing on \( \left[\frac{3\pi}{4},\, \frac{7\pi}{4}\right] \).

Example 2

Question: Find the intervals in which \( f(x) = 2\sin x - \cos 2x \) is strictly increasing or strictly decreasing on \( \left[0, \pi\right] \).

Solution: Step 1: Differentiate f(x). \[f'(x) = 2\cos x + 2\sin 2x\] Using \( \sin 2x = 2\sin x \cos x \): \[f'(x) = 2\cos x + 4\sin x \cos x = 2\cos x(1 + 2\sin x)\] Step 2: Set \( f'(x) = 0 \). \[2\cos x(1 + 2\sin x) = 0\] This gives either \( \cos x = 0 \) or \( \sin x = -\frac{1}{2} \). In \( [0, \pi] \): from \( \cos x = 0 \): \[x = \frac{\pi}{2}\] from \( \sin x = -\frac{1}{2} \): there is no solution in \( [0, \pi] \) since \( \sin x \ge 0 \) on this interval. Step 3: The critical point \( x = \frac{\pi}{2} \) divides \( [0, \pi] \) into \( \left[0, \frac{\pi}{2}\right] \) and \( \left[\frac{\pi}{2}, \pi\right] \). Step 4: Analyse the sign of \( f'(x) = 2\cos x(1 + 2\sin x) \). Note that \( 1 + 2\sin x \ge 1 > 0 \) for all \( x \in [0, \pi] \), so the sign of \( f'(x) \) depends entirely on \( \cos x \). On \( \left(0, \frac{\pi}{2}\right) \): \( \cos x > 0 \), so \( f'(x) > 0 \). Therefore f is strictly increasing on \( \left[0, \frac{\pi}{2}\right] \). On \( \left(\frac{\pi}{2}, \pi\right) \): \( \cos x < 0 \), so \( f'(x) < 0 \). Therefore f is strictly decreasing on \( \left[\frac{\pi}{2}, \pi\right] \).

Answer: Strictly increasing on \( \left[0,\, \frac{\pi}{2}\right] \); strictly decreasing on \( \left[\frac{\pi}{2},\, \pi\right] \).

🎯 Try a Similar Question

Try a Similar Question

Question: Find the intervals in which the function \( f \) given by \( f(x) = \sin x - \cos x \), \( 0 \le x \le 2\pi \), is strictly increasing or strictly decreasing.

Solution

  1. Step 1: Differentiate the function: We have \( f(x) = \sin x - \cos x \). Differentiating with respect to \( x \): \[ f'(x) = \cos x + \sin x \]
  2. Step 2: Find the critical points: Set \( f'(x) = 0 \): \[ \cos x + \sin x = 0 \] This gives \( \sin x = -\cos x \), i.e., \( \tan x = -1 \). In the interval \( [0, 2\pi] \), the solutions are \( x = \dfrac{3\pi}{4} \) and \( x = \dfrac{7\pi}{4} \).
  3. Step 3: Identify the sub-intervals: The critical points \( x = \dfrac{3\pi}{4} \) and \( x = \dfrac{7\pi}{4} \) divide \( [0, 2\pi] \) into three sub-intervals: \( \left[0,\, \dfrac{3\pi}{4}\right) \), \( \left(\dfrac{3\pi}{4},\, \dfrac{7\pi}{4}\right) \), and \( \left(\dfrac{7\pi}{4},\, 2\pi\right] \).
  4. Step 4: Test the sign of f'(x) on each sub-interval: On \( \left(0,\, \dfrac{3\pi}{4}\right) \): Test \( x = \dfrac{\pi}{4} \). Then \( f'\!\left(\dfrac{\pi}{4}\right) = \cos\dfrac{\pi}{4} + \sin\dfrac{\pi}{4} = \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{2}} = \sqrt{2} > 0 \). So \( f \) is strictly increasing here. On \( \left(\dfrac{3\pi}{4},\, \dfrac{7\pi}{4}\right) \): Test \( x = \pi \). Then \( f'(\pi) = \cos\pi + \sin\pi = -1 + 0 = -1 < 0 \). So \( f \) is strictly decreasing here. On \( \left(\dfrac{7\pi}{4},\, 2\pi\right) \): Test \( x = \dfrac{15\pi}{8} \). Then \( \cos\dfrac{15\pi}{8} > 0 \) and \( \sin\dfrac{15\pi}{8} < 0 \) but \( |\cos| > |\sin| \), so \( f'(x) > 0 \). So \( f \) is strictly increasing here.
  5. Step 5: State the conclusion: The function \( f(x) = \sin x - \cos x \) is strictly increasing on \( \left[0,\, \dfrac{3\pi}{4}\right) \) and \( \left(\dfrac{7\pi}{4},\, 2\pi\right] \), and strictly decreasing on \( \left(\dfrac{3\pi}{4},\, \dfrac{7\pi}{4}\right) \).

Answer: The function \( f(x) = \sin x - \cos x \) is strictly increasing on \( \left[0, \dfrac{3\pi}{4}\right) \) and \( \left(\dfrac{7\pi}{4}, 2\pi\right] \), and strictly decreasing on \( \left(\dfrac{3\pi}{4}, \dfrac{7\pi}{4}\right) \).

Everything you get with Solver7

More questions in Application of Derivatives

Chapter 6 Examples Q1 Chapter 6 Examples Q2 Chapter 6 Examples Q3 Chapter 6 Examples Q4 65/1/1 2024 / Section A Q4 Chapter 6 Examples Q5 65(B) 2026 / Section A Q5 65/2/1 2024 / Section A Q5 65/3/1 2024 / Section A Q5 Chapter 6 Examples Q6 65/4/1 2026 / Section A Q6 Chapter 6 Examples Q7 65/1/1 2026 / Section A Q7 Chapter 6 Examples Q8 Chapter 6 Examples Q9(i) 65/3/1 2026 / Section A Q9 65/5/1 2026 / Section A Q9 Chapter 6 Examples Q9(ii) Chapter 6 Examples Q9(iii) Chapter 6 Examples Q10 Chapter 6 Examples Q11 65/2/3 2026 / Section A Q13 Chapter 6 Examples Q12 Chapter 6 Examples Q14 65/1/1 2023 / Section A Q16 Chapter 6 Examples Q15 Chapter 6 Examples Q16 65/4/2 2024 / Section A Q18 Chapter 6 Examples Q17 65(B) 2026 / Section A Q19 Chapter 6 Examples Q18 Chapter 6 Examples Q19 65/4/2 2024 / Section B Q21 Chapter 6 Examples Q20 65/3/1 2026 / Section B Q22 Chapter 6 Examples Q21 65(B) 2026 / Section B Q22(a) 65/1/1 2024 / Section B Q22 65/1/1 2026 / Section B Q22 65/3/1 2023 / Section B Q23 Chapter 6 Examples Q22 65(B) 2026 / Section B Q22(b) 65/4/1 2023 / Section B Q23 65/4/1 2026 / Section B Q23 65/4/2 2024 / Section B Q23 65/5/1 2026 / Section B Q23 Chapter 6 Examples Q23 65/2/1 2024 / Section B Q23 65/2/3 2026 / Section B Q24(a) Chapter 6 Examples Q24 65/2/3 2026 / Section B Q24(b) Chapter 6 Examples Q25 65/1/1 2023 / Section B Q25 65/2/1 2024 / Section B Q25 65/2/2 2023 / Section B Q25 Chapter 6 Examples Q26 Chapter 6 Examples Q27 Chapter 6 Examples Q28 65/3/1 2024 / Section C Q27(a) Chapter 6 Examples Q29