Euler–Lagrange equation explained

In the calculus of variations and classical mechanics, the Euler–Lagrange equations[1] are a system of second-order ordinary differential equations whose solutions are stationary points of the given action functional. The equations were discovered in the 1750s by Swiss mathematician Leonhard Euler and Italian mathematician Joseph-Louis Lagrange.

Because a differentiable functional is stationary at its local extrema, the Euler–Lagrange equation is useful for solving optimization problems in which, given some functional, one seeks the function minimizing or maximizing it. This is analogous to Fermat's theorem in calculus, stating that at any point where a differentiable function attains a local extremum its derivative is zero. In Lagrangian mechanics, according to Hamilton's principle of stationary action, the evolution of a physical system is described by the solutions to the Euler equation for the action of the system. In this context Euler equations are usually called Lagrange equations. In classical mechanics,[2] it is equivalent to Newton's laws of motion; indeed, the Euler-Lagrange equations will produce the same equations as Newton's Laws. This is particularly useful when analyzing systems whose force vectors are particularly complicated. It has the advantage that it takes the same form in any system of generalized coordinates, and it is better suited to generalizations. In classical field theory there is an analogous equation to calculate the dynamics of a field.

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. Both 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.[3]

Statement

Let

(X,L)

be a real dynamical system with

n

degrees of freedom. Here

X

is the configuration space and

L=L(t,{\boldsymbolq}(t),{\boldsymbolv}(t))

the Lagrangian, i.e. a smooth real-valued function such that

{\boldsymbolq}(t)\inX,

and

{\boldsymbolv}(t)

is an

n

-dimensional "vector of speed". (For those familiar with differential geometry,

X

is a smooth manifold, and

L:{R}t x TX\to{R},

where

TX

is the tangent bundle of

X).

Let

{\calP}(a,b,\boldsymbolxa,\boldsymbolxb)

be the set of smooth paths

\boldsymbolq:[a,b]\toX

for which

\boldsymbolq(a)=\boldsymbolxa

and

\boldsymbolq(b)=\boldsymbolxb.

S:{\calP}(a,b,\boldsymbolxa,\boldsymbolxb)\toR

is defined via S[\boldsymbol q] = \int_a^b L(t,\boldsymbol q(t),\dot(t))\, dt.

A path

\boldsymbolq\in{\calP}(a,b,\boldsymbolxa,\boldsymbolxb)

is a stationary point of

S

if and only if

Here,

\boldsymbolq

(t)

is the time derivative of

\boldsymbolq(t).

When we say stationary point, we mean a stationary point of

S

with respect to any small perturbation in

\boldsymbolq

. See proofs below for more rigorous detail.

Example

A standard example is finding the real-valued function y(x) on the interval [''a'', ''b''], such that y(a) = c and y(b) = d, for which the path length along the curve traced by y is as short as possible.

s=

b
\int
a

\sqrt{dx2+dy2}=

b
\int
a

