All chapters Unit 1 · Complex Analysis

Complex functions, limits, and differentiability in 2D

Chapter 2 of 15
The hook

Functions that move points around the plane

Story

In Chapter 1 you built zz as a point in the plane. Now think about what a function does to that point.

A real function f(x)f(x) takes a number on the line and gives you another number on the line. Its graph lives in a 2D plane only because it needs an extra axis to show the output — but the input and the output are still 1D objects, points on lines.

A complex function f(z)f(z) does something quite different. It takes a point in a plane and hands you back another point in a plane. There is no graph in the ordinary sense — to plot it honestly you would need four axes. Instead you picture two planes side by side: the z-plane on the left, where the input lives, and the w-plane on the right, where the output goes. The function is a rule for moving each point from one plane to the other.

Algebraically, split z=x+iyz = x + iy and w=f(z)=u+ivw = f(z) = u + iv. One complex equation becomes two real-valued functions of two real variables:

u=u(x,y),v=v(x,y).u = u(x, y), \qquad v = v(x, y).

So f(z)=z2f(z) = z^2, written this way, becomes u=x2y2u = x^2 - y^2 and v=2xyv = 2xy. The single complex equation packs in two real ones.

Why this matters

Once a function moves points around a plane, every question from real calculus needs re-asking. What does it mean to approach a point? In one dimension you approach from the left or the right — two directions, and that is the whole story. In a plane you can approach a point from any angle, along any curve. What does it mean for the function to be continuous, or differentiable, near that point? The straight-line answer from real calculus does not transfer. We need new definitions — and the new definitions are stricter. That strictness is the whole story of this chapter, and the reason the Cauchy-Riemann chapter needs to exist.

The drone analogy

A mental picture we will return to. Real calculus is like driving down a one-lane road: forward, back, two directions. Complex calculus is like flying a drone over a city — you can approach any intersection from north, from southwest, in a spiral, in a zigzag. Infinitely many directions, infinitely many curves.

For a function to be differentiable in this 2D world, the answer to "what is the derivative here?" must be the same complex number, no matter which direction or curve you approach along. That is a brutally strict demand. Most functions you can write down fail it. The ones that pass — and there is a clean test for them, in the Cauchy-Riemann chapter — are rare, and very useful.

Vocabulary first

The language we need before we can talk about limits

Before the phrase "the limit of f(z)f(z) as zz approaches z0z_0" can mean anything precise, you need to be able to say what kind of region zz is approaching z0z_0 inside. A small vocabulary, defined exam-style.

Open disk (or neighbourhood) of z0z_0 with radius ρ>0\rho > 0:

{zC:zz0<ρ}.\{\, z \in \mathbb{C} : |z - z_0| < \rho \,\}.

The set of all points strictly closer to z0z_0 than ρ\rho. The boundary circle zz0=ρ|z - z_0| = \rho is not included. Sometimes called the ρ\rho-neighbourhood of z0z_0.

Open set. A set SCS \subseteq \mathbb{C} is open if, around every point z0Sz_0 \in S, you can find a neighbourhood — some open disk — lying entirely inside SS. The interior of a circle is open; a disk that includes its boundary is not.

Closed set. A set is closed if its complement is open — equivalently, if it contains all of its boundary points. The disk z1|z| \le 1 is closed; the disk z<1|z| < 1 is open.

Boundary. A point z0z_0 lies on the boundary of SS if every neighbourhood of z0z_0 contains both points in SS and points outside SS. The circle z=1|z| = 1 is the boundary of both z<1|z| < 1 and z1|z| \le 1.

Domain. A set is a domain if it is open and connected — any two of its points can be joined by a path lying inside the set. A region is a domain together with some, all, or none of its boundary points. "Domain" is the workhorse word: limits, continuity, and analyticity are all stated relative to domains in the chapters ahead.

Insight

Why you need these definitions at all: the statement limzz0f(z)=L\lim_{z \to z_0} f(z) = L only makes sense if zz can approach z0z_0 from all sides. Inside an open set, every point has wiggle room — a small neighbourhood you can shrink. On the boundary, or outside, you do not, and the limit needs different conventions. Real calculus glossed over this because on the real line there are only two sides; in the plane the question is genuinely substantive.

