If a function $f(x)=\begin{cases}\dfrac{a}{|x|} & \text{when } x\le -1 \text{ or } x\ge 1\\ x^2+b & \text{when } -1<x<1\end{cases}$ is differentiable on R, then $a+b=$
- (1)
3
- (2)
$-2$
- (3)
$-5$
- (4)
2
Show answer
Option (3) is correct.
The council's preliminary key