The Definition and Domain of a Multivariable Function

The Definition of a Multivariable Function

A Function of Two Variables

A function of two variables

Let DD be a set of points in the plane. If for every point (x,y)(x, y) in DD there is, according to some correspondence rule ff, a unique real number zz corresponding to it, then zz is called a function of two variables in xx and yy, written:

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

Here DD is called the domain of the function, zz is called the dependent variable, and x,yx, y are called the independent variables. The set of all the values taken by the function is called the range.

A Function of Three Variables and a Function of n Variables

Similarly, a function of three variables is defined as:

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 three-dimensional space.

More generally, a function of n variables is defined as:

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

where DD is a set of points in the nn-dimensional space Rn\mathbb{R}^n.

The Geometric Meaning

The geometric representation of a multivariable function
  • A function of two variables z=f(x,y)z = f(x, y): represents a surface in three-dimensional space, and the domain DD is the projection of that surface onto the xOyxOy-plane.
  • A function of three variables w=f(x,y,z)w = f(x, y, z): cannot be represented directly by a figure in three-dimensional space; it can be understood as a hypersurface in four-dimensional space, and is usually visualised by means of the level surfaces f(x,y,z)=cf(x,y,z) = c.
  • A function of n variables: a hypersurface in nn-dimensional space.

Level Curves and Level Surfaces

For a function of two variables 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. A level curve is a curve in the plane, and the function has the same value everywhere on one level curve. The contour lines of a topographic map are the typical application of level curves.

For a function of three variables 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

A level surface is a surface in space, and the function has the same value everywhere on one level surface. The isobaric surfaces and isothermal surfaces of meteorology are applications of level surfaces.

How to Find the Domain

The method for finding the domain of a multivariable function is similar to that of a function of one variable: you have to find the range of the independent variables for which the expression of the function is meaningful. The common restrictions are:

Type of functionRestriction
A fraction 1f\frac{1}{f}f≠0f \neq 0
An even root f2n\sqrt[2n]{f}f≥0f \geq 0
A logarithm log⁡af\log_a ff>0f > 0
An inverse sine / cosine arcsin⁡f/arccos⁡f\arcsin f / \arccos f∣f∣≤1\lvert f\rvert \leq 1
A tangent tan⁡f\tan ff≠kπ+π2f \neq k\pi + \frac{\pi}{2}

For functions arising in practical problems, the domain is further restricted by the requirements of practical meaning.

Worked Examples

Example 1: Finding the Domain of a Function of Two Variables

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

the domaina function of two variablesa radicala closed disk

Approach:

An even root requires the radicand to be non-negative.

Steps:

  1. The requirement is 1−x2−y2≥01 - x^2 - y^2 \geq 0
  2. That is, x2+y2≤1x^2 + y^2 \leq 1
  3. The domain is D={(x,y)∣x2+y2≤1}D = \{(x, y) \mid x^2 + y^2 \leq 1\}

Answer: the domain is the closed disk centred at the origin with radius 1 (including the boundary).

Example 2: Finding the Domain of a Composite Function

Find the domain of the function f(x,y)=ln⁡(x2+y2−1)+14−x2−y2f(x, y) = \ln(x^2 + y^2 - 1) + \frac{1}{\sqrt{4 - x^2 - y^2}}.

the domaina composite functiona logarithma radicalan annular region

Approach:

Consider the restrictions of the logarithm and of the radical separately, and then take the intersection.

Steps:

  1. The logarithm requires: x2+y2−1>0x^2 + y^2 - 1 > 0, that is, x2+y2>1x^2 + y^2 > 1
  2. The radical requires: 4−x2−y2>04 - x^2 - y^2 > 0, that is, x2+y2<4x^2 + y^2 < 4
  3. Combining them: 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 domain is the open annulus with inner radius 1 and outer radius 2 (the boundary is not included).

Example 3: Finding the Domain of a Function of Three Variables

Find the domain of the function f(x,y,z)=arcsin⁡(x2+y2+z2)f(x, y, z) = \arcsin(x^2 + y^2 + z^2).

the domaina function of three variablesthe inverse sinea sphere

Approach:

The inverse sine function requires that the absolute value of its argument does not exceed 1.

Steps:

  1. The requirement is ∣x2+y2+z2∣≤1|x^2 + y^2 + z^2| \leq 1
  2. Since x2+y2+z2≥0x^2 + y^2 + z^2 \geq 0, this is 0≤x2+y2+z2≤10 \leq x^2 + y^2 + z^2 \leq 1
  3. The domain is D={(x,y,z)∣x2+y2+z2≤1}D = \{(x, y, z) \mid x^2 + y^2 + z^2 \leq 1\}

Answer: the domain is the closed ball centred at the origin with radius 1 (including the boundary).


Exercises

Exercise 1

Find the domain of the function f(x,y)=1x+yf(x, y) = \frac{1}{\sqrt{x + y}}.

the domaina function of two variablesa radicala half-plane

Approach:

The denominator must not be zero, and the radicand must be strictly positive.

Steps:

  1. The requirement is x+y>0x + y > 0
  2. The domain is D={(x,y)∣x+y>0}D = \{(x, y) \mid x + y > 0\}

Answer: the domain is the open half-plane above the line x+y=0x+y=0.

Exercise 2

Find the domain of the function f(x,y)=ln⁡(x−y2)f(x, y) = \ln(x - y^2).

the domaina logarithmic functiona parabola

Approach:

The argument of the logarithm must be strictly positive.

Steps:

  1. The requirement is x−y2>0x - y^2 > 0, that is, x>y2x > y^2
  2. The domain is D={(x,y)∣x>y2}D = \{(x, y) \mid x > y^2\}

Answer: the domain is the region to the right of the parabola x=y2x = y^2 (the boundary is not included).


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
DDSet of points / regiondomainThe domain of the function
f(x,y)f(x,y)Function of two variablesfunction of two variablesThe expression of a function of two variables
f(x,y,z)f(x,y,z)Function of three variablesfunction of three variablesThe expression of a function of three variables
zzDependent variabledependent variableThe dependent variable of a function of two variables
wwDependent variabledependent variableThe dependent variable of a function of three variables
Rn\mathbb{R}^nn-dimensional spacen-dimensional spaceThe space in which the domain of a function of n variables lies
ccConstantconstantThe constant value of a level curve or level surface

Found an issue with this content?

Tell us what could be improved.