I'm having some trouble understanding the differences between the concepts of differentiablity and analyticity domains of a complex function.
I know that when a complex function $f(z)$ have a complex derivative at a point $z_0$ then it is complex differentiable at $z_0$, i.e, $f'(z_0)$ exists. When we say that a complex function is analytic in a domain $D$, that means that $f'(z)$ exists at every point $z\in D$.
So, what is the difference between the differentiability domain and the analyticity domain?
If I'm able to find a domain where the complex derivative exists then that same domain wouldn't be the analyticity domain?.
I think that it's true if that domain is open. But what happens when $f(z)$ is just differentiable at one point, would it be analytic at that point? I think,no. Because the definition of analyticity requires a neighborhood where the function is analytic. Am I wrong?
I'll put an example:
Given this complex function: $$f(z)=\frac{2z+1}{z^2+1}$$
I know that the complex derivative does not exists at the points $z=\pm i$. So the differentiability domain is $\mathbb{C}-\{i,-i\}$. Wouldn't the analyticity damain be the same? Is $\mathbb{C}-\{i,-i\}$ an open set?
Any help is appreciated.