The math optional, made finite. Daily Practice

Functions of two/three variables: limits, continuity

At a Glance

Why This Chapter Matters

This atom covers the three fundamental tools for analysing multi-variable functions at a point: the path test (to prove a limit does not exist), the ε\varepsilon-δ\delta argument (to prove it does), and the factorisation trick (to handle removable discontinuities). Each has appeared as a 10–12 mark Section A question. The path-test and epsilon-delta problems are particularly formulaic — once you know the recipe, they take under 8 minutes.

Minimum Theory

Limit in R2\mathbb{R}^2. lim(x,y)(a,b)f(x,y)=L\lim_{(x,y)\to(a,b)} f(x,y) = L means: for every ε>0\varepsilon > 0 there is δ>0\delta > 0 such that 0<(xa)2+(yb)2<δf(x,y)L<ε0 < \sqrt{(x-a)^2+(y-b)^2} < \delta \Rightarrow |f(x,y)-L| < \varepsilon.

Path test (prove non-existence). If ff has different limits along two different paths through (a,b)(a,b), then lim(x,y)(a,b)f\lim_{(x,y)\to(a,b)} f does not exist. Useful paths: lines y=kxy = kx; parabolas y=tx2y = tx^2; along axes (x=0x=0 or y=0y=0).

Epsilon-delta argument (prove existence). Convert to polar: x=rcosθx = r\cos\theta, y=rsinθy = r\sin\theta. If f(r,θ)Mr|f(r,\theta)| \le M \cdot r for some constant MM uniform in θ\theta, then choosing δ=ε/M\delta = \varepsilon/M proves f0f \to 0.

Continuity. ff is continuous at (a,b)(a,b) if lim(x,y)(a,b)f(x,y)=f(a,b)\lim_{(x,y)\to(a,b)} f(x,y) = f(a,b).
Implication: continuity of ff at (a,b)(a,b) implies continuity of the section functions f(x,b)f(x,b) and f(a,y)f(a,y) at x=ax=a and y=by=b (the converse is false).

Path test: different paths to the origin can give different limits, proving non-existence.

Question Archetypes

ArchetypeRecognition cue
path-test-discontinuityExamine continuity at (0,0)(0,0); function defined as 00 there
epsilon-delta-continuity”Find δ\delta such that ff(0,0)<0.01\|f - f(0,0)\| < 0.01 whenever r<δr < \delta
slice-continuity-proof”If ff is continuous at (a,b)(a,b), show the section functions are continuous”
removable-via-factoringRational form f=g(x,y)/(xy)f = g(x,y)/(x-y) or similar; show continuity and differentiability

path-test-discontinuity (1 question; 2015)

Recognition Cues

Solution Template

  1. Try the xx-axis path (y=0y = 0): compute limx0f(x,0)\lim_{x\to0} f(x,0).
  2. Try another path (y=kxy = kx or y=tx2y = tx^2): compute the limit. If different from step 1, limit does not exist, ff is discontinuous.
  3. Conclude non-differentiability (discontinuity \Rightarrow not differentiable).
  4. Check partial derivatives at (0,0)(0,0) by definition (they may or may not exist separately).

Worked Example

2015 Paper 1, 2015-P1-Q4d (12 marks)

Examine continuity and differentiability of f(x,y)=(x2xy)/(x2+y)f(x,y) = (x^2-x\sqrt{y})/(x^2+y) at (0,0)(0,0), where f(0,0)=0f(0,0)=0.

Path y=0y = 0 (x0+x \to 0^+): f(x,0)=x2/x2=1f(x,0) = x^2/x^2 = 1.

Path y=tx2y = tx^2 (x0+x \to 0^+, t>0t > 0): f(x,tx2)=(x2xxt)/(x2+tx2)=(1t)/(1+t)f(x,tx^2) = (x^2 - x\cdot x\sqrt{t})/(x^2+tx^2) = (1-\sqrt{t})/(1+t).

This depends on tt (e.g. t=01t=0 \to 1; t=10t=1 \to 0; t=41/5t=4 \to -1/5). The limit is path-dependent.

Conclusion: ff is not continuous at (0,0)(0,0) (limit does not equal f(0,0)=0f(0,0) = 0, and doesn’t even exist). Hence ff is not differentiable at (0,0)(0,0).

Partials: fy(0,0)=0f_y(0,0) = 0 (from f(0,k)=0f(0,k) = 0), but fx(0,0)f_x(0,0) does not exist (from f(h,0)=1f(h,0) = 1 for h0h \ne 0).

Common Traps


epsilon-delta-continuity (1 question; 2016)

Recognition Cues

Solution Template

  1. Switch to polar: x=rcosθx = r\cos\theta, y=rsinθy = r\sin\theta, so f=rg(θ)|f| = r\cdot|g(\theta)| for some bounded gg.
  2. Bound g(θ)|g(\theta)| uniformly: find M=maxθg(θ)M = \max_\theta |g(\theta)|.
  3. Choose δ\delta: if fMr|f| \le Mr, take δ=ε/M\delta = \varepsilon/M (here δ=0.01/M\delta = 0.01/M).

