I'm studying analytic functions. It is known that a real analytic function is an infinitely differentiable function such that the Taylor series at any point $x_0 $ in its domain $$ T\left(x\right) = \sum_{n=0}^{\infty}\frac{f^{\left( n\right)}\left( x_{0}\right)}{n!} \left(x -x_{0}\right)^{n} $$
converges to $ f(x) $ for $ x $ in a neighborhood of $ x_0. $
A complex analytic function is obtained by replacing, in the definition above, "real" with "complex".
We also know that a function is complex analytic if and only if it is holomorphic. This is a first difference between complex analytic functions and real analytic functions (in general, a infinitely differentiable function is not real analytic).
My questions is: Is my definition of analytic function correct? And then, there are other differences between real analytic and complex analytic functions?
The definition is almost correct, but there is a small problem. That definition only makes sense if $f$ is infinitely differentiable. The usual definition is: $f$ is analytic if, for each $x_0$ in its domain, there is a power series $\sum_{n=0}^\infty a_n(x-x_0)^n$ about $x_0$ such that, in a neighborhood $N$ of $x_0$,$$(\forall x\in N):f(x)=\sum_{n=0}^\infty a_n(x-x_0)^n.$$It can be proved then that $f$ is indeed infinitely differentiable and that$$(\forall x\in N):f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(x_0)}{n!}(x-x_0)^n.$$In other words,$$(\forall n\in\mathbb Z_+):a_n=\frac{f^{(n)}(x_0)}{n!}.$$