structural:reformatting, information:highlighting, information:filtering
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 {\displaystyle \mathbb {R} }, or a subset of R {\displaystyle \mathbb {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 functions 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 {\displaystyle \mathbb {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 {\displaystyle \mathbb {R} } - algebra, such as the complex numbers or the quaternions. The structure R {\displaystyle \mathbb {R} } -vector space of the codomain induces a structure of R {\displaystyle \mathbb {R} } -vector space on the functions. If the codomain has a structure of R {\displaystyle \mathbb {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.