Principle of Stationary Action
Consider a physical system described by the generalised coordinates
q
1
…
q
N
{\displaystyle q_{1}\dots q_{N}\,}
and matching velocities
q
˙
1
…
q
˙
N
{\displaystyle {\dot {q}}_{1}\dots {\dot {q}}_{N}}
The Lagragian is defined to be:
π
{\displaystyle {\sqrt {\pi }}}
L
(
q
i
,
q
˙
i
)
=
T
(
q
i
,
q
˙
i
)
−
U
(
q
i
,
q
˙
i
)
{\displaystyle {\mathcal {L}}(q_{i},{\dot {q}}_{i})=T(q_{i},{\dot {q}}_{i})-U(q_{i},{\dot {q}}_{i})}
where T is the Kinetic Energy and U is the Potential Energy. Typically, the Lagrangian is not a conserved quantity.
The Action is defined as:
S
=
∫
L
d
t
{\displaystyle {\mathcal {S}}=\int {\mathcal {L}}\,\mathrm {d} t}
Hamilton's Principle of Stationary Action (sometimes referred to as "Least Action") states that a physical system evolves in time such that the Action is stationary functional of the generalised coordinates:
∂
S
∂
q
i
=
0
{\displaystyle {\frac {\partial {\mathcal {S}}}{\partial q_{i}}}=0}
It can be shown that this leads to the Euler-Lagrange condition:
d
d
t
∂
L
∂
q
˙
i
=
∂
L
∂
q
i
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}{\frac {\partial {\mathcal {L}}}{\partial {\dot {q}}_{i}}}={\frac {\partial {\mathcal {L}}}{\partial q_{i}}}}
where
∂
L
∂
q
i
{\displaystyle {\frac {\partial {\mathcal {L}}}{\partial q_{i}}}}
is the Generalised Force and
Π
i
=
∂
L
∂
q
˙
i
{\displaystyle \Pi _{i}={\frac {\partial {\mathcal {L}}}{\partial {\dot {q}}_{i}}}}
is the Momentum Canonically Conjugate to
q
i
{\displaystyle q_{i}\,}
.
Examples
Translational Symmetry and Linear Momentum
Consider the system of two particles constrained to move in a line, at positions
x
1
{\displaystyle x_{1}\,}
and
x
2
{\displaystyle x_{2}\,}
, with masses
m
1
{\displaystyle m_{1}\,}
and
m
2
{\displaystyle m_{2}\,}
. Their potential energy is only a function of the distance between them
U
(
x
1
,
x
2
)
{\displaystyle U(x_{1},x_{2})\,}
. That is, there is translational (continuous) symmetry in the system.
The Lagrangian is:
L
=
1
2
m
1
x
˙
1
2
+
1
2
m
2
x
˙
2
2
−
U
(
x
1
−
x
2
)
{\displaystyle {\mathcal {L}}={\frac {1}{2}}m_{1}{\dot {x}}_{1}^{2}+{\frac {1}{2}}m_{2}{\dot {x}}_{2}^{2}-U(x_{1}-x_{2})}
.
The Euler-Lagrange condition leads to:
d
d
t
∂
L
∂
x
˙
1
=
∂
L
∂
x
1
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}{\frac {\partial {\mathcal {L}}}{\partial {\dot {x}}_{1}}}={\frac {\partial {\mathcal {L}}}{\partial x_{1}}}}
and
d
d
t
∂
L
∂
x
˙
2
=
∂
L
∂
x
2
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}{\frac {\partial {\mathcal {L}}}{\partial {\dot {x}}_{2}}}={\frac {\partial {\mathcal {L}}}{\partial x_{2}}}}
which is
d
p
1
d
t
=
−
∂
U
∂
x
1
{\displaystyle {\frac {\mathrm {d} p_{1}}{\mathrm {d} t}}=-{\frac {\partial U}{\partial x_{1}}}}
and
d
p
2
d
t
=
−
∂
U
∂
x
2
{\displaystyle {\frac {\mathrm {d} p_{2}}{\mathrm {d} t}}=-{\frac {\partial U}{\partial x_{2}}}}
where
p
=
m
x
˙
{\displaystyle p=m{\dot {x}}}
is the linear momentum.
Now,
∂
U
∂
x
1
=
−
∂
U
∂
x
2
{\displaystyle {\frac {\partial U}{\partial x_{1}}}=-{\frac {\partial U}{\partial x_{2}}}}
, so
d
p
1
d
t
+
d
p
2
d
t
=
0
{\displaystyle {\frac {\mathrm {d} p_{1}}{\mathrm {d} t}}+{\frac {\mathrm {d} p_{2}}{\mathrm {d} t}}=0}
This states that the total linear momentum is constant, or momentum is conservered. Thus, we have shown that from the original translational symmetry in space of the system, one can derive conservation of linear momentum.
Rotational Symmetry and Angular Momentum
Consider a particle of mass
m
{\displaystyle m\,}
moving within a Central Force , where the potential energy depends only on the distace from the origin:
U
(
r
)
{\displaystyle U(r)\,}
. The radial and angular components of velocity are given by:
v
r
=
r
˙
{\displaystyle v_{r}={\dot {r}}}
and
v
θ
=
r
θ
˙
{\displaystyle v_{\theta }=r{\dot {\theta }}}
.
The Lagrangian is:
L
=
1
2
m
r
˙
2
+
1
2
m
r
2
θ
˙
2
−
U
(
r
)
{\displaystyle {\mathcal {L}}={\frac {1}{2}}m{\dot {r}}^{2}+{\frac {1}{2}}mr^{2}{\dot {\theta }}^{2}-U(r)}
.
The Euler-Lagrange condition for r and
θ
{\displaystyle \theta }
is:
d
d
t
(
∂
L
∂
r
˙
)
=
∂
L
∂
r
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}\left({\frac {\partial {\mathcal {L}}}{\partial {\dot {r}}}}\right)={\frac {\partial {\mathcal {L}}}{\partial r}}}
and
d
d
t
(
∂
L
∂
θ
˙
)
=
∂
L
∂
θ
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}\left({\frac {\partial {\mathcal {L}}}{\partial {\dot {\theta }}}}\right)={\frac {\partial {\mathcal {L}}}{\partial \theta }}}
which gives:
m
r
¨
=
m
r
θ
˙
2
−
∂
U
∂
r
{\displaystyle m{\ddot {r}}=mr{\dot {\theta }}^{2}-{\frac {\partial U}{\partial r}}}
d
d
t
m
r
2
θ
˙
=
0
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}mr^{2}{\dot {\theta }}=0}
, noting that the angular momentum of the system is
L
=
m
r
2
θ
˙
{\displaystyle L=mr^{2}{\dot {\theta }}}
.
The first equation shows that the radial component of momentum is composed of a positive (repulsive) force that is not dependent on the potential energy, but is due to the rotation. This is the origin of the Centrifugal Force . The second equation states that the rate of change of angular momentum is zero. That is, following from the rotational invariance of the system, we have derived conservation of angular momentum.
We may also write the force on the particle in terms of
L
{\displaystyle L}
, which shows the centrifugal component depends inversely on
r
3
{\displaystyle r^{3}}
:
m
r
¨
=
L
2
m
r
3
−
∂
U
∂
r
{\displaystyle m{\ddot {r}}={\frac {L^{2}}{mr^{3}}}-{\frac {\partial U}{\partial r}}}
.
Double Pendulum
Double Pendulum in 2D
Consider the double pendulum consisting of two masses connected by to rigid massless rods, to a fixed point of rotation at the origin and each other in a frictionless manner, constrained in the vertical plane, as shown above.
The kinetic energy is given by:
T
=
1
2
m
1
v
1
2
+
1
2
m
2
v
2
2
=
1
2
m
1
l
1
2
θ
˙
1
2
+
1
2
m
2
(
x
˙
2
2
+
y
˙
2
2
)
{\displaystyle T={\tfrac {1}{2}}m_{1}v_{1}^{2}+{\tfrac {1}{2}}m_{2}v_{2}^{2}={\tfrac {1}{2}}m_{1}l_{1}^{2}{\dot {\theta }}_{1}^{2}+{\tfrac {1}{2}}m_{2}({\dot {x}}_{2}^{2}+{\dot {y}}_{2}^{2})}
where
x
2
=
l
1
sin
θ
1
+
l
2
sin
θ
2
;
y
2
=
−
l
1
cos
θ
1
−
l
2
cos
θ
2
{\displaystyle x_{2}=l_{1}\sin {\theta _{1}}+l_{2}\sin {\theta _{2}}\quad ;\quad y_{2}=-l_{1}\cos {\theta _{1}}-l_{2}\cos {\theta _{2}}\,}
after substitution and use of a standard trig identity, we find:
T
=
1
2
l
1
2
(
m
1
+
m
2
)
θ
˙
1
2
+
1
2
m
2
l
2
2
θ
˙
2
2
+
l
1
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
1
˙
θ
2
˙
{\displaystyle T={\tfrac {1}{2}}l_{1}^{2}(m_{1}+m_{2}){\dot {\theta }}_{1}^{2}+{\tfrac {1}{2}}m_{2}l_{2}^{2}{\dot {\theta }}_{2}^{2}+l_{1}l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\dot {\theta _{1}}}{\dot {\theta _{2}}}}
The potential energy is given by:
U
=
−
l
1
m
1
g
cos
θ
1
−
(
l
1
cos
θ
1
+
l
2
cos
θ
2
)
m
2
g
=
−
l
1
(
m
1
+
m
2
)
g
cos
θ
1
−
l
2
m
2
g
cos
θ
2
{\displaystyle U=-l_{1}m_{1}g\cos {\theta _{1}}-(l_{1}\cos {\theta _{1}}+l_{2}\cos {\theta _{2}})m_{2}g=-l_{1}(m_{1}+m_{2})g\cos {\theta _{1}}-l_{2}m_{2}g\cos {\theta _{2}}\,}
The Lagrangian is thus:
L
≡
T
−
U
{\displaystyle {\mathcal {L}}\equiv T-U}
L
=
1
2
l
1
2
(
m
1
+
m
2
)
θ
˙
1
2
+
1
2
l
2
2
m
2
θ
˙
2
2
+
l
1
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
˙
1
θ
˙
2
+
l
1
(
m
1
+
m
2
)
g
cos
θ
1
+
l
2
m
2
g
cos
θ
2
{\displaystyle {\mathcal {L}}={\tfrac {1}{2}}l_{1}^{2}(m_{1}+m_{2}){\dot {\theta }}_{1}^{2}+{\tfrac {1}{2}}l_{2}^{2}m_{2}{\dot {\theta }}_{2}^{2}+l_{1}l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}{\dot {\theta }}_{2}+l_{1}(m_{1}+m_{2})g\cos {\theta _{1}}+l_{2}m_{2}g\cos {\theta _{2}}}
Using the Euler-Lagrange condition for
θ
1
{\displaystyle \theta _{1}}
:
∂
L
∂
θ
˙
1
=
l
1
2
(
m
1
+
m
2
)
θ
1
˙
+
l
1
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
˙
2
{\displaystyle {\frac {\partial {\mathcal {L}}}{\partial {\dot {\theta }}_{1}}}=l_{1}^{2}(m_{1}+m_{2}){\dot {\theta _{1}}}+l_{1}l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{2}}
thus:
d
d
t
(
∂
L
∂
θ
˙
1
)
=
l
1
2
(
m
1
+
m
2
)
θ
¨
1
−
l
1
l
2
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
2
(
θ
˙
1
−
θ
˙
2
)
+
l
1
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
¨
2
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}\left({\frac {\partial {\mathcal {L}}}{\partial {\dot {\theta }}_{1}}}\right)=l_{1}^{2}(m_{1}+m_{2}){\ddot {\theta }}_{1}-l_{1}l_{2}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{2}({\dot {\theta }}_{1}-{\dot {\theta }}_{2})+l_{1}l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\ddot {\theta }}_{2}}
∂
L
∂
θ
1
=
−
l
1
l
2
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
1
θ
˙
2
−
l
1
(
m
1
+
m
2
)
g
sin
θ
1
{\displaystyle {\frac {\partial {\mathcal {L}}}{\partial \theta _{1}}}=-l_{1}l_{2}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}{\dot {\theta }}_{2}-l_{1}(m_{1}+m_{2})g\sin {\theta _{1}}}
Using the Euler-Lagrange condition for
θ
2
{\displaystyle \theta _{2}}
:
∂
L
∂
θ
˙
2
=
l
2
m
2
θ
2
˙
2
+
l
1
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
˙
1
{\displaystyle {\frac {\partial {\mathcal {L}}}{\partial {\dot {\theta }}_{2}}}=l_{2}m_{2}{\dot {\theta _{2}}}^{2}+l_{1}l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}}
thus:
d
d
t
(
∂
L
∂
θ
˙
2
)
=
l
2
2
m
2
θ
¨
2
+
l
1
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
¨
1
−
l
1
l
2
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
1
(
θ
˙
1
−
θ
˙
2
)
{\displaystyle {\frac {\mathrm {d} }{\mathrm {d} t}}\left({\frac {\partial {\mathcal {L}}}{\partial {\dot {\theta }}_{2}}}\right)=l_{2}^{2}m_{2}{\ddot {\theta }}_{2}+l_{1}l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\ddot {\theta }}_{1}-l_{1}l_{2}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}({\dot {\theta }}_{1}-{\dot {\theta }}_{2})}
∂
L
∂
θ
2
=
l
1
l
2
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
1
θ
˙
2
−
l
2
m
2
g
sin
θ
2
{\displaystyle {\frac {\partial {\mathcal {L}}}{\partial \theta _{2}}}=l_{1}l_{2}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}{\dot {\theta }}_{2}-l_{2}m_{2}g\sin {\theta _{2}}}
Now we can form the two equations of motion:
l
1
(
m
1
+
m
2
)
θ
¨
1
+
l
2
m
2
cos
(
θ
1
−
θ
2
)
θ
¨
2
+
l
2
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
2
2
+
(
m
1
+
m
2
)
g
sin
θ
1
=
0
{\displaystyle l_{1}(m_{1}+m_{2}){\ddot {\theta }}_{1}+l_{2}m_{2}\cos {(\theta _{1}-\theta _{2})}{\ddot {\theta }}_{2}+l_{2}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{2}^{2}+(m_{1}+m_{2})g\sin {\theta _{1}}=0}
l
1
m
2
cos
(
θ
1
−
θ
2
)
θ
¨
1
+
l
2
m
2
θ
¨
2
−
l
1
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
1
2
+
m
2
g
sin
θ
2
=
0
{\displaystyle l_{1}m_{2}\cos {(\theta _{1}-\theta _{2})}{\ddot {\theta }}_{1}+l_{2}m_{2}{\ddot {\theta }}_{2}-l_{1}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}^{2}+m_{2}g\sin {\theta _{2}}=0}
Hence determine how the angular acceleration changes:
θ
¨
1
=
−
l
1
m
2
sin
(
θ
1
−
θ
2
)
cos
(
θ
1
−
θ
2
)
θ
˙
1
2
+
l
1
m
2
sin
(
θ
1
−
θ
2
)
θ
˙
2
2
+
g
(
m
1
sin
θ
1
+
m
2
[
sin
θ
1
−
sin
θ
2
cos
(
θ
1
−
θ
2
)
]
)
l
1
(
m
1
+
m
2
sin
2
(
θ
1
−
θ
2
)
)
{\displaystyle {\ddot {\theta }}_{1}={\frac {-l_{1}m_{2}\sin {(\theta _{1}-\theta _{2})}\cos {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}^{2}+l_{1}m_{2}\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{2}^{2}+g(m_{1}\sin {\theta _{1}}+m_{2}[\sin {\theta _{1}}-\sin {\theta _{2}}\cos {(\theta _{1}-\theta _{2})}])}{l_{1}(m_{1}+m_{2}\sin ^{2}{(\theta _{1}-\theta _{2})})}}}
θ
¨
2
=
l
2
m
2
cos
2
(
θ
1
−
θ
2
)
θ
¨
2
+
l
1
(
m
1
+
m
2
)
sin
(
θ
1
−
θ
2
)
θ
˙
1
2
+
l
2
m
2
sin
(
θ
1
−
θ
2
)
cos
(
θ
1
−
θ
2
)
θ
˙
2
2
+
g
sin
θ
1
(
m
1
+
m
2
)
[
cos
(
θ
1
−
θ
2
)
−
sin
θ
2
]
l
2
(
m
1
+
m
2
)
{\displaystyle {\ddot {\theta }}_{2}={\frac {l_{2}m_{2}\cos ^{2}{(\theta _{1}-\theta _{2})}{\ddot {\theta }}_{2}+l_{1}(m_{1}+m_{2})\sin {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{1}^{2}+l_{2}m_{2}\sin {(\theta _{1}-\theta _{2})}\cos {(\theta _{1}-\theta _{2})}{\dot {\theta }}_{2}^{2}+g\sin \theta _{1}(m_{1}+m_{2})[\cos {(\theta _{1}-\theta _{2})}-\sin \theta _{2}]}{l_{2}(m_{1}+m_{2})}}}