# Functional (mathematics)

The arc length functional has as its domain the vector space of rectifiable curves (a subspace of ), and outputs a real scalar. This is an example of a non-linear functional.
The Riemann integral is a linear functional on the vector space of Riemann-integrable functions from a to b, where a,b ∈ .

In mathematics, the term functional (as a noun) has at least two meanings.

• In modern linear algebra, it refers to a linear mapping from a vector space into its field of scalars, i.e., to an element of the dual space .
• In mathematical analysis, more generally and historically, it refers to a mapping from a space into the real numbers, or sometimes into the complex numbers, for the purpose of establishing a calculus-like structure on . Depending on the author, such mappings may or may not be assumed to be linear, or to be defined on the whole space .

This article is mainly concerned with the second concept, which arose in the early 18th century as part of the calculus of variations. The first concept, which is more modern and abstract, is discussed in detail in a separate article, under the name linear form.

Commonly, the 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 (a higher-order function). Its use originates in the calculus of variations, where one searches for a function that minimizes a given 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

is a function, where x0 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

is a functional; here, x0 is a parameter.

Provided that f is a linear function from a 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

form a special class of functionals. They map a function into a real number, provided that is real-valued. Examples include

• the area underneath the graph of a positive function
• the arclength of a curve in 2-dimensional Euclidean space

### Vector scalar product

Given any vector in a vector space , the scalar product with another vector , denoted or , is a scalar. The set of vectors such that is zero is a vector subspace of , called the null space or kernel of .

### Locality

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:

is local while

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

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

## 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.

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.