I'm taking a course on Complex Calculus and I've been provided with the following definition for the derivative of a function:
Definition: Let $f$ be a function whose domain contains a neighborhood of a point $z_0$. The derivative of $f$ at $z_0$ is the limit $$f'(z_0) = \lim_{z\to z_0} \frac{f(z) - f(z_0)}{z - z_0}$$
But for a course on Multivariable Calculus, I was provided with the following definition (from Munkres' Analysis on Manifolds):
Definition: Let $A \subset \mathbb{R}^m$, let $f: A\to \mathbb{R}^n$. Suppose $A$ contains a neighborhood of a. We say $f$ is differentiable at a if there is an n by m matrix B such that $$\frac{f(\mathbf{a + h})-f(\mathbf{a}) - B\cdot \mathbf{h}}{|\mathbf{h}|}\ \text{as}\ \mathbf{h}\to 0.$$
My problem here is that my instructor stated that any function $f:D\to \mathbb{C},\ D\subset \mathbb{C}$ that has continuous partial derivatives which satisfy the Cauchy-Riemann equations at some $z\in D$ is also differentiable at $z$. But this was not the case for a function $g:D\to \mathbb{R}^2,\ D\in \mathbb{R}^2$ using the second definition for a derivative. To my knowledge, $\mathbb{C} \cong \mathbb{R}^2$ when viewed as $\mathbb{R}$-modules, so I would expect the differential operator to behave the same as well.
- Why is it the case that these two definitions do not agree?
- Are these two definitions describing different things?
- Is any definition encapsulating the other? (If that makes any sense)
Edit: Initially, I stated that my instructor specified that every complex function continuous at a point is also differentiable at that point. This was an error on my part, as I probably mixed up the statement. I rephrased my question, though the answers are still satisfactory and explanatory of the differences between these two definitions.