# Functional (mathematics)

In mathematics, and particularly in functional analysis and the Calculus of variations, a functional is a function from a vector space into its underlying scalar field, or a set of functions of the real numbers. In other words, it is a function that takes a vector as its input argument, and returns a scalar. Commonly the vector space is a space of functions, thus the functional takes a function for its input argument, then it is sometimes considered a function of a function. Its use originates in the calculus of variations where one searches for a function that minimizes a certain functional. A particularly important application in physics is searching for a state of a system that minimizes the energy functional.

## Functional details

### Duality

The mapping

$x_{0}\mapsto f(x_{0})$ is a function, where $x_{0}$ is an argument of a function $f$ . At the same time, the mapping of a function to the value of the function at a point

$f\mapsto f(x_{0})$ Provided that f is a linear function from a linear vector space to the underlying scalar field, the above linear maps are dual to each other, and in functional analysis both are called linear functionals.

### Definite integral

Integrals such as

$f\mapsto I[f]=\int _{\Omega }H(f(x),f'(x),\ldots )\;\mu ({\mbox{d}}x)$ form a special class of functionals. They map a function f into a real number, provided that H is real-valued. Examples include

• the area underneath the graph of a positive function f
$f\mapsto \int _{x_{0}}^{x_{1}}f(x)\;\mathrm {d} x$ $f\mapsto \left(\int |f|^{p}\;\mathrm {d} x\right)^{1/p}$ • the arclength of a curve in 2-dimensional Euclidean space
$f\mapsto \int _{x_{0}}^{x_{1}}{\sqrt {1+|f'(x)|^{2}}}\;\mathrm {d} x$ ### Local vs non-local

If a functional's value can be computed for small segments of the input curve and then summed to find the total value, the functional is called local. Otherwise it is called non-local. For example:

$F(y)=\int _{x_{0}}^{x_{1}}y(x)\;\mathrm {d} x$ is local while

$F(y)={\frac {\int _{x_{0}}^{x_{1}}y(x)\;\mathrm {d} x}{\int _{x_{0}}^{x_{1}}(1+[y(x)]^{2})\;\mathrm {d} x}}$ is non-local. This occurs commonly when integrals occur separately in the numerator and denominator of an equation such as in calculations of center of mass.

## Functional equation

{{#invoke:main|main}}

The traditional usage also applies when one talks about a functional equation, meaning an equation between functionals: an equation $F=G$ between functionals can be read as an 'equation to solve', with solutions being themselves functions. In such equations there may be several sets of variable unknowns, like when it is said that an additive function $f$ is one satisfying the functional equation

$f\left(x+y\right)=f\left(x\right)+f\left(y\right)$ .

## Functional derivative and functional integration

Functional derivatives are used in Lagrangian mechanics. They are derivatives of functionals: i.e. they carry information on how a functional changes when the input function changes by a small amount. See also calculus of variations.

Richard Feynman used functional integrals as the central idea in his sum over the histories formulation of quantum mechanics. This usage implies an integral taken over some function space.