CALCULUS 3 • MULTIVARIABLE FUNCTIONS & PARTIAL DERIVATIVES

Limits & Continuity: Multivariable — Limits and Continuity in Multivariable Functions (Conceptual)

Understanding how limits generalize to higher dimensions and why path dependence changes everything.

Historical Context & Motivation

The study of limits has been central to calculus since the discipline's inception, but extending the concept from one variable to two or more variables introduced fundamentally new challenges. In single-variable calculus, a point on the real number line can be approached from only two directions—left and right—making limit analysis relatively straightforward. When Augustin-Louis Cauchy and Karl Weierstrass formalized the epsilon-delta definition in the nineteenth century, they laid the groundwork for rigorous analysis, but the full implications for functions of several variables would take decades to explore. The transition to multivariable limits forced mathematicians to confront the richness of approaching a point from infinitely many paths in the plane or in higher-dimensional spaces.

1821
Cauchy's Cours d'Analyse
Augustin-Louis Cauchy publishes Cours d'Analyse, providing one of the first rigorous treatments of limits and continuity for single-variable functions, setting the stage for generalization.
1860s
Weierstrass Formalizes ε–δ
Karl Weierstrass introduces the precise epsilon-delta formulation, replacing vague notions of 'approaching' with quantified logical statements that extend naturally to multiple dimensions.
1880s
Pathological Counterexamples Emerge
Mathematicians discover functions of two variables where limits along every straight line exist and agree, yet the overall limit fails to exist—highlighting the subtle complexity of multivariable analysis.
1900s
Topology and Metric Spaces
The rise of point-set topology provides the abstract framework—open sets, neighborhoods, and metric spaces—that unifies limit theory across all dimensions and general spaces.

The central question that multivariable limit theory addresses is deceptively simple: when we say that f(x, y) → L as (x, y) → (a, b), what exactly do we mean, and how can we verify or disprove it? Unlike the single-variable case, the answer requires confronting the fact that there are infinitely many directions and curved paths along which a point can be approached in the plane. This richness is both the beauty and the difficulty of multivariable calculus.

Core Principles & Definitions

Extending limits to functions of two or more variables requires a careful rethinking of what it means for an input to be 'close' to a target point. In single-variable calculus, closeness is measured by |x − a|, a simple distance on the number line. In multivariable calculus, we replace this with the Euclidean distance in the plane (or in ℝⁿ), and 'approaching from both sides' becomes 'approaching from every possible direction and path.' The following core principles form the conceptual foundation for multivariable limits and continuity.

1

Neighborhoods Replace Intervals

In ℝ², the open interval (a − δ, a + δ) is replaced by an open disk of radius δ centered at (a, b). The limit must hold for every point within this disk, regardless of the direction from which it enters.
2

Path Independence Is Essential

For a multivariable limit to exist, the function must approach the same value L along every possible path toward the point—straight lines, parabolas, spirals, and all conceivable curves.
3

Two Different Path-Limits ⇒ No Limit

If any two paths yield different limiting values, the overall limit does not exist (DNE). This is the primary tool for disproving limits in multivariable calculus.
4

Continuity = Limit Equals Function Value

A function f(x, y) is continuous at (a, b) if the limit as (x, y) → (a, b) exists, f(a, b) is defined, and the limit equals f(a, b). This mirrors the single-variable definition exactly.
5

Squeeze Theorem Generalizes

The Squeeze Theorem carries over to multiple variables: if |f(x, y) − L| ≤ g(x, y) and g → 0, then f → L. This is the primary tool for proving limits exist.
✦ KEY TAKEAWAY
Think of a multivariable limit like a mountain summit shrouded in fog. In single-variable calculus, you hike along a single trail and check the altitude as you near the peak—one trail from the left, one from the right. In multivariable calculus, there are infinitely many trails spiraling up the mountain from every direction. The limit exists only if every single hiker, no matter which trail they choose, reports the same altitude as they approach the summit. If even one hiker disagrees, the 'limit altitude' is undefined.

Visual Explanation — Approaching a Point from Multiple Paths

The diagram below illustrates the fundamental difference between single-variable and multivariable limit analysis. On the left, a single-variable function is approached from only two directions along the x-axis. On the right, a point in the xy-plane is approached along multiple distinct paths—a straight line through the origin, a parabolic curve, and a spiral—each of which may yield a different limiting value for the function.

