In
mathematical analysis
Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series (m ...
and its applications, a function of several real variables or real multivariate function is a
function with more than one
argument, with all arguments being
real variables. This concept extends the idea of a
function of a real variable to several variables. The "input" variables take real values, while the "output", also called the "value of the function", may be real or
complex. However, the
study of the complex-valued functions may be easily reduced to the
study of the real-valued functions, by considering the real and
imaginary parts of the complex function; therefore, unless explicitly specified, only real-valued functions will be considered in this article.
The
domain of a function of variables is the
subset
In mathematics, Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are ...
of for which the function is defined. As usual, the domain of a function of several real variables is supposed to contain a nonempty
open subset of .
General definition
A real-valued function of real variables is a
function that takes as input
real number
In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
s, commonly represented by the
variables , for producing another real number, the ''value'' of the function, commonly denoted . For simplicity, in this article a real-valued function of several real variables will be simply called a function. To avoid any ambiguity, the other types of functions that may occur will be explicitly specified.
Some functions are defined for all real values of the variables (one says that they are everywhere defined), but some other functions are defined only if the value of the variable are taken in a subset of , the
domain of the function, which is always supposed to contain an
open subset of . In other words, a real-valued function of real variables is a function
:
such that its domain is a subset of that contains a nonempty open set.
An element of being an -
tuple (usually delimited by parentheses), the general notation for denoting functions would be . The common usage, much older than the general definition of functions between sets, is to not use double parentheses and to simply write .
It is also common to abbreviate the -tuple by using a notation similar to that for
vectors, like boldface , underline , or overarrow . This article will use bold.
A simple example of a function in two variables could be:
:
which is the
volume
Volume is a measure of occupied three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch). Th ...
of a
cone with base area and height measured perpendicularly from the base. The domain restricts all variables to be positive since
length
Length is a measure of distance. In the International System of Quantities, length is a quantity with dimension distance. In most systems of measurement a base unit for length is chosen, from which all other units are derived. In the Interna ...
s and
areas must be positive.
For an example of a function in two variables:
:
where and are real non-zero constants. Using the
three-dimensional Cartesian coordinate system, where the ''xy'' plane is the domain and the z axis is the codomain , one can visualize the image to be a two-dimensional plane, with a
slope
In mathematics, the slope or gradient of a line is a number that describes both the ''direction'' and the ''steepness'' of the line. Slope is often denoted by the letter ''m''; there is no clear answer to the question why the letter ''m'' is used ...
of in the positive x direction and a slope of in the positive y direction. The function is well-defined at all points in . The previous example can be extended easily to higher dimensions:
:
for non-zero real constants , which describes a -dimensional
hyperplane
In geometry, a hyperplane is a subspace whose dimension is one less than that of its ''ambient space''. For example, if a space is 3-dimensional then its hyperplanes are the 2-dimensional planes, while if the space is 2-dimensional, its hyper ...
.
The
Euclidean norm:
:
is also a function of ''n'' variables which is everywhere defined, while
:
is defined only for .
For a non-linear example function in two variables:
:
which takes in all points in , a
disk of radius "punctured" at the origin in the plane , and returns a point in . The function does not include the origin , if it did then would be ill-defined at that point. Using a 3d Cartesian coordinate system with the ''xy''-plane as the domain , and the z axis the codomain , the image can be visualized as a curved surface.
The function can be evaluated at the point in :
:
However, the function couldn't be evaluated at, say
:
since these values of and do not satisfy the domain's rule.
Image
The
image
An image is a visual representation of something. It can be two-dimensional, three-dimensional, or somehow otherwise feed into the visual system to convey information. An image can be an artifact, such as a photograph or other two-dimensiona ...
of a function is the set of all values of when the -tuple runs in the whole domain of . For a continuous (see below for a definition) real-valued function which has a connected domain, the image is either an
interval or a single value. In the latter case, the function is a
constant function.
The
preimage
In mathematics, the image of a function is the set of all output values it may produce.
More generally, evaluating a given function f at each element of a given subset A of its domain produces a set, called the "image of A under (or through) ...
of a given real number is called a
level set. It is the set of the solutions of the
equation .
Domain
The
domain of a function of several real variables is a subset of that is sometimes, but not always, explicitly defined. In fact, if one restricts the domain of a function to a subset , one gets formally a different function, the ''restriction'' of to , which is denoted
. In practice, it is often (but not always) not harmful to identify and
, and to omit the restrictor .
Conversely, it is sometimes possible to enlarge naturally the domain of a given function, for example by
continuity or by
analytic continuation.
Moreover, many functions are defined in such a way that it is difficult to specify explicitly their domain. For example, given a function , it may be difficult to specify the domain of the function
If is a
multivariate polynomial, (which has
as a domain), it is even difficult to test whether the domain of is also
. This is equivalent to test whether a polynomial is always positive, and is the object of an active research area (see
Positive polynomial).
Algebraic structure
The usual operations of arithmetic on the reals may be extended to real-valued functions of several real variables in the following way:
* For every real number , the
constant function is everywhere defined.
* For every real number and every function , the function:
has the same domain as (or is everywhere defined if ).
* If and are two functions of respective domains and such that contains a nonempty open subset of , then
and
are functions that have a domain containing .
It follows that the functions of variables that are everywhere defined and the functions of variables that are defined in some
neighbourhood
A neighbourhood (British English, Irish English, Australian English and Canadian English) or neighborhood (American English; American and British English spelling differences, see spelling differences) is a geographically localised community ...
of a given point both form
commutative algebras over the reals (-algebras). This is a prototypical example of a
function space.
One may similarly define
:
which is a function only if the set of the points in the domain of such that contains an open subset of . This constraint implies that the above two algebras are not
fields.
Univariable functions associated with a multivariable function
One can easily obtain a function in one real variable by giving a constant value to all but one of the variables. For example, if is a point of the
interior
Interior may refer to:
Arts and media
* ''Interior'' (Degas) (also known as ''The Rape''), painting by Edgar Degas
* ''Interior'' (play), 1895 play by Belgian playwright Maurice Maeterlinck
* ''The Interior'' (novel), by Lisa See
* Interior de ...
of the domain of the function , we can fix the values of to respectively, to get a univariable function
:
whose domain contains an interval centered at . This function may also be viewed as the
restriction of the function to the line defined by the equations for .
Other univariable functions may be defined by restricting to any line passing through . These are the functions
:
where the are real numbers that are not all zero.
In next section, we will show that, if the multivariable function is continuous, so are all these univariable functions, but the converse is not necessarily true.
Continuity and limit
Until the second part of 19th century, only
continuous functions were considered by mathematicians. At that time, the notion of continuity was elaborated for the functions of one or several real variables a rather long time before the formal definition of a
topological space and a
continuous map between topological spaces. As continuous functions of several real variables are ubiquitous in mathematics, it is worth to define this notion without reference to the general notion of continuous maps between topological space.
For defining the continuity, it is useful to consider the
distance function of , which is an everywhere defined function of real variables:
:
A function is continuous at a point which is
interior
Interior may refer to:
Arts and media
* ''Interior'' (Degas) (also known as ''The Rape''), painting by Edgar Degas
* ''Interior'' (play), 1895 play by Belgian playwright Maurice Maeterlinck
* ''The Interior'' (novel), by Lisa See
* Interior de ...
to its domain, if, for every positive real number , there is a positive real number such that for all such that . In other words, may be chosen small enough for having the image by of the ball of radius centered at contained in the interval of length centered at . A function is continuous if it is continuous at every point of its domain.
If a function is continuous at , then all the univariate functions that are obtained by fixing all the variables except one at the value , are continuous at . The converse is false; this means that all these univariate functions may be continuous for a function that is not continuous at . For an example, consider the function such that , and is otherwise defined by
:
The functions and are both constant and equal to zero, and are therefore continuous. The function is not continuous at , because, if and , we have , even if is very small. Although not continuous, this function has the further property that all the univariate functions obtained by restricting it to a line passing through are also continuous. In fact, we have
:
for .
The
limit
Limit or Limits may refer to:
Arts and media
* ''Limit'' (manga), a manga by Keiko Suenobu
* ''Limit'' (film), a South Korean film
* Limit (music), a way to characterize harmony
* "Limit" (song), a 2016 single by Luna Sea
* "Limits", a 2019 ...
at a point of a real-valued function of several real variables is defined as follows. Let be a point in
topological closure of the domain of the function . The function, has a limit when tends toward , denoted
:
if the following condition is satisfied:
For every positive real number , there is a positive real number such that
:
for all in the domain such that
:
If the limit exists, it is unique. If is in the interior of the domain, the limit exists if and only if the function is continuous at . In this case, we have
:
When is in the
boundary of the domain of , and if has a limit at , the latter formula allows to "extend by continuity" the domain of to .
Symmetry
A
symmetric function is a function that is unchanged when two variables and are interchanged:
:
where and are each one of . For example:
:
is symmetric in since interchanging any pair of leaves unchanged, but is not symmetric in all of , since interchanging with or or gives a different function.
Function composition
Suppose the functions
:
or more compactly , are all defined on a domain . As the -tuple varies in , a subset of , the -tuple varies in another region a subset of . To restate this:
:
Then, a function of the functions defined on ,
:
is a
function composition defined on , in other terms the mapping
:
Note the numbers and do not need to be equal.
For example, the function
: