Basic Concepts of Multivariable Functions

Definition of Multivariable Functions

Functions of Two Variables

Function of Two Variables

Let DD be a set of points in the plane. If for every point (x,y)(x, y) in DD, a definite rule ff assigns a unique real number zz, then zz is called a function of two variables:

z=f(x,y),(x,y)Dz = f(x, y), \quad (x, y) \in D

where DD is the domain, zz the dependent variable, and x,yx, y the independent variables. The set of all possible values of zz is the range.

Functions of Three or More Variables

Similarly, a function of three variables is written

w=f(x,y,z),(x,y,z)Dw = f(x, y, z), \quad (x, y, z) \in D

where DD is a set of points in 3-space. In general, an n-variable function is

u=f(x1,x2,,xn),(x1,x2,,xn)Du = f(x_1, x_2, \ldots, x_n), \quad (x_1, x_2, \ldots, x_n) \in D

with DD a set of points in Rn\mathbb{R}^n.

Geometric Meaning

Geometric interpretation
  • A two-variable function z=f(x,y)z = f(x, y): represents a surface in 3-space; the domain DD is the projection of the surface onto the xOyxOy-plane.
  • A three-variable function w=f(x,y,z)w = f(x, y, z): cannot be drawn directly in 3-space; it is a hypersurface in 4-space, often visualized through level surfaces f(x,y,z)=cf(x,y,z) = c.
  • An n-variable function: a hypersurface in nn-space.

Level Curves and Level Surfaces

For z=f(x,y)z = f(x,y), a level curve (contour line) is defined by

f(x,y)=cf(x, y) = c

where cc is a constant. Points on the same level curve share the same function value; topographic contour maps are the classic example.

For w=f(x,y,z)w = f(x,y,z), a level surface is defined by

f(x,y,z)=cf(x, y, z) = c

Isobaric and isothermal surfaces in meteorology are level surfaces.

Finding the Domain

Like the one-variable case, the domain consists of all inputs for which the expression is defined. Common restrictions:

Function typeRestriction
Fraction 1f\frac{1}{f}f0f \neq 0
Even root f2n\sqrt[2n]{f}f0f \geq 0
Logarithm logaf\log_a ff>0f > 0
Arcsine/arccosine arcsinf/arccosf\arcsin f / \arccos f$
Tangent tanf\tan ffkπ+π2f \neq k\pi + \frac{\pi}{2}

For functions arising from real problems, the domain is also restricted by practical meaning.

Example 1: Domain of a Two-Variable Function

Find the domain of f(x,y)=1x2y2f(x, y) = \sqrt{1 - x^2 - y^2}.

Answer and Explanation(4 个标签)
domaintwo variablesrootclosed disk

Approach: an even root requires the radicand to be nonnegative.

Detailed steps:

  1. Require 1x2y201 - x^2 - y^2 \geq 0
  2. That is x2+y21x^2 + y^2 \leq 1
  3. The domain is D={(x,y)x2+y21}D = \{(x, y) \mid x^2 + y^2 \leq 1\}

Answer: the closed disk centered at the origin with radius 1 (including the boundary).

Example 2: Domain of a Compound Function

Find the domain of f(x,y)=ln(x2+y21)+14x2y2f(x, y) = \ln(x^2 + y^2 - 1) + \frac{1}{\sqrt{4 - x^2 - y^2}}.

Answer and Explanation(5 个标签)
domaincompound functionlogarithmrootannulus

Approach: consider the restrictions from the logarithm and the root separately, then intersect.

Detailed steps:

  1. Logarithm: x2+y21>0x^2 + y^2 - 1 > 0, i.e. x2+y2>1x^2 + y^2 > 1
  2. Root: 4x2y2>04 - x^2 - y^2 > 0, i.e. x2+y2<4x^2 + y^2 < 4
  3. Together: 1<x2+y2<41 < x^2 + y^2 < 4
  4. The domain is D={(x,y)1<x2+y2<4}D = \{(x, y) \mid 1 < x^2 + y^2 < 4\}

Answer: the open annulus with inner radius 1 and outer radius 2 (boundaries excluded).

Limits of Multivariable Functions

Definition of the Double Limit

Double Limit

Let f(x,y)f(x, y) be defined on a deleted neighborhood of P0(x0,y0)P_0(x_0, y_0). If for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that whenever 0<(xx0)2+(yy0)2<δ0 < \sqrt{(x - x_0)^2 + (y - y_0)^2} < \delta, we have f(x,y)A<ε|f(x, y) - A| < \varepsilon, then AA is called the double limit of ff as (x,y)(x0,y0)(x, y) \to (x_0, y_0):

