A function of several variables assigns one output to each admissible input tuple. Its domain is a set of tuples, not merely a separate interval for each input. Coupled restrictions, level sets and approach paths all carry information that a one-dimensional graph cannot show.

Domain analysis comes before drawing a surface or calculating a derivative. A picture can suggest the geometry, but the defining conditions determine which points actually belong.

On this page

Specify inputs and output type

A scalar function can be written f:D⊆ℝ2→ℝf:D\subseteq\mathbb R^2\to\mathbb R. Each pair in DD receives one real output. The function f(x,y)=x2+2y2f(x,y)=x^2+2y^2 is scalar-valued despite having two inputs.

A relation such as z2=x2+y2z^2=x^2+y^2 does not by itself assign a unique zz. Selecting the positive or negative square-root branch defines different functions. The branch and domain are part of the definition, not decorations added after a formula is chosen.

Intersect all restrictions

Consider

f(x,y)=ln(9−x2−y2)y−1.f(x,y)=\frac{\ln(9-x^2-y^2)}{y-1}.

The logarithm requires x2+y2<9x^2+y^2<9, while the denominator requires y≠1y\ne1. Therefore

D={(x,y):x2+y2<9,y≠1}.D=\{(x,y):x^2+y^2<9,\ y\ne1\}.

This is an open disk of radius three with the part of the line y=1y=1 inside it removed. The separate inequalities −3<x<3-3<x<3 and −3<y<3-3<y<3 are necessary but insufficient. The point (2.5,2.5)(2.5,2.5) satisfies them but lies outside the disk.

Domain of ln(9−x²−y²)/(y−1)

A domain can couple the input restrictionsAn open disk with the line y=1 removed.A domain can couple the input restrictions-303-3013xyincludedoutsidex²+y²<9 and y≠1.The dashed circle and dotted line are both excluded.
Tinting marks the disk interior; excluded sets remain explicitly marked.
Diagram explanation and exact data

Separate coordinate bounds would include inadmissible corner points. The logarithm and denominator restrictions must both hold.

Domain of ln(9−x²−y²)/(y−1): exact reference data
Input Status Reason
(0,0) included positive log argument, nonzero denominator
(0,1) excluded zero denominator
(3,0) excluded log argument zero
(2.5,2.5) excluded outside disk

A square root permits zero radicand, while a logarithm does not. Check each operation separately. The several-variable function reference develops domain and graph representations.

Prove a range with bounds and witnesses

For

g(x,y)=9−x2−y2,g(x,y)=\sqrt{9-x^2-y^2},

the domain is the closed disk x2+y2≤9x^2+y^2\le9. The output satisfies 0≤g≤30\le g\le3. To establish that every value in this interval occurs, choose any c∈[0,3]c\in[0,3]. The input (9−c2,0)(\sqrt{9-c^2},0) belongs to the domain and gives g=cg=c.

Thus the range is exactly [0,3][0,3]. An upper bound alone would not establish the whole range. The graph is the upper hemisphere of a sphere, including its circular boundary.

Read levels and traces differently

For g(x,y)=cg(x,y)=c, with 0≤c≤30\le c\le3,

x2+y2=9−c2.x^2+y^2=9-c^2.

Levels below three are circles; level three is the origin. Values outside the range have empty level sets. A function of three variables can have level surfaces: x2+y2+z2=cx^2+y^2+z^2=c gives spheres for positive cc, a point at zero and no real points for negative cc.

A trace instead fixes an input. For f=x2+2y2f=x^2+2y^2, setting y=by=b gives x2+2b2x^2+2b^2. This vertical slice is different from a level curve, which fixes the output. A finite collection of slices does not uniquely determine every possible surface between them.

Define limits using domain points

The statement f(x,y)→Lf(x,y)\to L as (x,y)→(a,b)(x,y)\to(a,b) requires every sufficiently close admissible input, other than the point itself, to have output close to LL.

Formally, for each ε>0\varepsilon>0, there is a δ>0\delta>0 such that

