Question:

The values of \(a\) and \(b\), so that the function

\(f(x)=\left\{\begin{array}{l} x+a \sqrt{2} \sin x, 0 \leq x \leq \frac{\pi}{4} \\ 2 x \cot x+b, \frac{\pi}{4} \leq x \leq \frac{\pi}{2} \\ a \cos 2 x-b \sin x, \frac{\pi}{2} < x \leq \pi \end{array}\right.\)

is continuous for \(0 \leq x \leq \pi\), are respectively given by

Show Hint

Equate the left and right limits at x = pi/4 and x = pi/2.
Updated On: Nov 17, 2026
  • \(-\frac{\pi}{12},\frac{\pi}{6}\)
  • \(-\frac{\pi}{6},-\frac{\pi}{12}\)
  • \(\frac{\pi}{6},\frac{\pi}{12}\)
  • \(\frac{\pi}{6},-\frac{\pi}{12}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
A function is continuous on an interval when the pieces join at the break points \(x = \dfrac{\pi}{4}\) and \(x = \dfrac{\pi}{2}\).

Step 2: At the first joint
At \(x = \dfrac{\pi}{4}\): \(\dfrac{\pi}{4} + a\sqrt2\cdot\dfrac{1}{\sqrt2} = 2\cdot\dfrac{\pi}{4}\cdot 1 + b\), so \(a - b = \dfrac{\pi}{4}\).

Step 3: At the second joint
At \(x = \dfrac{\pi}{2}\): left limit \(2x\cot x + b \rightarrow 0 + b = b\).
Right limit: \(a\cos\pi - b\sin\dfrac{\pi}{2} = -a - b\).
So \(b = -a - b\), giving \(a = -2b\).

Step 4: Solve
\(-2b - b = \dfrac{\pi}{4}\), so \(b = -\dfrac{\pi}{12}\) and \(a = \dfrac{\pi}{6}\).

Final Answer:
The values are \(a = \frac{\pi}{6}\) and \(b = -\frac{\pi}{12}\). \[ \boxed{\text{(D) }\dfrac{\pi}{6},-\dfrac{\pi}{12}} \]
Was this answer helpful?
0
0