Left: In ℝ¹, approaching point a involves only left and right. Right: In ℝ², approaching (a, b) involves infinitely many paths—straight lines (y = x, y = −x), parabolas (y = x²), spirals, and more. The δ-disk (dashed circle) defines the neighborhood of (a, b).

Notice the critical geometric distinction: the δ-disk in the right panel is a two-dimensional open neighborhood. For the limit to exist, every path entering this disk and converging to (a, b) must produce the same limiting value of f(x, y). This is a vastly stronger condition than the single-variable case, which is precisely why many multivariable limits that 'look like they should exist' turn out not to. The visual also hints at a practical strategy: if you can find even two paths that yield different values, you have conclusively shown the limit does not exist.

Mathematical Framework

The formal definition of a multivariable limit mirrors the single-variable epsilon-delta definition but replaces absolute-value distance with Euclidean distance in ℝⁿ. We present the definition for functions of two variables; the generalization to n variables is immediate.

EPSILON-DELTA DEFINITION (ℝ²)
lim₍₍ₓ,ᵧ₎→₍ₐ,ᵦ₎₎ f(x, y) = L ⟺ ∀ ε > 0, ∃ δ > 0 such that 0 < √((x − a)² + (y − b)²) < δ ⟹ |f(x, y) − L| < ε
Here ε controls the output tolerance, δ controls the input neighborhood radius, and √((x − a)² + (y − b)²) is the Euclidean distance from (x, y) to (a, b). The condition 0 < distance ensures (a, b) itself is excluded.

In practice, directly constructing an ε–δ proof can be challenging. Two complementary strategies dominate the toolkit. The first is the two-path test for showing a limit does not exist: evaluate the function along two different paths approaching (a, b) and show the resulting limits disagree. The second is the Squeeze Theorem (also called the Squeeze Lemma or Sandwich Theorem) for proving a limit does exist.

SQUEEZE THEOREM (MULTIVARIABLE)
If |f(x, y) − L| ≤ g(x, y) for all (x, y) near (a, b), and lim₍₍ₓ,ᵧ₎→₍ₐ,ᵦ₎₎ g(x, y) = 0, then lim₍₍ₓ,ᵧ₎→₍ₐ,ᵦ₎₎ f(x, y) = L.
The bounding function g is often constructed using the inequality |xy| ≤ (x² + y²)/2 or by converting to polar coordinates (x = r cos θ, y = r sin θ), where the distance to the origin becomes simply r.
POLAR COORDINATE SUBSTITUTION
x = a + r cos θ, y = b + r sin θ ⟹ (x, y) → (a, b) as r → 0⁺
After substitution, if the resulting expression in r and θ approaches a single value L as r → 0⁺ independent of θ, the limit exists and equals L. If the expression depends on θ, the limit does not exist.
CONTINUITY AT A POINT (ℝ²)
f is continuous at (a, b) ⟺ lim₍₍ₓ,ᵧ₎→₍ₐ,ᵦ₎₎ f(x, y) = f(a, b)
This requires three conditions: (1) f(a, b) is defined, (2) the limit exists, and (3) the limit equals f(a, b). All elementary functions—polynomials, rational functions (on their domain), exponentials, trigonometric functions—are continuous on their natural domains.

Path Analysis & Polar Coordinates — A Detailed Breakdown

The most instructive and frequently encountered examples of multivariable limits involve rational functions that are undefined at the origin. Consider the classic function f(x, y) = xy/(x² + y²). The diagram below illustrates how different approach paths in the xy-plane produce different limiting values, establishing that the limit at the origin does not exist.

Four paths approaching the origin yield three different limit values (1/2, −1/2, and 0). Since the path y = x gives 1/2 while y = −x gives −1/2, the overall limit does not exist. The results panel on the right summarizes each computation.

The polar coordinate technique offers a systematic alternative to ad hoc path testing. By setting x = r cos θ and y = r sin θ, the function f(x, y) = xy/(x² + y²) becomes r² cos θ sin θ / r² = cos θ sin θ = (sin 2θ)/2. Since this expression depends on θ and not just r, its value changes with direction, confirming the limit does not exist. Conversely, when a polar substitution yields an expression that depends only on r (and vanishes as r → 0), the limit exists. For example, f(x, y) = (x²y)/(x² + y²) becomes r³ cos²θ sin θ / r² = r cos²θ sin θ. Since |cos²θ sin θ| ≤ 1, we have |f| ≤ r → 0, so by the Squeeze Theorem the limit is 0.

