# 泛函导数

泛函导数（又称变分导数）是普通导数的一种推广：它是对泛函——即以整个函数为输入、返回一个数或另一个函数的映射——关于该函数进行微分。<sup>[1](https://mathworld.wolfram.com/FunctionalDerivative.html)</sup> 它是变分法的核心运算：将泛函的一阶泛函导数设为零，便得到函数使其取极大值或极小值的条件，而由此产生的方程（如欧拉–拉格朗日方程）支配着从悬链形状到经典场运动方程的各种问题。<sup>[1](https://mathworld.wolfram.com/FunctionalDerivative.html)</sup><sup> • </sup><sup>[5](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup>

| 关键事实 | 细节 |
|---|---|
| 被微分对象 | 一个泛函 \( \phi \)，即从赋范函数空间（巴拿赫空间）到实数的映射，在该空间的一点 \( f \) 处求导<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup> |
| Fréchet 定义 | 一个线性泛函 \( A \)，满足 \( \lim_{h \to 0} \|\phi(f+h) - \phi(f) - A(h)\| / \|h\| = 0 \)；\( A = \delta\phi/\delta f \) 也称为一阶变分，起梯度的作用<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup> |
| Gateaux 定义 | 方向极限 \( \delta\phi/\delta f[f](h) = \lim_{t \to 0} (\phi(f + th) - \phi(f))/t \)，即方向导数的类比物<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup> |
| 逻辑关系 | 每个 Fréchet 可微的泛函都是 Gateaux 可微的，但反之不成立<sup>[4](https://chimera.roma1.infn.it/ENZO/FC/ESTRATTI/FUNCTIONAL_DERIVATIVES/functional_derivative_engel_e_cern.pdf)</sup> |
| 基本恒等式 | \( \delta \phi(y) / \delta \phi(x) = \delta^{(d)}(x - y) \)，即狄拉克 δ 分布<sup>[2](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture03/)</sup> |
| 各项的导数 | 当变分中含有 \( \partial_j \delta\phi \) 或更高阶导数时，分部积分将这些导数移到系数函数上，得到 \( f - \partial_j g^j + \partial_{jk} h^{jk} - \ldots \)<sup>[2](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture03/)</sup> |
| 物理学用途 | 在量子场论中生成期望值与关联函数；在密度泛函理论中，将势导出为能量泛函的泛函导数<sup>[5](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup><sup> • </sup><sup>[6](https://doi.org/10.1063/1.3483464)</sup> |

## 被微分的对象

函数把数映射为数；泛函把函数映射为数。若 \( X \) 是赋范函数空间，泛函 \( \phi \) 给每个 \( f \in X \) 指派一个实数 \( \phi(f) \)。由于输入具有无穷多个自由度，导数不再是一个数或一个向量，而是容许扰动空间上的一个线性泛函。<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup> 理解这一结构的一种方式，是类比多变量函数的总微分 \( df = \sum_n (\partial f / \partial x_n) \, dx_n \)：泛函导数把这一阶微分推广到无穷多个变量 \( f(x) \) 的情形，每个点 \( x \) 对应一个变量。<sup>[4](https://chimera.roma1.infn.it/ENZO/FC/ESTRATTI/FUNCTIONAL_DERIVATIVES/functional_derivative_engel_e_cern.pdf)</sup>

**两种严格定义。** Fréchet 导数要求存在一个线性泛函 \( A \)，在 \( f \) 附近一致地逼近 \( \phi \)：当 \( h \to 0 \) 时，\( |\phi(f+h) - \phi(f) - A(h)| / \|h\| \) 的极限必须为零。当此条件成立时，\( A \) 记作 \( \delta\phi/\delta f[f] \)，称为泛函导数或一阶变分。它像梯度一样，与一个扰动方向配对给出一个标量；对于 \( X = \mathbb{R}^n \)，便回到 \( \delta\phi/\delta f[f](h) = \nabla\phi(f) \cdot h \)。<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup>

Gateaux 导数较弱。它固定一个方向 \( h \)，沿 \( f + th \) 取普通的单变量极限：<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup>

\[ \frac{\delta \phi}{\delta f}[f](h) = \lim_{t \to 0} \frac{\phi(f + th) - \phi(f)}{t}. \]

Fréchet 可微蕴含 Gateaux 可微，但一个泛函可以在每个方向上都有 Gateaux 导数却没有 Fréchet 导数，例如当各方向导数不满足线性关系，或不能一致地逼近泛函时。<sup>[4](https://chimera.roma1.infn.it/ENZO/FC/ESTRATTI/FUNCTIONAL_DERIVATIVES/functional_derivative_engel_e_cern.pdf)</sup><sup> • </sup><sup>[7](https://people.maths.bris.ac.uk/~mazvs/handout.pdf)</sup> 当 Fréchet 导数存在时，它可以作为 Gateaux 导数来计算，因为二者在该点重合。<sup>[7](https://people.maths.bris.ac.uk/~mazvs/handout.pdf)</sup>

## 计算泛函导数

**通过变分定义。** 在物理学记号中，泛函 \( I[\phi] \) 在微小变分 \( \delta\phi \) 下的一阶变化被写成对变分的积分。若

\[ \delta I[\phi] = \int d^d x \, f(x) \, \delta\phi(x), \]

则按定义 \( \delta I[\phi]/\delta\phi(x) = f(x) \)。<sup>[2](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture03/)</sup> 当变分中还含有 \( \delta\phi \) 的导数，如 \( \partial_j \delta\phi \) 或 \( \partial_j \partial_k \delta\phi \) 等项时，通过分部积分使所有导数都作用在系数函数上；假定 \( \delta\phi \) 在边界上为零，则导数变为

\[ \frac{\delta I[\phi]}{\delta \phi(x)} = f(x) - \frac{\partial}{\partial x^j} g^j(x) + \frac{\partial^2}{\partial x^j \partial x^k} h^{jk}(x) - \ldots \]

实际中该级数在一、二或三项后终止。<sup>[2](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture03/)</sup>

**实例演算。** 对于线性泛函 \( \phi(f) = \langle g, f \rangle \)，导数就是 \( g \) 本身，因为 \( \phi \) 等于它自己的导数。对于求值泛函 \( \phi(f) = f(x_0) \)，导数是狄拉克 δ 函数 \( \delta(x - x_0) \)，即挑出单点取值的分布。对于 \( \phi(f) = \langle g, f^2 \rangle \)，展开 \( (f + th)^2 \) 可知导数为 \( 2fg \)。<sup>[3](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)</sup> 求值泛函的例子还给出基本恒等式 \( \delta\phi(y)/\delta\phi(x) = \delta^{(d)}(x - y) \)，其做法是把 \( \phi(y) \) 写成 \( \phi(x) \) 与 δ 函数的积分。<sup>[2](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture03/)</sup>

高阶泛函导数通过对 \( F[f + \epsilon\eta] \) 在 \( \epsilon = 0 \) 处关于 \( \epsilon \) 反复求导来定义；第 \( n \) 阶导数构成泛函按变分 \( \delta f = \epsilon\eta \) 的幂展开的泰勒展开的核。<sup>[4](https://chimera.roma1.infn.it/ENZO/FC/ESTRATTI/FUNCTIONAL_DERIVATIVES/functional_derivative_engel_e_cern.pdf)</sup>

## 在量子场论中的应用

泛函微分是量子场论的记账工具。在配分函数 \( Z[J] \) 中，向作用量加入源项 \( \int d^d x \, J_n(x) \phi_n(x) \)，关于 \( J \) 的泛函导数便拉下场的插入：期望值 \( \langle \phi_n(x) \rangle \) 是 \( Z[J] \) 在 \( J = 0 \) 处的一阶导数，两点关联函数是二阶导数。<sup>[5](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup> 在路径积分的时间切片构造中，泛函导数实际上就是关于离散源值的普通偏导数的极限，并带有一个时间切片间距倒数的因子：\( \delta/\delta J(t_k) \sim (1/\epsilon) \, \partial/\partial J_k \)。<sup>[8](https://qft.org/courses/qft-i/15-source-functionals-in-quantum-mechanics-and-qft/)</sup>

将作用量的泛函导数设为零，便得到经典场方程；对于具有 \( O(N) \) 对称性的标量理论，这给出一个半线性椭圆型偏微分方程，将 \( \partial_j\partial_j \phi \)、质量项和相互作用项与源 \( J \) 联系起来。<sup>[5](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)</sup> 在量子层面，有效作用量 \( \Gamma[\Phi] \) 是 Schwinger 泛函 \( W[J] \) 的勒让德变换，满足 \( \delta\Gamma/\delta\Phi(x) = \sqrt{g(x)} \, J^*(x) \)，因此它在 \( J = 0 \) 处驻定，正如经典作用量在运动方程的解上驻定一样。它的二阶泛函导数是逆传播子，作为算子是 \( W \) 的二阶泛函导数的逆，并且包含所有量子修正。<sup>[9](https://www.tpi.uni-jena.de/~floerchinger/qft2/lecture02/)</sup>

## 在密度泛函理论中的应用

在密度泛函理论中，电子系统的基态能量是电子密度 \( \rho \) 的泛函 \( F[\rho] \)，这种能量泛函的泛函导数给出势分布 \( v([\rho]; \mathbf{r}) \)。人们设计了若干解析可积性条件，使得在此框架下的泛函导数可以被识别并显式构造。<sup>[6](https://doi.org/10.1063/1.3483464)</sup> 微分变量的选择至关重要：假定存在关于总电子密度的泛函导数，一般会导致与不相容原理不一致的变分理论；而关于轨道密度的 Gateaux 导数可以在整个轨道希尔伯特空间中显式构造，并给出 Kohn–Sham 模型在数学上正确的变分理论。<sup>[10](https://arxiv.org/abs/cond-mat/0309111)</sup>

## 历史起源

泛函导数脱胎于变分法，其一般理论由欧拉（Euler）和拉格朗日（Lagrange）创立。欧拉的《Methodus inveniendi》（1744 年，手稿最迟于 1743 年 4 月完成）将这门学科从特例的汇集转变为一般方法，其中包括写出欧拉微分方程——极值的第一必要条件——的一般程序，以及最小作用量原理的首次表述。<sup>[11](https://scholarlycommons.pacific.edu/euler-works/65/)</sup> 1754 年，年仅十八岁的约瑟夫-路易·拉格朗日读了欧拉早先关于具有极大或极小性质的曲线的文章，并写信把自己的第一个原创结果寄给欧拉；1755 年，他描述了现代处理方式的核心方法，即通过把 \( u(x) \) 变为 \( u(x) + hv(x) \)（其中 \( v \) 是另一个函数，\( h \) 是一个很小的数）将变分直接施加于未知函数，并指出变分 \( hv \) 的导数是 \( hv' \)，即导数的变分。<sup>[12](https://doi.org/10.1007/s40329-014-0049-x)</sup> 泛函 \( J \) 的变分 \( \delta J \) 这一概念——变分法之名即由此而来——由拉格朗日于 1762 年引入。<sup>[13](https://encyclopediaofmath.org/wiki/Variational_calculus)</sup>

## References

1. [Functional Derivative, Wolfram MathWorld](https://mathworld.wolfram.com/FunctionalDerivative.html)
2. [Quantum field theory 1, lecture 03, Floerchinger group, University of Jena](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture03/)
3. [Calculus of Variations, Functional Derivatives, MIT 18.325 lecture notes (Appendix A)](https://math.mit.edu/icg/resources/teaching/18.325-fall2012/notes325-oct1.pdf)
4. [A. Functionals and the Functional Derivative (Engel & Cern lecture notes)](https://chimera.roma1.infn.it/ENZO/FC/ESTRATTI/FUNCTIONAL_DERIVATIVES/functional_derivative_engel_e_cern.pdf)
5. [Quantum field theory 1, lecture 07, Floerchinger group, University of Jena](https://www.tpi.uni-jena.de/~floerchinger/qft1/lecture07/)
6. [Communication: Explicit construction of functional derivatives in potential-driven density-functional theory, Journal of Chemical Physics](https://doi.org/10.1063/1.3483464)
7. [Calculus of Variations handout, University of Bristol](https://people.maths.bris.ac.uk/~mazvs/handout.pdf)
8. [Source Functionals in Quantum Mechanics and QFT, QFT.org](https://qft.org/courses/qft-i/15-source-functionals-in-quantum-mechanics-and-qft/)
9. [Quantum field theory 2, lecture 02, Floerchinger group, University of Jena](https://www.tpi.uni-jena.de/~floerchinger/qft2/lecture02/)
10. [Variational derivation of density functional theory, arXiv:cond-mat/0309111](https://arxiv.org/abs/cond-mat/0309111)
11. [Methodus inveniendi lineas curvas maximi minimive proprietate gaudentes (E65), Euler Archive, University of the Pacific](https://scholarlycommons.pacific.edu/euler-works/65/)
12. [Lagrange and the calculus of variations, Lettera Matematica (2014)](https://doi.org/10.1007/s40329-014-0049-x)
13. [Variational calculus, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Variational_calculus)

---
*Initially written Oct 15, 2026 · Edited: Oct 21, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Alternative calculi and generalizations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/functional-derivative

English original: https://www.edgepedia.org/functional-derivative
