# 欧拉–拉格朗日方程

**欧拉–拉格朗日方程**（Euler–Lagrange equation）是使某函数成为积分泛函的驻点所必须满足的微分方程，是变分法（calculus of variations）的基本方程<sup>[1](https://arxiv.org/abs/2410.07040)</sup>。对于最简单的问题——在端点固定的曲线 \( y(t) \) 上极小化拉格朗日量 \( L(t, y, \dot{y}) \) 的积分——该方程写作

\[ \frac{\partial L}{\partial y} - \frac{d}{dt}\left( \frac{\partial L}{\partial \dot{y}} \right) = 0. \]

变分法中的问题往往可以通过找到相应的欧拉–拉格朗日方程并求解它来解决<sup>[2](https://archive.lib.msu.edu/crcmath/math/math/e/e311.htm)</sup>。该方程把关于整条曲线上的积分优化问题，转化为关于最优曲线的常微分方程或偏微分方程<sup>[3](https://www.trine.edu/books/documents/de_text1.0.0.pdf)</sup>。

| 关键事实 | 细节 |
|---|---|
| 方程 | \( \frac{\partial L}{\partial y} - \frac{d}{dt}\left( \frac{\partial L}{\partial \dot{y}} \right) = 0 \)，是关于极值路径的二阶微分方程<sup>[3](https://www.trine.edu/books/documents/de_text1.0.0.pdf)</sup> |
| 条件的地位 | 仅为必要条件：欧拉方程的解不必是极大值或极小值；充分性需要额外条件，例如拉格朗日量的凸性或凹性<sup>[4](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0076539208602209)</sup> |
| 起源 | 欧拉在《求极值曲线的方法》（*Methodus inveniendi*，1744）中发现；拉格朗日在其1760年的论文中给出了带 δ 符号的解析方法<sup>[5](https://mathshistory.st-andrews.ac.uk/HistTopics/Brachistochrone/)</sup> |
| 力学 | 当 \( L = T - V \) 时，方程化为牛顿第二定律，\( m\ddot{x}_i = -\partial V/\partial x_i \)<sup>[6](https://www.maths.ed.ac.uk/~jmf/Teaching/Lectures/CoV.pdf)</sup> |
| 偏微分方程形式 | \( F[u] = \int_\Omega f(x, u, \nabla u)\,dx \) 的极小化者是 \( -\mathrm{div}[D_A f(x, u, \nabla u)] + D_v f(x, u, \nabla u) = 0 \) 在 \( \Omega \) 中的弱解<sup>[7](https://warwick.ac.uk/fac/sci/maths/people/staff/filip_rindler/cov_ln.pdf)</sup> |
| 高阶导数 | 若泛函含有直到 \( m \) 阶的导数，则欧拉–拉格朗日方程一般为 \( 2m \) 阶<sup>[8](https://epubs.siam.org/doi/10.1137/1.9780898719253)</sup> |
| 约束 | 等周约束通过拉格朗日泛函 \( \Phi^* = \Phi - \lambda_1 \Psi_1 - \cdots - \lambda_s \Psi_s \) 处理，其无约束极值解给出约束问题的解<sup>[9](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter10/S10.2.html)</sup> |

## 方程是如何推导的

推导的逻辑与普通微积分中令导数为零相同，只是把它移植到了函数的函数上。设路径 \( y(t) \) 极小化作用量，将它和邻近的路径 \( \tilde{y} = y + \varepsilon \eta \) 比较，其中 \( \varepsilon \) 是小参数，\( \eta(t) \) 是任意扰动。将邻近路径处的拉格朗日量按 \( \varepsilon \) 展开到一阶并相减，得到作用量之差为 \( \varepsilon \) 乘以一个积分。这个积分称为作用量的一阶变分，记作 \( \delta S \)<sup>[3](https://www.trine.edu/books/documents/de_text1.0.0.pdf)</sup>。

若 \( y \) 使作用量最小，则对任意选取的 \( \eta \)，\( S(\tilde{y}) - S(y) \) 都为正，这只有当一阶变分消失时才可能：\( \delta S(\eta, y) = 0 \)。对含 \( d\eta/dt \) 的项作分部积分，并利用 \( \eta \) 的任意性，即迫使括号内的表达式为零，从而得到欧拉–拉格朗日方程<sup>[3](https://www.trine.edu/books/documents/de_text1.0.0.pdf)</sup>。这一论证同样适用于向量值函数 \( y: [x_0, x_1] \to \mathbb{R}^n \)<sup>[10](https://web.stanford.edu/class/math63cm/calculus-of-variations.pdf)</sup>；对于多维区域上的向量值 \( u = (u_1, \ldots, u_m) \)，它给出每个分量一个方程，即对 \( k = 1, \ldots, m \) 有 \( \frac{\partial L}{\partial u_k} - \sum_j \frac{\partial}{\partial x_j} \frac{\partial L}{\partial u_{k,x_j}} = 0 \)<sup>[9](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter10/S10.2.html)</sup>。

**必要而非充分。** 欧拉方程相当于“导数等于零”：它只给出极小值或极大值的必要条件。若欧拉微分方程的解唯一，且已知最优解存在，则该解由欧拉方程给出。当方程有多个解时，必须逐一检验以确定哪个给出极大值或极小值<sup>[4](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0076539208602209)</sup>。当拉格朗日量为凸或凹时，可以得到极值的充分条件<sup>[4](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0076539208602209)</sup>。该条件在以下意义上也是稳健的：\( \mathcal{C}^1 \) 曲线中的强极值自动是弱极值，因此为弱极值推导的欧拉–拉格朗日方程对两者都适用<sup>[11](https://liberzon.csl.illinois.edu/teaching/cvoc/node27.html)</sup>。

## 边界条件与约束

仅有微分方程并不能确定曲线。从原积分中消去变分的微分项，便得到微分方程，而特殊的终端条件则用于确定其解中的常数<sup>[12](https://en.wikisource.org/wiki/1911_Encyclop%C3%A6dia_Britannica/Variations%2C_Calculus_of)</sup>。当部分边界自由时，欧拉–拉格朗日方程仍须满足，但仅凭它并不能保证对所有容许变分都有 \( \delta \Phi = 0 \)；还必须满足一个边界条件，驻点同时满足方程和边界条件<sup>[9](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter10/S10.2.html)</sup>。

**约束问题。** 约束 \( \Psi_1[u] = \cdots = \Psi_s[u] = 0 \) 下的极值解，其求法与多元函数的约束极值完全相同：构造拉格朗日泛函 \( \Phi^*[u] := \Phi[u] - \lambda_1 \Psi_1[u] - \cdots - \lambda_s \Psi_s[u] \)，寻找其无约束极值解，其中因子 \( \lambda_1, \ldots, \lambda_s \) 为拉格朗日乘子。只要变分 \( \delta \Psi_1, \ldots, \delta \Psi_s \) 线性无关，这一方法就成立。在 \( \Psi[u] = \frac{1}{2}\int |u|^2\,dx \) 约束下 \( \Phi[u] = \frac{1}{2}\int |\nabla u|^2\,dx \) 的例子中，方程变为 \( -\Delta u = \lambda u \)，因此 \( \lambda \) 和 \( u \) 必须是 \( -\Delta \) 在狄利克雷边界条件下的特征值和特征函数；只有最低的特征值给出极小值<sup>[9](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter10/S10.2.html)</sup>。

## 历史

该方程源于变分法的经典挑战问题，尤其是约翰·伯努利（Johann Bernoulli）提出的最速降线——下降最快的曲线。伯努利兄弟发展出的方法由欧拉在1744年出版的《求极值曲线的方法……》（*Methodus inveniendi lineas curvas maximi minimive proprietate gaudentes sive solutio problematis isoperimetrici latissimo sensu accepti*）中置于一般框架之下；在这部著作中，欧拉找到了后来被称为欧拉–拉格朗日微分方程的结果，它针对的是关于极大化或极小化函数及其导数的函数<sup>[5](https://mathshistory.st-andrews.ac.uk/HistTopics/Brachistochrone/)</sup>。

欧拉通往1744年著作的道路并不平坦。在他1732年和1736年关于等周问题的两篇论文中，他已经引入了乘子——如今称为拉格朗日乘子——但那些出版物含有严重错误和错误的方法。只有在《求极值曲线的方法》（E65）中，他才获得了基本健全的理论，在第6章中发展了针对等周约束条件的乘子理论，并证明了常数乘子的存在性<sup>[13](https://people.math.harvard.edu/~knill/history/lagrange/index.html)</sup>。1744年的著作也是第一部呈现最小作用量原理的著作：在通过同一对端点的所有曲线中，所求曲线极小化 \( \int M v^{1/2}\,ds \)，其中 \( M \) 为质量，\( v \) 为速度平方的一半，\( ds \) 为弧长元。在求解最速降线问题时，欧拉找到了乘子方法的一个简单实例，可能也是第一个实例<sup>[14](https://scholarlycommons.pacific.edu/euler-works/65/)</sup>。

拉格朗日提供了现代解析形式。1760年，他发表了《论确定不定积分公式极大极小的新方法》，这篇论文用解析方法研究变分型问题，他强调他的方法需要允许一个量以两种不同方式变化，为此他引入了新符号 \( \delta \)<sup>[5](https://mathshistory.st-andrews.ac.uk/HistTopics/Brachistochrone/)</sup>。拉格朗日通常被认为是变分法的奠基人，δ 符号后来于1764年被欧拉采用<sup>[12](https://en.wikisource.org/wiki/1911_Encyclop%C3%A6dia_Britannica/Variations%2C_Calculus_of)</sup>。这门学科的名称本身由欧拉于1766年创造<sup>[15](https://www.encyclopedia.com/people/history/historians-miscellaneous-biographies/joseph-louis-louis-lagrange)</sup>。

## 应用

**力学。** 哈密顿最小作用量原理指出，粒子沿极小化作用量 \( S[x] = \int_{t_0}^{t_1} L(x, \dot{x})\,dt \) 的轨迹运动，其中拉格朗日量 \( L = T - V \)，即动能与势能之差。对于这个拉格朗日量，\( \partial L/\partial x_i = -\partial V/\partial x_i \)，\( \partial L/\partial \dot{x}_i = m\dot{x}_i \)，因此欧拉–拉格朗日方程正是牛顿第二定律，\( m\ddot{x}_i = -\partial V/\partial x_i \)<sup>[6](https://www.maths.ed.ac.uk/~jmf/Teaching/Lectures/CoV.pdf)</sup>。更一般地，对任意拉格朗日量，称 \( \partial L/\partial x_i \) 为力，\( \partial L/\partial \dot{x}_i \) 为动量，\( \sum_i \dot{x}_i \, \partial L/\partial \dot{x}_i - L \) 为能量；对于 \( L = T - V \)，能量为 \( T + V \)<sup>[6](https://www.maths.ed.ac.uk/~jmf/Teaching/Lectures/CoV.pdf)</sup>。方程中每一项的量纲都是力，因此在能量转换的语境中，该方程表现为关于力的守恒关系；当路径变量为电荷时，则表现为关于电压的守恒关系<sup>[3](https://www.trine.edu/books/documents/de_text1.0.0.pdf)</sup>。

**偏微分方程。** 在多变量情形下，该方程将变分问题与偏微分方程理论联系起来。在关于被积函数 \( f \) 的增长性和光滑性假设下，\( F[u] = \int_\Omega f(x, u(x), \nabla u(x))\,dx \) 的极小化者 \( u_* \) 是方程组 \( -\mathrm{div}[D_A f(x, u, \nabla u)] + D_v f(x, u, \nabla u) = 0 \) 在 \( \Omega \) 中的弱解，且在 \( \partial \Omega \) 上 \( u = g \)<sup>[7](https://warwick.ac.uk/fac/sci/maths/people/staff/filip_rindler/cov_ln.pdf)</sup>。反过来，求泛函的驻点等价于求解由相应的欧拉–拉格朗日方程和某些边界条件构成的边值问题，有限元方法正是建立在这一事实之上<sup>[8](https://epubs.siam.org/doi/10.1137/1.9780898719253)</sup>。

**最优控制。** 最优控制推广了变分法，欧拉–拉格朗日方程在其中作为一阶最优性必要条件<sup>[16](https://moodle.fel.cvut.cz/pluginfile.php/330023/mod_resource/content/8/L7_pontryagin_principle_and_time_optimal_control_notes.pdf)</sup>。这两个必要条件以极小值的强弱程度相区别：极大值原理推广了魏尔斯特拉斯条件，关乎强极小值；而欧拉–拉格朗日方程关乎弱极小值<sup>[17](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/E0A8A70583660DA91A5804C4289B282A/9780511530036c11_p332-367_CBO.pdf/maximum_principle.pdf)</sup>。大学课程将该方程置于学科的中心，与一阶和二阶变分、哈密顿形式体系及作用量原理并列，并应用于力学、材料科学、控制理论和数值方法<sup>[18](https://www.cms.caltech.edu/academics/courses/amacm-127)</sup>。

## References

1. [The Euler-Lagrange equation and optimal control: Preliminary results, arXiv](https://arxiv.org/abs/2410.07040)
2. [Euler-Lagrange Differential Equation, CRC Concise Encyclopedia of Mathematics](https://archive.lib.msu.edu/crcmath/math/math/e/e311.htm)
3. [Calculus of Variations, Chapter 11 (Trine University text)](https://www.trine.edu/books/documents/de_text1.0.0.pdf)
4. [Classical Variational Methods, Mathematics in Science and Engineering Vol. 121, ScienceDirect](https://www.sciencedirect.com/science/chapter/bookseries/pii/S0076539208602209)
5. [Brachistochrone problem, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/Brachistochrone/)
6. [Brief Notes on the Calculus of Variations, University of Edinburgh](https://www.maths.ed.ac.uk/~jmf/Teaching/Lectures/CoV.pdf)
7. [Introduction to the Modern Calculus of Variations (MA4G6 Lecture Notes), University of Warwick](https://warwick.ac.uk/fac/sci/maths/people/staff/filip_rindler/cov_ln.pdf)
8. [Finite Element Solution of Boundary Value Problems, SIAM](https://epubs.siam.org/doi/10.1137/1.9780898719253)
9. [Functionals, extremums and variations, APM346 PDE textbook, University of Toronto](https://www.math.utoronto.ca/courses/apm346h1/20159/PDE-textbook/Chapter10/S10.2.html)
10. [Calculus of Variations, Stanford Math 63CM notes](https://web.stanford.edu/class/math63cm/calculus-of-variations.pdf)
11. [First-order necessary conditions for weak extrema, University of Illinois lecture notes](https://liberzon.csl.illinois.edu/teaching/cvoc/node27.html)
12. [Variations, Calculus of, 1911 Encyclopædia Britannica, Wikisource](https://en.wikisource.org/wiki/1911_Encyclop%C3%A6dia_Britannica/Variations%2C_Calculus_of)
13. [About the history of Calculus of Variations (excerpts from Giaquinta and Hildebrandt), Harvard](https://people.math.harvard.edu/~knill/history/lagrange/index.html)
14. [Methodus inveniendi (E65), Euler Archive, University of the Pacific](https://scholarlycommons.pacific.edu/euler-works/65/)
15. [Joseph-Louis Lagrange, Encyclopedia.com](https://www.encyclopedia.com/people/history/historians-miscellaneous-biographies/joseph-louis-louis-lagrange)
16. [Pontryagin principle and time optimal control notes, CTU Prague](https://moodle.fel.cvut.cz/pluginfile.php/330023/mod_resource/content/8/L7_pontryagin_principle_and_time_optimal_control_notes.pdf)
17. [The maximum principle, Geometric Control Theory, Cambridge University Press](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/E0A8A70583660DA91A5804C4289B282A/9780511530036c11_p332-367_CBO.pdf/maximum_principle.pdf)
18. [AM/ACM 127 Calculus of Variations, Caltech](https://www.cms.caltech.edu/academics/courses/amacm-127)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 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/euler-lagrange-equation

English original: https://www.edgepedia.org/euler-lagrange-equation
