Analyticity and differentiability of complex functions I understand what analytic functions are and what differentiability of a complex function means but I have been reading "advanced engineering mathematics by kreyszig" and it says that the concept of analytic functions is motivated by the fact that differentiability at a point is of no practical use.
I can't seem to understand this , also the book states analyticity is important for "complex calculus" and I can't understand why just differentiability isn't enough .
An explanation using some examples would be appreciated , couldn't find an explanation in previous answers on this topic 
 A: Here are two important and basic theorems in complex analysis.


*

*Liouville's theorem: If $f\colon\mathbb{C}\to\mathbb{C}$ is entire (analytic everywhere) and bounded (so there exists $M\in\mathbb{R}$ with $|f(z)|\leq M$ for all $z\in\mathbb{C}$), then $f$ is constant.

*Cauchy's integral theorem: Let $U\subseteq\mathbb{C}$ be open and simply connected, let $f\colon U\to\mathbb{C}$ be analytic, and let $\gamma$ be a closed piecewise smooth contour in $U$. Then, $\int_{\gamma}f(z)\,\mathrm{d}z=0$.
Note that analyticity of $f$ is crucial to both of these theorems, and both of these theorems are important. Other examples of important theorems that rely on analyticity include Cauchy's integral formula, the Residue theorem and Rouché's theorem.
Why exactly is analyticity necessary? I don't want to get into technical details (you can find details easily enough in textbooks), so here's one way to look at it: there exist complex functions that are complex differentiable at precisely one point and nowhere else continuous.
That is, being complex differentiable at a point (and by extension, at lots of isolated points) does not ensure that the function is "well-behaved" enough for it to have "nice" properties like the above. We need a function to be complex differentiable everywhere in a particular region of the plane in order for it to be well-behaved enough for our usual purposes. Since complex differentiability in such a region provides analyticity in that region, this is a hand-wavy reason why analytic functions are the ones with which we work.
