# Complex Analysis/Complex differentiability

Definition (complex differentiability):
Let $U\subseteq \mathbb {C} ^{n}$, and let $f:U\to \mathbb {C}$ be a function. Let $z\in U$. We say that $f$ is complex differentiable in $z$ if and only if there exists a $\mathbb {C}$-linear function $T:\mathbb {C} ^{n}\to \mathbb {C} ^{n}$ such that
    $f(w)=T(w)+o(\|z-w\|)$.
In the case $n=1$, this condition is equivalent to the existence of the limit
    $\lim _{w\to z}{\frac {f(z)-f(w)}{z-w}}$.
Indeed, if this limit is $\alpha \in \mathbb {C}$, then the $\mathbb {C}$-linear map in the above definition is just multiplication by $\alpha$, and vice-versa, any linear map $\mathbb {C} \to \mathbb {C}$ is simply multiplicaton by an element of $\mathbb {C}$, which is then the limit.
Proposition (Osgood's lemma):
Let $f:\mathbb {C} ^{n}\to \mathbb {C}$ be a continuous function.

## The Cauchy–Riemann equations

Suppose that $f:U\to \mathbb {C}$ is a function which is complex differentiable in a ball $B_{r}(z_{0})$, where $z_{0}\in U$ is an element of $U$ and $r>0$ is a small constant (to which we shall refer as a radius).
A complex function can be uniquely written as $f(z)=u(z)+iv(z)$, where $u$ and $v$ are functions $\mathbb {C} \to \mathbb {R}$. The function $u$ corresponds to the real part of $f$, whereas the function $v$ corresponds to the imaginary part of $f$, so that for all $z\in U$
    $u(z):=\operatorname {Re} (f(z))$, $v(z):=\operatorname {Im} (f(z))$.
Now since $f$ was supposed to be complex differentiable, it was supposed not to matter from which direction $h$ approaches $0$. In particular, $h$ may approach $0$ along the $x$-axis of the complex plane
    $\{(x,y)\in \mathbb {C} |y=0\}$
or the $y$-axis (which is defined in a similar way).
Definition (Cauchy–Riemann equations):
Theorem (Cauchy–Riemann equations):
Let $f:U\to \mathbb {C}$ be a continuously differentiable function and $z_{0}\in U$. Then $f$ is holomorphic if and only if it satisfies the Cauchy–Riemann equations.
Proposition (differential equations satisfied by components of holomorphic functions):
Let $f:U\to \mathbb {C}$ be holomorphic, and write $f=u+iv$, where $u,v:U\to \mathbb {R}$ are real-valued. Then we have
    $\partial _{x}^{2}u+\partial _{y}^{2}u=0$
and
    $\partial _{x}^{2}v+\partial _{y}^{2}v=0$.
Proof: We have, by the Cauchy–Riemann equations and Clairaut's theorem,
    $\partial _{x}^{2}u=\partial _{x}\partial _{y}v=\partial _{y}\partial _{x}v=-\partial _{y}^{2}u$
and
    $\partial _{x}^{2}v=-\partial _{x}\partial _{y}u=-\partial _{y}\partial _{x}u=-\partial _{y}^{2}v$. $\Box$
Note that this means that $u$ is a harmonic function.

## Computation rules

In the case of real differentiable functions, we have computation rules such as the chain rule, the product rule or even the inverse rule. In the case of complex functions, we have, in fact, precisely the same rules.
Theorem 2.2:
Let $f,g:\mathbb {C} \to \mathbb {C}$ be complex functions.
* If $f$ and $g$ are complex differentiable in $z_{0}$ and $\alpha ,\beta \in \mathbb {C}$, the function $z\mapsto \alpha f(z)+\beta g(z)$ is complex differentiable in $z_{0}$ and $(\alpha f+\beta g)'(z_{0})=\alpha f'(z_{0})+\beta g'(z_{0})$ (linearity of the derivative)
* If $f$ and $g$ are complex differentiable in $z_{0}$, then so is $f\cdot g$ (pointwise product with respect to complex multiplication!) and we have the product rule $(f\cdot g)'(z_{0})=f(z_{0})g'(z_{0})+f'(z_{0})g(z_{0})$
* If $f$ is complex differentiable at $z_{0}$ and $g$ is complex differentiable at $f(z_{0})$, then $g\circ f$ is complex differentiable at $z_{0}$ and we have the chain rule $(g\circ f)'(z_{0})=g'(f(z_{0}))f'(z_{0})$
* If $f$ is bijective, complex differentiable in a neighbourhood of $z_{0}$ and $f'(z_{0})\neq 0$, then $f^{-1}$ is differentiable at $(f^{-1})'(f(z_{0}))={\frac {1}{f'(z_{0})}}$ (inverse rule)
* If $f,g$ are differentiable at $z_{0}$ and $g(z_{0})\neq 0$, then $\left({\frac {f}{g}}\right)'(z_{0})={\frac {f'(z_{0})g(z_{0})-g'(z_{0})f(z_{0})}{g(z_{0})^{2}}}$ (quotient rule)
Proof:
First note that the maps of addition and multiplication
    $+:\mathbb {C} \times \mathbb {C} \to \mathbb {C}$
and
    $\cdot :\mathbb {C} \times \mathbb {C} \to \mathbb {C}$
are continuous; indeed, let for instance $B_{r}(z_{0})\subset \mathbb {C}$ be an open ball. Take $0<\epsilon \leq 1$ such that $B_{\epsilon }(ab)\subset B_{r}(z_{0})$. Now suppose that we have
    $(c,d)\in B_{\delta }(a)\times B_{\delta }(b)$,
where $\delta$ is to be determined later. Then we have
    $|cd-ab|=|(a+z)(b+w)-ab|=|aw+bz+wz|$,
where $|w|,|z|<\delta$. Upon choosing
    $\delta ={\frac {\epsilon }{3\max\{1,|a|,|b|\}}}$,
we obtain by the triangle inequality
    $|aw+bz+wz|\leq |aw|+|bz|+|wz|<\epsilon$,
whence $\cdot ^{-1}(B_{r}(z_{0}))$ is open. If then $U\subseteq \mathbb {C}$ is an open set, then $\cdot ^{-1}(U)$ will also be open, since $U$ is the union of open balls and inverse images under a function commute with unions.
The proof for addition is quite similar.
But from these two it follows that if $f,g$ are functions such that
    $\lim _{z\to z_{0}}f(z)=a$ and $\lim _{z\to z_{0}}g(z)=b$,
then
    $\lim _{z\to z_{0}}(f(z)+g(z))=a+b$
and
    $\lim _{z\to z_{0}}f(z)g(z)=ab$;
indeed, this follows from the continuity of $+$ and $\cdot$ at the respective points. In particular, if $f$ is constant (say $f\equiv \alpha$ where $\alpha \in \mathbb {C}$ is a fixed complex number), we get things like
    $\lim _{z\to z_{0}}\alpha g(z)=\alpha \lim _{z\to z_{0}}g(z)$.
1. Now suppose indeed that $f,g:U\to \mathbb {C}$ ($U$ open, so that we have a neighbourhood around $z_{0}$ and the derivative is defined in the sense that the direction in which $h$ goes to zero doesn't matter) are differentiable at $z_{0}\in U$. We will have
    $\lim _{h\to 0}{\frac {\alpha f(z_{0}+h)+\beta g(z_{0}+h)-(\alpha f(z_{0})+\beta g(z_{0}))}{h}}=\alpha \lim _{h\to 0}{\frac {f(z_{0}+h)-f(z_{0})}{h}}+\beta \lim _{h\to 0}{\frac {g(z_{0}+h)-g(z_{0})}{h}}=\alpha f'(z_{0})+\beta g'(z_{0})$.
4. Let indeed $f:U\to V$ be a bijection between $U$ and $V\subseteq \mathbb {C}$ which is differentiable in a neighbourhood of $z_{0}\in U$. By the inverse function theorem, $f^{-1}$ is real-differentiable at $f(z_{0})$, and we have, by the chain rule for real numbers,
    $I_{2}=(f^{-1})'(f(z_{0}))\cdot f'(z_{0})$ ($I_{2}$ denoting the identity matrix in $\mathbb {R} ^{2\times 2}$ and the primes (e.g. $f'(z_{0})$) denoting the Jacobian matrices of the functions $\mathbb {C} \to \mathbb {C}$ seen as functions $\mathbb {R} ^{2}\to \mathbb {R} ^{2}$, "$\cdot$" denoting matrix multiplication),
since we may just differentiate the function $f^{-1}\circ f$. However, regarding $\mathbb {C}$ and $\mathbb {R} ^{2\times 2}$ as $\mathbb {R}$-algebras (or as rings; it doesn't matter for our purposes), we have a morphism of algebras (or rings)
    $\Phi :\mathbb {C} \to \mathbb {R} ^{2\times 2},x+iy\mapsto \left(\right)$.
Moreover, due to the Cauchy

## Holomorphic (and meromorphic) functions

Let $U\subseteq \mathbb {C}$ be an open subset of the complex plane, and let $f:U\to \mathbb {C}$ be a function which is complex differentiable in $U$ (that means, in every point of $U$). Then we call $f$ holomorphic in $U$.
If $U$ happens to be, in fact, equal to $\mathbb {C}$, so that $f$ is complex differentiable at every complex number, $f$ is called an entire function. We will see examples of entire functions in the chapter on trigonometry, where the exponential, sine and cosine function play central roles. Another important class of entire functions are polynomials.

### Polynomials are entire functions

In algebra, one studies polynomial rings such as $\mathbb {R} [x]$, $\mathbb {C} [z]$ or, more generally, $R[x]$, where $R$ is a ring (one then has theorems that "lift" properties of $R$ to $R[x]$, eg. if $R$ is an integral domain, a UFD or noetherian, then so is $R[x]$).
Now all elements of $\mathbb {C} [z]$ are entire functions. This is seen as follows:
Analogous to real analysis (with exactly the same proof), the function $z\mapsto z^{n}$ is complex differentiable. Thus, any polynomial
    $p(z)=a_{n}z^{n}+\cdots +a_{1}z+a_{0}$ ($a_{0},a_{1},\ldots ,a_{n}\in \mathbb {C}$ complex coefficients, ie. constants)
is complex differentiable by linearity.
We may also define $\mathbb {Q} (i)$, an extension of $\mathbb {Q}$ in $\mathbb {C}$. This extension turns out to be equal to
    $\{x+iy|x,y\in \mathbb {Q} \}$.
From this, there arises a polynomial ring $\mathbb {Q} (i)[z]$. Let now $K\subseteq \mathbb {C}$ be any compact subset of the complex plane, or even a bounded subset. Then it is easy to see from direct arguments that with respect to the topology of uniform convergence, $\mathbb {Q} (i)[z]$ is dense in $\mathbb {C} [z]$. Alternatively, one finds that

## Exercises

* Prove that whenever $f,g:\mathbb {C} ^{n}\to \mathbb {C} ^{n}$ are holomorphic, then ${\bar {\partial }}(f_{k}\circ g)=\sum _{l=1}^{n}{\frac {\partial f_{k}}{\partial z_{l}}}{\frac {\partial g_{l}}{\partial {\bar {z}}_{j}}}+\sum _{l=1}^{n}{\frac {\partial f_{k}}{\partial {\bar {z}}_{l}}}{\frac {\partial {\bar {g}}_{l}}{\partial {\bar {z}}_{j}}}$