Struggling with this for some reason. I know that you have to check for continuity but I am confusing myself.
Find the values of a and b so that the following function is differentiable in $\mathbb{R}$. $$ f(x) = \begin{cases} -3x+a, & x\ne2 \\ b, & x=2 \end{cases}$$
Thanks in advance.