This question is from an old Ph.D Qualifying Exam for Complex Analysis.
Let $\Omega\subset\mathbb{C}$ be an open set. Suppose that $f$ is holomorphic in $\Omega$. Define $g$ on $\Omega\times\Omega$ by $$g(z,w)= \begin{cases} \dfrac{f(w)-f(z)}{w-z}, & w\neq z \\ f'(z), & w=z \end{cases}$$
Show that $g$ is continuous in $\Omega\times\Omega$.
My attempt: If $w\neq z$ then $g$ is clearly continuous, so we just have to consider the case of $w=z$. Clearly, for a fixed $a\in \Omega$, $\lim_{w\to a}(\lim_{z\to a}g(z,w))=f'(a)$, but the double limit need not be identical to the joint limit $\lim_{(z,w)\to (a,a)}$, so I'm not sure this is right. Does anyone have ideas?
Let $(z_n,w_n) \to (a,a)$. If $z_n=w_n$ for infinitely many $n$ then $g(z_n,w_n)=f'(z_n) \to f'(a)$ along this subsequence because $f'$ is continuous. Now consider the limit of $g(z_n,w_n)$ along a subsequence with $z_n \neq w_n$. In this case use the fact that $\frac {f(z_n)-f(w_n)} {z_n-w_n} \to f'(a)$. To see why this is true write $\frac {f(z_n)-f(w_n)} {z_n-w_n}$ as $\frac {\int_{\gamma} f'(\zeta )\, d\zeta } {z_n-w_n}$ so $\frac {f(z_n)-f(w_n)} {z_n-w_n}-f'(a) =\frac {\int_{\gamma} (f'(\zeta )-f'(a))\, d\zeta } {z_n-w_n}$ where $\gamma $ is teh line segment from $z_n$ to $w_n$. Use continuoty of $f'$ to complete the proof.