Professional Documents
Culture Documents
4 Hamilton's Equations
4 Hamilton's Equations
Hamilton’s Equations
Of
Motion
Hamiltonian Formulation
Newtonian → Lagrangian → Hamiltonian
Hamilton-Jacobi theory
Classical perturbation theory
Quantum mechanics
Statistical mechanics
Lagrangian → Hamiltonian
Hamiltonian formulation closer to Lagrangian formulation
∂L
Using generalised velocity q&i ⇒
= pi
∂q&i
Configuration Space
dL
=0
dt
we can express the dynamics in terms of the 2n + 1
variables qi, pi, and t.
dL d ∂L ∂L
So (1) → = ∑ q&i + ∑ q&&i (2)
dt i dt ∂q&i i ∂q&i
Equation (2) is simply the result of differentiation of a product of two
functions,
dL d ∂L
therefore = ∑ q&i
dt i dt ∂q&i
d ∂L dL
∑ dt q&i ∂q& − dt = 0
i i
d ∂L
or ∑ q&i − L = 0 (3)
dt i ∂q&i
Integrating equation (3):
∂L
∑ q&i − L = H (constant) (4)
i ∂q &i
∂L
The generalised momenta pi are defined as: pi =
∂q&i
So (4) → ∑ {q&i pi } − L = H
i
Therefore, H (qi , pi , t ) = ∑ q&i pi − L(qi , q&i , t ) (5)
i
∂H ∂H ∂H
dH = ∑ dqi + ∑ dpi + dt (7)
i ∂qi i ∂pi ∂t
Also from equation (5):
∂L ∂L ∂L
dH = ∑ pi dq&i + ∑ q&i dpi − ∑ dqi − ∑ dq&i − dt (8)
i i i ∂qi i ∂q&i ∂t
∂L d ∂L ∂L
because: pi = ⇒ = p& i =
∂q&i dt ∂q&i ∂qi
∂L
dH = ∑ q&i dpi − ∑ p& i dqi − dt (9)
i i ∂t
Equating (7) and (9):
∂L ∂H ∂H ∂H
∑ q&i dpi − ∑ p& i dqi − ∂t dt = ∑ ∂q dqi + ∑ ∂p dpi + ∂t dt
i i i i i i
∂H
q&i =
∂pi Canonical equations (10)
∂H of Hamilton
− p& i = (conforming to well established
∂qi rule or procedure)
∂L ∂H
and − = (11)
∂t ∂t
∂H ∂H
We find = q&i = − p& i and ∂H = − ∂L
∂pi ∂qi ∂t ∂t
H (q, p ) = pq& − L
mq& 2 p 2 mp 2 p 2
= pq& − = − 2
=
2 m 2m 2m
p2
So we can write: H ( q, p ) =
2m
L and H assume same values both equal to the kinetic energy
But they are different functions depend on different variables
∂H p
q& = =
∂p m
∂H
p& = − =0
∂q
So p is a constant of motion.
Particle under Hooke’s law force F = –kx
L = T −V
∂L
L= 1 mx& 2 − 12 kx 2 p= = mx&
2 ∂x&
p 2 p 2 kx 2
Hamiltonian H = px& − L = − +
m 2m 2
p 2 kx 2
H= +
2m 2
Hamilton’s equations:
∂H p ∂H
x& = = p& = − = − kx
∂p m ∂x
Conservation Theorems
and Physical Significance of Hamiltonian
Cyclic coordinates
A coordinate q j which does not appear in the Lagrangian.
Then Lagrange’s equations → its conjugate momentum p j is
constant.
∂L ∂H
Then p& j = =− =0
∂q j ∂q j
⇒ A cyclic coordinate will also be absent from H
Conversely if a generalised coordinate does not occur in H,
then its conjugate momentum is conserved.
dH ∂H ∂H ∂H
Then time derivative: = ∑ q&i + p& i +
dt ∂qi ∂pi ∂t
∂H ∂H
as q&i = and p& i = −
∂pi ∂qi
dH ∂H ∂H ∂H ∂H ∂H
then = ∑ − +
dt i ∂qi ∂pi ∂pi ∂qi ∂t
⇒ dH ∂H ∂L
= =− ⇒ H is a constant of motion
dt ∂t ∂t
⇒ Hamiltonian is a conserved quantity if it does not
explicitly contain time
So we have:
pr = mvr = mr& (linear momentum)
pθ = mrvθ = mr 2θ& (angular momentum)
In terms of momenta and generalised velocities:
pr pθ
r& = and θ= 2
&
m mr
p 2
r 2 2
pθ
therefore: 1
T = 2 m 2 + 2 4
r
m m r
pr2 pθ2
= +
2m 2mr 2
2 2
p
Hamiltonian: H = r +
pθ θ is cyclic
2
+ V (r )
2m 2mr
pθ = constant=l
Hamilton’s equations:
∂H pr ∂H pθ2 ∂V
r& = = p& r = − = 3−
∂pr m ∂r mr ∂r
t2
Hamilton’s principle δI = δ ∫t Ldt = 0 (12)
1
t2
Modified Hamilton’s
δI = δ ∫t ∑ q&i pi − H (qi , pi , t ) dt (14)
Principle: 1
i
In terms of α:
∂I ∂ t2
δI = dα = dα ∫
∑ q&i pi − H (qi , pi , t ) dt = 0
∂α ∂α t1 i
Since, the end-point times are not varied ⇒ they are not functions of α
∂
∑ q&i pi − H (qi , pi , t ) dt = 0
t2
dα ∫
t1 ∂α i
t2 ∂q&i t2 d ∂qi
∫t pi dt = ∫ pi dt
1 ∂α t1 dt ∂α
t (16)
∂qi 2 t2 ∂qi
= pi − ∫ p& i dt
∂α t1 t1 ∂α
Solution: z
= − ∫ − krdr r
y
V = 12 kr 2 θ
So
x
as r 2 = x2 + y 2 + z 2
V = 12 k ( x 2 + y 2 + z 2 )
= 12 k ( R 2 + z 2 )
If the particle traces a path s in x,y plane, then:
ds 2 = dx 2 + dy 2 + dz 2 (i)
In cylindrical coordinates: x = R cosθ
y = R sin θ
Find dx, dy, dz, substitute in (i):
2 dθ
2 2 2 2
ds dR dz
We get: =
+ R +
dt dt dt dt
or v 2 = R& 2 + R 2θ& 2 + z& 2
As R is constant: v 2 = R 2θ& 2 + z& 2
Therefore the K.E. is: T = 12 m( R 2θ& 2 + z& 2 )
L = T − V = 12 m( R 2θ& 2 + z& 2 ) − 12 k ( R 2 + z 2 )
∂L
and pz = = mz& (iii)
∂z&
conservative system equations of transformation between rectangular
and cylindrical coordinates do not involve time explicitly,
⇒ Hamiltonian is just total energy, expressed in terms of θ, pθ , pz, z
(θ is cyclic)
so H ( z , pθ , p z ) = T + V = 12 mR 2θ& 2 + 12 mz& 2 + 12 kR 2 + 12 kz 2
pθ2 p z2 1 2 1 2
Using (ii) and (iii): H= 2
+ + kR + kz
2mR 2m 2 2
∂H
now p& θ = − =0 (iv)
∂θ
∂H
p& z = − = − kz (v)
∂z
∂H p
θ& = = θ2
∂pθ mR (vi)
∂H p z
z& = = (vii)
∂p z m
Equations (iv) and (vi) give:
pθ = mR 2θ& = Constant
∂H p
Finally, the equations of motion are: θ& = = θ2
∂pθ mb
∂H pφ
φ=
& =
∂pφ mb 2 sin 2 θ
∂H pφ2 cosθ
p& θ = − = − mgb sin θ
∂θ mb sin θ
2 3
∂H
p& φ = − =0
∂φ
Because φ is cyclic (or ignorable), the generalized momentum pφ about
the symmetry axis is a constant of motion. pφ is actually the component
of the angular momentum along the z-axis .
Example-3:
∂L ∂L ∂L
px = = mx& , py = = my& , pz = = mz&
∂x& ∂y& ∂z&
The Hamiltonian can be written as: H = T +V
H = 12 m( x& 2 + y& 2 + z& 2 ) + V ( x, y, z )
p x2 p 2y
p z2
= + + + V ( x, y , z )
2m 2m 2m
Canonical equations of motion are:
∂H ∂V ∂H ∂V ∂H ∂V
p& x = − =− , p& y = − =− , p& z = − =−
∂x ∂x ∂y ∂y ∂z ∂z
however, F = −∇V
∂V ∂V ∂V
therefore: Fx = − , Fy = − , Fz = −
∂x ∂y ∂z
so p& x = Fx , p& y = Fy , p& z = Fz
which are simply Newton’s equations of motion.
Example-4:
Determine the Hamiltonian and Hamilton’s equations of motion for a
simple pendulum of mass m and length l.
Solution: x