SOLVER7 Study. Nothing Else.
2026 Board Paper Q32(a)

Find the sub-interval of \(\left(0,\dfrac{\pi}{2}\right)\) in which \(f(x) = log\ (sin\ x + cos\ x)\) is increasing and decreasing.

CBSE Class 12 Maths · Application of Derivatives

Solution

👶 Simple Explanation

Simple Explanation

Imagine a hill — you go uphill for a while, reach the top, then come downhill. This function \( f(x) = \log(\sin x + \cos x) \) behaves exactly like that hill. Between \( 0 \) and \( \dfrac{\pi}{4} \), the function climbs upward. At \( x = \dfrac{\pi}{4} \), it reaches its peak. After that, all the way to \( \dfrac{\pi}{2} \), it slides back down. The top of the hill is where the function switches from going up to going down.

Answer: \( f(x) \) is increasing on \( \left(0,\dfrac{\pi}{4}\right) \) and decreasing on \( \left(\dfrac{\pi}{4},\dfrac{\pi}{2}\right) \).

📖 Increasing and Decreasing Intervals of f(x) = log(sin x + cos x)

Detailed Explanation

A function \( f(x) \) is increasing on an interval where \( f'(x) > 0 \) and decreasing where \( f'(x) < 0 \). To analyse monotonicity, we differentiate the function, find the points where \( f'(x) = 0 \) (the critical points inside the interval), and then check the sign of \( f'(x) \) in each sub-interval. Here the function involves a logarithm, so we use the chain rule: the derivative of \( \log(u) \) is \( \frac{1}{u}\cdot\frac{du}{dx} \). Since \( \sin x + \cos x > 0 \) throughout \( \left(0,\dfrac{\pi}{2}\right) \), the logarithm and its derivative are well defined.

Formula Used

If \( f'(x) > 0 \), then \( f \) is increasing; if \( f'(x) < 0 \), then \( f \) is decreasing. Also \( \frac{d}{dx}\log(u) = \frac{1}{u}\cdot\frac{du}{dx} \).