0<(x−a)2+(y−b)2<δ⇒|f(x,y)−L|<ε0<\sqrt{(x-a)^2+(y-b)^2}<\delta\quad\Longrightarrow\quad|f(x,y)-L|<\varepsilon

for points in the domain. The target is understood to be an accumulation point. At a boundary, approaches remain within the domain; values outside it must not be invented.

Continuity additionally requires that the limit equal the assigned function value. This relative-domain interpretation matters at boundaries and removed subsets.

Different path limits disprove a limit

For f(x,y)=xy/(x2+y2)f(x,y)=xy/(x^2+y^2) away from the origin, both axes give zero. Along y=xy=x, the function equals 1/21/2. The limit does not exist.

Two disagreeing paths give a counterexample to a common limit. Several agreeing paths provide evidence but not a proof. A limit assertion concerns every sufficiently close domain point, not just selected approaches.

Every straight line can still miss a curved approach

Take

h(x,y)=x2yx4+y2,(x,y)≠(0,0).h(x,y)=\frac{x^2y}{x^4+y^2},\qquad(x,y)\ne(0,0).

Along y=mxy=mx, for fixed m≠0m\ne0,

h(x,mx)=mxx2+m2→0.h(x,mx)=\frac{mx}{x^2+m^2}\longrightarrow0.

Both coordinate axes also give zero. Along the curved approach y=x2y=x^2, however,

h(x,x2)=x42x4=12h(x,x^2)=\frac{x^4}{2x^4}=\frac12

for nonzero xx. The multivariable limit fails despite agreement along every fixed straight line.

The line-by-line result does not supply a uniform bound over all approaches. A curved path can change its direction as it nears the point. This distinction prevents an infinite-looking collection of examples from being mistaken for a general argument.

Prove a limit with one bound for all directions

For

q(x,y)=x2yx2+y2,(x,y)≠(0,0),q(x,y)=\frac{x^2y}{x^2+y^2},\qquad(x,y)\ne(0,0),

we have

|q(x,y)|=|y|x2x2+y2≤|y|≤x2+y2.|q(x,y)|=|y|\frac{x^2}{x^2+y^2}\le|y|\le\sqrt{x^2+y^2}.

The last expression tends to zero independently of direction. Choosing δ=ε\delta=\varepsilon proves the required implication, so q→0q\to0. Defining q(0,0)=0q(0,0)=0 gives a continuous extension.

The inequality controls all nearby inputs at once. The multivariable limits reference explains the role of such estimates alongside path counterexamples.

Carry domain geometry into later calculus

Partial derivatives vary a single coordinate, while directional derivatives approach along a chosen line. Boundary points may not permit two-sided changes in every direction. Standard interior differentiability definitions assume an open neighbourhood; constrained domains need their own interpretation.

Integration bounds also depend on domain shape. A disk cannot be represented by independent constant bounds on both coordinates without including extra points. Algebraic simplification can preserve values on an original domain while leaving its excluded points excluded.

Write restrictions explicitly and carry them into transformations, derivatives and integrals. A visually smooth surface is not evidence that a denominator restriction has disappeared.

Practice questions

  1. Find the real domain of ln(9−x2−y2)/(y−1)\ln(9-x^2-y^2)/(y-1).
  2. Find the range of 9−x2−y2\sqrt{9-x^2-y^2} and justify attainability.
  3. Does a zero limit along every straight line through the origin establish a zero two-variable limit?
Check your answers
  1. The domain is x2+y2<9x^2+y^2<9 with y≠1y\ne1.
  2. The range is [0,3][0,3]. For each such cc, the input (9−c2,0)(\sqrt{9-c^2},0) gives output cc.
  3. No. The function x2y/(x4+y2)x^2y/(x^4+y^2) tends to zero along every fixed line but equals 1/21/2 along y=x2y=x^2.

Related topics

Partial Derivatives distinguishes coordinate rates from differentiability. Gradient and Directional Change studies arbitrary directions with explicit regularity conditions.

Sources and further reading