The Cauchy–Riemann equations
Statement
Let \( \Omega \subseteq \mathbb{C} \) be open, let \( z_0 = x_0+iy_0 \in \Omega \), and write \( f:\Omega\to\mathbb{C} \) as \( f(x+iy) = u(x,y)+iv(x,y) \) with \( u,v:\Omega\to\mathbb{R} \) (identifying \( \Omega \subseteq \mathbb{C} \) with an open subset of \( \mathbb{R}^2 \)). (Necessity.) If \( f \) is complex differentiable at \( z_0 \), i.e. \( f'(z_0) = \lim_{h\to 0}\frac{f(z_0+h)-f(z_0)}{h} \) exists (\( h\in\mathbb{C} \)), then the partial derivatives \( u_x,u_y,v_x,v_y \) exist at \( (x_0,y_0) \) and satisfy the Cauchy–Riemann equations \[ u_x(x_0,y_0) = v_y(x_0,y_0), \qquad u_y(x_0,y_0) = -v_x(x_0,y_0), \] and moreover \( f'(z_0) = u_x(x_0,y_0)+iv_x(x_0,y_0) \). (Sufficiency.) Conversely, if \( u,v \) have partial derivatives \( u_x,u_y,v_x,v_y \) throughout some open neighbourhood of \( (x_0,y_0) \), these partials are continuous at \( (x_0,y_0) \), and the Cauchy–Riemann equations hold at \( (x_0,y_0) \), then \( f \) is complex differentiable at \( z_0 \), with \( f'(z_0)=u_x(x_0,y_0)+iv_x(x_0,y_0) \).
Why it matters
The Cauchy–Riemann (CR) equations are the bridge between the algebraic notion of complex differentiability — a single complex limit — and the analytic machinery of two-variable real calculus. They convert "does \( f'(z_0) \) exist?" into a checkable system of two coupled first-order PDEs relating the real and imaginary parts of \( f \), which is exactly what makes the theory of holomorphic functions computationally tractable: one can verify analyticity of an explicit map by differentiating its real and imaginary parts as ordinary two-variable functions.
The equations are also the seed of everything downstream in complex analysis: they force \( u \) and \( v \) to be harmonic (once \( f \) is known to be holomorphic and hence \( C^\infty \), via Goursat/Cauchy's theorem), they encode the fact that \( f \) acts locally as a rotation-and-scaling (conformality) rather than a general linear map, and they are the two-dimensional shadow of the much stronger rigidity that distinguishes holomorphic functions from merely smooth real maps \( \mathbb{R}^2\to\mathbb{R}^2 \).
Hypotheses
Proof
Result
Reading. Writing a complex map as a pair of real functions of two real variables, complex differentiability at a point is equivalent to that pair being an ordinary differentiable map of \( \mathbb{R}^2\to\mathbb{R}^2 \) whose Jacobian matrix has the special form \( \begin{pmatrix} a & -b \\ b & a\end{pmatrix} \) — a scaling-and-rotation matrix — rather than a general \( 2\times2 \) matrix. The two scalar CR equations are exactly the two linear constraints cutting the four-dimensional space of Jacobians down to this two-dimensional (complex, \( a+ib \)) family.
Scope. The necessity half (Steps 1–4) requires only that \( f \) be complex differentiable at the single point \( z_0 \); no continuity of derivatives is needed. The sufficiency half (Steps 5–9) needs the partials to exist near \( z_0 \) and be continuous at \( z_0 \); this can be weakened (Looman–Menchoff: continuity of \( u,v \) plus CR holding a.e., plus partials existing, suffices) but that refinement is a separate, harder theorem and is not proved here. When CR holds at every point of an open set with continuous partials throughout, \( f \) is holomorphic on that set.
Corollaries & converses
- If \( f=u+iv \) is holomorphic on a domain \( \Omega \) (so, by Goursat's theorem, \( f\in C^\infty(\Omega) \)), then \( u,v \) are \( C^2 \) and CR gives \( u_{xx}=v_{yx}=v_{xy}=-u_{yy} \), i.e. \( u \) (and likewise \( v \)) is harmonic: \( \Delta u = u_{xx}+u_{yy}=0 \). Real and imaginary parts of holomorphic functions are always harmonic conjugates.
- If \( f'(z)=0 \) throughout a domain \( \Omega \), CR forces the Jacobian of \( (u,v) \) to vanish identically, so \( u,v \) are constant on each connected component of \( \Omega \); hence \( f \) is (locally) constant.
- The converse of the necessity direction alone is false in the strong pointwise sense: existence of \( u_x,u_y,v_x,v_y \) at \( z_0 \) together with CR at \( z_0 \) does not imply \( f \) is complex differentiable at \( z_0 \) — see the Fails-without list. Continuity of the partials (or an equivalent regularity condition) is genuinely needed, so the theorem is a biconditional only under the stated extra hypothesis, not under CR alone.
- An entire function with \( \bar f \) also holomorphic (equivalently \( f \) and \( \bar f \) both satisfy CR) must be constant, since CR for \( f \) gives \( u_x=v_y,u_y=-v_x \) while CR for \( \bar f = u-iv \) gives \( u_x=-v_y,u_y=v_x \), forcing \( u_x=u_y=v_x=v_y=0 \).
Fails without
- Dropping continuity of the partials (keeping mere existence + CR at the point): \( f(z)=\bar z^2/z \) for \( z\neq0 \), \( f(0)=0 \), satisfies CR and has all partials existing at \( 0 \) (computed above), yet \( f(re^{i\theta})/re^{i\theta} = e^{-4i\theta} \) depends on \( \theta \), so \( \lim_{z\to0} f(z)/z \) does not exist: \( f \) is not complex differentiable at \( 0 \).
- Dropping CR itself (real differentiability alone): \( f(z)=\bar z = x-iy \) has \( u=x,v=-y \), both real-differentiable everywhere with continuous (constant) partials, but \( u_x=1\neq -1=v_y \), so CR fails at every point; indeed \( \bar z \) is nowhere complex differentiable (\( \frac{f(z_0+h)-f(z_0)}{h}=\bar h/h \), which equals \( 1 \) for real \( h \) and \( -1 \) for purely imaginary \( h \)).
- Restricting to a non-open domain (dropping "\( \Omega \) open near \( z_0 \)"): if \( f \) is only ever evaluated along the real axis, \( u_y,v_y \) are not even defined, so "CR holds" is vacuous or ill-posed and cannot certify complex differentiability of any genuine extension to a neighbourhood of \( z_0 \) in \( \mathbb{C} \).
Common errors
- Treating "\( u,v \) satisfy CR at \( z_0 \)" alone as sufficient for \( f'(z_0) \) to exist, forgetting the continuity-of-partials hypothesis (or full real-differentiability) needed for the converse direction — the classic trap illustrated by \( \bar z^2/z \).
- Getting the sign wrong: writing \( u_y=v_x \) instead of \( u_y=-v_x \); this is usually caught by re-deriving from \( f'(z_0)=u_x+iv_x=v_y-iu_y \) rather than memorising the formula.
- Applying CR to \( f(z)=\bar z \), \( |z|^2 \), \( \operatorname{Re}(z) \), or \( \operatorname{Im}(z) \) and concluding they are holomorphic because they are smooth as maps \( \mathbb{R}^2\to\mathbb{R}^2 \) — smoothness is not the issue, satisfying the linear constraint CR imposes on the Jacobian is.
- Forgetting that CR is stated with respect to the standard identification \( z=x+iy \); using CR verbatim after substituting polar coordinates without switching to the polar form \( u_r = \tfrac{1}{r}v_\theta,\ v_r=-\tfrac1r u_\theta \) (which is a distinct, though equivalent, pair of equations).
- Concluding \( u \) is harmonic directly from CR without first knowing \( f \) is holomorphic on an open set (so that Goursat guarantees \( u,v\in C^2 \)); CR alone at isolated points, or without the regularity needed to interchange mixed partials (Clairaut/Schwarz), does not license \( u_{xy}=u_{yx} \).
Discussion
Historically the equations bear the names of Augustin-Louis Cauchy, who used them (1814 onward) in the context of integral formulas for what would become complex analysis, and Bernhard Riemann, whose 1851 dissertation placed them at the foundation of a geometric theory of functions of a complex variable, treating holomorphy as a local conformality condition rather than a formula-based notion. The equations had, in fact, appeared earlier still in d'Alembert's work on fluid dynamics (1752) — they are precisely the irrotational, incompressible flow condition for the velocity field \( (u,-v) \), which is one reason harmonic conjugate pairs \( (u,v) \) show up throughout 2D potential theory, electrostatics, and fluid mechanics.
Conceptually, CR is the statement that the real-linear approximation to \( f \) at \( z_0 \) (its Jacobian, an element of \( \mathrm{Mat}_2(\mathbb{R}) \)) actually lies in the subalgebra of matrices of the form \( \begin{pmatrix}a&-b\\b&a\end{pmatrix} \), which is isomorphic as an \( \mathbb{R} \)-algebra to \( \mathbb{C} \) itself (via \( a+ib \leftrightarrow \) the matrix). So "\( f \) is complex differentiable" literally means "the best real-linear approximation to \( f \) is multiplication by a complex number," which is a strictly more rigid condition than being an arbitrary real-linear map (that four-real-parameter freedom being cut to two real parameters, i.e. one complex parameter, by the two CR constraints). This rigidity is what ultimately produces the entire battery of strong theorems in complex analysis (analyticity, Cauchy integral formula, identity theorem) that have no counterpart for merely differentiable maps \( \mathbb{R}^2\to\mathbb{R}^2 \).
A cleaner formal packaging uses the Wirtinger derivatives \( \partial_{\bar z} = \tfrac12(\partial_x+i\partial_y) \), \( \partial_z=\tfrac12(\partial_x-i\partial_y) \), formally treating \( z,\bar z \) as independent variables. A short computation shows the CR system is equivalent to the single complex equation \( \partial_{\bar z} f = 0 \), and when this holds, \( f'(z_0)=\partial_z f(z_0) \). This reformulation both explains the mnemonic "\( f \) holomorphic \( \iff \) \( f \) does not depend on \( \bar z \)" and generalises immediately to CR-type systems in several complex variables.
Common misconception: that "\( u,v \) satisfy CR everywhere" is by itself synonymous with "\( f \) is holomorphic." The precise statement (this theorem, sufficiency direction) needs continuity of the partial derivatives, or some substitute regularity hypothesis; the sharpest classical repair, the Looman–Menchoff theorem, shows that mere continuity of \( f \) together with CR holding at every point (partials assumed to exist, not assumed continuous) is enough to force holomorphy — a genuinely deeper real-analytic fact whose proof is well beyond the differentiability-lemma argument used above, and is not established by this theorem.
Worked examples
Problems
- Show that \( f(z)=\overline{z}\,e^{z} \) is nowhere complex differentiable.
Solution
Write \( e^{x+iy}=e^x\cos y + ie^x\sin y \), so \( \bar z e^z = (x-iy)(e^x\cos y+ie^x\sin y) \). Expanding: \( u = e^x(x\cos y + y\sin y) \) [real part], \( v = e^x(x\sin y - y\cos y) \) [imaginary part]. Rather than expand fully, use the corollary-style shortcut: \( g(z):=\bar z \) has Jacobian \( \begin{pmatrix}1&0\\0&-1\end{pmatrix} \) (satisfies CR nowhere, as shown in Fails-without), while \( h(z):=e^z \) is entire and \( h(z)\neq0 \) everywhere. If \( f=g\cdot h \) were complex differentiable at some \( z_0 \), then since \( h(z_0)\neq0 \) and \( h \) is holomorphic near \( z_0 \), \( g = f/h \) would be a quotient of complex-differentiable functions at \( z_0 \) (using the quotient rule, valid once both factors are known complex differentiable at \( z_0 \)) hence complex differentiable at \( z_0 \) — contradicting that \( \bar z \) is nowhere complex differentiable. So \( f \) is nowhere complex differentiable. (Equivalently, compute \( u,v \) explicitly and check CR fails at every point — a longer but elementary route.) - Let \( f(z) = x^3 - 3xy^2 + i(3x^2y - y^3) \). Verify CR holds everywhere and find \( f'(z) \) in terms of \( z \).
Solution
\( u=x^3-3xy^2,\ v=3x^2y-y^3 \). Then \( u_x=3x^2-3y^2,\ u_y=-6xy,\ v_x=6xy,\ v_y=3x^2-3y^2 \). CR: \( u_x=v_y \) gives \( 3x^2-3y^2=3x^2-3y^2 \) ✓; \( u_y=-v_x \) gives \( -6xy=-6xy \) ✓. All partials are polynomials, hence continuous everywhere, so by the theorem \( f \) is entire with \( f'(z)=u_x+iv_x = (3x^2-3y^2)+i(6xy) = 3(x^2-y^2+2ixy)=3(x+iy)^2=3z^2 \). (Indeed \( f(z)=z^3 \), since \( z^3=(x+iy)^3=x^3+3x^2(iy)+3x(iy)^2+(iy)^3=x^3-3xy^2+i(3x^2y-y^3) \).) - Suppose \( f=u+iv \) is entire and \( u(x,y) = x^2-y^2 \) for all \( (x,y) \). Using CR, find the most general possible \( v \), and hence \( f \), given \( f(0)=i \).
Solution
\( u_x=2x=v_y \Rightarrow v = 2xy + \varphi(x) \) for some function \( \varphi \) (integrating in \( y \) with \( x \) held fixed). Also \( u_y=-2y \) must equal \( -v_x \), i.e. \( v_x = 2y \). But from \( v=2xy+\varphi(x) \), \( v_x = 2y+\varphi'(x) \). Matching: \( 2y+\varphi'(x)=2y \Rightarrow \varphi'(x)=0 \Rightarrow \varphi(x)=c \) constant. So \( v=2xy+c \), giving \( f(z) = (x^2-y^2)+i(2xy+c) = z^2+ic \) (using \( x^2-y^2+2ixy=z^2 \)). Impose \( f(0)=i \): \( f(0)=0+ic=ic=i \Rightarrow c=1 \). So \( f(z)=z^2+i \). (This is the harmonic-conjugate construction: CR determines \( v \) up to an additive real constant once \( u \) is fixed and \( \Omega \) is connected.) - Determine whether there exists an entire function \( f \) with \( \operatorname{Re}(f(z)) = xy \) for all \( z \), by attempting the harmonic-conjugate construction and checking consistency.
Solution
First check \( u=xy \) is harmonic (a necessary condition, by the Corollaries, for \( u \) to be the real part of a holomorphic function): \( u_{xx}=0,\ u_{yy}=0 \), so \( \Delta u=0 \) ✓, harmonicity holds, so no contradiction yet. Proceed: \( u_x=y=v_y \Rightarrow v=\tfrac12y^2+\varphi(x) \). Need \( u_y=x=-v_x=-\varphi'(x) \Rightarrow \varphi'(x)=-x \Rightarrow \varphi(x) = -\tfrac12x^2+c \). So \( v = \tfrac12y^2-\tfrac12x^2+c = -\tfrac12(x^2-y^2)+c \). Both determining equations were consistent (no contradiction forced \( \varphi'\) to be simultaneously two different non-constant things), so such \( f \) exists: \( f(z) = xy + i\big(-\tfrac12(x^2-y^2)+c\big) \). Checking against \( z^2=(x^2-y^2)+i(2xy) \): note \( -\tfrac{i}{2}z^2 = -\tfrac i2(x^2-y^2) + xy \), matching \( f \) exactly (with \( c=0 \)). So \( f(z) = -\tfrac{i}{2}z^2 + ic \) works for any real \( c \); in particular such an entire \( f \) exists (uniquely up to an additive purely imaginary constant, by the Corollaries). - Let \( f(z) = \sqrt{|xy|} \) (real-valued, so \( v\equiv0 \)). Show CR holds at \( z_0=0 \) but \( f \) is not complex differentiable there, and identify precisely which hypothesis of the theorem fails.
Solution
With \( v\equiv 0 \), \( v_x=v_y=0 \) everywhere. Compute \( u_x(0,0) = \lim_{t\to0}\frac{\sqrt{|t\cdot0|}-0}{t} = \lim_{t\to0}\frac{0}{t}=0 \), and symmetrically \( u_y(0,0)=0 \). So CR at the origin reads \( u_x=v_y \): \( 0=0 \) ✓, and \( u_y=-v_x \): \( 0=-0 \) ✓ — CR holds at \( (0,0) \). Now test complex differentiability directly along \( z=t(1+i) \), \( t\in\mathbb{R}\to0 \): \( f(t(1+i)) = \sqrt{|t\cdot t|} = |t| \), so \( \frac{f(z)-f(0)}{z} = \frac{|t|}{t(1+i)} \), whose modulus is \( \frac{1}{\sqrt2} \) for all \( t\neq0 \) but whose sign flips with the sign of \( t \) (since \( |t|/t = \pm1 \)); the limit as \( t\to0^+ \) and \( t\to0^- \) disagree, so \( \lim_{z\to0} f(z)/z \) does not exist and \( f \) is not complex differentiable at \( 0 \). The failing hypothesis is continuity of the partials at \( (0,0) \): one can check \( u_x(x,y) \) does not tend to \( 0 \) as \( (x,y)\to(0,0) \) along generic paths (e.g. along \( y=x \), \( u=\sqrt{x^2}=|x| \), which is not differentiable in \( x \) at \( x=0\) once \( y\ne0\) is allowed to vary, so \( u_x \) fails to be continuous at the origin), so the sufficiency direction's continuity hypothesis is not met, and indeed its conclusion fails — consistent with, and a further illustration of, the theorem.