Question:

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
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
For continuity on \([0,\pi]\), the function pieces must join at \(x=\frac{\pi}{4}\) and \(x=\frac{\pi}{2}\).

Step 2: At x = pi/4
Left piece: \(\frac{\pi}{4}+a\sqrt2\sin\frac{\pi}{4}=\frac{\pi}{4}+a\). Right piece: \(2\cdot\frac{\pi}{4}\cot\frac{\pi}{4}+b=\frac{\pi}{2}+b\). So \(a-b=\frac{\pi}{4}\).

Step 3: At x = pi/2
Middle piece: \(2\cdot\frac{\pi}{2}\cot\frac{\pi}{2}+b=b\). Last piece: \(a\cos\pi-b\sin\frac{\pi}{2}=-a-b\). So \(b=-a-b\), i.e. \(a=-2b\).

Step 4: Solve
\(-2b-b=\frac{\pi}{4}\) gives \(b=-\frac{\pi}{12}\) and \(a=\frac{\pi}{6}\).

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