Fiveable

๐ŸงFunctional Analysis Unit 13 Review

QR code for Functional Analysis practice questions

13.3 Calculus of variations and Euler-Lagrange equations

13.3 Calculus of variations and Euler-Lagrange equations

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐ŸงFunctional Analysis
Unit & Topic Study Guides

The calculus of variations is a powerful mathematical tool for finding optimal functions. It's used to solve problems like finding the shortest path between two points or the shape of a hanging chain.

At its core, the calculus of variations uses the Euler-Lagrange equation to find stationary points of functionals. This leads to solutions for various optimization problems in physics, engineering, and economics.

Calculus of Variations

Euler-Lagrange equations derivation

  • Provide necessary conditions for a function to be a stationary point of a functional (mapping from vector space to real numbers)
  • Consider functional J[y]=โˆซx1x2F(x,y(x),yโ€ฒ(x))dxJ[y] = \int_{x_1}^{x_2} F(x, y(x), y'(x)) dx and assume y(x)y(x) is a stationary point
  • Introduce small variation ฯตฮท(x)\epsilon \eta(x) around y(x)y(x) and expand J[y+ฯตฮท]J[y + \epsilon \eta] using Taylor series
  • Set first-order term to zero, integrate by parts, and apply fundamental lemma of calculus of variations
  • Resulting Euler-Lagrange equation: โˆ‚Fโˆ‚yโˆ’ddxโˆ‚Fโˆ‚yโ€ฒ=0\frac{\partial F}{\partial y} - \frac{d}{dx} \frac{\partial F}{\partial y'} = 0
  • Express balance between change in FF with respect to yy and change in FF with respect to yโ€ฒy'
  • Solutions make functional J[y]J[y] stationary (minimum, maximum, or saddle points)

Variational problem solutions

  • Identify functional J[y]=โˆซx1x2F(x,y(x),yโ€ฒ(x))dxJ[y] = \int_{x_1}^{x_2} F(x, y(x), y'(x)) dx to be minimized or maximized
  • Write Euler-Lagrange equation: โˆ‚Fโˆ‚yโˆ’ddxโˆ‚Fโˆ‚yโ€ฒ=0\frac{\partial F}{\partial y} - \frac{d}{dx} \frac{\partial F}{\partial y'} = 0
  • Solve differential equation for y(x)y(x) subject to boundary conditions
  • Verify solution satisfies sufficient conditions for optimality (if applicable)
  • Examples:
    • Geodesics: Find shortest curve connecting two points on a surface
    • Brachistochrone: Find curve of fastest descent between two points under gravity
    • Isoperimetric problems: Maximize or minimize quantity subject to perimeter or area constraint
Euler-Lagrange equations derivation, Euler-Lagrange equation

Advanced Topics in Variational Calculus

Legendre transform in variations

  • Convert between Lagrangian (generalized coordinates and velocities) and Hamiltonian (generalized coordinates and momenta) formulations
  • Legendre transform definition: Given f(x)f(x), transform g(p)=supโกx(pxโˆ’f(x))g(p) = \sup_x (px - f(x))
  • Relates Lagrangian L(q,qห™,t)L(q, \dot{q}, t) and Hamiltonian H(q,p,t)H(q, p, t)
  • Define generalized momentum p=โˆ‚Lโˆ‚qห™p = \frac{\partial L}{\partial \dot{q}}
  • Hamiltonian given by Legendre transform of Lagrangian: H(q,p,t)=pqห™โˆ’L(q,qห™,t)H(q, p, t) = p\dot{q} - L(q, \dot{q}, t)
  • Hamilton's equations of motion: qห™=โˆ‚Hโˆ‚p\dot{q} = \frac{\partial H}{\partial p} and pห™=โˆ’โˆ‚Hโˆ‚q\dot{p} = -\frac{\partial H}{\partial q}
  • Advantages: Symmetric treatment of coordinates and momenta, rich mathematical structure (symplectic geometry, Poisson brackets)

Optimality conditions for variations

  • Ensure solution to Euler-Lagrange equations is minimum or maximum of functional
  • Second variation ฮด2J[y]\delta^2 J[y]: Second-order term in Taylor expansion of J[y+ฯตฮท]J[y + \epsilon \eta]
    • For minimum (maximum), must be non-negative (non-positive) for all admissible variations ฮท(x)\eta(x)
  • Legendre condition: Necessary condition for second variation to be non-negative (non-positive)
    • For minimum: โˆ‚2Fโˆ‚yโ€ฒ2โ‰ฅ0\frac{\partial^2 F}{\partial y'^2} \geq 0
    • For maximum: โˆ‚2Fโˆ‚yโ€ฒ2โ‰ค0\frac{\partial^2 F}{\partial y'^2} \leq 0
  • Jacobi's condition: Strengthened Legendre condition requiring absence of conjugate points along solution curve
    • Conjugate points: Points where solution to Jacobi equation (linearized Euler-Lagrange equation) vanishes
    • Presence indicates solution is not strict minimum or maximum
  • Weierstrass-Erdmann corner conditions: Apply when solution curve has corners (discontinuities in first derivative)
    • At corner: Fโˆ’yโ€ฒโˆ‚Fโˆ‚yโ€ฒF - y' \frac{\partial F}{\partial y'} and โˆ‚Fโˆ‚yโ€ฒ\frac{\partial F}{\partial y'} must be continuous