Definition (differentiability)
For some $E\subseteq\C$, let $f: E\to\C$ and let $x\in E$ be a limit point.
$f$ is differentiable at $x$, with derivative $f'(x)$, if $$ \lim_{y\to x} \frac{f(y) - f(x)}{y-x} = f'(x). $$
Equivalent definitions, assuming $E$ has no isolated points:
-
Using $h=y-x$: $$ f'(x) = \lim_{h\to0} \frac{f(x+h) - f(x)}{h}. $$
-
Best affine approximation exists: there exists $f'(x)$ and $\epsilon(h)$ such that $$ f(x+h) = f(x) + hf'(x) + \epsilon(h) \quad\text{and}\quad \lim_{h\to0} \frac{\epsilon(h)}{h} = 0. $$
-
Continuous error term: there exists $f'(x)$ and $\epsilon(h)$ such that $$ f(x+h) = f(x) + hf'(x) + h\epsilon(h), $$ with $\epsilon(0)=0$ and continuous at $h=0$. (Derivation of equivalence)