One worked sketch

The set S={z:1<zi<2}S = \{\, z : 1 < |z - i| < 2 \,\} is an open annulus around z=iz = i, with inner radius 11 and outer radius 22. It is open — around any point inside, you can fit a small disk. It is connected — you can walk from any point to any other along an arc. So it is a domain.

Its boundary is the union of the two circles zi=1|z - i| = 1 and zi=2|z - i| = 2. Add those circles in and you get a closed annulus — a region that is no longer open.

The operational toolkit

Limits in two dimensions, and the canonical failure pattern

The informal definition, which is the one you will actually use: limzz0f(z)=L\lim_{z \to z_0} f(z) = L means as zz approaches z0z_0 from any direction, the value f(z)f(z) approaches LL. That last phrase — from any direction — is the only thing new compared with real-line limits, and it is exactly the thing that makes complex limits interesting.

The formal definition

For completeness, the Weierstrass ε\varepsilon-δ\delta form:

limzz0f(z)=Lmeansε>0, δ>0 such that 0<zz0<δ    f(z)L<ε.\lim_{z \to z_0} f(z) = L \quad\text{means}\quad \forall\, \varepsilon > 0,\ \exists\, \delta > 0 \text{ such that } 0 < |z - z_0| < \delta \implies |f(z) - L| < \varepsilon.

Geometrically: shrink the neighbourhood around LL in the w-plane as small as you like (radius ε\varepsilon); you can always find a neighbourhood around z0z_0 in the z-plane (radius δ\delta) that maps inside it. This is rarely the definition you compute with — it is the formal anchor, the same shape as the real-line definition with zz0|z - z_0| read as distance in the plane. Indian engineering exams typically do not ask for an ε\varepsilon-δ\delta proof, but the definition is on the syllabus and turns up now and then as a single 2-mark "state the definition" question.

How limits actually get computed: split into real and imaginary parts

Write f(z)=u(x,y)+iv(x,y)f(z) = u(x, y) + i\,v(x, y) and z0=x0+iy0z_0 = x_0 + iy_0. Then:

A complex limit is two real limits
limzz0f(z)=L=L1+iL2    lim(x,y)(x0,y0)u(x,y)=L1  and  lim(x,y)(x0,y0)v(x,y)=L2.\lim_{z \to z_0} f(z) = L = L_1 + iL_2 \iff \lim_{(x,y) \to (x_0, y_0)} u(x,y) = L_1 \ \text{ and }\ \lim_{(x,y) \to (x_0, y_0)} v(x,y) = L_2.

Read that twice: a complex limit is just two real limits in two variables, one for the real part and one for the imaginary part. Both must exist for the complex limit to exist, and the limit is then their combination. This is the rule that turns limit computations into routine work. The standard algebra of limits carries straight over:

lim(f±g)=limf±limg,lim(fg)=(limf)(limg),limfg=limflimg  (denominator0).\lim (f \pm g) = \lim f \pm \lim g, \quad \lim (fg) = (\lim f)(\lim g), \quad \lim \frac{f}{g} = \frac{\lim f}{\lim g} \ \text{ (denominator} \ne 0).

Worked example — a limit that exists

Compute limzi(z2+z+1)\lim_{z \to i} (z^2 + z + 1). Since z2+z+1z^2 + z + 1 is a polynomial — and polynomials are continuous everywhere — you can just substitute:

limzi(z2+z+1)=i2+i+1=1+i+1=i.\lim_{z \to i} (z^2 + z + 1) = i^2 + i + 1 = -1 + i + 1 = i.

The complex limit is ii. Splitting into parts as a check: the real part of ff is u(x,y)=x2y2+x+1u(x,y) = x^2 - y^2 + x + 1, and at (x,y)=(0,1)(x,y) = (0,1), u=01+0+1=0u = 0 - 1 + 0 + 1 = 0. The imaginary part is v(x,y)=2xy+yv(x,y) = 2xy + y, and at (0,1)(0,1), v=0+1=1v = 0 + 1 = 1. So limu+ilimv=0+i1=i\lim u + i\lim v = 0 + i\cdot 1 = i. Same answer.

Worked example — a limit that fails (the central pattern of the chapter)

