Euler–Lagrange equation

From HandWiki
Revision as of 03:54, 16 March 2024 by SpringEdit (talk | contribs) (linkage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Second-order partial differential equation describing motion of mechanical system

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 [math]\displaystyle{ (X,L) }[/math] be a real dynamical system with [math]\displaystyle{ n }[/math] degrees of freedom. Here [math]\displaystyle{ X }[/math] is the configuration space and [math]\displaystyle{ L=L(t,\boldsymbol q, \boldsymbol v) }[/math] the Lagrangian, i.e. a smooth real-valued function such that [math]\displaystyle{ \boldsymbol q \in X, }[/math] and [math]\displaystyle{ \boldsymbol v }[/math] is an [math]\displaystyle{ n }[/math]-dimensional "vector of speed". (For those familiar with differential geometry, [math]\displaystyle{ X }[/math] is a smooth manifold, and [math]\displaystyle{ L : {\mathbb R}_t \times TX \to {\mathbb R}, }[/math] where [math]\displaystyle{ TX }[/math] is the tangent bundle of [math]\displaystyle{ X). }[/math]

Let [math]\displaystyle{ {\cal P}(a,b,\boldsymbol x_a,\boldsymbol x_b) }[/math] be the set of smooth paths [math]\displaystyle{ \boldsymbol q: [a,b] \to X }[/math] for which [math]\displaystyle{ \boldsymbol q(a) = \boldsymbol x_a }[/math] and [math]\displaystyle{ \boldsymbol q(b) = \boldsymbol x_b. }[/math]

The action functional [math]\displaystyle{ S : {\cal P}(a,b,\boldsymbol x_a,\boldsymbol x_b) \to \mathbb{R} }[/math] is defined via [math]\displaystyle{ S[\boldsymbol q] = \int_a^b L(t,\boldsymbol q(t),\dot{\boldsymbol q}(t))\, dt. }[/math]

A path [math]\displaystyle{ \boldsymbol q \in {\cal P}(a,b,\boldsymbol x_a,\boldsymbol x_b) }[/math] is a stationary point of [math]\displaystyle{ S }[/math] if and only if

[math]\displaystyle{ \frac{\partial L}{\partial q^i}(t,\boldsymbol q(t),\dot{\boldsymbol q}(t))-\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q^i}(t,\boldsymbol q(t),\dot{\boldsymbol q}(t)) = 0, \quad i = 1, \dots, n. }[/math]

