MathLabs
TheoremProved

The Euler–Lagrange equation

Statement

Let y(x)y(x) be a twice continuously differentiable function on [x0,x1][x_0,x_1] with fixed endpoint values y(x0)=y0y(x_0)=y_0, y(x1)=y1y(x_1)=y_1. If yy extremizes the functional J[y]=∫x0x1L(x,y,y′) dxJ[y] = \int_{x_0}^{x_1} L(x,y,y')\,dx among all such curves, then yy satisfies ∂L∂y−ddx∂L∂y′=0\frac{\partial L}{\partial y}-\frac{d}{dx}\frac{\partial L}{\partial y'}=0 for every x∈(x0,x1)x\in(x_0,x_1).

Why is it true?

This mirrors setting an ordinary derivative to zero at a minimum, but here the 'direction' we perturb in is not a single number but an entire admissible variation of the curve. Requiring the first-order change to vanish for every such variation forces the pointwise balance between the direct yy-dependence of LL and the y′y'-dependence, encoded exactly by this equation.

Proof sketch

Fix an arbitrary smooth function η(x)\eta(x) with η(x0)=η(x1)=0\eta(x_0)=\eta(x_1)=0, and consider the one-parameter family of competitor curves yϵ(x)=y(x)+ϵ η(x)y_\epsilon(x) = y(x) + \epsilon\,\eta(x), all of which share the same endpoint values as yy. Define ϕ(ϵ)=J[yϵ]\phi(\epsilon) = J[y_\epsilon]; since yy is assumed to extremize JJ, the ordinary function ϕ\phi has a critical point at ϵ=0\epsilon=0, so ϕ′(0)=0\phi'(0)=0.

Differentiating under the integral sign, ϕ′(ϵ)=∫x0x1[∂L∂y η+∂L∂y′ η′]dx\phi'(\epsilon) = \int_{x_0}^{x_1} \left[ \frac{\partial L}{\partial y} \,\eta + \frac{\partial L}{\partial y'} \,\eta' \right] dx, where the partial derivatives of LL are evaluated along yϵy_\epsilon. Setting ϵ=0\epsilon=0 gives ∫x0x1[∂L∂y η+∂L∂y′ η′]dx=0\int_{x_0}^{x_1} \left[ \frac{\partial L}{\partial y} \,\eta + \frac{\partial L}{\partial y'} \,\eta' \right] dx = 0.

Integrate the second term by parts: ∫x0x1∂L∂y′ η′ dx=[∂L∂y′ η]x0x1−∫x0x1ddx∂L∂y′ η dx\int_{x_0}^{x_1} \frac{\partial L}{\partial y'} \,\eta'\,dx = \left[ \frac{\partial L}{\partial y'} \,\eta \right]_{x_0}^{x_1} - \int_{x_0}^{x_1} \frac{d}{dx}\frac{\partial L}{\partial y'} \,\eta\,dx. The boundary term vanishes because η(x0)=η(x1)=0\eta(x_0)=\eta(x_1)=0, leaving ∫x0x1[∂L∂y−ddx∂L∂y′]η dx=0\int_{x_0}^{x_1} \left[ \frac{\partial L}{\partial y} - \frac{d}{dx}\frac{\partial L}{\partial y'} \right] \eta\,dx = 0.

This integral vanishes for every admissible η\eta. By the fundamental lemma of the calculus of variations — if a continuous function integrates to zero against every such test function, the function itself must be identically zero — the bracketed quantity vanishes at every xx, which is exactly ∂L∂y−ddx∂L∂y′=0\frac{\partial L}{\partial y}-\frac{d}{dx}\frac{\partial L}{\partial y'}=0.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. I. M. Gelfand, S. V. Fomin (2000). Calculus of Variations
  2. Mark Kot (2014). A First Course in the Calculus of Variations
  3. Camillo De Lellis, Matteo Focardi (2023). The regularity theory for the Mumford-Shah functional on the plane · arXiv:2308.14660 [preprint, not peer-reviewed]