Physlib

Physlib.ClassicalMechanics.EulerLagrange

4 declarations

definition

Euler-Lagrange operator LqddtLq˙\frac{\partial L}{\partial q} - \frac{d}{dt} \frac{\partial L}{\partial \dot{q}}

#eulerLagrangeOp

Given a Lagrangian function L:TimeXXRL : \text{Time} \to X \to X \to \mathbb{R} and a trajectory q:TimeXq : \text{Time} \to X, the Euler-Lagrange operator is a function from Time\text{Time} to XX defined at each time tt by: Lq(t,q(t),q˙(t))ddt(Lq˙(t,q(t),q˙(t))) \frac{\partial L}{\partial q}(t, q(t), \dot{q}(t)) - \frac{d}{dt} \left( \frac{\partial L}{\partial \dot{q}}(t, q(t), \dot{q}(t)) \right) where q˙(t)\dot{q}(t) is the time derivative of the trajectory qq at time tt. Here, the partial derivative Lq\frac{\partial L}{\partial q} denotes the gradient of LL with respect to its second argument (position), and Lq˙\frac{\partial L}{\partial \dot{q}} denotes the gradient of LL with respect to its third argument (velocity).

theorem

Definition of the Euler-Lagrange operator: eulerLagrangeOp L q=LqddtLq˙\text{eulerLagrangeOp } L \ q = \frac{\partial L}{\partial q} - \frac{d}{dt} \frac{\partial L}{\partial \dot{q}}

#eulerLagrangeOp_eq

For any Lagrangian function L:TimeXXRL : \text{Time} \to X \to X \to \mathbb{R} and any trajectory q:TimeXq : \text{Time} \to X, the Euler-Lagrange operator (eulerLagrangeOp L q)(\text{eulerLagrangeOp } L \ q) evaluated at time tt is given by: 2L(t,q(t),q˙(t))ddt(3L(t,q(t),q˙(t))) \nabla_2 L(t, q(t), \dot{q}(t)) - \frac{d}{dt} \left( \nabla_3 L(t, q(t), \dot{q}(t)) \right) where q˙(t)=tq(t)\dot{q}(t) = \partial_t q(t) is the time derivative of the trajectory, 2L\nabla_2 L denotes the gradient of LL with respect to its second argument (position), and 3L\nabla_3 L denotes the gradient of LL with respect to its third argument (velocity).

theorem

The Euler-Lagrange operator of a zero Lagrangian is zero

#eulerLagrangeOp_zero

For any trajectory q:TimeXq : \text{Time} \to X, the Euler-Lagrange operator applied to a Lagrangian function LL that is identically zero (i.e., L(t,q,q˙)=0L(t, q, \dot{q}) = 0 for all t,q,q˙t, q, \dot{q}) results in the zero function.

theorem

The variational derivative of the action is the Euler-Lagrange operator: δSδq=eulerLagrangeOp L q\frac{\delta S}{\delta q} = \text{eulerLagrangeOp } L \ q

#euler_lagrange_varGradient

Let XX be a finite-dimensional real inner product space. For a smooth (CC^\infty) Lagrangian function L:TimeXXRL : \text{Time} \to X \to X \to \mathbb{R} and a smooth trajectory q:TimeXq : \text{Time} \to X, the variational derivative (functional derivative) of the action functional S[q]=TimeL(t,q(t),q˙(t))dtS[q] = \int_{\text{Time}} L(t, q(t), \dot{q}(t)) \, dt with respect to the trajectory qq is equal to the Euler-Lagrange operator applied to qq. That is, δSδq(t)=Lq(t,q(t),q˙(t))ddt(Lq˙(t,q(t),q˙(t))) \frac{\delta S}{\delta q}(t) = \frac{\partial L}{\partial q}(t, q(t), \dot{q}(t)) - \frac{d}{dt} \left( \frac{\partial L}{\partial \dot{q}}(t, q(t), \dot{q}(t)) \right) where q˙(t)\dot{q}(t) is the time derivative of the trajectory.