Euler-Lagrange equation

From Wikipedia, the free encyclopedia

The Euler-Lagrange equation, developed by Leonhard Euler and Joseph-Louis Lagrange in the 1750s, is the major formula of the calculus of variations. It provides a way to solve for functions which extremize a given cost functional. It is widely used to solve optimization problems, and in conjunction with the action principle to calculate trajectories. It is analogous to the result from calculus that when a smooth function attains its extreme values its derivative vanishes.

Contents

[edit] Statement

Formally, given a functional

F \left( x, f(x), f'(x) \right) \,\!

with continuous first partial derivatives, any function f which extremizes the cost functional

J = \int_a^b F(x,f(x),f'(x))\, \mathrm{d}x \,\!

must also satisfy the ordinary differential equation

\frac{\partial F}{\partial f} - \frac{\mathrm{d}}{\mathrm{d}x} \frac{\partial F}{\partial f'} = 0. \,\!

[edit] In quantum field theory

Quantum field theory deals with continuous coordinates, and like classical mechanics, has its own Euler-Lagrange equation of motion for a field,

\partial_\mu \left( \frac{\partial \mathcal{L}}{\partial ( \partial_\mu \psi )} \right) - \frac{\partial \mathcal{L}}{\partial \psi} = 0. \,
where
\psi \, is the field, and
\partial\, is a vector of derivatives:
\partial_\mu = \left(\frac{1}{c} \frac{\partial}{\partial t}, \frac{\partial}{\partial x}, \frac{\partial}{\partial y}, \frac{\partial}{\partial z} \right). \,

Note: Not all classical fields are assumed commuting/bosonic variables, some of them (like the :Dirac field, the Weyl field, the Rarita-Schwinger field) are fermionic and so, when trying to get the field equations from the Lagrangian density, one must choose whether to use the right or the left derivative of the Lagrangian density (which is a boson) with respect to the fields and their first space-time derivatives which are fermionic/anticommuting objects.

There are several examples of applying the Euler-Lagrange equation to various Lagrangians.

[edit] Examples

A standard example is finding the shortest path between two points in the plane. Assume that the points to be connected are (a,c) and (b,d). The length of a path y=f(x) between these two points is

L = \int_{a}^{b} \sqrt{1+\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2}\ \mathrm{d}x. \,\!

The Euler-Lagrange equation yields the differential equation

\frac{\mathrm{d}}{\mathrm{d}x} \frac{\partial}{\partial y'}\sqrt{1+\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2} = 0 \Rightarrow \frac{\mathrm{d}y}{\mathrm{d}x} = C. \,\!

In other words, a straight line.

[edit] Multidimensional variations

There are also various multi-dimensional versions of the Euler-Lagrange equations. If q is a path in n-dimensional space, then it extremizes the cost functional

J = \int_{t1}^{t2} L(t, q(t), q'(t))\, \mathrm{d}t \,\!

only if it satisfies

\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial L}{\partial q'_k} - \frac{\partial L}{\partial q_k} = 0 \,\!

\forall k = 1, 2, \dots, n. \,\!

This formulation is particularly useful in physics when L is taken to be the Lagrangian.

Another multi-dimensional generalization comes from considering a function on n variables. If Ω is some surface, then

J = \int_{\Omega} L(f, x_1, \dots , x_n, f_{x_1}, \dots , f_{x_n})\, \mathrm{d}\Omega \,\!

is extremized only if f satisfies the partial differential equation

\frac{\partial L}{\partial f} - \sum_{i=1}^{n} \frac{\partial}{\partial x_i} \frac{\partial L}{\partial f_{x_i}} = 0. \,\!

When n = 2 and L is the energy functional, this leads to the soap-film minimal surface problem.

[edit] History

The Euler-Lagrange equation was developed in the 1750s by Euler and Lagrange in connection with their studies of the tautochrone problem. This is the problem of determining a curve on which a weighted particle will fall to a fixed point in a fixed amount of time, independent of the starting point.

Lagrange solved this problem in 1755 and sent the solution to Euler. The two further developed Lagrange's method and applied it to mechanics, which led to the formulation of Lagrangian mechanics. Their correspondence ultimately led to the Calculus of variations, a term coined by Euler himself in 1766.

[edit] Proof

The derivation of the one-dimensional Euler-Lagrange equation is one of the classic proofs in Mathematics. It relies on the Fundamental lemma of calculus of variations.

We wish to find a function f which satisfies the boundary conditions f(a)=c, f(b)=d, and which extremizes the cost functional

J = \int_a^b F(x,f(x),f'(x))\, dx. \,\!

We assume that F has continuous first partial derivatives. A weaker assumption can be used, but the proof becomes more difficult.

If f extremizes the cost functional subject to the boundary conditions, then any slight perturbation of f that preserves the boundary values must either increase J (if f is a minimizer) or decrease J (if f is a maximizer).

Let gε(x) = f(x)+εη(x) be such a perturbation of f, where η(x) is a differentiable function satisfying η(a)=η(b)=0. Then define

J(\epsilon) = \int_a^b F(x,g_\epsilon(x), g_\epsilon'(x) )\, dx. \,\!

We now wish to calculate the total derivative of J with repect to ε

\frac{\mathrm{d} J}{\mathrm{d} \epsilon} = \int_a^b \frac{\mathrm{d}F}{\mathrm{d}\epsilon}(x,g_\epsilon(x), g_\epsilon'(x) )\, dx. \,\!

It follows from the defintion of the total derivative that

\frac{\mathrm{d}F}{\mathrm{d}\epsilon} = \frac{\partial F}{\partial x}\frac{\partial x}{\partial \epsilon} + \frac{\partial F}{\partial g_\epsilon}\frac{\partial g_\epsilon}{\partial \epsilon} + \frac{\partial F}{\partial g'_\epsilon}\frac{\partial g'_\epsilon}{\partial \epsilon} = \eta(x) \frac{\partial F}{\partial g_\epsilon} + \eta'(x) \frac{\partial F}{\partial g_\epsilon'}.\,\!

So

\frac{\mathrm{d} J}{\mathrm{d} \epsilon} = \int_a^b \eta(x) \frac{\partial F}{\partial g_\epsilon} + \eta'(x) \frac{\partial F}{\partial g_\epsilon'} \, dx. \,\!

When ε=0 we have gε=f and since f is an extreme value it follows that J'(0)=0, i.e.

J'(0) = \int_a^b  \eta(x) \frac{\partial F}{\partial f} + \eta'(x) \frac{\partial F}{\partial f'} \,dx = 0.\,\!

The next crucial step is to use integration by parts on the second term, yielding

0 = \int_a^b \left[ \frac{\partial F}{\partial f} - \frac{d}{dx} \frac{\partial F}{\partial f'} \right] \eta(x)\,dx + \left[ \eta(x) \frac{\partial F}{\partial f'} \right]_a^b. \,\!

Using the boundary conditions on η, we get that

0 = \int_a^b \left[ \frac{\partial F}{\partial f} - \frac{d}{dx} \frac{\partial F}{\partial f'} \right] \eta(x)\,dx. \,\!

Applying the fundamental lemma of Calculus of variations now yields the Euler-Lagrange equation

0 = \frac{\partial F}{\partial f} - \frac{d}{dx} \frac{\partial F}{\partial f'}. \,\!

[edit] References