Fiveable

Calculus IV Unit 2 Review

QR code for Calculus IV practice questions

2.3 Limits and continuity in multiple variables

2.3 Limits and continuity in multiple variables

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Calculus IV
Unit & Topic Study Guides

Limits of Multivariable Functions

In single-variable calculus, a limit only requires approaching from two directions: left and right. For functions of several variables, (x,y)(x,y) can approach a point from infinitely many directions and along curved paths. This makes proving a limit exists much harder, and it opens up new ways for limits to fail.

Evaluating Limits and Directional Limits

The limit of a multivariable function f(x,y)f(x,y) as (x,y)(x,y) approaches a point (a,b)(a,b) is written as:

lim(x,y)(a,b)f(x,y)=L\lim_{(x,y)\to(a,b)}f(x,y)=L

For this limit to exist, f(x,y)f(x,y) must approach the same value LL regardless of the path taken toward (a,b)(a,b). That's the key difference from single-variable limits.

A directional limit is the limit of ff as (x,y)(x,y) approaches (a,b)(a,b) along one specific path. If two different paths give different values, the overall limit does not exist.

Example: Consider lim(x,y)(0,0)xyx2+y2\lim_{(x,y)\to(0,0)}\frac{xy}{x^2+y^2}.

  • Along the path y=mxy = mx (straight lines through the origin), substitute to get mx2x2+m2x2=m1+m2\frac{mx^2}{x^2+m^2x^2} = \frac{m}{1+m^2}, which depends on mm. Different slopes give different values.
  • Along y=xy = x, the limit is 12\frac{1}{2}. Along y=0y = 0, the limit is 00.
  • Since two paths yield different results, the limit does not exist.

A path limit generalizes this idea further: you parametrize the approach using a curve. For instance, limt0f(tcost,tsint)\lim_{t\to0}f(t\cos t,\, t\sin t) evaluates the limit along the spiral x=tcost,y=tsintx=t\cos t,\, y=t\sin t as t0t\to0. Parametric paths let you test more exotic approaches beyond straight lines.

To show a limit does not exist, you only need two paths that give different values. To show a limit does exist, checking individual paths is never sufficient. You need the ε\varepsilon-δ\delta definition, the squeeze theorem, or conversion to polar coordinates.

Evaluating Limits and Directional Limits, multivariable calculus - Find the limit of g(x,y) as (x,y) approaches (0,0) along these paths ...

Formal Definition and Iterated Limits

The ε\varepsilon-δ\delta definition for multivariable limits:

lim(x,y)(a,b)f(x,y)=L\lim_{(x,y)\to(a,b)}f(x,y)=L means that for every ε>0\varepsilon>0, there exists a δ>0\delta>0 such that

f(x,y)L<εwhenever0<(xa)2+(yb)2<δ|f(x,y)-L|<\varepsilon \quad \text{whenever} \quad 0<\sqrt{(x-a)^2+(y-b)^2}<\delta

The distance (xa)2+(yb)2\sqrt{(x-a)^2+(y-b)^2} is the Euclidean distance from (x,y)(x,y) to (a,b)(a,b), so this captures all directions at once. The condition 0<()0 < \sqrt{(\cdots)} excludes the point (a,b)(a,b) itself, just like in single-variable limits.

Iterated limits evaluate one variable at a time while holding the other fixed:

limxa(limybf(x,y))andlimyb(limxaf(x,y))\lim_{x\to a}\left(\lim_{y\to b}f(x,y)\right) \quad \text{and} \quad \lim_{y\to b}\left(\lim_{x\to a}f(x,y)\right)

Be careful with the relationship between iterated limits and the full multivariable limit:

  • If the multivariable limit LL exists and both iterated limits exist, then both iterated limits equal LL.
  • If the two iterated limits exist but are not equal, the multivariable limit does not exist.
  • If the two iterated limits are equal, the multivariable limit still might not exist. Agreement of iterated limits is necessary but not sufficient.

