Functional Derivatives
A functional derivative measures how a functional changes when its input function is varied at each point. If is a functional and is a test variation, the derivative is defined by writing the first variation as
For a real input function, represents this linear response relative to the stated integration measure. It is an ordinary gradient when represented by a function in the chosen inner-product space; in other cases it is a distribution. Complex wavefunctions require the separate variations explained below.
Helpful background. Calculus of Variations supplies integration by parts and first variations; Delta Function explains the point-evaluation rule.
Functional Derivatives in Quantum Calculations
Section titled “Functional Derivatives in Quantum Calculations”Functional derivatives are the local language behind several familiar calculations:
- deriving Euler–Lagrange equations from an action;
- extremizing energy functionals over wavefunctions;
- varying trial-state actions in time-dependent variational principles;
- generating insertions from source terms in path integrals;
- writing field equations compactly as .
The Calculus of Variations page explains stationary functionals and Euler–Lagrange equations. This page isolates the derivative notation and the delta-function identities that make functional calculations work.
Definition
Section titled “Definition”Let be a functional defined on a suitable space of functions over a region . The first variation in the direction is
If this first variation can be represented as
for all allowed variations , then
relative to the measure .
This “relative to the measure” clause is not cosmetic. If the inner product is
then the gradient represented by a functional derivative depends on whether the variation is paired with or with .
Delta-Function Rule
Section titled “Delta-Function Rule”The basic identity is
It is defined by its action under integration:
For a source term
one has
because
This is the finite-dimensional rule with sums replaced by integrals and Kronecker deltas replaced by Dirac deltas.
Local Functionals
Section titled “Local Functionals”For a local functional
the variation is
Therefore
For example,
gives
This is the easiest case because no derivatives of appear.
Derivative Terms and Boundary Conditions
Section titled “Derivative Terms and Boundary Conditions”Consider
Under ,
Integration by parts gives
For fixed-endpoint variations, , so
The minus sign is important. It comes from moving the derivative off the variation. If the endpoints are not fixed, the boundary term is part of the variational problem and can impose natural boundary conditions.
Euler–Lagrange Form
Section titled “Euler–Lagrange Form”For
the functional derivative is
up to boundary terms determined by the allowed variations. The stationary-action equation is
For a single particle path , the same statement reads
Thus the Euler–Lagrange equation is a functional-derivative equation.
Complex Wavefunctions
Section titled “Complex Wavefunctions”Quantum variational calculations usually involve complex functions. One can vary the real and imaginary parts independently, or equivalently collect the coefficients of and . The latter is called treating and as independent variables: it is a calculational shorthand, not a claim that a physical variation breaks complex conjugacy.
For a normalized energy functional, write schematically
Varying with respect to gives
Stationarity therefore gives
This is the wavefunction version of the constrained variational argument for the eigenvalue equation. In an actual Hamiltonian problem, the domain of and the boundary terms still have to be checked.
Source Derivatives and Correlation Functions
Section titled “Source Derivatives and Correlation Functions”Functional derivatives become especially useful when a source is coupled to a coordinate, operator, or field. In a schematic field-integral notation,
Differentiating with respect to the source brings down a field insertion:
Higher source derivatives generate higher products of fields, with ordering and normalization depending on the precise real-time, Euclidean, operator, or time-ordered convention. This is one reason ordinary quantum-mechanical path integrals prepare readers for the field-theory language without replacing a QFT course.
Worked Example: Driven Quadratic Functional
Section titled “Worked Example: Driven Quadratic Functional”Let
with fixed-endpoint variations. The variation is
Integrating the derivative term by parts gives
Therefore
The stationary equation is
This displays the bridge to Green Functions: the stationary function is the response of a linear operator to a source.
Common Mistakes
Section titled “Common Mistakes”- Treating as an ordinary partial derivative without specifying the pairing integral.
- Dropping boundary terms before checking the allowed variations.
- Missing the minus sign produced by integration by parts.
- Forgetting that the functional derivative depends on the measure or inner product used to identify gradients.
- Varying but not in complex wavefunction problems, or varying them inconsistently.
- Confusing a derivative with respect to a variational parameter with a functional derivative with respect to a whole function.
- Assuming functional derivatives exist for nonsmooth, constrained, or distribution-valued functionals without checking the function space.
- Using source-derivative formulas in path integrals without stating the ordering and normalization convention.
Related Topics
Section titled “Related Topics”Exercises
Section titled “Exercises”- Compute the functional derivative of
Solution
Vary . Then
Therefore
- With fixed-endpoint variations, find the functional derivative of
Solution
The variation is
After integration by parts and using ,
Hence
- Show that
Solution
Vary by . Then
Comparing with
gives
- Why does the answer to a functional-derivative calculation change when the boundary variations change?
Solution
Derivative terms require integration by parts to express the variation as an integral against . That integration produces boundary terms. If the allowed variations make those terms vanish, the bulk functional derivative is enough. If not, stationarity also imposes boundary conditions or requires endpoint terms. Changing the allowed variations therefore changes the variational problem.
References
Section titled “References”- G. B. Arfken, H. J. Weber, and F. E. Harris, Mathematical Methods for Physicists, 7th ed., Academic Press, 2013.
- I. M. Gelfand and S. V. Fomin, Calculus of Variations, Dover, 2000.
- M. E. Peskin and D. V. Schroeder, An Introduction to Quantum Field Theory, Addison-Wesley, 1995.
- L. S. Schulman, Techniques and Applications of Path Integration, Wiley, 1981.
- J. Zinn-Justin, Path Integrals in Quantum Mechanics, Oxford University Press, 2005.