The Cauchy–Riemann equations are the pair of partial differential equations that test whether a complex function is complex differentiable:
These are necessary conditions for to be complex differentiable at a point. Together with continuity of the partials in a neighborhood, they are also sufficient.
Derivation
Take the Complex derivative definition and approach along two perpendicular directions.
Along the real axis (, real):
Along the imaginary axis ():
If exists, both expressions must agree. Equating real and imaginary parts:
These are the C–R equations.
Furthermore, the derivative can be computed two equivalent ways:
Verifying on known examples
. , . Partials: , , , . C–R: () ✓; () ✓. So is analytic. Derivative: .
. , . Partials: , , , . C–R fails: . Violates C–R everywhere. is differentiable nowhere — matches the Complex derivative result.
. , . Partials: , . C–R holds everywhere. — the complex exponential is its own derivative.
C–R alone is not sufficient
The textbook standard counterexample:
Direct computation gives , , , , so C–R holds at . But is not complex differentiable at : along (real) the quotient is ; along the quotient is . The function fails the limit-along-all-directions test.
C–R plus continuity is sufficient
Theorem (sufficient condition for differentiability). If and have continuous first partial derivatives in an open neighborhood of and satisfy the C–R equations at , then is complex differentiable at , with .
The continuity-on-a-neighborhood condition is what makes the tangent-plane approximation work uniformly. In practice: check C–R, check that partials are continuous, conclude differentiable.
For polynomial expressions in , partials are automatically continuous, so C–R alone is the effective test.
Polar form
For and , the polar version of C–R:
Convenient when the function is naturally polar (like , ).
C–R as conservative-and-source-free
The deepest payoff. The C–R equations and are exactly the conditions for the 2D vector field to be both conservative and source-free:
- Conservative: cross-partials match. For , need , i.e., .
- Source-free: . iff .
So a complex function is analytic iff the underlying vector field is both conservative and source-free.
This connects Cauchy’s theorem (closed-contour integrals of analytic functions vanish) and the Residue theorem to Green’s theorem and the Divergence theorem — they’re 2D vector calculus identities, repackaged for the field in complex notation.
Unpacking :
When is analytic, both real and imaginary parts vanish by Green’s theorem — circulation of a conservative field, flux of a source-free field. Cauchy’s theorem is two applications of Green’s theorem combined into one complex identity.
Connection to harmonicity
If is analytic, and are each harmonic: . The proof differentiates the C–R equations and adds:
by Clairaut’s theorem. Same for . See Harmonic function.