Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Euler-Lagrange Equation

Differential Equation from Physics

A lot of physical science and engineering is about finding a reduction from a physical problem to differential equations. The newtownian way is to zoom into some local point of the system and derive a set of constraint that holds in the neighborhood. In the case of the vibration of a string, for example, we would find some local segment of string and analyze the tension that acts on it:

T(sin⁡(θ1)−sin⁡(θ2))=m∂2u∂t2T(\sin(\theta_1)-\sin(\theta_2)) = m\frac{\partial^2 u}{\partial t^2}

where uu is the vertical displacement from equilibrium. We then take the calculus limit and find out that locally the accelearation of the vertical displacement should be proportional to the curvature. Hence the one-dimensional wave equation:

∂2u∂t2=a2∂2u∂x2\frac{\partial^2 u}{\partial t^2}=a^2 \frac{\partial^2 u}{\partial x^2}

[1]

The Lagrangian way is the opposite, we recognize some global objective the system need to be optimized toward, i.e., minimizing the lagragian L=T−VL=T-V where TT is kinetic energy and VV is potential energy. Then, by introduce some perturbation, we extract a constraint which also manifest itself as a differential equation. The following sections descirbes this process in detail.

Functional : A global optimization objective

A functional in calculus of variation is a map from a function to a real number, i.e., J:C∞→RJ:C^{\infty} \to \mathbb{R}. In particular, it mostly comes in some sort of a integral. The simplest form being analgous to that of the lagrangian:

J[y]=∫x1x2f(x,y,y′)dxJ[y] = \int_{x_1}^{x_2} f(x,y,y')dx

The above example suffice to establish the explict connection of (5)to Lagrangian:

It sometimes also appears to be more complex, for instance,

  1. Depedence on mutliple independent variable

    J[y]=∫Ωf(x1,x2,...,xn,y,yx1,yx2,...,yxn)dxJ[y] = \int_{\Omega} f(x_1,x_2,...,x_n, y, y_{x_1},y_{x_2},...,y_{x_n}) d{\mathbf{x}}

    where Ω⊂Rn\Omega \subset \mathbb{R}^n

  2. Dependence on higher derivatives

    J[y]=∫x1x2f(x,y,y(1),y(2),...,y(m))dx J[y] = \int_{x_1}^{x_2} f(x,y,y^{(1)},y^{(2)},...,y^{(m)})dx
  3. Multiple Dependent Variable The three ways of extending the (5) can of course, be mixed.

We now scrutinize how exactly we optimize (10).

Euler-Lagrange Equation

First Integral

We are confronted by the higher-order ordinary differential equation:

∂f∂y−ddx(∂f∂y)=0\frac{\partial f}{\partial y} -\frac{d}{dx}\left( \frac{\partial f}{\partial y}\right)=0

The compute the first integral of this equation is to rewrite the above to obtain an equation of the form:

ddtI(x,y,y′,...)=0\frac{d}{dt}I(x,y,y',...)=0

The strategy is to compute the difference between (17) and the exact differential:

dfdx=∂f∂x+∑j≥0∂f∂y(j)dy(j)dx=∂f∂x+∂f∂ydydx+∂f∂y(1)dy(1)dx+⋯\frac{df}{dx}=\frac{\partial f}{\partial x} + \sum_{j\geq 0}\frac{\partial f}{\partial y^{(j)}}\frac{dy^{(j)}}{dx}=\frac{\partial f}{\partial x} +\frac{\partial f}{\partial y}\frac{dy}{dx}+\frac{\partial f}{\partial y^{(1)}}\frac{dy^{(1)}}{dx}+\cdots

If we multiply (17) by y′y' and subtract the two equations we get:

dfdx−y′{∂f∂y−ddx(∂f∂y′)}=∂f∂x+y′′∂f∂y′+y′ddx(∂f∂y′)−∑j≥2∂f∂y(j)dy(j)dx\frac{df}{dx}-y'\left\{\frac{\partial f}{\partial y} - \frac{d}{dx}\left( \frac{\partial f}{\partial y'}\right)\right\} =\frac{\partial f}{\partial x} + \textcolor{cyan}{y''\frac{\partial f}{\partial y'}+ y'\frac{d}{dx}\left( \frac{\partial f}{\partial y'}\right)}-\sum_{j\geq 2}\frac{\partial f}{\partial y^{(j)}}\frac{dy^{(j)}}{dx}

Now:

dfdx−y′{∂f∂y−ddx(∂f∂y′)}⏟0=ddx(y′∂f∂y′)\begin{align*} \frac{df}{dx}-\underbrace{y'\left\{\frac{\partial f}{\partial y} - \frac{d}{dx}\left( \frac{\partial f}{\partial y'}\right)\right\}}_{0}&= \frac{d}{dx}\left(y'\frac{\partial f}{\partial y'}\right) \end{align*}

Hence:

ddx(f−y′∂f∂y′)=0\frac{d}{dx}\left(f-y'\frac{\partial f}{\partial y'}\right)=0

We have sucesfully obtained the first inetgral:

I(y,y)=f−y′∂f∂y′I(y,y)=f-y'\frac{\partial f}{\partial y'}

Exercises

Euler-Lagrange Equation for Multiple Independent Variables

Prove that:


Fermat’s Principle [3]

We also define:

Drums and Membranes [3]

The shape of a distorted drumskin is described by the function h(x,y)h(x, y), which gives the height to which the point (x,y)(x, y) of the flat undistorted drumskin is displaced.

Footnotes
  1. Here aa is a physical parameter intrinsic to the string, i.e., Tρ\sqrt{T}{\rho} where TT is the tension at equilibrium adn ρ\rho is the density.

  2. It is tempting for some of us who are not trained as a physics student to write the potential energy as 12(∫ab1+ux2dx)2\frac12 \left(\int_a^b \sqrt{1+u_x^2}dx\right)^2. The rationale is as follows: if we pause at a moment and straigten the vibrating string as a line. Then we observe how much elongation had happened and use hooke’s law on the entire string. This is physically wrong since the elongation happens inhomogenously hence we have to apply hooke’s law locally and integrate. Also mathematically,

    (∫f)2=∫f2\left(\int f\right)^2 =\int f^2

    iff ff is some constant function. The general relatinoship can be obtained from Cauchy-Shwarz inequality by taking f=1+ux2f=\sqrt{1+u_x^2} and g=1g=1

    (∫0L1+ux2)2≤∫0L1+ux2dx\left(\int_0^L \sqrt{1+u_x^2}\right)^2 \leq \int_0^L 1+u_x^2 dx
  3. From Dr. P.Draper’s homework problems for PHYS 508(Mathematical Physics I) at UIUC.

  4. The key to solve this problem is actually to realize that surface tension has the dimension [F]/[L]=[E]/[L]2[F]/[L]=[E]/[L]^2, in otherword, surface tension is precisely the perunit potential energy due to “stretching”/“distorsion” by construction.