Complex functions, limits, and continuity

Complex analysis opens by treating z=x+iyz = x+iy as a single point in the plane C\mathbb{C} and asking whether the limit and continuity ideas from real calculus survive the jump from a line to a plane. They do, but with one sharpened requirement: on the real line a limit only has two directions to check, left and right; in C\mathbb{C} a point z0z_0 can be approached from infinitely many directions at once, and the limit exists only if every single one of them agrees. This topic opens Unit 5 (Complex Variables) of MA10001, right after you have polished the algebra and geometry of complex numbers. It supplies the precise vocabulary — ε\varepsilon-δ\delta limits, continuity, the real-imaginary split f(z)=u(x,y)+iv(x,y)f(z)=u(x,y)+iv(x,y) — on which differentiability, analyticity, and the Cauchy-Riemann equations are built in the very next topic.

The core insight

A complex function f(z)=u(x,y)+iv(x,y)f(z)=u(x,y)+iv(x,y) has a limit or is continuous at z0z_0 exactly when the paired real functions uu and vv both have that limit or are both continuous at (x0,y0)(x_0,y_0), but with the extra twist that z→z0z\to z_0 must be checked along every possible path in the plane, not just along an axis.

The core idea

Setting up the plane. Write z=x+iyz=x+iy and let a function act as f(z)=f(x+iy)=u(x,y)+i v(x,y)f(z)=f(x+iy)=u(x,y)+i\,v(x,y), so one complex rule packages two real-valued functions u,v:R2→Ru,v:\mathbb{R}^2\to\mathbb{R}. Distance in C\mathbb{C} is the ordinary Euclidean distance ∣z1−z2∣=(x1−x2)2+(y1−y2)2|z_1-z_2|=\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}, so C\mathbb{C} behaves exactly like R2\mathbb{R}^2 for the purposes of limits.

Limit. The formal definition mirrors the real ε\varepsilon-δ\delta definition, only the absolute value now measures planar distance:

lim⁡z→z0f(z)=L  ⟺  ∀ ε>0, ∃ δ>0: 0<∣z−z0∣<δ  ⟹  ∣f(z)−L∣<ε.\lim_{z\to z_0} f(z) = L \iff \forall\,\varepsilon>0,\ \exists\,\delta>0:\ 0<|z-z_0|<\delta \implies |f(z)-L|<\varepsilon.

where: ε\varepsilon is the target closeness of f(z)f(z) to LL, δ\delta is the resulting closeness of zz to z0z_0 that guarantees it, and ∣z−z0∣|z-z_0| is the modulus of the difference, i.e. planar distance. The decisive difference from R\mathbb{R} is that the disc 0<∣z−z0∣<δ0<|z-z_0|<\delta surrounds z0z_0 in every direction; the definition demands the same LL along every path of approach, not merely along the axes.

Continuity. ff is continuous at z0z_0 when three things all hold: f(z0)f(z_0) is defined, lim⁡z→z0f(z)\lim_{z\to z_0}f(z) exists, and

lim⁡z→z0f(z)=f(z0).\lim_{z\to z_0} f(z) = f(z_0).

Component reduction. The practical shortcut, proved below, is that continuity of ff reduces to continuity of two ordinary real multivariable functions u(x,y)u(x,y) and v(x,y)v(x,y) at the point (x0,y0)(x_0,y_0) — a fact you can check with tools already familiar from the several-variables unit.

Figure
Two paths approaching the origin in the complex plane giving different limiting values for a ratio of conjugates
Path dependence: two directions, two different limits Re Im z = 0 along real axis: f to 1 along imaginary axis: f to -1 f(z) = conjugate of z, divided by z

Algebra of limits. Sums, differences, products, and quotients (nonzero denominator limit) of complex functions obey the same limit laws as in R\mathbb{R}. A direct consequence: every polynomial in zz is continuous on all of C\mathbb{C}, and every rational function is continuous wherever its denominator does not vanish.

Derivation AContinuity of f(z) reduces to continuity of its real and imaginary parts

The goal is to prove that f(z)=u(x,y)+iv(x,y)f(z)=u(x,y)+iv(x,y) is continuous at z0=x0+iy0z_0=x_0+iy_0 if and only if the two real-valued functions of two real variables, uu and vv, are each continuous at (x0,y0)(x_0,y_0), so that every continuity question about a complex function can be answered with ordinary two-variable calculus instead of a fresh ε\varepsilon-δ\delta argument in the plane.

Step 1. Fix the bounding inequalities that link a complex number to its real and imaginary parts. For any complex number w=a+ibw=a+ib, ∣a∣≤∣w∣|a|\le|w|, ∣b∣≤∣w∣|b|\le|w|, and ∣w∣≤∣a∣+∣b∣|w|\le|a|+|b|; these are just the statement that a leg of a right triangle cannot exceed the hypotenuse, and the hypotenuse cannot exceed the sum of the legs.

