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.
Use that $$f'(x_0)=\lim_{h\to 0}\frac{f(x_0+h)-f(x_0)}{h}$$ if this Limit exists and $h\neq 0$