lim(x,y)(x0,y0)f(x,y)=A\lim_{(x, y) \to (x_0, y_0)} f(x, y) = A

Properties of Limits

定理1
  1. Uniqueness: if the limit exists, it is unique.
  2. Local boundedness: if the limit exists, the function is bounded in some deleted neighborhood.
  3. Arithmetic: the limit of a sum/difference/product/quotient equals the corresponding combination of limits (provided the denominator limit is nonzero).
  4. Squeeze theorem: if gfhg \leq f \leq h and limg=limh=A\lim g = \lim h = A, then limf=A\lim f = A.
  5. Composition: if limf=A\lim f = A and limuAg(u)=B\lim_{u\to A} g(u) = B, then limg(f)=B\lim g(f) = B.

Iterated Limits

Iterated Limit

Fix one variable while the other approaches, then let the fixed one approach—the result is an iterated limit:

limxx0limyy0f(x,y),limyy0limxx0f(x,y)\lim_{x \to x_0} \lim_{y \to y_0} f(x, y), \quad \lim_{y \to y_0} \lim_{x \to x_0} f(x, y)

Proving a Limit Does Not Exist

Example 3: A Nonexistent Limit (Straight Paths)

Show that lim(x,y)(0,0)xyx2+y2\lim_{(x, y) \to (0, 0)} \frac{xy}{x^2 + y^2} does not exist.

Answer and Explanation(3 个标签)
nonexistent limitpath methodclassic counterexample

Detailed steps:

  1. Along the xx-axis (y=0y=0): limx00x2=0\lim_{x\to0} \frac{0}{x^2} = 0
  2. Along y=xy=x: limx0x22x2=12\lim_{x\to0} \frac{x^2}{2x^2} = \frac{1}{2}
  3. The two paths give different limits, so the limit does not exist.

Answer: the limit does not exist.

Example 4: A Nonexistent Limit (Parabolic Path)

Show that lim(x,y)(0,0)x2yx4+y2\lim_{(x, y) \to (0, 0)} \frac{x^2 y}{x^4 + y^2} does not exist.

Answer and Explanation(3 个标签)
nonexistent limitparabolic pathhigher-order infinitesimal

Detailed steps:

  1. Along the xx-axis: the limit is 00
  2. Along y=x2y=x^2: limx0x4x4+x4=12\lim_{x\to0} \frac{x^4}{x^4+x^4} = \frac{1}{2}
  3. The limits differ, so the limit does not exist.

Answer: the limit does not exist.

Example 5: Computing a Limit (Squeeze / Polar)

Find lim(x,y)(0,0)x2yx2+y2\lim_{(x, y) \to (0, 0)} \frac{x^2 y}{x^2 + y^2}.

Answer and Explanation(3 个标签)
existing limitsqueeze theorempolar coordinates

Detailed steps:

Method 1 — squeeze theorem: 0x2yx2+y2(x2+y2)x2+y2x2+y2=x2+y200 \leq \left|\frac{x^2 y}{x^2+y^2}\right| \leq \frac{(x^2+y^2)\sqrt{x^2+y^2}}{x^2+y^2} = \sqrt{x^2+y^2} \to 0 so the limit is 00.

Method 2 — polar coordinates: put x=ρcosθ, y=ρsinθx=\rho\cos\theta,\ y=\rho\sin\theta. Then x2yx2+y2=ρcos2θsinθ0\frac{x^2 y}{x^2+y^2}=\rho\cos^2\theta\sin\theta\to0 as ρ0\rho\to0, independent of θ\theta.

Answer: the limit is 00.

Continuity of Multivariable Functions

Definition

Continuity of a Two-Variable Function

Let f(x,y)f(x, y) be defined on a neighborhood of P0(x0,y0)P_0(x_0, y_0). If

lim(x,y)(x0,y0)f(x,y)=f(x0,y0)\lim_{(x, y) \to (x_0, y_0)} f(x, y) = f(x_0, y_0)

then ff is continuous at P0P_0. If ff is continuous at every point of a region DD, it is continuous on DD.

Equivalently, ff is continuous at P0P_0 exactly when:

  1. f(P0)f(P_0) is defined
  2. limPP0f(P)\lim_{P\to P_0} f(P) exists
  3. the limit equals the function value

Discontinuities

Point of Discontinuity

If f(x,y)f(x, y) is not continuous at P0P_0, then P0P_0 is called a point of discontinuity. There are three situations:

  1. f(P0)f(P_0) is undefined
  2. limPP0f(P)\lim_{P\to P_0} f(P) does not exist
  3. the limit exists but differs from f(P0)f(P_0)

