Function of a real variable
|x ↦ f(x)|
|By domain and codomain|
|Constant · Identity · Linear · Polynomial · Rational · Algebraic · Analytic · Smooth · Continuous · Measurable · Injective · Surjective · Bijective|
|Restriction · Composition · λ · Inverse|
|Partial · Multivalued · Implicit|
In mathematical analysis, and applications in geometry, applied mathematics, engineering, and natural sciences, a function of a real variable is a function whose domain is the real numbers ℝ, more specifically the subset of ℝ for which the function is defined.
The "output", also called the "value of the function", could be anything: simple examples include a single real number, or a vector of real numbers (the function is "vector valued"). Vector-valued functions of a single real variable occur widely in applied mathematics and physics, particularly in classical mechanics of particles, as well as phase paths of dynamical systems. But we could also have a matrix of real numbers as the output (the function is "matrix valued"), and so on. The "output" could also be other number fields, such as complex numbers, quaternions, or even more exotic hypercomplex numbers.
- 1 General definition
- 2 Calculus
- 3 Implicit functions
- 4 One-dimensional space curves in ℝn
- 5 Matrix valued functions
- 6 Banach and Hilbert spaces and quantum mechanics
- 7 Complex-valued function of a real variable
- 8 See also
- 9 References
- 10 External links
A real-valued function of a real variable is a function that takes as input a real number, commonly represented by the variable x, for producing another real number, the value of the function, commonly denoted f(x). For simplicity, in this article a real-valued function of a real variable 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 is taken in a subset X of ℝ, the domain of the function, which is always supposed to contain an open subset of ℝ. In other words, a real-valued function of a real variable is a function
such that its domain X is a subset of ℝ that contains an open set.
A simple example of a function in one variable could be:
which is the square root of x.
The image of a function is the set of all values of f when the variable x runs in the whole domain of f. For a continuous (see below for a definition) real-valued function with a connected domain, the image is either an interval or a single value. In the latter case, the function is a constant function.
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 X of a function f to a subset Y ⊂ X, one gets formally a different function, the restriction of f to Y, which is denoted f|Y. In practice, it is often (but not always) not harmful to identify f and f|Y, and to omit the subscript |Y.
Conversely, it is sometimes possible to enlarge naturally the domain of a given function, for example by continuity or by analytic continuation. This means that it is not worthy to explicitly define the domain of a function of a real variable.
The arithmetic operations may be applied to the functions in the following way:
- For every real number r, the constant function , is everywhere defined.
- For every real number r and every function f, the function has the same domain as f (or is everywhere defined if r = 0).
- If f and g are two functions of respective domains X and Y such that X∩Y contains an open subset of ℝ, then and are functions that have a domain containing X∩Y.
It follows that the functions of n variables that are everywhere defined and the functions of n variables that are defined in some neighbourhood of a given point both form commutative algebras over the reals (ℝ-algebras).
One may similarly define which is a function only if the set of the points (x) in the domain of f such that f(x) ≠ 0 contains an open subset of ℝ. This constraint implies that the above two algebras are not fields.
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 a real variable are ubiquitous in mathematics, it is worth defining 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 2 real variables:
A function f is continuous at a point which is interior 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 f of the interval of radius φ centered at contained in the interval of length 2ε centered at A function is continuous if it is continuous at every point of its domain.
The limit of a real-valued function of a real variable is as follows. Let a be a point in topological closure of the domain X of the function f. The function, f has a limit L when x tends toward a, denoted
if the following condition is satisfied: For every positive real number ε > 0, there is a positive real number δ > 0 such that
for all x in the domain such that
If the limit exists, it is unique. If a is in the interior of the domain, the limit exists if and only if the function is continuous at a. In this case, we have
When a is in the boundary of the domain of f, and if f has a limit at a, the latter formula allows to "extend by continuity" the domain of f to a.
One can collect a number of functions each of a real variable, say
into a vector parametrized by x:
The derivative of the vector y is the vector derivatives of fi(x) for i = 1, 2, ..., n:
where · is the dot product, and x = a and x = b are the start and endpoints of the curve.
With the definitions of integration and derivatives, key theorems can be formulated, including the fundamental theorem of calculus integration by parts, and Taylor's theorem. Evaluating a mixture of integrals and derivatives can be done by using theorem differentiation under the integral sign.
is an equation in the variables. Implicit functions are a more general way to represent functions, since if:
then we can always define:
but the converse is not always possible, i.e. not all implicit functions have the form of this equation.
One-dimensional space curves in ℝn
Given the functions r1 = r1(t), r2 = r2(t), ..., rn = rn(t) all of a common variable t, so that:
or taken together:
then the parametrized n-tuple,
describes a one-dimensional space curve.
Tangent line to curve
At a point r(t = c) = a = (a1, a2, ..., an) for some constant t = c, the equations of the one-dimensional tangent line to the curve at that point are given in terms of the ordinary derivatives of r1(t), r2(t), ..., rn(t), and r with respect to t:
Normal plane to curve
The equation of the n-dimensional hyperplane normal to the tangent line at r = a is:
or in terms of the dot product:
where p = (p1, p2, ..., pn) are points in the plane, not on the space curve.
Relation to kinematics
The physical and geometric interpretation of dr(t)/dt is the "velocity" of a point-like particle moving along the path r(t), treating r as the spatial position vector coordinates parametrized by time t, and is a vector tangent to the space curve for all t in the instantaneous direction of motion. At t = c, the space curve has a tangent vector dr(t)/dt|t = c, and the hyperplane normal to the space curve at t = c is also normal to the tangent at t = c. Any vector in this plane (p − a) must be normal to dr(t)/dt|t = c.
Matrix valued functions
Banach and Hilbert spaces and quantum mechanics
Generalizing the previous section, the output of a function of a real variable can also lie in a Banach space or a Hilbert space. In these spaces, division and multiplication and limits are all defined, so notions such as derivative and integral still apply. This occurs especially often in quantum mechanics, where one takes the derivative of a ket or an operator. This occurs, for instance, in the general time-dependent Schrödinger equation:
where one takes the derivative of a wave function, which can be an element of several different Hilbert spaces.
Complex-valued function of a real variable
A complex-valued function of a real variable may be defined by relaxing, in the definition of the real-valued functions, the restriction of the codomain to the real numbers, and allowing complex values.
If is such a complex valued function, it may be decomposed as
where g and h are real-valued functions. In other words, the study of the complex valued functions reduces easily to the study of the pairs of real valued functions.
- F. Ayres, E. Mendelson (2009). Calculus. Schaum's outline series (5th ed.). McGraw Hill. ISBN 978-0-07-150861-2.
- R. Wrede, M. R. Spiegel (2010). Advanced calculus. Schaum's outline series (3rd ed.). McGraw Hill. ISBN 978-0-07-162366-7.