The Cauchy-Riemann Equations
Suppose a function of a complex variable looks, near a point, indistinguishable from multiplication by a fixed complex number. When does such a function actually exist? How can we detect it using only ordinary real calculus? This question sits at the heart of complex analysis. Complex differentiability is a dramatically stronger condition than its real counterpart. Yet it can be tested by two unassuming partial differential equations. These equations relate the real and imaginary parts of a function. The Cauchy-Riemann equations translate a geometric demand into a concrete algebraic constraint. The geometric demand is that complex differentiability requires a function's derivative be the same regardless of the direction of approach. The constraint applies to partial derivatives. This translation is what makes complex analysis computationally tractable. Instead of checking a limit along every possible direction in the plane, we check two real equations. The equations also expose the deep rigidity of complex-differentiable functions. This foreshadows why such functions are automatically smooth. It also explains why they are conformal away from critical points. Finally, it shows why they are determined everywhere by their values on arbitrarily small open sets. The big picture is this: a complex function can be viewed as a map . It is real-differentiable in the ordinary multivariable sense whenever and have continuous partial derivatives. Complex differentiability asks for something stronger. This real derivative, a real matrix, must actually represent multiplication by a complex number. The Cauchy-Riemann equations are precisely the condition on that matrix's entries. They are what makes this true. This single idea unifies the algebra of complex numbers with the geometry of the plane. This article gives the precise definition of complex differentiability. It states and proves the theorem characterizing it via the Cauchy-Riemann equations. Both the necessary and the full sufficient direction are covered, with the correct extra hypothesis. The article works through two detailed non-symmetric examples. It exhibits a classical counterexample showing why continuity of the partials cannot be dropped. It closes by placing the equations in their historical and modern context. They serve as the doorway to the theory of Holomorphic Functions.
- Complex differentiability at a point means a single complex limit exists; this is far stronger than real differentiability of as a pair of two-variable functions.
- Writing with , the Cauchy-Riemann equations are and .
- The equations are necessary for complex differentiability at a point, always, with no extra hypothesis.
- They are sufficient only together with real-differentiability of (guaranteed e.g. by continuous partials) — dropping this hypothesis breaks the theorem.
- Geometrically, the equations say the real Jacobian matrix of is a scaled rotation matrix, i.e. multiplication by a complex number.
- Key idea: complex differentiability equals real differentiability plus the extra algebraic constraint that the derivative matrix commutes with multiplication by .
Where this lives today
The Cauchy–Riemann equations are the gateway to the entire theory of Holomorphic Functions: once verified on an open set, they unlock power series representations, the Cauchy integral formula, and the fact that a complex-differentiable function is automatically infinitely differentiable — a phenomenon with no counterpart in real analysis. In physics, the equations are the mathematical signature of two-dimensional irrotational, incompressible fluid flow and of electrostatic potential problems: the real and imaginary parts of a holomorphic function are harmonic conjugates, giving a direct bridge between complex analysis and Laplace's equation, which underlies heat flow, elasticity, and potential theory. In engineering, conformal maps built from holomorphic functions — precisely the maps satisfying these equations — are used to solve two-dimensional problems in aerodynamics (airfoil design via the Joukowski transform) and electromagnetics by transplanting complicated domains onto simple ones like disks or half-planes. In pure mathematics, the equations reappear in higher dimensions as the model for elliptic partial differential equations, and their failure or generalization (the -operator) is central to several complex variables and to modern index theory. They also underlie numerical conformal mapping algorithms used in computer graphics and mesh generation, and appear in signal processing through the Hilbert transform, which encodes the same real/imaginary compatibility condition for analytic signals. Understanding these equations is inseparable from understanding Complex Functions and Limits, on which the entire definition of complex differentiability rests.
Ask the tutor: Why does complex differentiability at just one point tell us so little, while complex differentiability on an entire open set tells us so much?
Let be open, let , and let . We say is complex differentiable at if the limit
exists (the limit being taken as through complex values, i.e. from every direction in the plane simultaneously). Write and identify with a pair of real-valued functions of two real variables,
The Cauchy–Riemann equations at a point are the pair of partial differential equations
Intuition
Think of as a transformation of the plane: it takes the point to . Ordinary (real) differentiability at a point means this transformation is well-approximated, near that point, by a linear map — its Jacobian matrix
A generic real matrix represents a linear map that can stretch the plane unevenly in different directions and can also reflect it. Complex differentiability demands something much more special: the linear approximation must be multiplication by a single complex number , which as a real-linear map is represented by the matrix
Matrices of this form are exactly the matrices representing rotation-and-scaling — they preserve angles and orientation. Comparing this template matrix entry-by-entry with the Jacobian forces (the two diagonal entries equal) and (the off-diagonal entries negatives of each other). These are exactly the Cauchy-Riemann equations. This is why complex differentiable maps are conformal wherever the derivative is nonzero: their derivative, viewed as a real linear map, is never a generic stretch — it is always a spinning, uniform dilation. Another way to see the same content: differentiating "in the direction of " should not depend on whether is real or purely imaginary. Approaching along the real axis ( real) gives derivative . Approaching along the imaginary axis (, real) gives derivative . Setting these equal — the real parts and imaginary parts separately — again produces exactly and .
Let be open, , and .
(Necessity, no extra hypothesis.) If is complex differentiable at , then the partial derivatives exist at , satisfy the Cauchy–Riemann equations there, and
(Sufficiency, with the differentiability hypothesis.) Conversely, suppose and are real-differentiable at (i.e. each admits a first-order Taylor approximation with error there) and satisfy the Cauchy–Riemann equations at . Then is complex differentiable at , with derivative . In particular, if have partial derivatives that are continuous on an open set and satisfy the Cauchy–Riemann equations throughout , then is complex differentiable at every point of .
We use the direct-limit technique for necessity, and the linear-approximation (differential) technique for sufficiency.
Necessity. Assume exists as a limit over complex . Because the limit exists along every path, it exists in particular along the two coordinate directions, and both must agree with . Along the real axis. Let , . Then
As this converges to — and the very existence of this limit forces the two real one-variable difference quotients to converge separately (a complex sequence converges iff its real and imaginary parts converge). Hence and exist, and
Along the imaginary axis. Let , , . Then
Again existence of the overall limit (equal to , since the full complex limit exists and every sub-path must agree with it) forces the two real difference quotients inside the bracket to converge, so and exist. Using ,
Comparing the real and imaginary parts of (1) and (2):
which are exactly the Cauchy–Riemann equations. This proves necessity, with no hypothesis beyond complex differentiability itself.
Sufficiency. Assume are real-differentiable at : writing with small, real-differentiability of means
where are evaluated at and as ; similarly
Add the second equation times to the first:
since . Now use the Cauchy–Riemann equations , to rewrite the second coefficient:
Substituting,
Therefore
and since as (this is exactly what means, and it holds regardless of the direction from which , because the estimate was direction-independent), we conclude
This limit exists and is finite, so is complex differentiable at with the stated derivative.
Final clause. If have continuous partial derivatives on all of , then by a standard fact from multivariable calculus (the mean value theorem applied to each variable separately shows a function with continuous partials is real-differentiable at every point — this is a prerequisite fact from real analysis, not proved here but not circular, since it makes no reference to complex differentiability), are real-differentiable at every point of . Combined with the Cauchy–Riemann equations holding throughout , the sufficiency argument just given applies at every point, so is complex differentiable throughout .
∎Worked examples
Example 1: , tested at a generic non-symmetric point. Write . Then
So and . Compute all four partials:
The Cauchy–Riemann equations demand and :
The first equation fails for every , since would force . Hence satisfies the Cauchy–Riemann equations nowhere in , and by the necessity direction of the theorem, is complex differentiable at no point. This matches the intuition that (complex conjugation) is orientation-reversing (a reflection), while any complex-differentiable map's derivative must be a rotation-scaling — reflections are never of that form unless the scale is zero, and adding an analytic piece cannot cancel that structural obstruction, as the computation confirms directly.
Example 2: (i.e. ), checked carefully at the asymmetric point . Here , , both built from elementary functions and hence smooth (all partials exist and are continuous everywhere). Compute:
Check Cauchy–Riemann at the point (so , chosen non-symmetric — neither on an axis nor at a "nice" angle):
Both equations hold, and since have continuous partial derivatives everywhere (their formulas involve only , all smooth), the sufficiency clause applies at every point of , not just . Hence is complex differentiable throughout , with derivative
confirming the familiar formula at this specific, deliberately asymmetric point. Numerically, , , , so .
The sufficiency direction requires to be real-differentiable at the point (equivalently, to admit a genuine linear approximation with error) — merely having partial derivatives that satisfy the Cauchy–Riemann equations is not enough. Here is a function where the Cauchy–Riemann equations hold at the origin, both partials exist there, yet fails to be complex differentiable at the origin. Define
Write . Then ... more directly: . Let us just compute cleanly: for ,
Alternatively and more simply, using polar form : , so
So for . Check partial derivatives exist at the origin and satisfy Cauchy–Riemann there. Along the real axis (, so for ): for , giving ; along for : , real, consistent with for all real , and , so
Along the imaginary axis (, for , ): (since ), so , , giving
So at the origin: and — the Cauchy–Riemann equations hold exactly at the origin. Yet is not complex differentiable at . Approach the origin along the ray fixed, :
which is a different complex number for each direction (e.g. gives , gives ). Since the difference quotient does not converge to a single value as from all directions, does not exist. The resolution: fail to be real-differentiable at the origin. One can check directly (using the polar formulas , ) that no single linear map approximates near the origin with error — the "error" after subtracting the candidate linear part is itself of order , not , because the angular dependence does not average away. This is exactly the missing hypothesis: partials existing and satisfying Cauchy–Riemann at an isolated point says nothing about behavior in a full neighborhood, and without the differentiability (or continuity-of-partials) hypothesis, the sufficiency direction of the theorem is false.
Scope, edge cases & common traps
| Situation | What holds | What can fail |
|---|---|---|
| complex differentiable at | Cauchy–Riemann equations hold at automatically | — (necessity is unconditional) |
| C-R equations hold at , partials merely exist (not shown differentiable) | Nothing guaranteed | may fail to be complex differentiable at (see counterexample) |
| C-R equations hold at , real-differentiable at | complex differentiable at , | Only pointwise; says nothing about a neighborhood |
| C-R equations hold on an open set, partials continuous there | complex differentiable ("holomorphic") throughout the set | — |
| C-R equations hold only on a lower-dimensional set (e.g. a line) | Isolated points/curves of complex differentiability, not holomorphy | Confusing "differentiable at a point" with "holomorphic on an open set" |
The mathematician behind it
Origins · 1 minAugustin-Louis Cauchy and how this was discovered
Cauchy was one of the most prolific mathematicians in history, producing foundational rigor for calculus (the modern - definitions trace to him), the theory of determinants, and above all complex analysis, where he introduced the integral theorem bearing his name and systematically studied complex differentiability using the equations that today carry his name jointly with Riemann, who decades later gave them their modern geometric interpretation in his 1851 dissertation on the foundations of function theory.
Do the Cauchy–Riemann equations alone prove a function is holomorphic on an open set?
Not by themselves. Holomorphy on an open set means complex differentiability at every point of . The theorem's sufficiency direction requires, at each point, not just the two equations but also real-differentiability of there. In practice this extra condition is almost always supplied by continuity of the four partial derivatives throughout , which is easy to check for elementary functions built from polynomials, exponentials, and trigonometric functions. So the correct statement is: Cauchy–Riemann equations plus continuous partials on imply holomorphy on . The equations alone, checked pointwise without any regularity assumption, do not suffice, as the counterexample demonstrates.
Why does complex differentiability force such a strong geometric condition, unlike real differentiability in two variables?
In real two-variable calculus, differentiability just means a function is well-approximated by some linear map — any of the infinitely many matrices is allowed, including stretches, shears, and reflections. Complex differentiability additionally requires the difference quotient to converge to a single number regardless of the direction takes to zero. Multiplication by a fixed complex number is a very restrictive kind of real-linear map: it can only rotate and uniformly scale, never shear or stretch unevenly. The Cauchy–Riemann equations are exactly the algebraic fingerprint that a general Jacobian matrix has this restricted rotation-scaling form.
Can the Cauchy–Riemann equations hold along a curve without being complex differentiable anywhere near it?
Yes, and this is a genuinely useful cautionary phenomenon. A function like has , , giving , , so the first equation only holds at ; combined with only at , so the equations hold only at the single point , not along a curve. But other constructions can make the equations hold along a full curve or even a dense set while the function remains complex differentiable only there, never on any open set — so it is never holomorphic anywhere nearby. This shows the equations holding on a "thin" set carries little of the powerful structure that holomorphy on an open set provides.
What is the connection between the Cauchy–Riemann equations and harmonic functions?
If is holomorphic on an open set and have continuous second partial derivatives (which turns out to always be automatic for holomorphic functions, though that fact requires more machinery than the equations alone), differentiating the Cauchy–Riemann equations and again and combining gives and . So both and satisfy Laplace's equation; they are called harmonic conjugates. This is the bridge connecting complex analysis to potential theory, electrostatics, and steady-state heat flow, all governed by Laplace's equation in two dimensions.
How do the Cauchy–Riemann equations look in polar coordinates?
Writing and as functions of , the equations transform (by the chain rule from ) into
These are algebraically equivalent to the Cartesian form wherever , and are often more convenient for functions naturally expressed in polar form, such as , , or , whose real and imaginary parts are cleanest in terms of and .
Is a function satisfying the Cauchy–Riemann equations automatically continuous?
No — continuity of is not automatically implied just from the two partial-derivative equations holding at a point, since those equations only constrain the partials, not the function's behavior along non-axis directions. However, once we also assume are real-differentiable at the point (the correct sufficient hypothesis for the full theorem), continuity of at that point follows immediately, because real-differentiability at a point always implies continuity there, by the standard argument that the linear approximation error is , which forces as .
Why is the counterexample instructive rather than just a technicality?
It shows precisely where the logical gap would be if one tried to weaken the sufficiency theorem's hypothesis from "real-differentiable" to merely "partial derivatives exist." The function's polar form reveals that the difference quotient depends on the approach angle through a factor , a clean, checkable, non-constant function of direction — making the failure completely transparent rather than an abstract pathology. It teaches that checking two numbers (the partials at a point) can never substitute for checking a genuine two-dimensional limit, which is the real content of complex differentiability.