- Functional derivative
In
mathematics and theoreticalphysics , the functional derivative is a generalization of thedirectional derivative . The difference is that the latter differentiates in the direction of a vector, while the former differentiates in the direction of a function. Both of these can be viewed as extensions of the usualcalculus derivative .Two possible, restricted definitions suitable for certain computations are given here. There are more general definitions of functional derivatives relying on ideas from
functional analysis , such as theGâteaux derivative .Given a
manifold "M" representing (continuous/smooth/with certainboundary condition s/etc.) functions φ and a functional "F" defined as ::,the functional derivative of "F", denoted , is a distribution such that for all
test function s "f",:
Sometimes physicists write the definition in terms of a limit and the
Dirac delta function , δ::
Formal description
The definition of a functional derivative may be made much more mathematically precise and formal by defining the space of functions more carefully. For example, when the space of functions is a
Banach space , the functional derivative becomes known as theFréchet derivative , while one uses theGâteaux derivative on more generallocally convex space s. Note that the well-knownHilbert space s are special cases ofBanach space s. The more formal treatment allows many theorems from ordinarycalculus and analysis to be generalized to corresponding theorems infunctional analysis , as well as numerous new theorems to be stated.Relationship between the mathematical and physical definitions
The mathematicians' definition and the physicists' definition of the functional derivative differ only in the physical interpretation. Since the mathematical definition is based on a relationship that holds for all
test function s "f", it should also hold when "f" is chosen to be a specific function. The only handwaving difficulty is that specific function was chosen to be a delta function---which is not a valid test function.In the mathematical definition, the functional derivative describes how the entire functional, , changes as a result of a small change in the function . Observe that the particular form of the change in is not specified. The physics definition, by contrast, employs a particular form of the perturbation --- namely, the delta function --- and the 'meaning' is that we are varying only about some neighborhood of . Outside of this neighborhood, there is no variation in .
Often, a physicist wants to know how one quantity, say the electric potential at position , is affected by changing another quantity, say the density of electric charge at position . The potential at a given position, is a functional of the density. That is, given a particular density function and a point in space, one can compute a number which represents the potential of that point in space due to the specified density function. Since we are interested in how this number varies across all points in space, we treat the potential as a function of . To wit,
:
So,
:
Now, we can evaluate the functional derivative at and to see how the potential at is changed due to a small variation in the density at . In practice, the unevaluated form is probably more useful.
Examples
We give a formula to derive a common class of functionals that can be written as the integral of a function and its derivatives (a generalization of the
Euler–Lagrange equation ), and apply this formula to three examples taken fromphysics . Another example in physics is the derivation of the Lagrange equation of the second kind from theprinciple of least action inLagrangian mechanics .Formula for the integral of a function and its derivatives
Given a functional of the form:with vanishing at the boundaries of , the functional derivative can be written
:
where, in the third line, is assumed at the integration boundaries. Thus,
:
or, writing the expression more explicitly,
:
The above example is specific to the particular case that the functional depends on the function and its
gradient only. In the more general case that the functional depends on higher order derivatives, i.e.:
where is a tensor whose components are all partial derivative operators of order , i.e. with , an analogous application of the definition yields
:
Thomas-Fermi kinetic energy functional
In 1927 Thomas and Fermi used a kinetic energy functional for a noninteracting uniform electron gas in a first attempt of
density-functional theory of electronic structure:: depends "only" on the charge density and does not depend on its gradient, Laplacian, or other higher-order derivatives. Therefore,:Coulomb potential energy functional
For the classical part of the potential, Thomas and Fermi employed the Coulomb potential energy functional:Again, depends "only" on the charge density and does not depend on its gradient, Laplacian, or other higher-order derivatives. Therefore, :
The second functional derivative of the Coulomb potential energy functional is:
Weizsäcker kinetic energy functional
In 1935 Weizsäcker proposed a gradient correction to the Thomas-Fermi kinetic energy functional to make it suit better a molecular electron cloud::Now depends on the charge density "and" its gradient, therefore,:
Writing a function as a functional
Finally, note that any function can be written in terms of a functional. For example,:This functional is a function of only, and thus, is in the same form as the above examples. Therefore,:
Entropy
The entropy of a discrete
random variable is a functional of theprobability mass function .:Thus,
:
Thus,
:
References
* R. G. Parr, W. Yang, “Density-Functional Theory of Atoms and Molecules”, Oxford university Press, Oxford 1989.
* B. A. Frigyik, S. Srivastava and M. R. Gupta, "Introduction to Functional Derivatives", UWEE Tech Report 2008-0001. http://www.ee.washington.edu/research/guptalab/publications/functionalDerivativesIntroduction.pdf
Wikimedia Foundation. 2010.