Question:

Let $a$ be a real number and \[ f(x) = \begin{cases} -2\sin x, & x \le -\frac{\pi}{2} \\ 1 + a\sin x, & -\frac{\pi}{2}<x \le \frac{\pi}{2} \end{cases} \] If $f(x)$ is continuous, then the value of $a$ is:

Show Hint

For piecewise functions, check continuity at boundary points by equating LHS and RHS.
Updated On: Apr 23, 2026
  • 0
  • $-1$
  • 3
  • 2
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Concept: For continuity at $x = -\frac{\pi}{2}$, LHS = RHS.
Step 1: Left-hand value.
\[ f\left(-\frac{\pi}{2}\right) = -2\sin\left(-\frac{\pi}{2}\right) = -2(-1) = 2 \]
Step 2: Right-hand limit.
\[ \lim_{x \to -\frac{\pi}{2}^+} (1 + a\sin x) = 1 + a(-1) = 1 - a \]
Step 3: Equate.
\[ 2 = 1 - a \Rightarrow a = -1 \]
Hence, the value of $a$ is $-1$.
Was this answer helpful?
0
0