Finding all differentiable $f(z) = u(x) + iv(y)$ in $\mathbb{C}$ where $u(x),v(y)$ are real valued functions.
I’m not sure what to do. Would $f$ be differentiable simply if and only if both $u$ and $v$ were differentiable?
My thinking is that if the limit $$ \lim_{h \to 0}\frac{f(z+h)-f(z)}{h} $$ exists then it would be equal to $$ \lim_{h \to 0}\frac{u(x+h)-u(x)}{h} + i\lim_{h \to 0}\frac{v(y+h)-v(y)}{h} $$ and therefore would exist if they existed. But that doesn’t seem quite right.
I also thought about using Cauchy-Riemann equations, but seeing that I’m trying to find ones that are differentiable rather than those that aren’t, I thought they wouldn’t be of much help.
I am adapting this from the derivation of the CR equations, assuming that $f(z) = f(x + iy) = u(x) + iv(y)$. The limits taken for the complex derivative need to exist when considered going to $0$ along both the real and imaginary axes, i.e. $$\lim_{t \rightarrow 0} \frac{f(z + t) - f(z)}{t} = \lim_{t \rightarrow 0} \frac{f(z + it) - f(z)}{it} $$ exists. Plugging in $f$ we get $$ \lim_{t \rightarrow 0} \frac{f(z + t) - f(z)}{t} = \lim_{t \rightarrow 0} \frac{u(x + t) - u(x)}{t} + i \lim_{t \rightarrow 0} \frac{v(y) - v(y)}{t} = \frac{\partial u}{\partial x}\\ =\lim_{t \rightarrow 0} \frac{f(z + it) - f(z)}{it} = \lim_{t \rightarrow 0} \frac{u(x) - u(x)}{it} + i \lim_{t \rightarrow 0} \frac{v(y + t) - v(y)}{it} = \frac{\partial v}{\partial y}, $$ so it seems like all of the complex differentiable functions in that form satisfy $$\frac{\partial u}{\partial x}(x) = \frac{\partial v}{\partial y}(y). $$ The left-hand side depends solely on $x$ whereas the right-hand side depends solely on $y$, so they are actually constants, say they are both equal to $A \in \mathbb{R}$, say (a real constant since both $u(x)$ and $v(y)$ are real-valued functions). Then $$u(x) = Ax + B,\qquad v(y) = Ay + C,$$ from which $f(z)$ in full-generality is $$f(z = x+iy) = Ax + B + i(Ay + C) = Az + (B + iC). $$