Step 2. Apply Step 1 to w=f(z)−f(z0)=[u(x,y)−u(x0,y0)]+i[v(x,y)−v(x0,y0)]w=f(z)-f(z_0)=[u(x,y)-u(x_0,y_0)]+i[v(x,y)-v(x_0,y_0)]. Writing Δu=u(x,y)−u(x0,y0)\Delta u = u(x,y)-u(x_0,y_0) and Δv=v(x,y)−v(x0,y0)\Delta v = v(x,y)-v(x_0,y_0), the two useful bounds are ∣Δu∣≤∣f(z)−f(z0)∣|\Delta u|\le|f(z)-f(z_0)|, ∣Δv∣≤∣f(z)−f(z0)∣|\Delta v|\le|f(z)-f(z_0)|, and ∣f(z)−f(z0)∣≤∣Δu∣+∣Δv∣|f(z)-f(z_0)|\le|\Delta u|+|\Delta v|. Also note ∣z−z0∣=(x−x0)2+(y−y0)2|z-z_0|=\sqrt{(x-x_0)^2+(y-y_0)^2} controls both ∣x−x0∣|x-x_0| and ∣y−y0∣|y-y_0| the same way, since z−z0=(x−x0)+i(y−y0)z-z_0=(x-x_0)+i(y-y_0).

Step 3. Prove the forward direction: assume ff is continuous at z0z_0, so for every ε>0\varepsilon>0 there is δ>0\delta>0 with ∣z−z0∣<δ  ⟹  ∣f(z)−f(z0)∣<ε|z-z_0|<\delta \implies |f(z)-f(z_0)|<\varepsilon. By the first bound in Step 2, the same δ\delta gives ∣Δu∣<ε|\Delta u|<\varepsilon and ∣Δv∣<ε|\Delta v|<\varepsilon whenever (x,y)(x,y) is within δ\delta of (x0,y0)(x_0,y_0) in the plane. That is exactly the ε\varepsilon-δ\delta statement that uu and vv are each continuous at (x0,y0)(x_0,y_0).

Step 4. Prove the reverse direction: assume uu and vv are each continuous at (x0,y0)(x_0,y_0). Given ε>0\varepsilon>0, choose δ1\delta_1 so that ∣Δu∣<ε/2|\Delta u|<\varepsilon/2 whenever (x,y)(x,y) is within δ1\delta_1 of (x0,y0)(x_0,y_0), and δ2\delta_2 so that ∣Δv∣<ε/2|\Delta v|<\varepsilon/2 whenever (x,y)(x,y) is within δ2\delta_2. Take δ=min⁡(δ1,δ2)\delta=\min(\delta_1,\delta_2). Then for ∣z−z0∣<δ|z-z_0|<\delta, the third bound in Step 2 gives ∣f(z)−f(z0)∣≤∣Δu∣+∣Δv∣<ε/2+ε/2=ε|f(z)-f(z_0)|\le|\Delta u|+|\Delta v|<\varepsilon/2+\varepsilon/2=\varepsilon, which is precisely continuity of ff at z0z_0.

Step 5. Read the result. Both directions hold, so continuity of ff at z0z_0 is logically equivalent to continuity of both uu and vv at (x0,y0)(x_0,y_0). This is why, in practice, nobody re-runs the ε\varepsilon-δ\delta argument for every new complex function: they split ff into u+ivu+iv and apply the continuity rules for real functions of two variables that are already known.

Worked example

Problem. Extend the Pass-1 examples: using the component-reduction theorem, verify directly (via u,vu,v) that f(z)=z2+3zf(z)=z^2+3z is continuous at z0=1+iz_0=1+i with f(1+i)=3+5if(1+i)=3+5i, and confirm that g(z)=z+1z2+1g(z)=\dfrac{z+1}{z^2+1} is discontinuous only at z=±iz=\pm i.

Step 1. Split f(z)=z2+3zf(z)=z^2+3z into real and imaginary parts. With z=x+iyz=x+iy: z2=(x2−y2)+i(2xy)z^2=(x^2-y^2)+i(2xy), so f(z)=(x2−y2+3x)+i(2xy+3y)f(z)=(x^2-y^2+3x)+i(2xy+3y), giving u(x,y)=x2−y2+3xu(x,y)=x^2-y^2+3x and v(x,y)=2xy+3yv(x,y)=2xy+3y.

Step 2. Both uu and vv are polynomials in the real variables x,yx,y, and polynomials of several real variables are continuous everywhere on R2\mathbb{R}^2 (sums and products of the continuous coordinate functions x,yx,y). By the theorem just derived, ff is therefore continuous at every point of C\mathbb{C}, in particular at z0=1+iz_0=1+i (so x0=1, y0=1x_0=1,\,y_0=1).

