Recently, I am learning complex analysis using " Complex Analysis for mathematics and engineering" by John H. Mathews and Russell W. Howell.
The definition of analytic function at a point $z_0$ is defined as follows:
If a function $f(z)$ is differentiable at $z_0$ and its neighborhood, then we say that $f$ is analytic at $z_0$.
But nearly every nice function e.g. $\sin z$, $\text{exp}(z)$ is analytic and the professor doesn't even check that in the neighborhood of $z_0$, $f$ is analytic.
So, my question is:
Is analytic function the same as a differentiable function in complex analysis? Or is there any counterexample?
Thank you!