Question:hard

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

\(f(x)= \begin{cases}x+\mathrm{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} \\ \mathrm{a} \cos 2 x-\mathrm{b} \sin x & , \frac{\pi}{2}< x \leq \pi\end{cases}\)

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 at x = pi/2.
Updated On: Nov 16, 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

The Correct Option is D

Solution and Explanation

Step 1: Set up two equations
Continuity at $\frac{\pi}{4}$: $\frac{\pi}{4}+a=\frac{\pi}{2}+b$. Continuity at $\frac{\pi}{2}$: $b=-a-b$.

Step 2: Reduce
The second gives $a=-2b$. The first gives $a-b=\frac{\pi}{4}$.

Step 3: Substitute
$-3b=\frac{\pi}{4}$, so $b=-\frac{\pi}{12}$, $a=\frac{\pi}{6}$.

Step 4: Compare the options
Option $\frac{\pi}{6},-\frac{\pi}{12}$ matches.

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