\sqrt{1+y'2}dx,

the integrand function being L(x,y, y') = \sqrt .

The partial derivatives of L are:

\partialL(x,y,y')
\partialy'

=

y'
\sqrt{1+y'2
} \quad \text \quad\frac = 0.By substituting these into the Euler–Lagrange equation, we obtain
\begin{align} d
dx
y'(x)
\sqrt{1+(y'(x))2
} &= 0 \\ \frac &= C = \text \\\Rightarrow y'(x)&= \frac =: A \\\Rightarrow y(x) &= Ax + B\endthat is, the function must have a constant first derivative, and thus its graph is a straight line.

Generalizations

Single function of single variable with higher derivatives

The stationary values of the functional

I[f]=

x1
\int
x0

l{L}(x,f,f',f'',...,f(k))~dx~;~~f':=\cfrac{df}{dx},~f'':=\cfrac{d2f}{dx2},~ f(k):=\cfrac{dkf}{dxk}

can be obtained from the Euler–Lagrange equation[4]

\cfrac{\partiall{L}}{\partialf}-\cfrac{d

}\left(\cfrac\right) + \cfrac\left(\cfrac\right) - \dots + (-1)^k \cfrac\left(\cfrac\right) = 0 under fixed boundary conditions for the function itself as well as for the first

k-1

derivatives (i.e. for all

f(i),i\in\{0,...,k-1\}

). The endpoint values of the highest derivative

f(k)

remain flexible.

Several functions of single variable with single derivative

If the problem involves finding several functions (

f1,f2,...,fm

) of a single independent variable (

x

) that define an extremum of the functional

I[f1,f2,...,fm]=

x1
\int
x0

l{L}(x,f1,f2,...,fm,f1',f2',...,fm')~dx ~;~~fi':=\cfrac{dfi}{dx}

then the corresponding Euler–Lagrange equations are[5]

\begin{align}

\partiall{L
} - \frac\left(\frac\right) = 0 ; \quad i = 1, 2, ..., m \end

Single function of several variables with single derivative

A multi-dimensional generalization comes from considering a function on n variables. If

\Omega

is some surface, then

I[f]=\int\Omegal{L}(x1,...,xn,f,f1,...,fn)dx~;~~ fj:=\cfrac{\partialf}{\partialxj}

is extremized only if f satisfies the partial differential equation

\partiall{L
} - \sum_^ \frac\left(\frac\right) = 0.

When n = 2 and functional

lI

is the energy functional, this leads to the soap-film minimal surface problem.

Several functions of several variables with single derivative

If there are several unknown functions to be determined and several variables such that

I[f1,f2,...,fm]=\int\Omegal{L}(x1,...,xn,f1,...,fm,f1,1,...,f1,n,...,fm,1,...,fm,n)dx~;~~ fi,j:=\cfrac{\partialfi}{\partialxj}

the system of Euler–Lagrange equations is[4]

\begin{align}

\partiall{L
} - \sum_^ \frac\left(\frac\right) &= 0_1 \\ \frac - \sum_^ \frac\left(\frac\right) &= 0_2 \\ \vdots \qquad \vdots \qquad &\quad \vdots \\ \frac - \sum_^ \frac\left(\frac\right) &= 0_m. \end

Single function of two variables with higher derivatives

If there is a single unknown function f to be determined that is dependent on two variables x1 and x2 and if the functional depends on higher derivatives of f up to n-th order such that

\begin{align} I[f]&=\int\Omegal{L}(x1,x2,f,f1,f2,f11,f12,f22, ...,f22...)dx\\ &    fi:=\cfrac{\partialf}{\partialxi}, fij:=\cfrac{\partial2f}{\partialxi\partialxj},  ... \end{align}

then the Euler–Lagrange equation is[4]

\begin{align}

\partiall{L
} & - \frac\left(\frac\right) - \frac\left(\frac\right) + \frac\left(\frac\right) + \frac\left(\frac\right) + \frac\left(\frac\right) \\ & - \dots + (-1)^n \frac\left(\frac\right) = 0 \end which can be represented shortly as:
\partiall{L
} +\sum_^n \sum_ (-1)^j \frac \left(\frac\right)=0 wherein

\mu1...\muj

are indices that span the number of variables, that is, here they go from 1 to 2. Here summation over the

\mu1...\muj

indices is only over

\mu1\leq\mu2\leq\ldots\leq\muj

in order to avoid counting the same partial derivative multiple times, for example

f12=f21

appears only once in the previous equation.

Several functions of several variables with higher derivatives

If there are p unknown functions fi to be determined that are dependent on m variables x1 ... xm and if the functional depends on higher derivatives of the fi up to n-th order such that

\begin{align} I[f1,\ldots,fp]&=\int\Omegal{L}(x1,\ldots,xm;f1,\ldots,fp;f1,1,\ldots, fp,m;f1,11,\ldots,fp,mm;\ldots;fp,1\ldots,\ldots,fp,m\ldots)dx\\ &    fi,\mu:=\cfrac{\partialfi}{\partialx\mu},

f
i,\mu1\mu2

:=\cfrac{\partial2fi}{\partial

x
\mu1

\partial

x
\mu2
} \;, \;\; \dots \end

where

\mu1...\muj

are indices that span the number of variables, that is they go from 1 to m. Then the Euler–Lagrange equation is
\partiall{L
} +\sum_^n \sum_ (-1)^j \frac \left(\frac\right)=0

where the summation over the

\mu1...\muj

is avoiding counting the same derivative
f
i,\mu1\mu2

=

f
i,\mu2\mu1
several times, just as in the previous subsection. This can be expressed more compactly as
n
\sum
j=0
\sum
\mu1\leq\ldots\leq\muj

(-1)j

j
\partial
\mu1\ldots\muj

\left(

\partiall{L
}{\partial
f
i,\mu1...\muj
}\right)=0

Generalization to manifolds

Let

M

be a smooth manifold, and let

Cinfty([a,b])

denote the space of smooth functions

f\colon[a,b]\toM

. Then, for functionals

S\colonCinfty([a,b])\toR

of the form
b
S[f]=\int(L\circ
a
f

)(t)dt

where

L\colonTM\toR

is the Lagrangian, the statement

dSf=0

is equivalent to the statement that, for all

t\in[a,b]

, each coordinate frame trivialization

(xi,Xi)

of a neighborhood of
f

(t)

yields the following

\dimM

equations:

\foralli:

d
dt
\partialL
\partialXi
|=
f(t)
\partialL
\partialxi
|
f(t)

.

Euler-Lagrange equations can also be written in a coordinate-free form as [6]

l{L}\Delta\thetaL=dL

where

\thetaL

is the canonical momenta 1-form corresponding to the Lagrangian

L

. The vector field generating time translations is denoted by

\Delta

and the Lie derivative is denoted by

l{L}

. One can use local charts
\alpha,q
(q

\alpha)

in which
\theta
L=\partialL
\partial
q
\alpha

dq\alpha

and
\Delta:=d=
dt
q
\alpha\partial
\partialq\alpha
\alpha\partial
\partial
q
\alpha
+\ddot{q}
and use coordinate expressions for the Lie derivative to see equivalence with coordinate expressions of the Euler Lagrange equation. The coordinate free form is particularly suitable for geometrical interpretation of the Euler Lagrange equations.

See also

References

Notes and References

  1. Book: Fox, Charles. An introduction to the calculus of variations. Courier Dover Publications. 1987. 978-0-486-65499-7.
  2. Book: Herbert Goldstein. Charles P. Poole. H.. Goldstein. C.P.. Poole. J.. Safko. Classical Mechanics. Addison Wesley. 2014. 3rd.
  3. http://numericalmethods.eng.usf.edu/anecdotes/lagrange.pdf A short biography of Lagrange
  4. Book: Courant . R . Richard Courant . Hilbert . D . David Hilbert . Methods of Mathematical Physics . I . First English . Interscience Publishers, Inc . 1953 . New York . 978-0471504474.
  5. Book: Weinstock, R. . 1952 . Calculus of Variations with Applications to Physics and Engineering . registration . McGraw-Hill . New York .
  6. Web site: José . Saletan . 1998 . Classical Dynamics: A contemporary approach . 2023-09-12 . Cambridge University Press . en . 9780521636360.