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 R R R, or a subset of R R R that contains an interval of positive length. Most real functions that are considered and studied are differentiable in some interval. The most widely considered such functions are the real functions, which are the real-valued functions of a real variable, that is, the function of a real variable whose codomain is the set of real numbers.
Nevertheless, the codomain of a function of a real variable may be any set. However, it is often assumed to have a structure of R R R-vector space over the reals. That is, the codomain may be a Euclidean space, a coordinate vector, the set of matrices of real numbers of a given size, or an R R R-algebra, such as the complex numbers or the quaternions. The structure R R R-vector space of the codomain induces a structure of R R R-vector space on the functions. If the codomain has a structure of R R R-algebra, the same is true for the functions.
The image of a function of a real variable is a curve in the codomain. In this context, a function that defines curve is called a parametric equation of the curve.
When the codomain of a function of a real variable is a finite-dimensional vector space, the function may be viewed as a sequence of real functions. This is often used in applications.
A real functions is a function from a subset of R R R or R R R, where R R R denotes as usual the set of real numbers. That is, the domain of a real function is a subset R R R, and its codomain is R R R. It is generally assumed that the domain contains contains an interval of positive length.
For many commonly used real functions, the domain is the whole set of real numbers, and the function is continuous and differentiable at every point of the domain. One says that these functions are defined, continuous and differentiable everywhere. This is the case of:
Some functions are defined everywhere, but not continuous at some points. For example:
Some functions are defined and continuous everywhere, but not everywhere differentiable. For example:
Many common functions are not defined everywhere, but are continuous and differentiable everywhere where they are defined. For example:
Some functions are continuous in there whole domain, and not differentiable at some points. This is the case of: