Lecture 5: the Cauchy–Riemann equations
Last time, we introduced analytic (or holomorphic) functions on a domain as those whose complex derivative is well-defined and continuous at every point in the domain. Today, we will find an explicit way to check, given a complex-valued function, if it is analytic or not.
We work in Cartesian coordinates both on the input and on the output: write , and . Thinking of as depending on the two real numbers and , we can think of each of and as real-valued functions of and :
Let’s study the derivative in this setting, using the formula
Here the limit is in the complex sense, so we must be able to take approach zero from any direction. We will study the cases when is approaching along the real or imaginary line.
Suppose is real. Then
As along the real line, the limit—if it exists—is given by
Let’s now take the limit along the imaginary axis; for clarity, we’ll still take to be a real number, and change by . We have
Taking the limit as , the right-hand side becomes
Now, if is going to be differentiable at , these limits must both exist and must both agree. So if is differentiable at , both first-order partial derivatives of and must exist; and, equating the expressions above and taking real and imaginary parts, we must have
These are called the Cauchy–Riemann equations.
Theorem.
Let be a complex-valued function on a domain . Then is analytic on if and only if and have first-order partial derivatives defined and continuous everywhere on which satisfy the Cauchy–Riemann equations.
We have already essentially shown one direction of this result: if is differentiable at , then it satisfies the Cauchy–Riemann equations at . (To replace “differentiable” with “analytic,” we only need to add the requirement that the partial derivatives be continuous.) What remains is to prove the converse: if and have partial derivatives satisfying the Cauchy–Riemann equations, then is analytic.
We show this using first-order approximation: if and are defined near , then for small real numbers , we have
where is some function such that . The same formula holds for in place of ; write for the remainder term in place of . Then we can compute
If we assume that the Cauchy–Riemann equations hold, so that and , we can rewrite this as
Taking the limit as , the third term we know tends to zero in absolute value, so we can drop it, and we’re left with the first two terms which by assumption are well-defined and continuous on . Hence is in fact analytic on under these assumptions.
We check some examples. For , we have and , so , , , and , so the equations hold by inspection.
A slightly more complicated example is . Writing , this is by Euler’s formula, so and . We find
so again the equations hold.
Since the equations are linear, linear combinations of analytic functions are analytic (which we already know by rules of differentiation). A more important property is the following, reflecting a basic principle of integral calculus.
Proposition.
If is analytic on a domain and for all , then is constant on .
Indeed, if is analytic then it satisfies the Cauchy–Riemann equations, and we computed above that then
so taking real and imaginary parts we see that has both partial derivatives everywhere zero, hence is constant. By the Cauchy–Riemann equations, both partial derivatives of are also zero, so is also constant, hence is constant.
One can also check other analogous properties. For example, if is real-valued and analytic on a domain , then it must be constant. This might be surprising, since we’re used to restricting to the real line (or a subset of it) to recover a real-valued function; but note that no (nonempty) subset of the real line is a domain! Indeed, using the Cauchy–Riemann equations, if then its partial derivatives both vanish, so so do those of , so must be constant, so is constant. This immediately tells us that for example is not an analytic function; this can be verified from the Cauchy–Riemann equation.
Note again that from the apparently weak condition that a function be complex-differentiable, we’ve deduced that it must in fact satisfy a pair of differential equations, a much stronger-looking condition! This relates back to our slogan from last time: the existence (and conditions on the behavior) of complex limits is a much stronger assumption than it looks.
In everything above, we used Cartesian coordinates. However, we could just as well have used polar coordinates: writing and with and viewed as functions of and , by varying either or , one can derive the polar form of the Cauchy–Riemann equations
A slightly different application of the Cauchy–Riemann equations is to showing that inverse functions of analytic functions are analytic, at least after restricting to some neighborhood of a given point (if nothing else to ensure that they are single-valued). Viewing and as a function from a region in the plane to the plane, from multivariable calculus the invertibility of is determined by the Jacobian matrix
In particular, is invertible when is, equivalently when is nonzero. Using the Cauchy–Riemann equations to substitute for the partial derivatives in , we can write the determinant as
Since is analytic, the partial derivative with respect to is just , so this determinant is just .
Therefore if , then is locally invertible at . The standard formula from calculus tells us that the derivative of at is , so since is nonzero and continuous at by analyticity, it follows that is also analytic at .
For example, the principal branch of the logarithm is analytic away from the branch cut at and has derivative at given by . Since any other branch of the logarithm differs from by a constant, their derivatives are the same, so any branch of the logarithm has derivative , which is well-defined and continuous away from .