Worked Example

2016 Paper 1, 2016-P1-Q3b (15 marks)

Find δ\delta for f(x,y)<0.01|f(x,y)| < 0.01 where f=(2x4y5x2y3+y5)/(x2+y2)2f = (2x^4y - 5x^2y^3 + y^5)/(x^2+y^2)^2, f(0,0)=0f(0,0)=0.

(The numerator has degree 5, denominator degree 4 — this is the corrected version with 5x2y35x^2y^3.)

Polar: numerator =r5(2cos4θsinθ5cos2θsin3θ+sin5θ)= r^5(2\cos^4\theta\sin\theta - 5\cos^2\theta\sin^3\theta + \sin^5\theta), denominator =r4= r^4. So f=rg(θ)|f| = r\cdot|g(\theta)| where g(θ)1|g(\theta)| \le 1 (check: g(θ)=sinθ(8sin4θ9sin2θ+2)g(\theta) = \sin\theta(8\sin^4\theta-9\sin^2\theta+2), max = 1 at sinθ=±1\sin\theta = \pm1).

So fr|f| \le r. Choose δ=0.01\delta = 0.01.

δ=0.01.\boxed{\delta = 0.01.}

(A conservative elementary bound f8r|f| \le 8r gives δ=1/800\delta = 1/800; both are correct.)

Common Traps


slice-continuity-proof (1 question; 2019)

Recognition Cues

Worked Example

2019 Paper 1, 2019-P1-Q1b (10 marks)

Show: ff continuous at (a,b)(a,b) \Rightarrow f(x,b)f(x,b) continuous at aa and f(a,y)f(a,y) continuous at bb.

Proof. Let g(x)=f(x,b)g(x) = f(x,b). For any ε>0\varepsilon > 0, continuity of ff gives δ>0\delta > 0 with (xa)2+(yb)2<δf(x,y)f(a,b)<ε\sqrt{(x-a)^2+(y-b)^2} < \delta \Rightarrow |f(x,y)-f(a,b)| < \varepsilon.

For any xx with xa<δ|x-a| < \delta: the point (x,b)(x,b) satisfies (xa)2+02=xa<δ\sqrt{(x-a)^2+0^2} = |x-a| < \delta, so g(x)g(a)=f(x,b)f(a,b)<ε|g(x)-g(a)| = |f(x,b)-f(a,b)| < \varepsilon. Hence gg is continuous at aa. The argument for h(y)=f(a,y)h(y) = f(a,y) is identical. \square

Remark. The converse is false: f(x,y)=xy/(x2+y2)f(x,y) = xy/(x^2+y^2) (with f(0,0)=0f(0,0)=0) has f(x,0)0f(x,0) \equiv 0 and f(0,y)0f(0,y) \equiv 0 (both continuous), but f(x,x)=1/2↛0f(x,x) = 1/2 \not\to 0 — jointly discontinuous.

Common Traps


removable-via-factoring (1 question; 2019)

Recognition Cues

Worked Example

2019 Paper 2, 2019-P2-Q1b (10 marks)

Show f(x,y)=(x2y2)/(xy)f(x,y) = (x^2-y^2)/(x-y) for (x,y)(1,±1)(x,y) \ne (1,\pm 1), f=0f=0 at (1,±1)(1,\pm1), is continuous and differentiable at (1,1)(1,-1).

Factoring: (x2y2)/(xy)=x+y(x^2-y^2)/(x-y) = x+y for xyx \ne y. Since 111 \ne -1, on a neighbourhood of (1,1)(1,-1) the denominator is nonzero and f(x,y)=x+yf(x,y) = x+y.

Continuity: lim(x,y)(1,1)(x+y)=1+(1)=0=f(1,1)\lim_{(x,y)\to(1,-1)}(x+y) = 1+(-1) = 0 = f(1,-1). Continuous.

Differentiability: f(1+h1,1+h2)f(1,1)=h1+h2f(1+h_1,-1+h_2) - f(1,-1) = h_1+h_2 exactly. The remainder with gradient (1,1)(1,1) is 0 = o(h)o(\|h\|). Differentiable with f=(1,1)\nabla f = (1,1).

Common Traps

Marks-Aware Writing

10-mark proof (slice continuity): Four lines: state the δ\delta from joint continuity, observe (x,b)(a,b)=xa\|(x,b)-(a,b)\|=|x-a|, apply the joint δ\delta, conclude. Then one sentence on the counterexample to the converse.

12-mark path test + partial derivatives: Show two paths giving different limits (2 lines each). State discontinuity. State non-differentiability follows. Then compute fx(0,0)f_x(0,0) and fy(0,0)f_y(0,0) by definition. Full-marks answer shows all four items.

Practice Set

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.