Example: For f(x,y)=xyx2+y2f(x,y)=\frac{xy}{x^2+y^2} near (0,0)(0,0):

  • limx0(limy0xyx2+y2)=limx00x2=0\lim_{x\to 0}\left(\lim_{y\to 0}\frac{xy}{x^2+y^2}\right) = \lim_{x\to 0}\frac{0}{x^2} = 0
  • limy0(limx0xyx2+y2)=limy00y2=0\lim_{y\to 0}\left(\lim_{x\to 0}\frac{xy}{x^2+y^2}\right) = \lim_{y\to 0}\frac{0}{y^2} = 0

Both iterated limits equal 00, yet the multivariable limit does not exist (as shown by the path test above). This is a classic example of why iterated limits alone can't confirm a multivariable limit.

Evaluating Limits and Directional Limits, multivariable calculus - How to show that limit of $(x^3+y^3)/(x-y)$ does not exist at origin ...

Continuity in Multiple Variables

Continuity and Partial Continuity

A function f(x,y)f(x,y) is continuous at (a,b)(a,b) if three conditions hold:

  1. f(a,b)f(a,b) is defined.
  2. lim(x,y)(a,b)f(x,y)\lim_{(x,y)\to(a,b)}f(x,y) exists.
  3. lim(x,y)(a,b)f(x,y)=f(a,b)\lim_{(x,y)\to(a,b)}f(x,y) = f(a,b).

Polynomials in xx and yy, rational functions (where the denominator is nonzero), and compositions of continuous functions are all continuous on their domains. For example, f(x,y)=x2+y2f(x,y)=x^2+y^2 is continuous everywhere.

Partial continuity (also called separate continuity) is a weaker condition. A function is partially continuous in xx at (a,b)(a,b) if limxaf(x,b)=f(a,b)\lim_{x\to a}f(x,b)=f(a,b), treating yy as the constant bb. Similarly for yy.

The critical point here: partial continuity in each variable does not guarantee full continuity. This is one of the most important distinctions in multivariable analysis.

Example: Define f(x,y)=xyx2+y2f(x,y) = \frac{xy}{x^2+y^2} for (x,y)(0,0)(x,y)\neq(0,0) and f(0,0)=0f(0,0)=0.

  • Fixing y=0y=0: f(x,0)=0f(x,0) = 0 for all xx, so limx0f(x,0)=0=f(0,0)\lim_{x\to 0}f(x,0)=0=f(0,0). Partially continuous in xx.
  • Fixing x=0x=0: f(0,y)=0f(0,y) = 0 for all yy, so limy0f(0,y)=0=f(0,0)\lim_{y\to 0}f(0,y)=0=f(0,0). Partially continuous in yy.
  • But the multivariable limit at (0,0)(0,0) does not exist, so ff is not continuous there.

Discontinuity and Its Types

A function is discontinuous at a point when any of the three continuity conditions fails. The classification parallels single-variable types, though the geometry is richer:

  • Removable discontinuity: The multivariable limit exists, but the function is either undefined at the point or defined to a value different from the limit. You can "fix" it by redefining f(a,b)f(a,b) to equal the limit.
  • Jump discontinuity: The function approaches different values along different paths. In the multivariable setting, this is often called path-dependent behavior. The xyx2+y2\frac{xy}{x^2+y^2} example at the origin is this type.
  • Infinite discontinuity: f(x,y)±f(x,y)\to\pm\infty as (x,y)(a,b)(x,y)\to(a,b). For example, f(x,y)=1x2+y2f(x,y)=\frac{1}{x^2+y^2} near the origin.
  • Oscillating discontinuity: The function oscillates without settling on any value (finite or infinite). For example, sin ⁣(1x2+y2)\sin\!\left(\frac{1}{x^2+y^2}\right) near the origin.

In practice, the most common task at this level is identifying path-dependent discontinuities. When you suspect a limit doesn't exist, try paths like y=0y=0, x=0x=0, y=xy=x, y=x2y=x^2, and y=mxy=mx for general mm. If any two disagree, you're done.