Let f be a differentiable function a $x = 1$ such that $f(1) = 1$, $f'(1) = 4$. Compute the following limits, or prove that they don't exist:
a. $\lim_{x\to 1} \frac{1-f(x)}{x-1}$
b. $\lim_{x\to 1} \frac{f^2(x)-f(x)}{x-1}$
I am quite divided on this. According to the definition of the derivative, I get that a = -4 and b = 4.
However, if I check the limit of $\lim_{x\to 1+}$ and $\lim_{x\to 1-}$ on b, I get that the limit are different (One is positive and the other is negative).
Which step am I doing wrong? What am I missing?
Thanks.