In the calculus of variations, a field of mathematical analysis, the functional derivative (or variational derivative) relates a change in a functional (a functional in this sense is a function that acts on functions) to a change in a function on which the functional depends. In the calculus of variations, functionals are usually expressed in terms of an integral of functions, their arguments, and their derivatives. In an integrand L of a functional, if a function f is varied by adding to it another function δf that is arbitrarily small, and the resulting integrand is expanded in powers of δf, the coefficient of δf in the first order term is called the functional derivative. For example, consider the functional J[f]=∫abL(x,f(x),f′(x))dx, where f ′(x) ≡ df/dx. If f is varied by adding to it a function δf, and the resulting integrand L(x, f + δf, f ′+ δf ′) is expanded in powers of δf, then the change in the value of J to first order in δf can be expressed as follows: δJ=∫ab(∂L∂fδf(x)+∂L∂f′ddxδf(x))dx=∫ab(∂L∂f−ddx∂L∂f′)δf(x)dx+∂L∂f′(b)δf(b)−∂L∂f′(a)δf(a) where the variation in the derivative, δf ′ was rewritten as the derivative of the variation (δf)′, and integration by parts was used in these derivatives.
Definition In this section, the functional differential (or variation or first variation) is defined. Then the functional derivative is defined in terms of the functional differential.
Functional differential Suppose B is a Banach space and F is a functional defined on B. The differential of F at a point ρ∈B is the linear functional δF[ρ,⋅] on B defined by the condition that, for all ϕ∈B, F[ρ+ϕ]−F[ρ]=δF[ρ;ϕ]+ε‖ϕ‖ where ε is a real number that depends on ϕ in such a way that ε→0 as ‖ϕ‖→0. This means that δF[ρ,⋅] is the Fréchet derivative of F at ρ. However, this notion of functional differential is so strong it may not exist, and in those cases a weaker notion, like the Gateaux derivative is preferred. In many practical cases, the functional differential is defined as the directional derivative δF[ρ,ϕ]=limε→0F[ρ+εϕ]−F[ρ]ε=[ddεF[ρ+εϕ]]ε=0. Note that this notion of the functional differential can even be defined without a norm. In a more general case the function space B appearing as the domain of F is not a vector space, and therefore variations of the form ρ+εϕ do not make sense. In this case we consider a variation α?:(−ε0,ε0)→B of ρ to be a C1-family of functions such that α0=ρ. Denoting the space of all such variations as 𝒱ρ, the functional differential δF[ρ]:𝒱ρ→ℝ is the functional δF[ρ;α]=δF[ρ][α]=limϵ→0F[αϵ]−F[ρ]ϵ=F[α?]′(0) where F[α?](ϵ)=F[αϵ]. The above then becomes the special case αϵ=ρ+ϵη.
Functional derivative In many applications, the domain of the functional F is a space of differentiable functions ρ defined on some space Ω and F is of the form F[ρ]=∫ΩL(x,ρ(x),Dρ(x))dx for some function L(x,ρ(x),Dρ(x)) that may depend on x, the value ρ(x) and the derivative Dρ(x). If this is the case and, moreover, δF[ρ,ϕ] can be written as the integral of ϕ times another function (denoted δF/δρ) δF[ρ,ϕ]=∫ΩδFδρ(x) ϕ(x) dx then this function δF/δρ is called the functional derivative of F at ρ. If F is restricted to only certain functions ρ (for example, if there are some boundary conditions imposed) then ϕ is restricted to functions such that ρ+εϕ continues to satisfy these conditions. Heuristically, ϕ is the change in ρ, so we 'formally' have ϕ=δρ, and then this is similar in form to the total differential of a function F(ρ1,ρ2,…,ρn), dF=∑i=1n∂F∂ρi dρi, where ρ1,ρ2,…,ρn are independent variables. Comparing the last two equations, the functional derivative δFδρ(x) has a role similar to that of the partial derivative ∂F∂ρi, where the variable of integration x is like a continuous version of the summation index i. One thinks of δF/δρ as the gradient of F at the point ρ, so the value δF/δρ(x) measures how much the functional F will change if the function ρ is changed at the point x. Hence the formula ∫δFδρ(x)ϕ(x)dx is regarded as the directional derivative at point ρ in the direction of ϕ. This is analogous to vector calculus, where the inner product of a vector v with the gradient gives the directional derivative in the direction of v.
Properties Like the derivative of a function, the functional derivative satisfies the following properties, where F[ρ] and G[ρ] are functionals:
Linearity: δ(λF+μG)[ρ]δρ(x)=λδF[ρ]δρ(x)+μδG[ρ]δρ(x), where λ, μ are constants. Product rule: δ(FG)[ρ]δρ(x)=δF[ρ]δρ(x)G[ρ]+F[ρ]δG[ρ]δρ(x), Chain rules: If F is a functional and G another functional, then δF[G[ρ]]δρ(y)=∫dxδF[G]δG(x)G=G[ρ]⋅δG[ρ](x)δρ(y) . If G is an ordinary differentiable function (local functional) g, then this reduces to δF[g(ρ)]δρ(y)=δF[g(ρ)]δg[ρ(y)] dg(ρ)dρ(y) .
Determining functional derivatives A formula to determine functional derivatives for a common class of functionals can be written as the integral of a function and its derivatives. This is a generalization of the Euler–Lagrange equation: indeed, the functional derivative was introduced in physics within the derivation of the Lagrange equation of the second kind from the principle of least action in Lagrangian mechanics (18th century). The first three examples below are taken from density functional theory (20th century), the fourth from statistical mechanics (19th century).
… excerpt ends here. Continue reading the full article.