The question is:
Which values $a$ and $b$ can assume to be possible to derive the function $f$ at $x = 1$
$f(x) = \left\{ \begin{array}{rl} x^2 &\mbox{$x < 1$} \\ ax + b &\mbox{$x \geq 1$} \end{array} \right.$
Here is my progress
The one way i can wonder to solve this is using the definition of derivatives. So i started by verifying the following limit
$$\lim_{x \to 1^{+}} \frac{f(x) - f(1)}{x - 1} = \lim_{x \to 1^{+}} \frac{ax + b - (a + b)}{x - 1}$$ $$= \lim_{x \to 1^{+}} \frac{ax - a}{x - 1} = \lim_{x \to 1^{+}} \frac{a(x - 1)}{x - 1} = \lim_{x \to 1^{+}} a = a$$
And then i verify the limit by the left side
$$\lim_{x \to 1^{-}} \frac{f(x) - f(1)}{x - 1} = \lim_{x \to 1^{-}} \frac{x^2 - (a + b)}{x - 1}$$
From this point i can't go ahead.