Compute limz0zzˉ\lim_{z \to 0} \dfrac{z}{\bar z}. You cannot substitute — at z=0z = 0, both zz and zˉ\bar z are zero, so the expression is the indeterminate 0/00/0. We have to actually take the limit. Try two paths.

Path 1 — along the real axis (y=0y = 0, so z=xz = x and zˉ=x\bar z = x):

zzˉ=xx=1.\frac{z}{\bar z} = \frac{x}{x} = 1.

Path 2 — along the imaginary axis (x=0x = 0, so z=iyz = iy and zˉ=iy\bar z = -iy):

zzˉ=iyiy=1.\frac{z}{\bar z} = \frac{iy}{-iy} = -1.

Two different paths gave two different answers — 11 and 1-1. A complex limit must give the same answer along every path; since these two disagree, the limit does not exist.

The pattern that wins marks

To show that a complex limit at z0z_0 does not exist, the standard four-mark technique is:

  1. Pick two paths approaching z0z_0. The easy choices are along the real axis (y=0y = 0) and along the imaginary axis (x=0x = 0). If those do not give a clear contrast, try y=xy = x, or y=mxy = mx for general mm.
  2. Compute the limit along each path. Show the work.
  3. Observe that the two answers differ.
  4. Conclude: the limit does not exist.

You do not need to argue rigorously about every path — exhibiting just two that disagree is enough to kill the limit. This path-failure pattern is the entire technique behind "show that the limit does not exist".

Continuity

A function ff is continuous at z0z_0 if limzz0f(z)=f(z0)\lim_{z \to z_0} f(z) = f(z_0) — and, of course, f(z0)f(z_0) has to actually be defined. A function is continuous on a domain if it is continuous at every point of the domain. The split-into-parts trick still applies: f=u+ivf = u + iv is continuous at z0=x0+iy0z_0 = x_0 + iy_0 exactly when both u(x,y)u(x,y) and v(x,y)v(x,y) are continuous at (x0,y0)(x_0, y_0).

Polynomials are continuous everywhere. Rational functions are continuous wherever their denominator is non-zero. zˉ\bar z is continuous everywhere — conjugation preserves distances, zˉz0ˉ=zz0|\bar z - \bar{z_0}| = |z - z_0|. The exponential eze^z and the trigonometric functions sinz\sin z, cosz\cos z are continuous everywhere too; you will meet them properly in the harmonic-conjugates chapter.

The trap to watch for

Continuity is much weaker than differentiability in the complex setting. Plenty of functions are continuous everywhere but differentiable nowhere. We meet one in the next beat — and the gap between the two is the heart of this chapter.

The strict criterion

Why differentiability is more than the limit existing

A function ff is differentiable at z0z_0 if the following limit exists:

The complex derivative
f(z0)=limh0f(z0+h)f(z0)hf'(z_0) = \lim_{h \to 0} \frac{f(z_0 + h) - f(z_0)}{h}

Here hh is a complex number going to zero — meaning h0|h| \to 0 — and hh can approach zero from any direction in the complex plane. That clause is the whole content of this chapter. In real calculus, h0h \to 0 means from the left or from the right — two directions, and you only insist the two one-sided limits agree. In complex calculus, hh can go to zero along the positive real axis, along the imaginary axis, along the line y=xy = x, along a spiral, along a parabola. For f(z0)f'(z_0) to exist, all of these must give the same complex number. So "differentiable" in the complex sense is dramatically stronger than in the real sense — it is a constraint on the function from infinitely many directions at once.

Worked example — zˉ\bar z is differentiable nowhere

Take f(z)=zˉf(z) = \bar z and try to compute f(z0)f'(z_0) at any point z0z_0:

f(z0+h)f(z0)h=z0+hz0ˉh=z0ˉ+hˉz0ˉh=hˉh.\frac{f(z_0 + h) - f(z_0)}{h} = \frac{\overline{z_0 + h} - \bar{z_0}}{h} = \frac{\bar{z_0} + \bar h - \bar{z_0}}{h} = \frac{\bar h}{h}.

Notice that z0z_0 has disappeared — whatever happens here happens at every point in the same way. The question is now: does hˉ/h\bar h / h have a limit as h0h \to 0?

