Question:

Let \(f : R \to R\) be defined as
\(f(x) = \begin{cases} 2\sin\left(-\frac{\pi x}{2}\right), & \text{if } x \lt -1 \\ |ax^2 + x + b|, & \text{if } -1 \le x \le 1 \\ \sin(\pi x), & \text{if } x \gt 1 \end{cases}\)
If \(f(x)\) is continuous on \(R\), then \(a + b\) equals :

Show Hint

Match the one-sided limits at \(x=-1\) and \(x=1\): left value \(2\), right value \(0\).
Updated On: Nov 4, 2026
  • \(-3\)
  • \(3\)
  • \(-1\)
  • \(1\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

At \(x = 1\): right limit \(= \sin\pi = 0\), so \(|a + 1 + b| = 0\), giving \(a + b = -1\).
At \(x = -1\): left limit \(= 2\sin\left(\frac{\pi}{2}\right) = 2\), so \(|a - 1 + b| = 2\).
With \(a + b = -1\): \(|-1 - 1| = 2\), which is consistent.
Hence \(a + b = -1\).
Answer: (3) \(-1\)
Was this answer helpful?
0
0