Let $f : R \to R$ be defined as $f(x) = \begin{cases} 2\sin\left(-\frac{\pi x}{2}\right), & \text{if } x < -1 \\ |ax^2 + x + b|, & \text{if } -1 \leq x \leq 1 \\ \sin(\pi x), & \text{if } x > 1 \end{cases}$
If $f(x)$ is continuous on $R$, then $a + b$ equals :
- (1)
$1$
- (2)
$3$
- (3)
$-3$
- (4)
$-1$
Show answer
Option (4) is correct.
Key from source paper