Professional Documents
Culture Documents
HW4-Classical Mechanics
HW4-Classical Mechanics
Problem 1. Find the Hamiltonian and the canonical equations corresponding to each of the following La-
grangians
1
(a) L(ϕ, ϕ̇, t) = ml2 ϕ̇2 + mlaγ 2 sin(ϕ − γt) + mgl cos ϕ. (1)
2
(b) L(θ, θ̇) = m1 a2 (θ̇2 + Ω2 sin2 θ) + 2m2 a2 θ̇2 sin2 θ + 2(m1 + m2 )ga cos θ. (2)
1 2 1
2 2
(c) L(x, ϕ, ẋ, ϕ̇) = (m1 + m2 )ẋ + m2 l ϕ̇ + 2lẋϕ̇ cos ϕ + m2 gl cos ϕ. (3)
2 2
Answer: Given the Lagrangian we can find the Hamiltonian of the system as the Legendre transformation
X
H= q˙i pi − L (4)
∂L
where pi = ∂ q˙i
is the canonical momentum. The procedure is as follows
• Calculate the canonical momentum
• Substitute pi and q˙i in terms of the generalized coordinates and momentums in the Legendre transforma-
tion from eq(4).
∂H ∂H
• Compute the canonical equations ϕ̇i = ∂pi
and ṗi = − ∂ϕ i
The calculations were done in Python and are indicated in the attached Notebook.
a) In this case we only have one generalized coordinate ϕ so the canonical momentum is
pϕ = l2 mϕ̇
p2ϕ
H(ϕ, pϕ , t) = aγ 2 lm sin (γt − ϕ) − glm cos (ϕ) + (5)
2l2 m
where we note that H explicitly depends on t.
The canonical equations are
pϕ
ϕ̇ = (6)
l2 m
1
p˙ϕ = lm aγ 2 cos (γt − ϕ) − g sin (ϕ)
(7)
b) Analogously to a) we find the canonical momentum
Solving for θ̇ and substituting in the Legendre transformation we find that the Hamiltonian of the system is
given by
−4a3 m1 + 2m2 sin2 (θ) Ω2 am1 sin2 (θ) + 2gm1 cos (θ) + 2gm2 cos (θ) + p2θ
H(θ, pθ ) = (8)
4a2 m1 + 2m2 sin2 (θ)
pθ (t)
θ̇ = (9)
m1 + 2m2 sin2 (θ(t))
2a2
sin(ϕ) 2gl3 m2 m2 sin2 (ϕ) + m1 2 − 2l2 m2 p2x cos(ϕ) + lpϕ px (m2 (cos(2ϕ) + 3) + 2m1 ) − 2 (m1 + m2 ) p2ϕ cos(ϕ)
p˙ϕ = −
2l2 m2 sin2 (ϕ) + m1 2
(13)
and
ṗx = 0 (15)
We see that px is constant due to the fact that x is a cyclic coordinate.
2
Problem 2. Find the conditions on the parameters a, b, c, d ∈ R such that the linear differential equations
Answer:
We know that
∂H ∂H
q̇ = ṗ = − (17)
∂p ∂q
Substituting (16) we have
∂H
= −ap − bq
∂q
and
∂H
= cp + dq
∂q
Integrating the two equations
b
H(q, p) = − q 2 − apq + A(p) (18)
2
c 2
H(q, p) = p + dqp + B(q) (19)
2
Thus, we can see that if the two equations are equal A(q) = 2c p2 and B(p) = − 2b q 2 .
∴ d = −a (20)
and the Hamiltonian is
c b
H(p, q) = p2 + dqp − q 2 (21)
2 2
Problem 3. In the absence of an electric field, the Lagrangian of an electron of mass m and charge −e is
L = 12 mẋ2 − eẋ · A. In the case of motion restricted to a plane we have A = (B/2)(−y, x). Write the
Hamiltonian in polar coordinates and the canonical equations. Find the radius of the circular orbit.
F = ev × B
Using polar coordinates
x = r cos ϕ y = r sin ϕ
Then, the Lagrangian in polar coordinates is
p˙ϕ = 0 (25)
The other canonical equations are
pr B 2 e2 r p2ϕ
ṙ = p˙r = − + (26)
m 4m mr3
Be pϕ
ϕ̇ = + (27)
2m mr2
Therefore, for a circular orbit, where r is constant (r = rc ), pr = 0 and for (26)
B 2 e2 rc p2ϕ
− + =0
4m mrc3
r
2pϕ
∴ rc = (28)
Be
Another for of see this is find ϕ̇ when r = rc , substituting r = rc in (27)
Be Be Be
ϕ̇ = + =
2m 2m m
In the other hand, under a circular motion Lorentz Force and centripetal force (mrc ϕ̇2 ) are equal in magni-
tude.
Be
∴ ϕ̇ = (29)
m
Under circular motion
r
2pϕ
rc = (30)
Be
and
Be
FLorentz = Fcentripetal → ϕ̇ = (31)
m
4
Problem 4. Probe the following identities for the Poisson brackets
∂f ∂g ∂f ∂g
{f, g} = − , (32)
∂xi ∂pi ∂pi ∂xi
involving the components of the angular momentum
Li = ϵijk xj pk . (33)
5
{Li , Lj } = − (δij δml − δil δmj ) xl pm +(δij δml − δjl δmi ) xl pm = (δil δjm − δjl δim ) xl pm = ϵijk ϵlmk xl pm = ϵijk Lk
∴ {Li , xj xj } = 0 (44)
e) Similarly
∴ {Li , pj pj } = 0 (45)
f)
{Li , Lj Lj } = Lj {Li , Lj } + {Li , Lj } Lj = 2ϵijk Lk Lj = 0
∴ {Li , Lj Lj } = 0 (46)