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
The object is the gradient of with respect to the function , with the integration measure and allowed variations understood.
Why Quantum Mechanics Needs Them
Section titled “Why Quantum Mechanics Needs Them”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.
Prerequisites
Section titled “Prerequisites”You should be comfortable with:
- first variations and integration by parts from Calculus of Variations;
- the Delta Function as a distribution;
- inner products and gradients from Inner Products.
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. A common practical convention is to treat and as independent variables during the variation, then impose complex conjugacy on the physical solution.
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.
Cross-Links
Section titled “Cross-Links”- Calculus of Variations
- Delta Function
- Green Functions
- Why Path Integrals?
- Path Integrals
- Time-Dependent Variational Principle
References
Section titled “References”- I. M. Gelfand and S. V. Fomin, Calculus of Variations, Dover, 2000.
- G. B. Arfken, H. J. Weber, and F. E. Harris, Mathematical Methods for Physicists, 7th ed., Academic Press, 2013.
- J. Zinn-Justin, Path Integrals in Quantum Mechanics, Oxford University Press, 2005.
- L. S. Schulman, Techniques and Applications of Path Integration, Wiley, 1981.
- M. E. Peskin and D. V. Schroeder, An Introduction to Quantum Field Theory, Addison-Wesley, 1995.
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.