Differentiability and Cauchy-Riemann equations
Take an ordinary real function of two variables and ask it to be differentiable in the complex sense, and the requirement suddenly becomes far stricter: the limit defining the derivative must agree no matter which direction in the plane you approach from, not just along one axis. That single demand — direction independence — is what makes complex differentiability such a powerful and restrictive idea, and the Cauchy-Riemann (C-R) equations are its algebraic fingerprint. Instead of checking infinitely many directions of approach, you check two partial-derivative identities. This topic sits at the hinge of Unit 5 (Complex Variables) in MA10001. It converts the abstract limit definition of into a concrete test you can run on any , and it reconnects to the harmonic functions of Unit 2: the real and imaginary parts of an analytic function turn out to be a conjugate harmonic pair. Everything later in the unit — contour integration, Cauchy's theorem, residues — rests on the notion of analyticity built here.
A complex function is differentiable only if its real and imaginary parts satisfy and (the Cauchy-Riemann equations), and if those partials are also continuous nearby, is in fact analytic there.
The core idea
Complex differentiability is a one-limit, all-directions condition. is differentiable at if
exists as a single value, no matter how in the complex plane — along the real axis, the imaginary axis, or any spiral in between. where: is a complex increment, and the limit must be the same finite number for every path of approach. Real differentiability only ever asks about approach along a line in restricted to one variable at a time; complex differentiability asks about every direction in the plane simultaneously, which is why it is so much harder to satisfy.
Analyticity upgrades a point condition to a neighbourhood condition. is analytic (equivalently holomorphic) at if it is differentiable not just at but at every point of some open disc around . Differentiability at an isolated point does not make a function analytic there — you need a whole neighbourhood of good behaviour before the deep machinery of complex analysis (Cauchy's integral theorem, power-series expansions, residue calculus) becomes available.
The Cauchy-Riemann equations translate the limit condition into partial derivatives. Writing , if exists then and have first partials at satisfying
where: is the real part and the imaginary part of , both functions of the two real variables ; the four quantities are ordinary partial derivatives. These two identities are necessary for differentiability at a point — every differentiable obeys them — but on their own they are not enough to guarantee differentiability, which is the single most tested subtlety in this topic.
Continuity of the partials upgrades necessity to sufficiency. If exist and are continuous in a neighbourhood of and satisfy the C-R equations there, then is differentiable — in fact analytic — at , with . Drop the continuity requirement and C-R holding at a point no longer guarantees anything, because the underlying real-variable theorem (differentiability of a function of two variables) itself needs continuous partials. The figure below visualises why direction-independence is the crux: two different paths into must produce the same difference-quotient limit, and equating what each path forces on and is exactly how the C-R equations are born.
The core derivation
The goal is to show that if exists as a genuine, direction-independent complex limit, then the real and imaginary parts of must satisfy and at that point — turning a single hard-to-check limit condition into two ordinary partial-derivative equations that can be verified algebraically on any polynomial or rational expression in and .
Step 1. Approach along the real axis. Let (a real increment, ). Then
This is just the ordinary partial derivative of and of with respect to , combined into one complex number.
Step 2. Approach along the imaginary axis. Let (a purely imaginary increment, ). Then
using to clear the factor of from the denominator.
Step 3. Equate the two expressions for , since a genuine complex derivative must give the same value regardless of the path chosen. The real-axis result is and the imaginary-axis result is ; two complex numbers are equal exactly when their real parts match and their imaginary parts match.
Step 4. Read off the two equations. Matching real parts gives . Matching imaginary parts gives , i.e. . These are the Cauchy-Riemann equations, and the argument shows they are necessary — forced on any function that is genuinely complex differentiable at — though on their own, without continuity of the partials, they are not sufficient to guarantee that differentiability.
Harmonic conjugates fall out for free. If is analytic, differentiate the C-R equations once more: and . Adding, and using equality of mixed partials , gives — so is harmonic, and by the same argument so is . They are called harmonic conjugates: given one, C-R determines the other up to an additive real constant.
Worked example
Problem. Show that is differentiable everywhere and find using the Cauchy-Riemann equations; then show (complex conjugation) is nowhere differentiable.
Step 1. Split into real and imaginary parts. With , , so and .
Step 2. Compute the four partials. , , , .
Step 3. Check C-R and continuity. holds, and holds — for all . All four partials are polynomials, so they are continuous everywhere. By the sufficiency direction, is analytic on all of (an entire function), with , matching the familiar formula .
Step 4. Now test , so , , giving . The first C-R equation requires , i.e. , which is false at every point. Since the necessary condition fails everywhere, is nowhere differentiable — even though and are perfectly smooth real functions on their own, differentiability of the components separately is not enough.
Answer: is entire with ; is differentiable at no point of .
Competitive stretch
For : , so . C-R needs and , both true only at the single point . So is differentiable only at and, since no neighbourhood of is entirely made of points where it's differentiable, is nowhere analytic — a sharp illustration that differentiability at one point does not give analyticity.
Common traps
- Confusing C-R sufficiency with necessity. C-R holding at a point is necessary but not sufficient by itself — you also need the four partials continuous near that point before concluding differentiability.
- Checking C-R at one point and calling the function analytic. Analyticity needs differentiability throughout a neighbourhood; satisfies C-R only at the origin and is nowhere analytic.
- Sign error in the second equation. It is , not ; this is the single most common slip.
- Forgetting the harmonic conjugate is only unique up to a constant. Given harmonic, is determined by integrating the C-R relations but always carries a free additive real constant.
Ask the tutor: For more practice verifying C-R on new functions or finding harmonic conjugates step by step, ask the AI tutor to generate a fresh problem set for this topic.
If a function satisfies the Cauchy-Riemann equations at a point, is it automatically differentiable there?
Not necessarily. C-R holding is a necessary condition, derived by forcing the real-axis and imaginary-axis approach limits to agree — but two directions agreeing does not by itself prove that every direction agrees. The extra ingredient is continuity of the four partials near the point; once you have both C-R and that continuity, the sufficiency theorem guarantees differentiability. Without checking continuity, you have only shown a necessary condition is satisfied, not that the function is actually differentiable.
Why does complex differentiability require so much more than real differentiability?
In one real variable, differentiability only means the difference quotient has a limit as you approach along the single number line — there are only two directions, left and right, and they usually agree easily. In the complex plane, can happen along infinitely many directions and spiralling paths, and every single one must give the same limiting value. The Cauchy-Riemann equations are the two extra constraints that emerge once you demand agreement between just the two simplest directions (real and imaginary axes); sufficiency then extends that agreement to all directions provided the partials are continuous. That is exactly why so few functions built from , , or survive the test.
How do I find the harmonic conjugate v given a harmonic function u?
Use the C-R equations as a recipe. From , integrate with respect to to get up to an unknown function of ; then differentiate that expression with respect to , set it equal to (the second C-R equation), and solve for the unknown function of . The result always contains one free additive real constant, since integrating only pins down up to a constant — the problem never has a unique answer without an extra condition like .