Skip to content
Mathematical Methods

Functions of a complex variable: derivative, Cauchy-Riemann and elementary functions

Functions as mappings of the plane, the complex derivative, proof of the Cauchy-Riemann equations, harmonic functions, conformal mappings, complex exponential and logarithm.

In the Analysis courses functions were real. Mathematical Methods extends calculus to complex numbers, and the surprising discovery is that a function differentiable in the complex sense is far more “rigid” than a real function: knowing it on a small piece of the plane is enough to know it everywhere. This rigidity gives very powerful tools for computing integrals, studying the stability of systems and analysing circuits. In this lesson we cover functions of a complex variable, the derivative, the Cauchy-Riemann equations and the elementary functions.

Functions of a complex variable

A function f: \mathbb C\to\mathbb C maps z = x + iy to a complex number w = f(z) = u(x, y) + i\,v(x, y). So it amounts to two real functions of two variables, the real part u and the imaginary part v. Its graph cannot be drawn (it would need four dimensions), so it is represented as a mapping of a region of the z plane onto a region of the w plane.

Example. f(z) = z^2 = (x^2 - y^2) + i\,2xy, so u = x^2 - y^2 and v = 2xy. In polar form z^2 = r^2e^{2i\theta}: the modulus is squared and the angle doubled. The first quadrant becomes the upper half-plane.

A grid in the first quadrant mapped by w equals z squared into a network of parabolas
The function w = z^2 maps the vertical (blue) and horizontal (red) lines of the z plane into two families of parabolas in the w plane. The mapped curves still meet at right angles: holomorphic functions preserve angles.

The complex derivative

The definition is the same as in the real case:

    \[ f'(z_0) = \lim_{h\to 0}\frac{f(z_0 + h) - f(z_0)}{h} \]

but now h is a complex number and can tend to zero from every direction in the plane. The limit must be the same for all of them: a much stronger requirement than real differentiability. A function differentiable at every point of an open set is called holomorphic (or analytic).

A counterexample. f(z) = \bar z = x - iy. With h real the difference quotient is \bar h/h = 1, with h purely imaginary it is -1. The limit exists nowhere: conjugation, a very simple function and a perfectly “smooth” mapping of the plane, is not complex-differentiable.

The Cauchy-Riemann equations

Proof

If f = u + iv is differentiable at z_0, compute the limit along two particular directions. With h real:

    \[ f'(z_0) = \frac{\partial u}{\partial x} + i\,\frac{\partial v}{\partial x} \]

With h = ik purely imaginary:

    \[ f'(z_0) = \frac{1}{i}\left(\frac{\partial u}{\partial y} + i\,\frac{\partial v}{\partial y}\right) = \frac{\partial v}{\partial y} - i\,\frac{\partial u}{\partial y} \]

The two results must match. Equating real and imaginary parts gives the Cauchy-Riemann equations:

    \[ \frac{\partial u}{\partial x} = \frac{\partial v}{\partial y},\qquad \frac{\partial u}{\partial y} = -\frac{\partial v}{\partial x} \]

The converse also holds: if u and v have continuous partial derivatives satisfying these equations, f is holomorphic.

Check on z^2: u_x = 2x = v_y, u_y = -2y = -v_x. On \bar z: u_x = 1, v_y = -1. They differ, as expected.

Harmonic functions

Differentiating the first equation with respect to x, the second with respect to y and adding, the mixed terms cancel (Schwarz’s theorem):

    \[ \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = 0 \]

The real part (and likewise the imaginary part) of a holomorphic function satisfies Laplace’s equation: it is a harmonic function. It is the equation of the electrostatic potential in a charge-free region, of steady-state temperature, of the velocity potential of an ideal fluid. That is why holomorphic functions are a classic tool for computing fields in plane geometries: find a mapping that takes the hard geometry into a simple one, solve there and map back.

The curves u = \text{const} and v = \text{const} are orthogonal to each other: in electrostatics one set are the equipotentials, the other the field lines.

Conformal mappings

Where f'(z_0) \ne 0, a holomorphic function behaves locally like multiplication by the complex number f'(z_0) = \rho e^{i\alpha}: it scales by \rho and rotates by \alpha. So it preserves angles between curves, as the figure shows: it is a conformal mapping. Mercator maps and the Smith chart used for impedance matching in radio-frequency circuits are conformal mappings.

Elementary functions

The exponential. e^z = e^x(\cos y + i\sin y), from Euler’s formula. It is holomorphic everywhere, with (e^z)' = e^z. But, unlike the real case, it is periodic with period 2\pi i: e^{z + 2\pi i} = e^z. And it is never zero.

Sine and cosine. \cos z = \frac{e^{iz} + e^{-iz}}{2}, \sin z = \frac{e^{iz} - e^{-iz}}{2i}. In the complex field they are not bounded: \cos(iy) = \cosh y grows without limit. An equation such as \cos z = 2, impossible among the reals, has complex solutions.

The logarithm. We look for w with e^w = z. Writing z = re^{i\theta}:

    \[ \log z = \ln r + i(\theta + 2k\pi),\qquad k\in\mathbb Z \]

The complex logarithm is multivalued, because the argument is defined only up to multiples of 2\pi. To get a true function you choose a branch, for example with -\pi \lt \theta \le \pi (principal branch), and cut the plane along the negative real axis: crossing the cut the function jumps by 2\pi i. Example: \log(-1) = i\pi on the principal branch, that is e^{i\pi} = -1.

Powers. z^\alpha = e^{\alpha\log z}, in general multivalued too. For example i^i = e^{i\log i} = e^{i\cdot i\pi/2} = e^{-\pi/2} \approx 0.208 (principal branch): a real number.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x