Function of several real variables
In mathematical analysis, a real multivariable function or real multivariate function is a function of several real numbers.
General definition
Functions in mathematics map elements (often numbers) from one set to another by a rule. The "from set" is called the domain and "to set" the codomain, and both of these must be specified with the rule to completely define a function. Set-builder notation can be used to precisely define which elements (often numbers) X and Y contain.
For n real independent variables x1, x2, x3 ... xn in some domain X, which can be all or part of the real n-dimensional space ℝn, or set theoretically X is a subset of or equal to ℝn:
and one dependent variable y in some codomain Y, which can be all or part of the real line ℝ, or set theoretically Y is a subset of or equal to ℝ:
a multivariable function of these n real variables is defined as a mapping from X to Y, which has the notation:
where F alone denotes the rule, and:
is a number, calculated from x1, x2, x3 ... xn according to what F is. The domain and codomain must always be such that the function is well-defined. A common case is avoiding infinities caused by possible divisions by zero.
Tuple notation
Technically, since (x1, x2, x3 ... xn) is an n-tuple, we should write:
but it is conventional, unambiguous, and notationally cleaner to simply write one set of brackets, not two. Another notational convention is to denote tuples in the same way as for vectors (vectors can be treated as tuples), to use boldface x = (x1, x2, x3 ... xn) or overline x = (x1, x2, x3 ... xn), then:
Implicit functions
A real multivariable implicit function Φ cannot be written in the form "y = F(...)", but has the form:
Examples
We could have:
which takes in all points in a closed disk X of radius √8 in the plane ℝ2, and returns a point in Y, a subset of or equal to ℝ. The function does not include the origin (x, y) = (0, 0), if it did then F would be ill-defined at that point.
As an example of substituting values:
however, we couldn't evaluate at, say
since the domain here does not contain these values of x and y.
Applications
Multivariable functions of real variables almost always arise inevitably in all forms of engineering and physics, because physical quantities are real numbers (with associated units and dimensions), and often depend on each other, and may vary in space and time.
Examples in continuum mechanics include the local mass density ρ of a mass distribution, a scalar field which depends on the spatial position coordinates (here Cartesian to exemplify), r = (x, y, z), and time t:
Similarly for electric charge density for electrically charged objects, and numerous other scalar potential fields.
Another example is the velocity field, a vector field, which has components of velocity v = vx, vy, vz that are each multivariable functions of spatial coordinates and time similarly:
Similarly for other physical vector fields such as electric fields and magnetic fields.
Another important example is the equation of state in thermodynamics, an equation relating pressure P, temperature T, and volume V of a fluid, in general it has an implicit form:
(here F should not be confused for the Helmholtz free energy, F simply denotes a function of the variables P, V, T). The simplest example is the ideal gas law:
where n is the number of moles, constant for a fixed amount of substance, and R the gas constant. Much more complicated equations of state have been empirically derived, but they all have the above implicit form.
References
- F. Ayres, E. Mendelson (2009). Calculus. Schuam's outline series (5th ed.). McGraw Hill. ISBN 978-0-07-150861-2.
- R. Wrede, M. R. Spiegel (2010). Advanced calculus. Schuam's outline series (3rd ed.). McGraw Hill. ISBN 978-0-07-162366-7.
- R. Penrose (2005). The Road to Reality. Vintage books. ISBN 978-00994-40680.