Approach 1 — along the real axis (h=ah = a with aRa \in \mathbb{R}, a0a \to 0):

hˉh=aa=1.\frac{\bar h}{h} = \frac{a}{a} = 1.

Approach 2 — along the imaginary axis (h=ibh = ib with bRb \in \mathbb{R}, b0b \to 0):

hˉh=ibib=1.\frac{\bar h}{h} = \frac{-ib}{ib} = -1.

Two paths, two different answers. So the limit defining f(z0)f'(z_0) does not exist — and the same argument runs at every z0z_0. zˉ\bar z is differentiable nowhere in the complex plane.

The failure is total

It is worth seeing just how badly zˉ\bar z fails. Approach 00 along the ray h=reiθh = r\,e^{i\theta} with r0r \to 0 and θ\theta fixed. Then hˉ=reiθ\bar h = r\,e^{-i\theta} and

hˉh=reiθreiθ=e2iθ.\frac{\bar h}{h} = \frac{r\,e^{-i\theta}}{r\,e^{i\theta}} = e^{-2i\theta}.

Along every direction θ\theta the difference quotient is a different point on the unit circle: θ=0\theta = 0 gives 11, θ=π/4\theta = \pi/4 gives i-i, θ=π/2\theta = \pi/2 gives 1-1, θ=3π/4\theta = 3\pi/4 gives ii. Pick any two distinct directions and the values disagree. The failure is not "x-axis versus y-axis" — it is "every direction is its own answer". Notice in passing that e2iθe^{-2i\theta} has period π\pi, so going once round a full circle traces the unit circle twice. You will see this in the playground.

Exam trap

zˉ\bar z is continuous everywhere — conjugation preserves distances, so zˉz0ˉ=zz0|\bar z - \bar{z_0}| = |z - z_0| makes continuity immediate. And yet it is differentiable nowhere. This pair of statements is the canonical exam trap on this material: students see "continuous" and infer "differentiable". In complex analysis continuity is dirt cheap and differentiability is expensive — and the gap between them is enormous.

Why this gap exists

A natural question: continuity is also a "from every direction" condition — the limit limzz0f(z)\lim_{z \to z_0} f(z) already has to agree from all directions of approach. Why is differentiability so much harder?

The answer is in what the limit contains. Continuity asks the limit of f(z)f(z) to behave: a single object, where the function's own continuity tends to "smooth out" the direction of approach for free. Differentiability asks the limit of the quotient (f(z0+h)f(z0))/h\bigl(f(z_0+h) - f(z_0)\bigr)/h to behave — and this quotient mixes ff's behaviour with hh's direction through the division by hh. Now the directions cannot smooth themselves out; the function has to cancel them on its own, by having the right algebraic shape. Most functions do not. The Cauchy-Riemann chapter gives a two-equation test that captures exactly when this cancellation happens — which is why the test feels miraculous when you first meet it.

Worked example — z2z^2 is differentiable, with f(z)=2zf'(z) = 2z

To contrast, here is a function that works. Take f(z)=z2f(z) = z^2. Then

f(z0+h)f(z0)h=(z0+h)2z02h=2z0h+h2h=2z0+h.\frac{f(z_0 + h) - f(z_0)}{h} = \frac{(z_0 + h)^2 - z_0^2}{h} = \frac{2 z_0 h + h^2}{h} = 2 z_0 + h.

As h0h \to 0 this approaches 2z02 z_0regardless of the direction hh approaches from, because the leftover hh term goes to zero from every direction at the same rate. So f(z0)=2z0f'(z_0) = 2 z_0, exactly as in real calculus, and z2z^2 is differentiable everywhere in the complex plane. Why does it succeed where zˉ\bar z fails? Because in the algebra the direction of hh never leaked through to the final answer. With zˉ\bar z, the conjugation pinned the direction into the formula and the limit picked it up; with z2z^2, the direction got squeezed out. The Cauchy-Riemann chapter explains which functions have this happy property — and gives you a two-line test you can run on any ff.

The playground — a direction-of-approach visualizer

A live tool to make the every-direction demand visible. Choose a function and a point, rotate the direction of approach with the θ\theta slider, and watch the difference quotient either hold steady (differentiable) or swing around (not differentiable). The tool does not differentiate symbolically — it numerically evaluates the difference quotient with a tiny h=106|h| = 10^{-6}, which is precisely what the chapter is teaching.

