Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Analytical Function

Real Derivative and Complex Derivative

A complex function f:C→Cf:\mathbb{C}\to \mathbb{C} resembles, more or less, functions like R2→R2\mathbb{R}^2\to \mathbb{R}^2. For instance, the complex exponential f(z)=exp⁡(z)f(z)=\exp(z) would be more or less similar to

f(xy)=(exp⁡(x)cos⁡(y)exp⁡(x)sin⁡(y))f\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} \exp(x)\cos(y) \\ \exp(x)\sin(y) \end{pmatrix}

Since the complex version can be rewritten as exp⁡(z)=exp⁡(x+iy)=exp⁡(x)(cos⁡(y)+isin⁡(y))\exp(z)=\exp(x+iy)=\exp(x)(\cos(y) + i\sin(y)).

However, there does exist crucial differencies. Recall for real functions (R2,R2)(\mathbb{R}^2, \mathbb{R}^2), they are differentiable if there exists a linear transformation A∈L(R2,R2)A\in \mathcal L (\mathbb{R}^2, \mathbb{R}^2) such that:

lim⁡x→x0∥f(x0+h)−f(x0)−Ah∥∥h∥=0\lim_{x\to x_0} \frac{\|f(x_0+h)-f(x_0) - Ah\|}{\|h\|}=0

If such AA exists then it must equal to to the Jacobian Df(x0)Df(x_0) defined as:

(∂fi∂xj(x0))ij∈Rm×n\left(\frac{\partial f_i}{\partial x_j}(x_0)\right)_{ij} \in \mathbb{R}^{m\times n}

Furthermore, the sufficient condition for this linear transforamtion AA to exists is given by the following theorem:

Complex derivative, on the other hand, is defined as:

This is very different from f:R2→R2f:\mathbb{R}^2 \to \mathbb{R}^2! For the following two reasons:

So the real difference is that complex number should be viewed as a whole where division is well-defined. For me, if I ever found it hard to convince myself R2→R2\mathbb{R}^2 \to \mathbb{R}^2 is different from C→C\mathbb{C} \to \mathbb{C}, I would try to answer the question “why can’t we use (a,b)(a,b) to denote a+bi”?. This tend to clear things up.

The next example illustrate this key difference:

Source
import matplotlib.pyplot as plt
import numpy as np
import ipywidgets as wdgt

slider = wdgt.FloatSlider(value=1, min=1, max=3, step=0.5)

def plot(r):
    fig, ax = plt.subplots()
    X, Y = np.meshgrid(np.linspace(-r, r, 10), np.linspace(-r, r, 10))
    ax.quiver(X, Y, X**2, Y)
    plt.show()

wdgt.interactive(plot, r=slider)

Cauchy-Riemann Condition

Expanding (9), we would get:

lim⁡Δx→0f(x0+Δx+y0i)−f(x0+y0i)Δx=lim⁡Δy→0f(x0+(y0+Δyi))−f(x0+y0i)Δylim⁡Δx→0u(x0+Δx,y0)−u(x0,y0)Δx+iv(x0+Δx,y0)−v(x0,y0)Δx=lim⁡Δy→0u(x0,y0+Δy)−u(x0,y0)iΔy+iv(x0,y0+Δy)−v(x0,y0)iΔy∂u∂x+i∂v∂x=−∂u∂yi+∂v∂y\begin{align*} \lim_{\Delta x\to 0} \frac{f(x_0+\Delta x + y_0i) - f(x_0+y_0i)}{\Delta x} &= \lim_{\Delta y\to 0} \frac{f(x_0 + (y_0+\Delta yi)) - f(x_0+y_0i)}{\Delta y} \\ \lim_{\Delta x\to 0}\frac{u(x_0+\Delta x, y_0)-u(x_0,y_0)}{\Delta x} + i \frac{v(x_0+\Delta x, y_0)-v(x_0,y_0)}{\Delta x} &= \lim_{\Delta y\to 0}\frac{u(x_0, y_0+\Delta y)-u(x_0,y_0)}{i\Delta y} + i \frac{v(x_0, y_0+\Delta y)-v(x_0,y_0)}{i\Delta y}\\ \frac{\partial u}{\partial x}+i\frac{\partial v}{\partial x} &= -\frac{\partial u}{\partial y}i + \frac{\partial v}{\partial y} \end{align*}

Note that this equation essentially unwind the “mixing of components” we mentioned in Difference 2 : Mixing Of Components. Hence we get:

∂u∂x=∂v∂y∂v∂x=−∂u∂y\boxed{\frac{\partial u}{\partial x} = \frac{\partial v}{\partial y} \qquad \frac{\partial v}{\partial x} = - \frac{\partial u}{\partial y}}

This is known as the Cauchy-Riemann Condition(C-R condition).

Let’s recall what had happened so far, we discussed the idea of complex derivative being a limit of finite difference leading to computing limits of the form R2→R\mathbb{R}^2\to \mathbb{R}(two input, one output) which puts additional restriction on differentiability. To be more specific, in order for these limit to exists, the value of the limit must be invariant of directions approaching the point of interest x0,y0x_0, y_0. Considering the specific direction along the real and complex axis we get the so-called CR condition.

We have effectively shown that CR condition is necessary for complex differentiability. It turns out however, that CR condition is also sufficient.

Analytical Function

Now we are ready for the definition of analytic function.

Analytic is a much more restrictive property than merely differentiable(since it requires differentiability in the neighborhood). For instance, we can easily construct complex functions that is differentiable on infinitely many points in C\mathbb{C} but analytic nowhere.