⚠ Caution: Matching All Lines Is Not Enough
A common mistake is to check only linear paths (y = mx) and conclude the limit exists because all lines give the same value. The function f(x, y) = x²y/(x⁴ + y²) is a famous counterexample: along every line y = mx, the limit at the origin is 0, but along the parabola y = x², the limit is 1/2. Agreement along all lines is necessary but not sufficient.

Worked Example — Proving a Limit Exists via Polar Coordinates

We demonstrate a full solution for proving a multivariable limit using polar coordinate conversion and the Squeeze Theorem. Consider the problem: evaluate lim₍₍ₓ,ᵧ₎→₍₀,₀₎₎ (x² − y²) sin(xy) / (x² + y²), or show the limit does not exist.

Evaluate lim₍₍ₓ,ᵧ₎→₍₀,₀₎₎ (x² − y²) sin(xy) / (x² + y²)
1
Step 1 — Convert to Polar CoordinatesSubstitute x = r cos θ and y = r sin θ. Then x² + y² = r², and x² − y² = r²(cos²θ − sin²θ) = r² cos 2θ. Also, xy = r² cos θ sin θ = (r²/2) sin 2θ. The function becomes: f = r² cos 2θ · sin((r²/2) sin 2θ) / r² = cos 2θ · sin((r²/2) sin 2θ).
f = cos 2θ · sin((r²/2) sin 2θ)
2
Step 2 — Bound the ExpressionWe use the fact that |sin u| ≤ |u| for all real u. Apply this to u = (r²/2) sin 2θ. Then |sin((r²/2) sin 2θ)| ≤ |(r²/2) sin 2θ| ≤ r²/2, since |sin 2θ| ≤ 1. Also, |cos 2θ| ≤ 1.
|f| ≤ |cos 2θ| · (r²/2) ≤ r²/2
3
Step 3 — Apply the Squeeze TheoremSince 0 ≤ |f| ≤ r²/2 and r²/2 → 0 as r → 0⁺, the Squeeze Theorem guarantees that f → 0. Critically, our bound r²/2 does not depend on θ, so the convergence is uniform over all directions.
lim₍₍ₓ,ᵧ₎→₍₀,₀₎₎ (x² − y²) sin(xy) / (x² + y²) = 0
4
Step 4 — Verify with a Quick Path Check (Optional Sanity Test)Along y = 0: f = x² sin(0) / x² = 0. Along y = x: f = 0 · sin(x²) / (2x²) = 0. Along y = x²: f ≈ x² · sin(x³) / x² = sin(x³) → 0. All paths yield 0, consistent with the proven limit.
All checked paths agree: limit = 0 ✓
✦ KEY STRATEGY
When trying to prove a limit exists at the origin, convert to polar coordinates and attempt to bound |f| by a function of r alone that vanishes as r → 0. The key inequality |sin u| ≤ |u| and the bounds |cos θ| ≤ 1, |sin θ| ≤ 1 are your primary tools. If you cannot eliminate θ from the expression, that is often a sign the limit does not exist.

Comparing Limit Techniques — Strengths & Limitations

Multiple techniques exist for evaluating or disproving multivariable limits, and each has a specific domain of effectiveness. Understanding when to deploy each method is as important as mastering the mechanics. The following table summarizes the strengths and weaknesses of the four primary approaches.

Comparison of the four primary multivariable limit techniques
TechniqueBest ForLimitation
Two-Path TestDisproving limits quickly. If two paths give different values, the limit DNE immediately.Can never prove a limit exists. Agreement on finitely many paths does not establish the limit.
Polar CoordinatesSystematic analysis at the origin. Converts path dependence into θ-dependence, which is easy to inspect.Most natural for limits at (0,0). Requires translation for other points. Can be algebraically intensive.
Squeeze TheoremProving limits exist. Provides a rigorous ε–δ-level proof when a suitable bound is found.Requires ingenuity to find the bounding function. No systematic recipe for the bound.
Direct ε–δ ProofFormal rigor. Required in analysis courses. Works for any point, not just the origin.Often the most difficult approach computationally. Constructing δ as a function of ε can be nontrivial.
🔑 PRACTICAL STRATEGY
When faced with a multivariable limit problem, adopt a two-phase approach. Phase 1: Scout—test two or three easy paths (y = 0, x = 0, y = x, y = x²) to develop intuition. If they disagree, you are done: the limit DNE. Phase 2: Prove—if all scouted paths agree, switch to polar coordinates or the Squeeze Theorem to attempt a proof. This workflow mirrors how engineers approach hypothesis testing: first gather evidence, then construct a rigorous argument.

