The Lagrangian of a system is defined as
L ( q 1 , … , q n , q ˙ 1 , … , q ˙ n , t ) = T − V L(q_1, \ldots, q_n, \dot{q}_1, \ldots, \dot{q}_n, t) = T - V L ( q 1 , … , q n , q ˙ 1 , … , q ˙ n , t ) = T − V
Where T T T is the kinetic energy and V V V is the potential energy.
Theorem 3.1 (Euler-Lagrange from D’Alembert). The equations of motion for a holonomic system with ideal constraints are:
d d t ( ∂ L ∂ q ˙ j ) − ∂ L ∂ q j = 0 , j = 1 , … , n \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}_j}\right) - \frac{\partial L}{\partial q_j} = 0, \quad j = 1, \ldots, n d t d ( ∂ q ˙ j ∂ L ) − ∂ q j ∂ L = 0 , j = 1 , … , n
Proof. Start from D’Alembert’s principle with only applied forces (ideal constraints):
∑ i ( F i ( a p p ) − m i r ¨ i ) ⋅ δ r i = 0 \sum_i (\mathbf{F}_i^{(\mathrm{app})} - m_i\ddot{\mathbf{r}}_i) \cdot \delta\mathbf{r}_i = 0 ∑ i ( F i ( app ) − m i r ¨ i ) ⋅ δ r i = 0
Express the virtual displacement in terms of generalised coordinates:
δ r i = ∑ j ∂ r i ∂ q j δ q j \delta\mathbf{r}_i = \sum_j \frac{\partial \mathbf{r}_i}{\partial q_j}\delta q_j δ r i = ∑ j ∂ q j ∂ r i δ q j
First term (applied forces). For a conservative system, F i ( a p p ) = − ∇ i V \mathbf{F}_i^{(\mathrm{app})} = -\nabla_i V F i ( app ) = − ∇ i V So:
∑ i F i ( a p p ) ⋅ δ r i = − ∑ i ∇ i V ⋅ ∑ j ∂ r i ∂ q j δ q j = − ∑ j ∂ V ∂ q j δ q j \sum_i \mathbf{F}_i^{(\mathrm{app})} \cdot \delta\mathbf{r}_i = -\sum_i \nabla_i V \cdot \sum_j \frac{\partial \mathbf{r}_i}{\partial q_j}\delta q_j = -\sum_j \frac{\partial V}{\partial q_j}\delta q_j ∑ i F i ( app ) ⋅ δ r i = − ∑ i ∇ i V ⋅ ∑ j ∂ q j ∂ r i δ q j = − ∑ j ∂ q j ∂ V δ q j
Defining the generalised force Q j = ∑ i F i ⋅ ∂ r i ∂ q j Q_j = \sum_i \mathbf{F}_i \cdot \frac{\partial \mathbf{r}_i}{\partial q_j} Q j = ∑ i F i ⋅ ∂ q j ∂ r i For conservative forces Q j = − ∂ V / ∂ q j Q_j = -\partial V/\partial q_j Q j = − ∂ V / ∂ q j .
Second term (inertia). Using ∂ r ˙ i ∂ q ˙ j = ∂ r i ∂ q j \frac{\partial \dot{\mathbf{r}}_i}{\partial \dot{q}_j} = \frac{\partial \mathbf{r}_i}{\partial q_j} ∂ q ˙ j ∂ r ˙ i = ∂ q j ∂ r i (which holds when r i = r i ( q , t ) \mathbf{r}_i = \mathbf{r}_i(q, t) r i = r i ( q , t ) ):
∑ i m i r ¨ i ⋅ δ r i = ∑ i m i r ¨ i ⋅ ∑ j ∂ r i ∂ q j δ q j = ∑ j [ ∑ i m i r ¨ i ⋅ ∂ r i ∂ q j ] δ q j \sum_i m_i\ddot{\mathbf{r}}_i \cdot \delta\mathbf{r}_i = \sum_i m_i\ddot{\mathbf{r}}_i \cdot \sum_j \frac{\partial \mathbf{r}_i}{\partial q_j}\delta q_j = \sum_j \left[\sum_i m_i\ddot{\mathbf{r}}_i \cdot \frac{\partial \mathbf{r}_i}{\partial q_j}\right]\delta q_j ∑ i m i r ¨ i ⋅ δ r i = ∑ i m i r ¨ i ⋅ ∑ j ∂ q j ∂ r i δ q j = ∑ j [ ∑ i m i r ¨ i ⋅ ∂ q j ∂ r i ] δ q j
Now:
∑ i m i r ¨ i ⋅ ∂ r i ∂ q j = d d t ( ∑ i m i r ˙ i ⋅ ∂ r i ∂ q j ) − ∑ i m i r ˙ i ⋅ d d t ∂ r i ∂ q j \sum_i m_i\ddot{\mathbf{r}}_i \cdot \frac{\partial \mathbf{r}_i}{\partial q_j} = \frac{d}{dt}\left(\sum_i m_i\dot{\mathbf{r}}_i \cdot \frac{\partial \mathbf{r}_i}{\partial q_j}\right) - \sum_i m_i\dot{\mathbf{r}}_i \cdot \frac{d}{dt}\frac{\partial \mathbf{r}_i}{\partial q_j} ∑ i m i r ¨ i ⋅ ∂ q j ∂ r i = d t d ( ∑ i m i r ˙ i ⋅ ∂ q j ∂ r i ) − ∑ i m i r ˙ i ⋅ d t d ∂ q j ∂ r i
Using d d t ∂ r i ∂ q j = ∂ r ˙ i ∂ q j \frac{d}{dt}\frac{\partial \mathbf{r}_i}{\partial q_j} = \frac{\partial \dot{\mathbf{r}}_i}{\partial q_j} d t d ∂ q j ∂ r i = ∂ q j ∂ r ˙ i and ∂ r ˙ i ∂ q ˙ j = ∂ r i ∂ q j \frac{\partial \dot{\mathbf{r}}_i}{\partial \dot{q}_j} = \frac{\partial \mathbf{r}_i}{\partial q_j} ∂ q ˙ j ∂ r ˙ i = ∂ q j ∂ r i :
∑ i m i r ¨ i ⋅ ∂ r i ∂ q j = d d t ( ∑ i m i r ˙ i ⋅ ∂ r ˙ i ∂ q ˙ j ) − ∑ i m i r ˙ i ⋅ ∂ r ˙ i ∂ q j \sum_i m_i\ddot{\mathbf{r}}_i \cdot \frac{\partial \mathbf{r}_i}{\partial q_j} = \frac{d}{dt}\left(\sum_i m_i\dot{\mathbf{r}}_i \cdot \frac{\partial \dot{\mathbf{r}}_i}{\partial \dot{q}_j}\right) - \sum_i m_i\dot{\mathbf{r}}_i \cdot \frac{\partial \dot{\mathbf{r}}_i}{\partial q_j} ∑ i m i r ¨ i ⋅ ∂ q j ∂ r i = d t d ( ∑ i m i r ˙ i ⋅ ∂ q ˙ j ∂ r ˙ i ) − ∑ i m i r ˙ i ⋅ ∂ q j ∂ r ˙ i
= d d t ∂ T ∂ q ˙ j − ∂ T ∂ q j = \frac{d}{dt}\frac{\partial T}{\partial \dot{q}_j} - \frac{\partial T}{\partial q_j} = d t d ∂ q ˙ j ∂ T − ∂ q j ∂ T
Combining both terms in D’Alembert’s principle:
∑ j [ Q j − d d t ∂ T ∂ q ˙ j + ∂ T ∂ q j ] δ q j = 0 \sum_j \left[Q_j - \frac{d}{dt}\frac{\partial T}{\partial \dot{q}_j} + \frac{\partial T}{\partial q_j}\right]\delta q_j = 0 ∑ j [ Q j − d t d ∂ q ˙ j ∂ T + ∂ q j ∂ T ] δ q j = 0
For conservative forces, Q j = − ∂ V / ∂ q j Q_j = -\partial V/\partial q_j Q j = − ∂ V / ∂ q j . Since L = T − V L = T - V L = T − V and V V V is independent of q ˙ j \dot{q}_j q ˙ j :
∑ j [ ∂ L ∂ q j − d d t ∂ L ∂ q ˙ j ] δ q j = 0 \sum_j \left[\frac{\partial L}{\partial q_j} - \frac{d}{dt}\frac{\partial L}{\partial \dot{q}_j}\right]\delta q_j = 0 ∑ j [ ∂ q j ∂ L − d t d ∂ q ˙ j ∂ L ] δ q j = 0
Since the δ q j \delta q_j δ q j are independent (and we have n n n degrees of freedom):
d d t ( ∂ L ∂ q ˙ j ) − ∂ L ∂ q j = 0 \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}_j}\right) - \frac{\partial L}{\partial q_j} = 0 d t d ( ∂ q ˙ j ∂ L ) − ∂ q j ∂ L = 0
■ \blacksquare ■
Theorem 3.2 (Hamilton’s Principle). The actual path of a system between times t 1 t_1 t 1 and t 2 t_2 t 2 is The one that makes the action
S = ∫ t 1 t 2 L ( q , q ˙ , t ) d t S = \int_{t_1}^{t_2} L(q, \dot{q}, t)\, dt S = ∫ t 1 t 2 L ( q , q ˙ , t ) d t
Stationary.
Theorem 3.3 (Euler-Lagrange Equation from Hamilton’s Principle). The path q ( t ) q(t) q ( t ) that makes S S S stationary satisfies
d d t ( ∂ L ∂ q ˙ j ) − ∂ L ∂ q j = 0 , j = 1 , … , n \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}_j}\right) - \frac{\partial L}{\partial q_j} = 0, \quad j = 1, \ldots, n d t d ( ∂ q ˙ j ∂ L ) − ∂ q j ∂ L = 0 , j = 1 , … , n
Proof (for one degree of freedom). Consider a variation q ( t ) + ϵ η ( t ) q(t) + \epsilon \eta(t) q ( t ) + ϵη ( t ) where η ( t 1 ) = η ( t 2 ) = 0 \eta(t_1) = \eta(t_2) = 0 η ( t 1 ) = η ( t 2 ) = 0 . The variation of the action:
δ S = ∫ t 1 t 2 ( ∂ L ∂ q η + ∂ L ∂ q ˙ η ˙ ) d t \delta S = \int_{t_1}^{t_2} \left(\frac{\partial L}{\partial q}\eta + \frac{\partial L}{\partial \dot{q}}\dot{\eta}\right) dt δ S = ∫ t 1 t 2 ( ∂ q ∂ L η + ∂ q ˙ ∂ L η ˙ ) d t
Integrating the second term by parts:
δ S = ∫ t 1 t 2 ( ∂ L ∂ q − d d t ∂ L ∂ q ˙ ) η d t + [ ∂ L ∂ q ˙ η ] t 1 t 2 \delta S = \int_{t_1}^{t_2} \left(\frac{\partial L}{\partial q} - \frac{d}{dt}\frac{\partial L}{\partial \dot{q}}\right) \eta\, dt + \left[\frac{\partial L}{\partial \dot{q}}\eta\right]_{t_1}^{t_2} δ S = ∫ t 1 t 2 ( ∂ q ∂ L − d t d ∂ q ˙ ∂ L ) η d t + [ ∂ q ˙ ∂ L η ] t 1 t 2
The boundary term vanishes since η ( t 1 ) = η ( t 2 ) = 0 \eta(t_1) = \eta(t_2) = 0 η ( t 1 ) = η ( t 2 ) = 0 . For δ S = 0 \delta S = 0 δ S = 0 for all η \eta η By The fundamental lemma of the calculus of variations:
∂ L ∂ q − d d t ∂ L ∂ q ˙ = 0 \frac{\partial L}{\partial q} - \frac{d}{dt}\frac{\partial L}{\partial \dot{q}} = 0 ∂ q ∂ L − d t d ∂ q ˙ ∂ L = 0
■ \blacksquare ■
Intuition. Hamilton’s principle says nature is “lazy”: out of all possible paths connecting two configurations, the actual path taken is the one that makes the action stationary. This is a profound generalisation of Fermat’s principle of least time in optics.
Problem. Derive the equation of motion for a simple pendulum of length l l l and mass m m m .
Solution. Take θ \theta θ as the generalised coordinate. The position of the bob is ( l sin θ , − l cos θ ) (l\sin\theta, -l\cos\theta) ( l sin θ , − l cos θ ) .
T = 1 2 m ( x ˙ 2 + y ˙ 2 ) = 1 2 m l 2 θ ˙ 2 T = \frac{1}{2}m(\dot{x}^2 + \dot{y}^2) = \frac{1}{2}ml^2\dot{\theta}^2 T = 2 1 m ( x ˙ 2 + y ˙ 2 ) = 2 1 m l 2 θ ˙ 2
V = − m g l cos θ V = -mgl\cos\theta V = − m g l cos θ
L = T − V = 1 2 m l 2 θ ˙ 2 + m g l cos θ L = T - V = \frac{1}{2}ml^2\dot{\theta}^2 + mgl\cos\theta L = T − V = 2 1 m l 2 θ ˙ 2 + m g l cos θ
Euler-Lagrange equation:
∂ L ∂ θ = − m g l sin θ , ∂ L ∂ θ ˙ = m l 2 θ ˙ \frac{\partial L}{\partial \theta} = -mgl\sin\theta, \quad \frac{\partial L}{\partial \dot{\theta}} = ml^2\dot{\theta} ∂ θ ∂ L = − m g l sin θ , ∂ θ ˙ ∂ L = m l 2 θ ˙
d d t ( m l 2 θ ˙ ) + m g l sin θ = 0 ⟹ θ ¨ + g l sin θ = 0 \frac{d}{dt}(ml^2\dot{\theta}) + mgl\sin\theta = 0 \implies \ddot{\theta} + \frac{g}{l}\sin\theta = 0 d t d ( m l 2 θ ˙ ) + m g l sin θ = 0 ⟹ θ ¨ + l g sin θ = 0
For small angles (sin θ ≈ θ \sin\theta \approx \theta sin θ ≈ θ ): θ ¨ + g l θ = 0 \ddot{\theta} + \frac{g}{l}\theta = 0 θ ¨ + l g θ = 0 Giving simple Harmonic motion with ω = g / l \omega = \sqrt{g/l} ω = g / l . ■ \blacksquare ■
Problem. Derive the equations of motion for a double pendulum: mass m 1 m_1 m 1 on rod l 1 l_1 l 1 Mass m 2 m_2 m 2 on rod l 2 l_2 l 2 attached to m 1 m_1 m 1 .
Solution. Generalised coordinates: angles θ 1 , θ 2 \theta_1, \theta_2 θ 1 , θ 2 from the vertical. Position of m 1 m_1 m 1 :
x 1 = l 1 sin θ 1 , y 1 = − l 1 cos θ 1 x_1 = l_1\sin\theta_1, \quad y_1 = -l_1\cos\theta_1 x 1 = l 1 sin θ 1 , y 1 = − l 1 cos θ 1
Position of m 2 m_2 m 2 :
x 2 = l 1 sin θ 1 + l 2 sin θ 2 , y 2 = − l 1 cos θ 1 − l 2 cos θ 2 x_2 = l_1\sin\theta_1 + l_2\sin\theta_2, \quad y_2 = -l_1\cos\theta_1 - l_2\cos\theta_2 x 2 = l 1 sin θ 1 + l 2 sin θ 2 , y 2 = − l 1 cos θ 1 − l 2 cos θ 2
Velocities:
x ˙ 1 = l 1 θ ˙ 1 cos θ 1 , y ˙ 1 = l 1 θ ˙ 1 sin θ 1 \dot{x}_1 = l_1\dot{\theta}_1\cos\theta_1, \quad \dot{y}_1 = l_1\dot{\theta}_1\sin\theta_1 x ˙ 1 = l 1 θ ˙ 1 cos θ 1 , y ˙ 1 = l 1 θ ˙ 1 sin θ 1
x ˙ 2 = l 1 θ ˙ 1 cos θ 1 + l 2 θ ˙ 2 cos θ 2 , y ˙ 2 = l 1 θ ˙ 1 sin θ 1 + l 2 θ ˙ 2 sin θ 2 \dot{x}_2 = l_1\dot{\theta}_1\cos\theta_1 + l_2\dot{\theta}_2\cos\theta_2, \quad \dot{y}_2 = l_1\dot{\theta}_1\sin\theta_1 + l_2\dot{\theta}_2\sin\theta_2 x ˙ 2 = l 1 θ ˙ 1 cos θ 1 + l 2 θ ˙ 2 cos θ 2 , y ˙ 2 = l 1 θ ˙ 1 sin θ 1 + l 2 θ ˙ 2 sin θ 2
Kinetic energy:
T = 1 2 m 1 ( x ˙ 1 2 + y ˙ 1 2 ) + 1 2 m 2 ( x ˙ 2 2 + y ˙ 2 2 ) T = \frac{1}{2}m_1(\dot{x}_1^2 + \dot{y}_1^2) + \frac{1}{2}m_2(\dot{x}_2^2 + \dot{y}_2^2) T = 2 1 m 1 ( x ˙ 1 2 + y ˙ 1 2 ) + 2 1 m 2 ( x ˙ 2 2 + y ˙ 2 2 )
= 1 2 ( m 1 + m 2 ) l 1 2 θ ˙ 1 2 + 1 2 m 2 l 2 2 θ ˙ 2 2 + m 2 l 1 l 2 θ ˙ 1 θ ˙ 2 cos ( θ 1 − θ 2 ) = \frac{1}{2}(m_1 + m_2)l_1^2\dot{\theta}_1^2 + \frac{1}{2}m_2 l_2^2\dot{\theta}_2^2 + m_2 l_1 l_2\dot{\theta}_1\dot{\theta}_2\cos(\theta_1 - \theta_2) = 2 1 ( m 1 + m 2 ) l 1 2 θ ˙ 1 2 + 2 1 m 2 l 2 2 θ ˙ 2 2 + m 2 l 1 l 2 θ ˙ 1 θ ˙ 2 cos ( θ 1 − θ 2 )
Potential energy:
V = − m 1 g l 1 cos θ 1 − m 2 g ( l 1 cos θ 1 + l 2 cos θ 2 ) V = -m_1 g l_1\cos\theta_1 - m_2 g(l_1\cos\theta_1 + l_2\cos\theta_2) V = − m 1 g l 1 cos θ 1 − m 2 g ( l 1 cos θ 1 + l 2 cos θ 2 )
The Euler-Lagrange equations for θ 1 \theta_1 θ 1 and θ 2 \theta_2 θ 2 yield two coupled second-order ODEs. For equal masses and lengths (m 1 = m 2 = m m_1 = m_2 = m m 1 = m 2 = m , l 1 = l 2 = l l_1 = l_2 = l l 1 = l 2 = l ):
( m + m ) l 2 θ ¨ 1 + m l 2 θ ¨ 2 cos ( θ 1 − θ 2 ) + m l 2 θ ˙ 2 2 sin ( θ 1 − θ 2 ) + 2 m g l sin θ 1 = 0 (m + m)l^2\ddot{\theta}_1 + ml^2\ddot{\theta}_2\cos(\theta_1 - \theta_2) + ml^2\dot{\theta}_2^2\sin(\theta_1 - \theta_2) + 2mgl\sin\theta_1 = 0 ( m + m ) l 2 θ ¨ 1 + m l 2 θ ¨ 2 cos ( θ 1 − θ 2 ) + m l 2 θ ˙ 2 2 sin ( θ 1 − θ 2 ) + 2 m g l sin θ 1 = 0
m l 2 θ ¨ 2 + m l 2 θ ¨ 1 cos ( θ 1 − θ 2 ) − m l 2 θ ˙ 1 2 sin ( θ 1 − θ 2 ) + m g l sin θ 2 = 0 ml^2\ddot{\theta}_2 + ml^2\ddot{\theta}_1\cos(\theta_1 - \theta_2) - ml^2\dot{\theta}_1^2\sin(\theta_1 - \theta_2) + mgl\sin\theta_2 = 0 m l 2 θ ¨ 2 + m l 2 θ ¨ 1 cos ( θ 1 − θ 2 ) − m l 2 θ ˙ 1 2 sin ( θ 1 − θ 2 ) + m g l sin θ 2 = 0
■ \blacksquare ■
Problem. Two masses m 1 m_1 m 1 and m 2 m_2 m 2 (m 1 > m 2 m_1 > m_2 m 1 > m 2 ) are connected by a massless inextensible string over a frictionless pulley. Find the acceleration using the Lagrangian.
Solution Choose the vertical displacement x x x of m 1 m_1 m 1 (downward positive) as the generalised coordinate. Since the string is inextensible, m 2 m_2 m 2 moves up by x x x .
T = 1 2 m 1 x ˙ 2 + 1 2 m 2 x ˙ 2 = 1 2 ( m 1 + m 2 ) x ˙ 2 T = \frac{1}{2}m_1\dot{x}^2 + \frac{1}{2}m_2\dot{x}^2 = \frac{1}{2}(m_1 + m_2)\dot{x}^2 T = 2 1 m 1 x ˙ 2 + 2 1 m 2 x ˙ 2 = 2 1 ( m 1 + m 2 ) x ˙ 2
V = − m 1 g x + m 2 g x = − ( m 1 − m 2 ) g x V = -m_1 g x + m_2 g x = -(m_1 - m_2)gx V = − m 1 g x + m 2 g x = − ( m 1 − m 2 ) g x
L = 1 2 ( m 1 + m 2 ) x ˙ 2 + ( m 1 − m 2 ) g x L = \frac{1}{2}(m_1 + m_2)\dot{x}^2 + (m_1 - m_2)gx L = 2 1 ( m 1 + m 2 ) x ˙ 2 + ( m 1 − m 2 ) g x
Euler-Lagrange equation:
∂ L ∂ x = ( m 1 − m 2 ) g , ∂ L ∂ x ˙ = ( m 1 + m 2 ) x ˙ \frac{\partial L}{\partial x} = (m_1 - m_2)g, \quad \frac{\partial L}{\partial \dot{x}} = (m_1 + m_2)\dot{x} ∂ x ∂ L = ( m 1 − m 2 ) g , ∂ x ˙ ∂ L = ( m 1 + m 2 ) x ˙
( m 1 + m 2 ) x ¨ = ( m 1 − m 2 ) g (m_1 + m_2)\ddot{x} = (m_1 - m_2)g ( m 1 + m 2 ) x ¨ = ( m 1 − m 2 ) g
a = x ¨ = m 1 − m 2 m 1 + m 2 g a = \ddot{x} = \frac{m_1 - m_2}{m_1 + m_2}g a = x ¨ = m 1 + m 2 m 1 − m 2 g
■ \blacksquare ■
Problem. A bead of mass m m m slides without friction on a circular hoop of radius R R R . The hoop rotates about a vertical diameter with constant angular velocity ω \omega ω . Find the equilibrium positions and their stability.
Solution Use the angle θ \theta θ from the bottom of the hoop as the generalised coordinate. The position of the bead in cylindrical coordinates ( ρ , ϕ , z ) (\rho, \phi, z) ( ρ , ϕ , z ) :
ρ = R sin θ , ϕ = ω t , z = − R cos θ \rho = R\sin\theta, \quad \phi = \omega t, \quad z = -R\cos\theta ρ = R sin θ , ϕ = ω t , z = − R cos θ
Velocity:
ρ ˙ = R θ ˙ cos θ , ϕ ˙ = ω , z ˙ = R θ ˙ sin θ \dot{\rho} = R\dot{\theta}\cos\theta, \quad \dot{\phi} = \omega, \quad \dot{z} = R\dot{\theta}\sin\theta ρ ˙ = R θ ˙ cos θ , ϕ ˙ = ω , z ˙ = R θ ˙ sin θ
Kinetic energy:
T = 1 2 m ( ρ ˙ 2 + ρ 2 ϕ ˙ 2 + z ˙ 2 ) = 1 2 m R 2 θ ˙ 2 + 1 2 m R 2 ω 2 sin 2 θ T = \frac{1}{2}m(\dot{\rho}^2 + \rho^2\dot{\phi}^2 + \dot{z}^2) = \frac{1}{2}m R^2\dot{\theta}^2 + \frac{1}{2}mR^2\omega^2\sin^2\theta T = 2 1 m ( ρ ˙ 2 + ρ 2 ϕ ˙ 2 + z ˙ 2 ) = 2 1 m R 2 θ ˙ 2 + 2 1 m R 2 ω 2 sin 2 θ
Potential energy:
V = − m g R cos θ V = -mgR\cos\theta V = − m g R cos θ
Lagrangian:
L = 1 2 m R 2 θ ˙ 2 + 1 2 m R 2 ω 2 sin 2 θ + m g R cos θ L = \frac{1}{2}mR^2\dot{\theta}^2 + \frac{1}{2}mR^2\omega^2\sin^2\theta + mgR\cos\theta L = 2 1 m R 2 θ ˙ 2 + 2 1 m R 2 ω 2 sin 2 θ + m g R cos θ
Euler-Lagrange equation:
m R 2 θ ¨ = m R 2 ω 2 sin θ cos θ − m g R sin θ mR^2\ddot{\theta} = mR^2\omega^2\sin\theta\cos\theta - mgR\sin\theta m R 2 θ ¨ = m R 2 ω 2 sin θ cos θ − m g R sin θ
θ ¨ = sin θ ( ω 2 cos θ − g R ) \ddot{\theta} = \sin\theta\left(\omega^2\cos\theta - \frac{g}{R}\right) θ ¨ = sin θ ( ω 2 cos θ − R g )
Equilibrium (θ ¨ = 0 \ddot{\theta} = 0 θ ¨ = 0 , θ ˙ = 0 \dot{\theta} = 0 θ ˙ = 0 ): sin θ = 0 \sin\theta = 0 sin θ = 0 giving θ = 0 \theta = 0 θ = 0 (bottom), or cos θ = g / ( R ω 2 ) \cos\theta = g/(R\omega^2) cos θ = g / ( R ω 2 ) which exists only when ω 2 > g / R \omega^2 \gt g/R ω 2 > g / R .
For ω 2 < g / R \omega^2 \lt g/R ω 2 < g / R : only θ = 0 \theta = 0 θ = 0 is stable. For ω 2 > g / R \omega^2 \gt g/R ω 2 > g / R : the bottom becomes unstable and the new equilibria at cos θ = g / ( R ω 2 ) \cos\theta = g/(R\omega^2) cos θ = g / ( R ω 2 ) are stable.
■ \blacksquare ■
Definition. A coordinate q j q_j q j is cyclic (or ignorable ) if it does not appear explicitly in the Lagrangian: ∂ L / ∂ q j = 0 \partial L / \partial q_j = 0 ∂ L / ∂ q j = 0 .
Theorem 3.4. If q j q_j q j is cyclic, the conjugate generalised momentum p j = ∂ L / ∂ q ˙ j p_j = \partial L / \partial \dot{q}_j p j = ∂ L / ∂ q ˙ j is a constant of motion.
Proof. The Euler-Lagrange equation for a cyclic coordinate is:
d d t ( ∂ L ∂ q ˙ j ) = 0 ⟹ p j = c o n s t \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}_j}\right) = 0 \implies p_j = \mathrm{const} d t d ( ∂ q ˙ j ∂ L ) = 0 ⟹ p j = const
■ \blacksquare ■
Intuition. Cyclic coordinates correspond to symmetries of the system. Each symmetry gives a conserved quantity --- this is the essence of Noether’s theorem (Section 5).
When holonomic constraints cannot be eliminated by coordinate choice, introduce Lagrange multipliers λ a \lambda_a λ a :
d d t ∂ L ∂ q ˙ j − ∂ L ∂ q j = ∑ a λ a ∂ f a ∂ q j \frac{d}{dt}\frac{\partial L}{\partial \dot{q}_j} - \frac{\partial L}{\partial q_j} = \sum_a \lambda_a \frac{\partial f_a}{\partial q_j} d t d ∂ q ˙ j ∂ L − ∂ q j ∂ L = ∑ a λ a ∂ q j ∂ f a
The multipliers λ a \lambda_a λ a are proportional to the constraint forces.
Definition. The energy function (also called the Jacobi integral) is:
h = ∑ j q ˙ j ∂ L ∂ q ˙ j − L h = \sum_j \dot{q}_j \frac{\partial L}{\partial \dot{q}_j} - L h = ∑ j q ˙ j ∂ q ˙ j ∂ L − L
Theorem 3.5. If L L L does not depend explicitly on time, then h h h is conserved. Furthermore, if the transformation r i = r i ( q ) \mathbf{r}_i = \mathbf{r}_i(q) r i = r i ( q ) does not depend explicitly on time and V V V is velocity-independent, then h = T + V h = T + V h = T + V (the total energy).
Proof. Taking the total time derivative:
d h d t = ∑ j q ¨ j ∂ L ∂ q ˙ j + ∑ j q ˙ j d d t ∂ L ∂ q ˙ j − ∑ j ∂ L ∂ q j q ˙ j − ∑ j ∂ L ∂ q ˙ j q ¨ j − ∂ L ∂ t \frac{dh}{dt} = \sum_j \ddot{q}_j \frac{\partial L}{\partial \dot{q}_j} + \sum_j \dot{q}_j \frac{d}{dt}\frac{\partial L}{\partial \dot{q}_j} - \sum_j \frac{\partial L}{\partial q_j}\dot{q}_j - \sum_j \frac{\partial L}{\partial \dot{q}_j}\ddot{q}_j - \frac{\partial L}{\partial t} d t d h = ∑ j q ¨ j ∂ q ˙ j ∂ L + ∑ j q ˙ j d t d ∂ q ˙ j ∂ L − ∑ j ∂ q j ∂ L q ˙ j − ∑ j ∂ q ˙ j ∂ L q ¨ j − ∂ t ∂ L
The q ¨ j \ddot{q}_j q ¨ j terms cancel. Using the Euler-Lagrange equation d d t ∂ L ∂ q ˙ j = ∂ L ∂ q j \frac{d}{dt}\frac{\partial L}{\partial \dot{q}_j} = \frac{\partial L}{\partial q_j} d t d ∂ q ˙ j ∂ L = ∂ q j ∂ L :
d h d t = − ∂ L ∂ t \frac{dh}{dt} = -\frac{\partial L}{\partial t} d t d h = − ∂ t ∂ L
If ∂ L / ∂ t = 0 \partial L/\partial t = 0 ∂ L / ∂ t = 0 Then d h / d t = 0 dh/dt = 0 d h / d t = 0 .
For the second part, when r i = r i ( q ) \mathbf{r}_i = \mathbf{r}_i(q) r i = r i ( q ) (scleronomic) and V = V ( q ) V = V(q) V = V ( q ) :
T = 1 2 ∑ i , j , k m i ∂ r i ∂ q j ∂ r i ∂ q k q ˙ j q ˙ k T = \frac{1}{2}\sum_{i,j,k} m_i \frac{\partial \mathbf{r}_i}{\partial q_j}\frac{\partial \mathbf{r}_i}{\partial q_k}\dot{q}_j\dot{q}_k T = 2 1 ∑ i , j , k m i ∂ q j ∂ r i ∂ q k ∂ r i q ˙ j q ˙ k
Is a homogeneous quadratic form in q ˙ j \dot{q}_j q ˙ j . By Euler’s theorem for homogeneous functions:
∑ j q ˙ j ∂ T ∂ q ˙ j = 2 T \sum_j \dot{q}_j \frac{\partial T}{\partial \dot{q}_j} = 2T ∑ j q ˙ j ∂ q ˙ j ∂ T = 2 T
Since ∂ L / ∂ q ˙ j = ∂ T / ∂ q ˙ j \partial L/\partial \dot{q}_j = \partial T/\partial \dot{q}_j ∂ L / ∂ q ˙ j = ∂ T / ∂ q ˙ j (as V V V is velocity-independent):
h = ∑ j q ˙ j ∂ T ∂ q ˙ j − T + V = 2 T − T + V = T + V h = \sum_j \dot{q}_j \frac{\partial T}{\partial \dot{q}_j} - T + V = 2T - T + V = T + V h = ∑ j q ˙ j ∂ q ˙ j ∂ T − T + V = 2 T − T + V = T + V
■ \blacksquare ■
:::caution Common Pitfall The energy function h h h equals T + V T + V T + V only for natural systems (scleronomic constraints and Velocity-independent potentials). For a bead on a rotating hoop (rheonomic constraint), h h h is Conserved but h ≠ T + V h \neq T + V h = T + V . Always check whether the system is natural before identifying h h h With the total energy.
:::