Step 3. Evaluate at (x0,y0)=(1,1)(x_0,y_0)=(1,1): u(1,1)=1−1+3=3u(1,1)=1-1+3=3 and v(1,1)=2+3=5v(1,1)=2+3=5, so f(1+i)=3+5if(1+i)=3+5i — matching the direct complex computation f(1+i)=(1+i)2+3(1+i)=(1+2i−1)+3+3i=3+5if(1+i)=(1+i)^2+3(1+i)=(1+2i-1)+3+3i=3+5i from Pass-1, now confirmed through the u,vu,v route.

Step 4. For g(z)=z+1z2+1g(z)=\dfrac{z+1}{z^2+1}, the numerator and denominator are each polynomials in zz, hence continuous everywhere by the same reasoning as Step 2 applied to their own real and imaginary parts. A quotient of continuous functions is continuous except where the denominator is zero, and z2+1=0z^2+1=0 gives z=±iz=\pm i. So gg is continuous on C∖{i,−i}\mathbb{C}\setminus\{i,-i\} and undefined (hence discontinuous) exactly at these two points.

Answer: f(z)=z2+3zf(z)=z^2+3z is continuous everywhere, with f(1+i)=3+5if(1+i)=3+5i confirmed by both the direct and the u,vu,v methods; g(z)=(z+1)/(z2+1)g(z)=(z+1)/(z^2+1) is discontinuous only at z=iz=i and z=−iz=-i.

Common traps

  • Checking only the two axis directions (y=0y=0 or x=0x=0) and declaring a limit "exists" — the definition demands agreement along every path, as the real-axis-versus-imaginary-axis test on zˉ/z\bar z/z shows (limits 11 and −1-1, so no limit exists).
  • Treating ∣z∣=x2+y2|z|=\sqrt{x^2+y^2} as if it behaves like a differentiable complex function just because it is continuous everywhere; continuity and (complex) differentiability are very different strengths, and ∣z∣|z| is nowhere complex-differentiable — a later topic, not this one.
  • Forgetting to write f(z)=u(x,y)+iv(x,y)f(z)=u(x,y)+iv(x,y) explicitly before invoking the component-reduction theorem; skipping the split leads to sign or variable-mixing errors when computing uu and vv.
  • Assuming a rational function is continuous everywhere without checking the denominator; it fails exactly at the finitely many roots of the denominator, as with g(z)g(z) at z=±iz=\pm i.

Ask the tutor: Want more two-path counterexamples like zˉ/z\bar z/z, or a walkthrough splitting a trickier function like eze^z into its u,vu,v parts, ask the AI tutor to generate practice problems on complex limits and continuity.

Why does checking two directions never prove a complex limit exists, even though it works for real limits on a line?

On the real line there are genuinely only two directions to approach from, left and right, so agreement of those two settles the question. In the plane there are infinitely many directions — any curve through z0z_0 counts as a legitimate path. Two directions agreeing tells you nothing about the third, fourth, or a curved path; zˉ/z\bar z/z already shows two straight-line directions disagreeing, and other functions can agree along infinitely many lines yet still fail along a parabola. The only fully rigorous methods are either a direct ε\varepsilon-δ\delta bound on ∣f(z)−L∣|f(z)-L| in terms of ∣z−z0∣|z-z_0|, or reducing to the continuity of uu and vv when the point is in the domain.

If u and v are both continuous, is f automatically differentiable as a complex function?

No, and this is the single most important thing to keep straight going into the next topic. Continuity of ff only requires uu and vv to be continuous as ordinary two-variable functions — a fairly weak condition. Complex differentiability is much stronger: it additionally requires the limit defining the derivative to agree along every direction of approach for the difference quotient, which forces a special relationship between the partial derivatives of uu and vv (the Cauchy-Riemann equations, covered next). Plenty of continuous functions, like f(z)=zˉf(z)=\bar z, are continuous everywhere but nowhere complex-differentiable.

Do the real-calculus limit laws (sum, product, quotient) really carry over unchanged to complex functions?

Yes, and the proofs are essentially identical because they only use the triangle inequality and algebraic manipulation of absolute values, both of which hold for the complex modulus exactly as they hold for the real absolute value. So lim⁡(f+g)=lim⁡f+lim⁡g\lim(f+g)=\lim f+\lim g, lim⁡(fg)=(lim⁡f)(lim⁡g)\lim(fg)=(\lim f)(\lim g), and lim⁡(f/g)=(lim⁡f)/(lim⁡g)\lim(f/g)=(\lim f)/(\lim g) provided lim⁡g≠0\lim g\ne 0, all transfer without modification. This is precisely why polynomials and rational functions in zz inherit continuity everywhere except where a denominator vanishes, just as in the real case.

Before this

Where this leads