Connection to Advanced Theory — Topology, Differentiability, and Beyond

The concepts of limits and continuity in ℝ² are not merely exercises in computation—they form the foundation for all subsequent multivariable calculus. Differentiability of a multivariable function requires continuity as a prerequisite, and the existence of partial derivatives at a point does not guarantee continuity—a stark contrast with single-variable calculus. Understanding this distinction early prevents significant confusion when studying partial derivatives, gradients, and the chain rule in higher dimensions.

Single-variable vs. multivariable: key structural differences
ConceptSingle Variable (ℝ¹)Multivariable (ℝ²⁺)
NeighborhoodOpen interval (a − δ, a + δ)Open disk (or ball) of radius δ centered at the point
Approach directionsTwo: from left and rightInfinitely many: every path, curve, and spiral
Differentiable ⟹ Continuous?Yes, alwaysYes, if differentiable (but partial derivatives existing ≠ differentiable)
Partial derivatives exist ⟹ Continuous?N/A (only one derivative)No! Both partials can exist at a point where f is discontinuous.
Topological generalizationMetric spaces on ℝMetric/topological spaces on ℝⁿ, Banach spaces, manifolds

Looking ahead, the concept of continuity extends further into topology, where a function between topological spaces is continuous if and only if the preimage of every open set is open. This abstract definition encompasses all the ε–δ notions studied here as special cases. In the context of Calculus 3, the most immediate payoff of understanding multivariable continuity comes in the study of differentiability (total derivative, Jacobian matrices), iterated integrals (where continuity ensures the order of integration can be exchanged via Fubini's theorem), and the Implicit Function Theorem, which requires continuity of partial derivatives as a hypothesis.

Practice Problems

PROBLEM 1 — CONCEPTUAL
Explain why showing that a multivariable limit has the same value along every straight line through the point is not sufficient to prove the limit exists. Provide a specific function as a counterexample.
PROBLEM 2 — BASIC CALCULATION
Determine whether the limit lim₍₍ₓ,ᵧ₎→₍₀,₀₎₎ (x² + y²)/√(x² + y² + 1) − 1 exists. If it does, find its value.
PROBLEM 3 — INTERMEDIATE
Use polar coordinates to prove that lim₍₍ₓ,ᵧ₎→₍₀,₀₎₎ (x³ − y³)/(x² + y²) = 0.
PROBLEM 4 — APPLIED
In a heat-transfer model, the steady-state temperature at a point on a metal plate is given by T(x, y) = (x² sin y)/(x² + y²) for (x, y) ≠ (0, 0). An engineer needs to know whether the temperature function can be continuously extended to the origin (i.e., whether a value T(0, 0) can be defined so that T is continuous there). Determine whether this is possible.
PROBLEM 5 — CRITICAL THINKING
Consider the function f(x, y) = (x² + y²)^(x²y²) for (x, y) ≠ (0, 0). By analyzing the behavior along different paths, determine whether lim₍₍ₓ,ᵧ₎→₍₀,₀₎₎ f(x, y) exists, and if so, find it. (Hint: consider writing f = e^(x²y² ln(x²+y²)) and analyze the exponent.)

Lesson Summary

Multivariable limits extend the single-variable epsilon-delta framework by replacing intervals with open disks (δ-neighborhoods) in ℝ². The central challenge is that a point in the plane can be approached from infinitely many paths—straight lines, parabolas, spirals, and arbitrary curves. For the limit lim₍₍ₓ,ᵧ₎→₍ₐ,ᵦ₎₎ f(x, y) = L to exist, the function must approach L along every possible path. If even two paths yield different values, the limit does not exist.

The primary toolkit consists of four techniques: the two-path test for disproving limits, polar coordinate substitution for systematic analysis at the origin, the Squeeze Theorem for proving limits exist, and direct ε–δ proofs for maximum rigor. A function f(x, y) is continuous at (a, b) precisely when its limit there exists and equals f(a, b). These ideas form the foundation for differentiability, integration, and all higher-dimensional analysis in multivariable calculus.

Varsity Tutors • Calculus 3 • Limits & Continuity: Multivariable — Limits and Continuity in Multivariable Functions (Conceptual)