Unlike the one-variable case, discontinuities of a two-variable function can be isolated points or entire curves. For example, f(x,y)=1x2+y21f(x,y) = \frac{1}{x^2+y^2-1} is discontinuous at every point of the unit circle x2+y2=1x^2+y^2=1.

Properties of Continuous Functions

定理2
  1. Arithmetic: sums, differences, products, and quotients (with nonzero denominator) of continuous functions are continuous.
  2. Composition: a composition of continuous functions is continuous.
  3. Elementary functions: multivariable elementary functions are continuous on their domains.
  4. Extreme value theorem: a continuous function on a closed bounded region attains a maximum and a minimum.
  5. Intermediate value theorem: on a closed bounded region, a continuous function attains every value between its minimum mm and maximum MM.
  6. Boundedness theorem: a continuous function on a closed bounded region is bounded.

Uniform Continuity

Uniform Continuity

If for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that for any two points P1,P2P_1, P_2 in DD with P1P2<δ|P_1P_2| < \delta, we have f(P1)f(P2)<ε|f(P_1) - f(P_2)| < \varepsilon, then ff is uniformly continuous on DD.

定理3

Cantor’s theorem: a function continuous on a closed bounded region is uniformly continuous there.

Example 6: Continuity at the Origin

Determine the continuity of f(x,y)={xyx2+y2,(x,y)(0,0)0,(x,y)=(0,0)f(x, y) = \begin{cases} \frac{xy}{x^2 + y^2}, & (x,y) \neq (0,0) \\ 0, & (x,y) = (0,0) \end{cases} at (0,0)(0,0).

Answer and Explanation(3 个标签)
continuitydiscontinuitynonexistent limit

Detailed steps:

  1. From the earlier limit example, lim(x,y)(0,0)xyx2+y2\lim_{(x,y)\to(0,0)} \frac{xy}{x^2+y^2} does not exist
  2. Yet f(0,0)=0f(0,0) = 0
  3. The limit does not exist, so the function is discontinuous at (0,0)(0,0).

Answer: discontinuous at (0,0)(0,0).

Example 7: Extending a Function to Be Continuous

Let f(x,y)=x2yx2+y2f(x, y) = \frac{x^2 y}{x^2 + y^2} for (x,y)(0,0)(x,y)\neq(0,0). Can we define f(0,0)f(0,0) so that ff becomes continuous at the origin?

Answer and Explanation(3 个标签)
continuityextensionremovable discontinuity

Detailed steps:

  1. From Example 5, lim(x,y)(0,0)x2yx2+y2=0\lim_{(x,y)\to(0,0)} \frac{x^2 y}{x^2+y^2} = 0
  2. Define f(0,0)=0f(0,0) = 0
  3. Then the limit equals the function value, so ff is continuous at the origin.

Answer: yes—set f(0,0)=0f(0,0) = 0; the origin is a removable discontinuity.


Summary

Symbols Used in This Article

SymbolTypeReading/ExplanationMeaning in This Article
DDpoint set / regiondomainThe domain of the function
f(x,y)f(x,y)two-variable functionfunction of two variablesThe expression of a two-variable function
zzdependent variabledependent variableThe output of a two-variable function
Rn\mathbb{R}^nn-spacen-dimensional spaceThe space containing the domain
ccconstantconstantThe value defining a level curve/surface
ε,δ\varepsilon, \deltaGreek lettersepsilon, deltaUsed in the limit/continuity definitions
ρ,θ\rho, \thetaGreek lettersrho, thetaPolar coordinates

English–Chinese Glossary

English termChinese termPhoneticExplanation
multivariable function多元函数/ˌmʌltiˈvɛriəbəl ˈfʌŋkʃən/A function of several variables
function of two variables二元函数/ˈfʌŋkʃən əv tuː ˈvɛriəbəlz/A function with two inputs
function of n variablesn元函数/ˈfʌŋkʃən əv ɛn ˈvɛriəbəlz/A function with nn inputs
domain定义域/doʊˈmeɪn/The set of allowed inputs
range值域/reɪndʒ/The set of output values
level curve等值线/ˈlɛvəl kɜːrv/A curve of constant function value
level surface等值面/ˈlɛvəl ˈsɜːrfɪs/A surface of constant function value
double limit二重极限/ˈdʌbəl ˈlɪmɪt/The limit of a two-variable function
iterated limit累次极限/ˈɪtəreɪtɪd ˈlɪmɪt/A limit taken one variable at a time
continuity连续性/ˌkɒntɪˈnjuːəti/The function value equals its limit
uniform continuity一致连续/ˈjuːnɪfɔːm ˌkɒntɪˈnjuːəti/A global continuity condition
hypersurface超曲面/ˈhaɪpərˌsɜːrfɪs/A surface in higher dimensions