Solution

  1. Step 1: Write the function and differentiate it using the chain rule. We have \( f(x) = \log(\sin x + \cos x) \). Differentiating gives \[ f'(x) = \frac{1}{\sin x + \cos x}\cdot \frac{d}{dx}(\sin x + \cos x). \]
  2. Step 2: Compute the inner derivative. Since \( \frac{d}{dx}(\sin x + \cos x) = \cos x - \sin x \), we get \[ f'(x) = \frac{\cos x - \sin x}{\sin x + \cos x}. \]
  3. Step 3: Note the denominator sign. For all \( x \in \left(0,\dfrac{\pi}{2}\right) \), both \( \sin x > 0 \) and \( \cos x > 0 \), so \( \sin x + \cos x > 0 \). Therefore the sign of \( f'(x) \) depends only on the numerator \( \cos x - \sin x \).
  4. Step 4: Find the critical point by setting the numerator equal to zero. \[ \cos x - \sin x = 0 \] gives \[ \tan x = 1, \] so \[ x = \frac{\pi}{4}. \] This point lies inside \( \left(0,\dfrac{\pi}{2}\right) \) and splits it into two sub-intervals.
  5. Step 5: Check the sign on \( \left(0,\dfrac{\pi}{4}\right) \). For \( 0 < x < \dfrac{\pi}{4} \), we have \( \cos x > \sin x \), so \( \cos x - \sin x > 0 \), which means \( f'(x) > 0 \). Hence \( f \) is increasing on \( \left(0,\dfrac{\pi}{4}\right) \).
  6. Step 6: Check the sign on \( \left(\dfrac{\pi}{4},\dfrac{\pi}{2}\right) \). For \( \dfrac{\pi}{4} < x < \dfrac{\pi}{2} \), we have \( \sin x > \cos x \), so \( \cos x - \sin x < 0 \), which means \( f'(x) < 0 \). Hence \( f \) is decreasing on \( \left(\dfrac{\pi}{4},\dfrac{\pi}{2}\right) \).

Final Answer

\( f(x) \) is increasing on \( \left(0,\dfrac{\pi}{4}\right) \) and decreasing on \( \left(\dfrac{\pi}{4},\dfrac{\pi}{2}\right) \).

Common Mistake

A common mistake is to worry about the sign of the denominator \( \sin x + \cos x \) or to forget it, and thus wrongly analyse the sign of \( f'(x) \). On \( \left(0,\dfrac{\pi}{2}\right) \) the denominator is always positive, so only the numerator \( \cos x - \sin x \) controls the sign.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the function clearly: \( f(x) = \log(\sin x + \cos x) \) defined on \( \left(0, \dfrac{\pi}{2}\right) \). — Reason: Identifying the domain first ensures the logarithm is well-defined, since we need \( \sin x + \cos x > 0 \) throughout. Both \( \sin x \) and \( \cos x \) are strictly positive on this open interval, so their sum is always positive.
  2. Step 2: Differentiate \( f(x) \) using the chain rule for logarithms. Setting \( u = \sin x + \cos x \), we get \[f'(x) = \frac{1}{\sin x + \cos x} \cdot \frac{d}{dx}(\sin x + \cos x).\] — Reason: The chain rule tells us to multiply the outer derivative \( \tfrac{1}{u} \) by the inner derivative \( \tfrac{du}{dx} \).
  3. Step 3: Compute the inner derivative: \[\frac{d}{dx}(\sin x + \cos x) = \cos x - \sin x.\] Substituting back gives \[f'(x) = \frac{\cos x - \sin x}{\sin x + \cos x}.\] — Reason: The derivative of \( \sin x \) is \( \cos x \) and the derivative of \( \cos x \) is \( -\sin x \), so the numerator becomes \( \cos x - \sin x \).
  4. Step 4: Observe that the denominator \( \sin x + \cos x > 0 \) for all \( x \in \left(0, \dfrac{\pi}{2}\right) \), so the sign of \( f'(x) \) is determined entirely by the numerator \( \cos x - \sin x \). — Reason: A positive denominator never flips the inequality, so we only need to analyse when \( \cos x - \sin x \) is positive or negative.
  5. Step 5: Find the critical point by solving \( \cos x - \sin x = 0 \), which gives \( \cos x = \sin x \), i.e. \( \tan x = 1 \). In the interval \( \left(0, \dfrac{\pi}{2}\right) \), the unique solution is \( x = \dfrac{\pi}{4} \). — Reason: The critical point divides the interval into two sub-intervals where the sign of \( f'(x) \) is constant, allowing us to apply the sign test.
  6. Step 6: Test the sign of \( f'(x) \) on each sub-interval. On \( \left(0, \dfrac{\pi}{4}\right) \): choose \( x = \dfrac{\pi}{6} \), then \( \cos\dfrac{\pi}{6} = \dfrac{\sqrt{3}}{2} \) and \( \sin\dfrac{\pi}{6} = \dfrac{1}{2} \), so the numerator \( \cos x - \sin x = \dfrac{\sqrt{3}-1}{2} > 0 \), meaning \( f'(x) > 0 \). On \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \): choose \( x = \dfrac{\pi}{3} \), then \( \cos\dfrac{\pi}{3} = \dfrac{1}{2} \) and \( \sin\dfrac{\pi}{3} = \dfrac{\sqrt{3}}{2} \), so the numerator \( \cos x - \sin x = \dfrac{1-\sqrt{3}}{2} < 0 \), meaning \( f'(x) < 0 \). — Reason: Plugging a test point from each sub-interval into the numerator directly reveals whether the function is rising or falling there.
  7. Step 7: Conclude the monotonicity: since \( f'(x) > 0 \) on \( \left(0, \dfrac{\pi}{4}\right) \), the function is increasing there; since \( f'(x) < 0 \) on \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \), the function is decreasing there. — Reason: This is the direct application of the first-derivative test for monotonicity.

Final Answer

\( f(x) \) is increasing on \( \left(0,\dfrac{\pi}{4}\right) \) and decreasing on \( \left(\dfrac{\pi}{4},\dfrac{\pi}{2}\right) \).

Common Mistake

One common mistake: students set the full expression \( f'(x) = 0 \) and mistakenly also equate the denominator to zero, or forget that \( \sin x + \cos x > 0 \) on the given interval — only the numerator \( \cos x - \sin x \) needs to be set to zero to find the critical point.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Differentiate using chain rule: \[ f'(x) = \frac{\cos x - \sin x}{\sin x + \cos x} \]
  2. Step 2: For \( x \in \left(0, \dfrac{\pi}{2}\right) \), the denominator \( \sin x + \cos x > 0 \), so the sign of \( f'(x) \) depends only on \( \cos x - \sin x \). Setting \( \cos x - \sin x = 0 \) gives the critical point \( x = \dfrac{\pi}{4} \).
  3. Step 3: On \( \left(0, \dfrac{\pi}{4}\right) \): \( \cos x > \sin x \Rightarrow f'(x) > 0 \). On \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \): \( \cos x < \sin x \Rightarrow f'(x) < 0 \).

Answer: \( f(x) \) is increasing on \( \left(0,\dfrac{\pi}{4}\right) \) and decreasing on \( \left(\dfrac{\pi}{4},\dfrac{\pi}{2}\right) \).

➕ More Examples

More Examples

Example 1

Question: Find the sub-intervals of \( \left(0, \frac{\pi}{2}\right) \) in which \( f(x) = \log(\cos x - \sin x) \) is increasing and decreasing.

Solution: Step 1: Identify the domain restriction. For the logarithm to be defined we need \( \cos x - \sin x > 0 \), i.e. \( \cos x > \sin x \), which holds for \( x \in \left(0, \frac{\pi}{4}\right) \) within the given interval. Step 2: Differentiate f(x). \[ f'(x) = \frac{-\sin x - \cos x}{\cos x - \sin x} \] Step 3: Simplify the numerator and denominator using the identity \( a\sin x + a\cos x = \sqrt{2}\,a\sin\!\left(x + \frac{\pi}{4}\right) \). Numerator: \( -(\sin x + \cos x) = -\sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right) \) Denominator: \( \cos x - \sin x = \sqrt{2}\cos\!\left(x + \frac{\pi}{4}\right) \) So: \[ f'(x) = \frac{-\sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right)}{\sqrt{2}\cos\!\left(x + \frac{\pi}{4}\right)} = -\tan\!\left(x + \frac{\pi}{4}\right) \] Step 4: Determine the sign of f'(x) on the valid domain \( \left(0, \frac{\pi}{4}\right) \). For \( x \in \left(0, \frac{\pi}{4}\right) \), we have \( x + \frac{\pi}{4} \in \left(\frac{\pi}{4}, \frac{\pi}{2}\right) \), which is in the first quadrant, so \( \tan\!\left(x + \frac{\pi}{4}\right) > 0 \). Therefore \( f'(x) = -\tan\!\left(x + \frac{\pi}{4}\right) < 0 \) for all \( x \in \left(0, \frac{\pi}{4}\right) \). Step 5: Conclusion. Since \( f'(x) < 0 \) throughout the entire valid sub-interval, f(x) is strictly decreasing on \( \left(0, \frac{\pi}{4}\right) \) and is not increasing on any sub-interval of \( \left(0, \frac{\pi}{2}\right) \).

Answer: f(x) = log(cos x − sin x) is strictly decreasing on \( \left(0,\, \frac{\pi}{4}\right) \) (the only sub-interval of \( \left(0,\frac{\pi}{2}\right) \) where it is defined). It is not increasing on any sub-interval.

Example 2

Question: Find the sub-intervals of \( \left(0, \pi\right) \) in which \( f(x) = \log(\sin x + \cos x) \) is increasing and decreasing.

Solution: Step 1: Identify the domain restriction. We need \( \sin x + \cos x > 0 \), i.e. \( \sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right) > 0 \), so \( \sin\!\left(x + \frac{\pi}{4}\right) > 0 \). For \( x \in (0, \pi) \), we have \( x + \frac{\pi}{4} \in \left(\frac{\pi}{4}, \frac{5\pi}{4}\right) \). The sine is positive for \( x + \frac{\pi}{4} \in \left(\frac{\pi}{4}, \pi\right) \), i.e. \( x \in \left(0, \frac{3\pi}{4}\right) \). So the valid domain within \( (0,\pi) \) is \( \left(0, \frac{3\pi}{4}\right) \). Step 2: Differentiate f(x). \[ f'(x) = \frac{\cos x - \sin x}{\sin x + \cos x} \] Step 3: Simplify using sum-to-product identities. Numerator: \( \cos x - \sin x = \sqrt{2}\cos\!\left(x + \frac{\pi}{4}\right) \) Denominator: \( \sin x + \cos x = \sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right) \) So: \[ f'(x) = \frac{\sqrt{2}\cos\!\left(x + \frac{\pi}{4}\right)}{\sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right)} = \cot\!\left(x + \frac{\pi}{4}\right) \] Step 4: Analyse the sign of \( \cot\!\left(x + \frac{\pi}{4}\right) \) on \( \left(0, \frac{3\pi}{4}\right) \). Let \( u = x + \frac{\pi}{4} \). As \( x \) ranges over \( \left(0, \frac{3\pi}{4}\right) \), \( u \) ranges over \( \left(\frac{\pi}{4}, \pi\right) \). Case A: \( u \in \left(\frac{\pi}{4}, \frac{\pi}{2}\right) \), i.e. \( x \in \left(0, \frac{\pi}{4}\right) \): both \( \sin u > 0 \) and \( \cos u > 0 \), so \( \cot u > 0 \), meaning \( f'(x) > 0 \). Hence f is increasing on \( \left(0, \frac{\pi}{4}\right) \). Case B: \( u = \frac{\pi}{2} \), i.e. \( x = \frac{\pi}{4} \): \( \cot\frac{\pi}{2} = 0 \), so \( f'\!\left(\frac{\pi}{4}\right) = 0 \) (critical point). Case C: \( u \in \left(\frac{\pi}{2}, \pi\right) \), i.e. \( x \in \left(\frac{\pi}{4}, \frac{3\pi}{4}\right) \): \( \sin u > 0 \) but \( \cos u < 0 \), so \( \cot u < 0 \), meaning \( f'(x) < 0 \). Hence f is decreasing on \( \left(\frac{\pi}{4}, \frac{3\pi}{4}\right) \). Step 5: Conclusion. Within \( (0, \pi) \), the function \( f(x) = \log(\sin x + \cos x) \) is strictly increasing on \( \left(0, \frac{\pi}{4}\right) \) and strictly decreasing on \( \left(\frac{\pi}{4}, \frac{3\pi}{4}\right) \).

Answer: f(x) is increasing on \( \left(0,\, \frac{\pi}{4}\right) \) and decreasing on \( \left(\frac{\pi}{4},\, \frac{3\pi}{4}\right) \) within \( (0, \pi) \).

🎯 Try a Similar Question

Try a Similar Question

Question: Find the sub-intervals of \( \left(0, \dfrac{\pi}{2}\right) \) in which \( f(x) = \log(\sin x - \cos x) \) is increasing and decreasing.

Solution

  1. Step 1: Determine the domain within \( \left(0, \dfrac{\pi}{2}\right) \): For \( \log(\sin x - \cos x) \) to be defined, we need \( \sin x - \cos x > 0 \), i.e., \( \sin x > \cos x \). This holds when \( \tan x > 1 \), i.e., \( x \in \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \). So the function is defined on \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \).
  2. Step 2: Differentiate \( f(x) \): Differentiating using the chain rule: \[ f'(x) = \frac{\cos x + \sin x}{\sin x - \cos x} \]
  3. Step 3: Analyse the sign of the numerator: For \( x \in \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \), both \( \sin x > 0 \) and \( \cos x > 0 \), so \( \cos x + \sin x > 0 \).
  4. Step 4: Analyse the sign of the denominator: On \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \), we have \( \sin x > \cos x \) (which is the condition for the domain), so \( \sin x - \cos x > 0 \).
  5. Step 5: Determine the sign of \( f'(x) \) and conclude: Since both numerator and denominator are positive on \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \), we have \( f'(x) > 0 \) throughout this interval. Therefore, \( f(x) \) is strictly increasing on \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \) and there is no sub-interval within the given domain where \( f(x) \) is decreasing.

Answer: \( f(x) = \log(\sin x - \cos x) \) is defined only on \( \left(\dfrac{\pi}{4}, \dfrac{\pi}{2}\right) \) within \( \left(0, \dfrac{\pi}{2}\right) \), and it is strictly increasing on this entire sub-interval. There is no sub-interval on which it is decreasing.

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 Q13 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)