Direction-of-approach visualizer
+ i

Work through this sequence — the pattern across the four is the real lesson:

  1. Start with zˉ\bar z at z0=1+iz_0 = 1 + i. Slide θ\theta from 0° to 360°360° and watch the difference quotient move around the unit circle. The pattern repeats every 180°180° — that is the e2iθe^{-2i\theta} invariant from the "failure is total" card above.
  2. Switch to z2z^2. Slide θ\theta again. The difference quotient stays fixed at 2z0=2+2i2 z_0 = 2 + 2i, exactly what the worked example predicted.
  3. Try z2|z|^2 at z0=1+iz_0 = 1 + i and note the failure. Then set z0=0+0iz_0 = 0 + 0i and slide θ\theta again — now it works, and the value is 00. That is the "differentiable at one point only" phenomenon you will prove yourself in Reveal 2 below.
  4. Try 1/z1/z at z0=1+0iz_0 = 1 + 0i. The answer stays put at 1-1. A sneak preview: 1/z1/z is analytic everywhere except at z=0z = 0, and the Cauchy-Riemann chapter confirms it.
Insight

The diagnostic habit the playground is drilling: when the difference quotient swings as you turn the θ\theta slider, the direction of approach is leaking into the answer — no derivative. When it holds still, the direction has cancelled out, and the steady value is f(z0)f'(z_0). Differentiability, made visible, is just "the readout does not move".

Retrieval gauntlet

Test yourself before moving on

Do not peek. Commit to an answer before you reveal anything. Committing — even to a wrong answer — is what builds the memory. Recognising a correct answer once you see it only feels like learning.

Quiz 1 · a limit that may or may not exist

Does limz0Im(z2)z2\displaystyle \lim_{z \to 0} \frac{\operatorname{Im}(z^2)}{|z|^2} exist?

Quiz 2 · continuity versus differentiability

Which statement about f(z)=zˉf(z) = \bar z is correct?

Quiz 3 · differentiability from first principles

What is f(z)f'(z) for f(z)=z2+3zf(z) = z^2 + 3z, computed from the definition?

Try first. Evaluate limz1+iz22iz1i\displaystyle \lim_{z \to 1+i} \frac{z^2 - 2i}{z - 1 - i}. Attempt it on paper before you reveal.

The numerator factors. Since (1+i)2=1+2i+i2=2i(1+i)^2 = 1 + 2i + i^2 = 2i, we can write z22i=z2(1+i)2z^2 - 2i = z^2 - (1 + i)^2, a difference of two squares:

z22i=(z(1+i))(z+(1+i)).z^2 - 2i = \bigl(z - (1+i)\bigr)\bigl(z + (1+i)\bigr).

Cancel against the denominator — valid for z1+iz \ne 1 + i, which is exactly what a limit allows:

z22iz1i=z+1+i.\frac{z^2 - 2i}{z - 1 - i} = z + 1 + i.

The limit is now trivial — substitute z=1+iz = 1 + i:

limz1+i(z+1+i)=(1+i)+1+i=2+2i.\lim_{z \to 1+i} (z + 1 + i) = (1 + i) + 1 + i = 2 + 2i.

Factor, cancel, substitute — the bread-and-butter limit technique. The complex setting changes nothing about the algebra.

Prove: the function f(z)=z2f(z) = |z|^2 is differentiable at z0=0z_0 = 0 but at no other point. This is the chapter's cognitive peak — a genuinely non-trivial differentiability result. Work the three sub-steps below, attempting each on paper before revealing it.

Step (a). Write z2=zzˉ|z|^2 = z\bar z. Compute the difference quotient (f(z0+h)f(z0))/h\bigl(f(z_0 + h) - f(z_0)\bigr)/h and simplify it as far as you can in terms of z0z_0, hh, and hˉ\bar h.
f(z0+h)f(z0)h=(z0+h)(z0+h)z0z0ˉh=z0hˉ+hz0ˉ+hhˉh=z0hˉh+z0ˉ+hˉ.\frac{f(z_0 + h) - f(z_0)}{h} = \frac{(z_0 + h)\,\overline{(z_0 + h)} - z_0 \bar{z_0}}{h} = \frac{z_0 \bar h + h\,\bar{z_0} + h \bar h}{h} = z_0 \cdot \frac{\bar h}{h} + \bar{z_0} + \bar h.

