Prove that if $|f|$ is differentiable at $a$ and $f$ is continuous at $a$, then $f$ is differentiable at $a$.
We are given $\displaystyle \lim_{x \to a}\dfrac{|f(x)|-|f(a)|}{x-a} = c$ and we know $f$ is continuous at $a$. We must prove that $\displaystyle \lim_{x \to a} \dfrac{f(x)-f(a)}{x-a} = b$. Using the fact that $f$ is continuous at $a$ gives us $$\forall \epsilon, \exists \delta \quad 0<|x-a|<\delta \quad \implies \quad |f(x)-f(a)| < \epsilon.$$ I am not sure how to use these facts to prove the statement.