Here, [math]\displaystyle{ \dot{\boldsymbol q}(t) }[/math] is the time derivative of [math]\displaystyle{ \boldsymbol q(t). }[/math] When we say stationary point, we mean a stationary point of [math]\displaystyle{ S }[/math] with respect to any small perturbation in [math]\displaystyle{ \boldsymbol q }[/math]. 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. :[math]\displaystyle{ \text{s} = \int_{a}^{b} \sqrt{\mathrm{d}x^2+\mathrm{d}y^2} = \int_{a}^{b} \sqrt{1+y'^2}\,\mathrm{d}x, }[/math] the integrand function being [math]\displaystyle{ L(x,y, y') = \sqrt{1+y'^2} }[/math].

The partial derivatives of L are:

[math]\displaystyle{ \frac{\partial L(x, y, y')}{\partial y'} = \frac{y'}{\sqrt{1 + y'^2}} \quad \text{and} \quad \frac{\partial L(x, y, y')}{\partial y} = 0. }[/math]

By substituting these into the Euler–Lagrange equation, we obtain

[math]\displaystyle{ \begin{align} \frac{\mathrm{d}}{\mathrm{d}x} \frac{y'(x)}{\sqrt{1 + (y'(x))^2}} &= 0 \\ \frac{y'(x)}{\sqrt{1 + (y'(x))^2}} &= C = \text{constant} \\ \Rightarrow y'(x)&= \frac{C}{\sqrt{1-C^2}} =: A \\ \Rightarrow y(x) &= Ax + B \end{align} }[/math]

that 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

[math]\displaystyle{ I[f] = \int_{x_0}^{x_1} \mathcal{L}(x, f, f', f'', \dots, f^{(k)})~\mathrm{d}x ~;~~ f' := \cfrac{\mathrm{d}f}{\mathrm{d}x}, ~f'' := \cfrac{\mathrm{d}^2f}{\mathrm{d}x^2}, ~ f^{(k)} := \cfrac{\mathrm{d}^kf}{\mathrm{d}x^k} }[/math]

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

[math]\displaystyle{ \cfrac{\partial \mathcal{L}}{\partial f} - \cfrac{\mathrm{d}}{\mathrm{d} x}\left(\cfrac{\partial \mathcal{L}}{\partial f'}\right) + \cfrac{\mathrm{d}^2}{\mathrm{d} x^2}\left(\cfrac{\partial \mathcal{L}}{\partial f''}\right) - \dots + (-1)^k \cfrac{\mathrm{d}^k}{\mathrm{d} x^k}\left(\cfrac{\partial \mathcal{L}}{\partial f^{(k)}}\right) = 0 }[/math]

under fixed boundary conditions for the function itself as well as for the first [math]\displaystyle{ k-1 }[/math] derivatives (i.e. for all [math]\displaystyle{ f^{(i)}, i \in \{0, ..., k-1\} }[/math]). The endpoint values of the highest derivative [math]\displaystyle{ f^{(k)} }[/math] remain flexible.

Several functions of single variable with single derivative

If the problem involves finding several functions ([math]\displaystyle{ f_1, f_2, \dots, f_m }[/math]) of a single independent variable ([math]\displaystyle{ x }[/math]) that define an extremum of the functional

[math]\displaystyle{ I[f_1,f_2, \dots, f_m] = \int_{x_0}^{x_1} \mathcal{L}(x, f_1, f_2, \dots, f_m, f_1', f_2', \dots, f_m')~\mathrm{d}x ~;~~ f_i' := \cfrac{\mathrm{d}f_i}{\mathrm{d}x} }[/math]

then the corresponding Euler–Lagrange equations are[6]

[math]\displaystyle{ \begin{align} \frac{\partial \mathcal{L}}{\partial f_i} - \frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{\partial \mathcal{L}}{\partial f_i'}\right) = 0 ; \quad i = 1, 2, ..., m \end{align} }[/math]

Single function of several variables with single derivative

A multi-dimensional generalization comes from considering a function on n variables. If [math]\displaystyle{ \Omega }[/math] is some surface, then

[math]\displaystyle{ I[f] = \int_{\Omega} \mathcal{L}(x_1, \dots , x_n, f, f_{1}, \dots , f_{n})\, \mathrm{d}\mathbf{x}\,\! ~;~~ f_{j} := \cfrac{\partial f}{\partial x_j} }[/math]

is extremized only if f satisfies the partial differential equation

[math]\displaystyle{ \frac{\partial \mathcal{L}}{\partial f} - \sum_{j=1}^{n} \frac{\partial}{\partial x_j}\left(\frac{\partial \mathcal{L}}{\partial f_{j}}\right) = 0. }[/math]

When n = 2 and functional [math]\displaystyle{ \mathcal I }[/math] 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

[math]\displaystyle{ I[f_1,f_2,\dots,f_m] = \int_{\Omega} \mathcal{L}(x_1, \dots , x_n, f_1, \dots, f_m, f_{1,1}, \dots , f_{1,n}, \dots, f_{m,1}, \dots, f_{m,n}) \, \mathrm{d}\mathbf{x}\,\! ~;~~ f_{i,j} := \cfrac{\partial f_i}{\partial x_j} }[/math]

the system of Euler–Lagrange equations is[5]

[math]\displaystyle{ \begin{align} \frac{\partial \mathcal{L}}{\partial f_1} - \sum_{j=1}^{n} \frac{\partial}{\partial x_j}\left(\frac{\partial \mathcal{L}}{\partial f_{1,j}}\right) &= 0_1 \\ \frac{\partial \mathcal{L}}{\partial f_2} - \sum_{j=1}^{n} \frac{\partial}{\partial x_j}\left(\frac{\partial \mathcal{L}}{\partial f_{2,j}}\right) &= 0_2 \\ \vdots \qquad \vdots \qquad &\quad \vdots \\ \frac{\partial \mathcal{L}}{\partial f_m} - \sum_{j=1}^{n} \frac{\partial}{\partial x_j}\left(\frac{\partial \mathcal{L}}{\partial f_{m,j}}\right) &= 0_m. \end{align} }[/math]

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

[math]\displaystyle{ \begin{align} I[f] & = \int_{\Omega} \mathcal{L}(x_1, x_2, f, f_{1}, f_{2}, f_{11}, f_{12}, f_{22}, \dots, f_{22\dots 2})\, \mathrm{d}\mathbf{x} \\ & \qquad \quad f_{i} := \cfrac{\partial f}{\partial x_i} \; , \quad f_{ij} := \cfrac{\partial^2 f}{\partial x_i\partial x_j} \; , \;\; \dots \end{align} }[/math]

then the Euler–Lagrange equation is[5]

[math]\displaystyle{ \begin{align} \frac{\partial \mathcal{L}}{\partial f} & - \frac{\partial}{\partial x_1}\left(\frac{\partial \mathcal{L}}{\partial f_{1}}\right) - \frac{\partial}{\partial x_2}\left(\frac{\partial \mathcal{L}}{\partial f_{2}}\right) + \frac{\partial^2}{\partial x_1^2}\left(\frac{\partial \mathcal{L}}{\partial f_{11}}\right) + \frac{\partial^2}{\partial x_1\partial x_2}\left(\frac{\partial \mathcal{L}}{\partial f_{12}}\right) + \frac{\partial^2}{\partial x_2^2}\left(\frac{\partial \mathcal{L}}{\partial f_{22}}\right) \\ & - \dots + (-1)^n \frac{\partial^n}{\partial x_2^n}\left(\frac{\partial \mathcal{L}}{\partial f_{22\dots 2}}\right) = 0 \end{align} }[/math]

which can be represented shortly as:

[math]\displaystyle{ \frac{\partial \mathcal{L}}{\partial f} +\sum_{j=1}^n \sum_{\mu_1 \leq \ldots \leq \mu_j} (-1)^j \frac{\partial^j}{\partial x_{\mu_{1}}\dots \partial x_{\mu_{j}}} \left( \frac{\partial \mathcal{L} }{\partial f_{\mu_1\dots\mu_j}}\right)=0 }[/math]

wherein [math]\displaystyle{ \mu_1 \dots \mu_j }[/math] are indices that span the number of variables, that is, here they go from 1 to 2. Here summation over the [math]\displaystyle{ \mu_1 \dots \mu_j }[/math] indices is only over [math]\displaystyle{ \mu_1 \leq \mu_2 \leq \ldots \leq \mu_j }[/math] in order to avoid counting the same partial derivative multiple times, for example [math]\displaystyle{ f_{12} = f_{21} }[/math] 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

[math]\displaystyle{ \begin{align} I[f_1,\ldots,f_p] & = \int_{\Omega} \mathcal{L}(x_1, \ldots, x_m; f_1,\ldots,f_p; f_{1,1},\ldots, f_{p,m}; f_{1,11},\ldots, f_{p,mm};\ldots; f_{p,1\ldots 1}, \ldots, f_{p,m\ldots m})\, \mathrm{d}\mathbf{x} \\ & \qquad \quad f_{i,\mu} := \cfrac{\partial f_i}{\partial x_\mu} \; , \quad f_{i,\mu_1\mu_2} := \cfrac{\partial^2 f_i}{\partial x_{\mu_1}\partial x_{\mu_2}} \; , \;\; \dots \end{align} }[/math]

where [math]\displaystyle{ \mu_1 \dots \mu_j }[/math] are indices that span the number of variables, that is they go from 1 to m. Then the Euler–Lagrange equation is

[math]\displaystyle{ \frac{\partial \mathcal{L}}{\partial f_i} +\sum_{j=1}^n \sum_{\mu_1 \leq \ldots \leq \mu_j} (-1)^j \frac{\partial^j}{\partial x_{\mu_{1}}\dots \partial x_{\mu_{j}}} \left( \frac{\partial \mathcal{L} }{\partial f_{i,\mu_1\dots\mu_j}}\right)=0 }[/math]

where the summation over the [math]\displaystyle{ \mu_1 \dots \mu_j }[/math] is avoiding counting the same derivative [math]\displaystyle{ f_{i,\mu_1\mu_2} = f_{i,\mu_2\mu_1} }[/math] several times, just as in the previous subsection. This can be expressed more compactly as

[math]\displaystyle{ \sum_{j=0}^n \sum_{\mu_1 \leq \ldots \leq \mu_j} (-1)^j \partial_{ \mu_{1}\ldots \mu_{j} }^j \left( \frac{\partial \mathcal{L} }{\partial f_{i,\mu_1\dots\mu_j}}\right)=0 }[/math]

Generalization to manifolds

Let [math]\displaystyle{ M }[/math] be a smooth manifold, and let [math]\displaystyle{ C^\infty([a,b]) }[/math] denote the space of smooth functions [math]\displaystyle{ f\colon [a,b]\to M }[/math]. Then, for functionals [math]\displaystyle{ S\colon C^\infty ([a,b])\to \mathbb{R} }[/math] of the form

[math]\displaystyle{ S[f]=\int_a^b (L\circ\dot{f})(t)\,\mathrm{d} t }[/math]

where [math]\displaystyle{ L\colon TM\to\mathbb{R} }[/math] is the Lagrangian, the statement [math]\displaystyle{ \mathrm{d} S_f=0 }[/math] is equivalent to the statement that, for all [math]\displaystyle{ t\in [a,b] }[/math], each coordinate frame trivialization [math]\displaystyle{ (x^i,X^i) }[/math] of a neighborhood of [math]\displaystyle{ \dot{f}(t) }[/math] yields the following [math]\displaystyle{ \dim M }[/math] equations:

[math]\displaystyle{ \forall i:\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial X^i}\bigg|_{\dot{f}(t)}=\frac{\partial L}{\partial x^i}\bigg|_{\dot{f}(t)}. }[/math]

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

[math]\displaystyle{ \mathcal{L}_\Delta \theta_L=dL }[/math]

where [math]\displaystyle{ \theta_L }[/math] is the canonical momenta 1-form corresponding to the Lagrangian [math]\displaystyle{ L }[/math] . The vector field generating time translations is denoted by [math]\displaystyle{ \Delta }[/math] and the Lie derivative is denoted by [math]\displaystyle{ \mathcal{L} }[/math]. One can use local charts [math]\displaystyle{ (q^\alpha,\dot{q}^\alpha) }[/math] in which [math]\displaystyle{ \theta_L=\frac{\partial L}{\partial \dot{q}^\alpha}dq^\alpha }[/math] and [math]\displaystyle{ \Delta:=\frac{d}{dt}=\dot{q}^\alpha\frac{\partial}{\partial q^\alpha}+\ddot{q}^\alpha\frac{\partial}{\partial \dot{q}^\alpha} }[/math] 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

Notes

  1. Fox, Charles (1987). An introduction to the calculus of variations. Courier Dover Publications. ISBN 978-0-486-65499-7. 
  2. Goldstein, H.; Poole, C.P.; Safko, J. (2014). Classical Mechanics (3rd ed.). Addison Wesley. 
  3. A short biography of Lagrange
  4. Courant & Hilbert 1953, p. 184
  5. 5.0 5.1 5.2 Courant, R; Hilbert, D (1953). Methods of Mathematical Physics. I (First English ed.). New York: Interscience Publishers, Inc. ISBN 978-0471504474. 
  6. Weinstock, R. (1952). Calculus of Variations with Applications to Physics and Engineering. New York: McGraw-Hill. https://archive.org/details/calculusofvariat00wein. 
  7. José; Saletan (1998). "Classical Dynamics: A contemporary approach" (in en). https://www.cambridge.org/in/academic/subjects/physics/general-and-classical-physics/classical-dynamics-contemporary-approach,%20https://www.cambridge.org/in/academic/subjects/physics/general-and-classical-physics. 

References