The middle term z0ˉ\bar{z_0} is a constant; the hˉ\bar h term vanishes as h0h \to 0. The whole question reduces to the behaviour of z0hˉ/hz_0 \cdot \bar h / h.

Step (b). Suppose z00z_0 \ne 0. Show that the difference quotient takes different limits along the real and the imaginary axes, and conclude that ff is not differentiable at z0z_0.

Along hh real (hˉ=h\bar h = h, so hˉ/h=1\bar h / h = 1) the quotient tends to z0+z0ˉ=2Re(z0)z_0 + \bar{z_0} = 2\operatorname{Re}(z_0).

Along hh imaginary (hˉ=h\bar h = -h, so hˉ/h=1\bar h / h = -1) the quotient tends to z0+z0ˉ=2iIm(z0)-z_0 + \bar{z_0} = -2i\,\operatorname{Im}(z_0).

For z00z_0 \ne 0, at least one of Re(z0)\operatorname{Re}(z_0) or Im(z0)\operatorname{Im}(z_0) is non-zero. If Re(z0)0\operatorname{Re}(z_0) \ne 0 the two limits differ in their real parts; if Im(z0)0\operatorname{Im}(z_0) \ne 0 they differ in their imaginary parts. Either way they are different complex numbers, so the limit defining f(z0)f'(z_0) does not exist. ff is not differentiable at any non-zero z0z_0.

One-line version, for the slick-proof connoisseur: the two limits are z0+z0ˉz_0 + \bar{z_0} and z0ˉz0\bar{z_0} - z_0, which are equal only when z0=0z_0 = 0. The Re\operatorname{Re}/Im\operatorname{Im} case-split above does the same work in a more exam-shaped form — write that version when marks depend on showing the case analysis.

Step (c). Now show that at z0=0z_0 = 0 the limit does exist, and find f(0)f'(0).

At z0=0z_0 = 0 the difference quotient simplifies dramatically:

f(0+h)f(0)h=h20h=hhˉh=hˉ.\frac{f(0 + h) - f(0)}{h} = \frac{|h|^2 - 0}{h} = \frac{h \bar h}{h} = \bar h.

As h0h \to 0, hˉ0\bar h \to 0 — from every direction at the same rate, since hˉ=h|\bar h| = |h|. So the limit exists and equals 00.

Conclusion. f(z)=z2f(z) = |z|^2 is differentiable at z=0z = 0 with f(0)=0f'(0) = 0, and differentiable at no other point — an isolated case, differentiable at a single point but not in any neighbourhood of it. The Cauchy-Riemann chapter introduces the term analytic for functions differentiable on an open set; z2|z|^2 is differentiable at one point and analytic nowhere. That distinction — differentiable at a point versus analytic in a region — is a major conceptual gotcha in Unit 1, and z2|z|^2 is the example examiners reach for. ∎

Exam translator

How this concept appears on exams

The material in this chapter shows up on engineering exams in three recurring shapes. None is hard once you have seen the template.

Shape 1 — "Show that the limit does not exist."

A common 4-mark question. Always solved by the path-failure pattern:

  1. State the function and the point z0z_0.
  2. Pick path 1 (real axis, y=0y = 0). Substitute, simplify, state the limit along path 1.
  3. Pick path 2 (imaginary axis, x=0x = 0, or the line y=xy = x if the axes do not separate). State the limit along path 2.
  4. Observe: the two limits differ.
  5. Conclude: the limit does not exist.

The marks come from the structure, not the choice of paths. Many students lose marks for skipping step 4 (the explicit observation) or step 5 (the explicit conclusion). Write them down.

Shape 2 — "From first principles, show whether ff is differentiable, and if so find ff'."

A 5- or 6-mark question. Template:

  1. Write the difference quotient (f(z0+h)f(z0))/h\bigl(f(z_0 + h) - f(z_0)\bigr)/h and expand the numerator.
  2. Simplify, separating any hˉ\bar h from hh.
  3. If a hˉ/h\bar h / h survives, pick two directions and show different limits. Conclude: not differentiable.
  4. If the algebra leaves only terms like 2z02 z_0, z0ˉ\bar{z_0}, or hh (which goes to zero), conclude the limit is the constant term and state f(z0)f'(z_0).

