Maths WorkshopMaths problems with full solutions
Exercise 1192Topology › Topology of ℝⁿL1Added 3 Nov 2026

Continuity versus iterated limits

#iterated limits#continuity#subtleties

Statement

Show that f(x,y)=xyx2+y2f(x,y)=\dfrac{xy}{x^2+y^2} (with f(0,0)=0f(0,0)=0) has iterated limits 00 along both axes but no limit at the origin.

Hint

Compute limits along y=0y=0 and x=0x=0, then along y=xy=x.

Show solutionHide solution

Solution

Iterated limits. f(x,0)=0f(x,0)=0, f(0,y)=0f(0,y)=0: so lim⁡x→0lim⁡y→0f=lim⁡y→0lim⁡x→0f=0\lim_{x\to0}\lim_{y\to0}f=\lim_{y\to0}\lim_{x\to0}f=0.

Diagonal. Along y=xy=x: f(x,x)=12f(x,x)=\frac12, so the limit along this path is 1/21/2.

Conclusion. Iterated limits exist and coincide, but the two-dimensional limit does not: ff is not continuous at the origin.