Question:

If \( f(x) = \left\{ \begin{array}{ll} 1 + \left| \sin x \right|, & \text{for } -\pi \leq x<0
e^{x/2}, & \text{for } 0 \leq x<\pi
\end{array} \right. \) then the value of \( a \) and \( b \), if \( f \) is continuous at \( x = 0 \), are respectively

Show Hint

For continuity at a point, the left-hand and right-hand limits must be equal at that point.
Updated On: Jan 6, 2026
  • \( a = 3, b = e^3 \)
  • \( a = 2, b = e^3 \)
  • \( a = 3, b = 2 \)
  • \( a = 1, b = 2 \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation


Step 1: Applying continuity conditions.
For the function to be continuous at \( x = 0 \), the values of \( a \) and \( b \) must satisfy the condition \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) \). Using this condition, we solve for \( a = 2 \) and \( b = e^3 \).

Step 2: Conclusion.
The values of \( a \) and \( b \) are \( a = 2 \) and \( b = e^3 \), corresponding to option (2).
Was this answer helpful?
0
0