The technique is mechanical once you have done it twice. The exam habit to drill is always separating into hh and hˉ\bar h early — students who go straight to h=a+ibh = a + ib and never group the hˉ\bar h terms build themselves algebra cliffs.

Shape 3 — "Is ff continuous? Is ff differentiable?"

A common conceptual trap. The student sees a function — often zˉ\bar z, z|z|, z2|z|^2, or Re(z)\operatorname{Re}(z) — notices it is "clearly nice", meaning continuous, and writes "yes, differentiable" without thinking. The standard examiner trap is to hand you a function that is continuous everywhere but differentiable nowhere, or differentiable at one point only. Reliable examples in each category:

  • Continuous everywhere, differentiable nowhere: zˉ\bar z, Re(z)\operatorname{Re}(z), Im(z)\operatorname{Im}(z), z|z|, 2x+iy2x + iy.
  • Differentiable only at z=0z = 0: z2|z|^2, zˉ2\bar z^{\,2} (worth checking by the same method as Reveal 2).
  • Differentiable everywhere (and analytic): polynomials in zz, eze^z, sinz\sin z, cosz\cos z, rational functions away from their poles.

The habit that saves marks: before answering "differentiable", compute the difference quotient and look for hˉ\bar h. If hˉ\bar h shows up, you have a path-dependence problem. Ten seconds on that check recovers three marks.

The unit's central distinction

Differentiable at a single point is cheap and uninteresting; differentiable on an open set — the property called analytic, formalised in the Cauchy-Riemann chapter — is rare and powerful. The whole of Unit 1 rests on that one distinction.

What you can do now

  1. Write a complex function f(z)=u(x,y)+iv(x,y)f(z) = u(x,y) + i\,v(x,y) and identify its real and imaginary parts.
  2. Define an open disk, open set, closed set, domain, and region, and classify simple sets like z<1|z| < 1, 1<zi<21 < |z - i| < 2, or Im(z)>0\operatorname{Im}(z) > 0.
  3. State the informal definition of limzz0f(z)=L\lim_{z \to z_0} f(z) = L, and the ε\varepsilon-δ\delta definition for completeness.
  4. Use the split rule limf=limu+ilimv\lim f = \lim u + i\lim v to compute existing complex limits, and use the two-path failure pattern to show a limit does not exist.
  5. Define continuity at a point and on a domain, and recognise that polynomials and rational functions are continuous on their domains.
  6. Define the complex derivative as a limit of the difference quotient (f(z0+h)f(z0))/h\bigl(f(z_0 + h) - f(z_0)\bigr)/h, and say clearly why its existence requires the same value along every direction of approach.
  7. Compute f(z0)f'(z_0) from first principles for z2z^2 and other polynomials.
  8. Show that zˉ\bar z is differentiable nowhere by exhibiting two paths with different limits, and that z2|z|^2 is differentiable only at z=0z = 0.
  9. Recognise the continuous-everywhere-but-differentiable-nowhere trap and answer it without losing marks.
Why this matters

What comes next. The Cauchy-Riemann chapter is the heart of Unit 1. You have now seen, by hand, that complex differentiability is a strict criterion — the same answer from every direction of approach — and what failure looks like (zˉ\bar z everywhere; z2|z|^2 everywhere except the origin). The next chapter gives a clean two-equation test for whether a function passes that same-from-every-direction demand, without making you compute infinitely many limits. Its derivation is exactly the computation you just did with zˉ\bar z and z2z^2, generalised to an arbitrary ff — you will recognise it.

Before you open the Cauchy-Riemann chapter: attempt 3–4 problems from Zill, Complex Analysis, §2.1 and §3.1 [verify the exact section numbers against your copy] that mix the four ideas — recognising sets of points, computing existing limits, showing limits do not exist by paths, and differentiating from first principles. Re-reading this chapter is a trap; retrieval beats recognition every time.

Same material, another voice

If a different explanation would help, this one is worth your time — free, from MIT OpenCourseWare: