Functions of Several Variables, Limits, and Continuity
A function of several variables assigns one number to each point of a region in the plane or in space. Domain, graph, level curve, and level surface describe it; limits and continuity extend to two variables, where a limit must agree along every path of approach, not just from the left and the right.
╌╌╌╌
Single-variable calculus studies quantities that depend on one input. Most
quantities depend on several. The temperature on a metal plate depends on both
coordinates of a point; the volume of a cylinder depends on radius and height;
the wind-chill index depends on temperature and wind speed. Differentiating and
integrating such quantities rests on two objects: the functions themselves and
the limit that underlies calculus in more than one variable.
Functions of two variables
When a function is given by a formula with no stated domain, the domain is the
set of all pairs for which the formula returns a real number.1
The domain of x+y+1/(x−1) is the shaded closed half-plane on and above y=−x−1, minus the dashed vertical line x=1 where the denominator vanishes.
A function of three variables assigns a number f(x,y,z) to each point of a
region D⊆R3, and a function of n variables assigns
f(x1,…,xn) to each point of D⊆Rn.
Graphs
A single-variable graph is a curve in the plane; a two-variable graph is a
surface in space. The graph of a linear function f(x,y)=ax+by+c is a
plane. The graph of f(x,y)=x2+y2 is a bowl (a circular paraboloid);
the graph of f(x,y)=9−x2−y2 is the upper half of a sphere of
radius 3.
Drawing a surface by hand is hard, and reading three-dimensional structure off a
flat page is harder. Two flat devices carry most of the information: traces
and level curves.
A trace is the curve where the surface meets a plane. The vertical trace in
the plane x=a is the curve z=f(a,y); the vertical trace in y=b is
z=f(x,b). Horizontal traces z=k are the level curves.
Level curves and contour maps
A contour map draws several level curves f(x,y)=k for equally spaced
values of k. Reading it is reading a topographic map: each curve joins points
of equal height, and the surface is steep where the curves are close together,
gentle where they are far apart.
A contour map: each closed curve joins points of equal height k. The curves crowd on the left, marking a steep face, and spread on the right, marking a gentle one.
The surface and its contour map encode the same information.
A surface and its contour map are the same information. Slicing the bowl by horizontal planes z=k and dropping the slices to the floor produces the level curves.
Functions of three or more variables
A function of three variables cannot be graphed (its graph would live in
R4), so it is studied through its level surfaces.
For f(x,y,z)=x2+y2+z2 the level surfaces x2+y2+z2=k are
concentric spheres of radius k (for k>0), a nested family that fills
space. A level surface is the three-variable analog of a level curve, one
dimension up.
Level surfaces of f(x,y,z)=x2+y2+z2 are nested spheres of radius k; each carries a single value of f.
Limits of two-variable functions
The single-variable limit limx→af(x)=L requires the left limit and
the right limit to agree; x can approach a from only two sides. In the plane,
(x,y) can approach (a,b) along infinitely many paths, and the limit must
give the same value along all of them.
The quantity ∣f(x,y)−L∣ is the distance between output and target;
(x−a)2+(y−b)2 is the distance from (x,y) to (a,b). So the
definition says the output can be forced within ε of L by keeping
the input within some disk of radius δ about (a,b) — but not at the
center itself.
The multi-directional nature of the plane gives a decisive negative test.
The limit of (x2−y2)/(x2+y2) at the origin fails: the value is +1 everywhere on the x-axis but −1 everywhere on the y-axis.
The two paths need not be the coordinate axes.
The limit of xy/(x2+y2) at the origin fails: it is 0 along the x-axis but 21 along the diagonal y=x.
A line-independent value along every line is still not enough.
To prove a limit exists, bound ∣f(x,y)−L∣ by a quantity depending only
on the distance r=x2+y2 that vanishes as r→0, then apply the
Squeeze Theorem.
Continuity
Continuity means small changes in the input produce small changes in the output:
the graph has no hole, tear, or jump. Because limits of sums, differences,
products, and quotients behave the way they do in one variable, the standard
constructions stay continuous.
Polynomials. A polynomial in x and y is a sum of terms cxmyn
(m,n nonnegative integers). Every polynomial is continuous on all of
R2.
Rational functions. A ratio of polynomials is continuous everywhere its
denominator is nonzero.
Compositions. If g is continuous at (a,b) and h is continuous at
g(a,b), then h∘g is continuous at (a,b). Feeding a continuous
two-variable function into sin, exp, or a root keeps it continuous.
Continuity in three or more variables reads the same way,
lim(x,y,z)→(a,b,c)f(x,y,z)=f(a,b,c), with distance measured
in R3. All of it collapses to the one-variable case when the extra
inputs are held fixed — the idea behind the partial derivative,
which slices a surface with a plane and differentiates the resulting curve.
Footnotes
Stewart, §14.1 — domain and range conventions for functions of two and three variables, with the natural-domain rule for formulas. ↩