Solution 7
Solution 7
1. The Lagrangian for a charged particle (with charge q) in an electromagnetic field is given by
1
L(~r, ~r˙ ; t) = m~r˙ 2 + q~r˙ · A(~
~ r, t) − qφ(~r, t) (1)
2
~ are scalar and vector electromagnetic potentials, respectively, in terms of which
where φ and A
E ~ − ∂ A,
~ = −∇φ ~ and ~ =∇
B ~ × A.
~ (2)
∂t
(a) What is the (canonical conjugage) momentum associated with ~r?
(b) Show that the Euler-Lagrange equations of motion reproduces the Lorentz force m~a = q(E ~ + ~v × B).
~
Hint: Write each
P of x, y, z components separately, and pay special attention to total vs. partial time derivatives.
(c) Use H = α q̇α pα − L to derive the Hamiltonian of the system and simplify the result.
(d) Derive the Lorentz relation from the Hamilton’s canonical relation.
∂L
pj = = mṙj + qAj → p~ = m~r˙ + q A
~ (3)
∂ ṙj
∂L d ∂L
= (4)
∂rj dt ∂ ṙj
∂L X ∂Ai ∂φ d ∂L d d
=q ṙi −q , and = pj = mr̈j + q Aj (5)
∂rj i
∂rj ∂rj dt ∂ ṙj dt dt
~ r, t) is
before equating these two, let us also note that time-derivative of A(~
d ∂ X ∂Aj
Aj = Aj + ṙi (6)
dt ∂t i
∂ri
The first bracket is clearly Ej . To see whether the second bracket is (~r˙ × B)
~ j , let us compute the latter
3
X
(~r˙ × B)
~ j= jmn ṙm Bn (8)
m,n=1
3
X hX i
= jmn ṙm nki ∂k Ai (9)
m,n kl
X hX i
= njm nki ṙm ∂k Ai (10)
m,k,i n
Xh i
= δ jk δ im − δ ij δ mk ṙm ∂k Ai (11)
m,k,i
X
= (ṙi ∂j Ai − ṙi ∂i Aj ) (12)
i
1
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
In the last line, for the blue term we have re-labeled the dummy summation index m → i. This is clearly (7) and so,
m~r¨ = q E
~ + q~v × B.
~ (13)
(c) The Hamiltonian is
X
H(~r, p~; t) = ṙj pj − L (14)
j
1 X hX 1 q X i
= (pj − qAj )pj − (pj − qAj )2 + (pj − qAj )Aj − qφ (15)
m j j
2m m j
X 1
= (pj − qAj )2 + φ. (16)
j
2m
(d) In this section we rename rj → qj as is conventional for the Hamiltonian. The Hamilton’s equations of motion are
∂H 1
i) q̇j = + = (pj − qAj ) (17)
∂pj m
∂H q X ∂Ai ∂φ
ii) ṗj = − = + (pi − qAi ) − (18)
∂qj m i ∂qj ∂qj
This last equation does not look like Lorentz equation, but it is. To see the equivalence one needs to express it again
in terms of mechanical velocity q̇i rather than conjugate momentum pi .
y x
mÿ = −mg − λ , mẍ + M Ẍ = −λ (21)
R R
From Eq. (20) Ẍ = −ẍm/(M + m). Plugging this into above
y m2 x
mÿ = −mg − λ , ẍ = −λ (22)
R M +m R
These two differential equations need to be solved together with the constraint.
Parameterizing x = R cos θ and y = R sin θ and parametrizing λ̃ = λ/mR and
ζ = M/m we have
θ̈ cos θ − θ̇2 sin θ = −g/R − λ̃ sin θ, θ̈ sin θ + θ̇2 cos θ = (1 + ζ)λ̃ cos θ (23)
These two equations are generally sill hard to solve. Note that even an normal
pendulum is hard to solve (that is why we often use small angle approximation).
But we can a) eliminate λ̃ between them to find a differential equation only for θ,
which can be in principle solved, at least numerically. Once that is solved, it can be plugged back to find λ. Note
that λ has the dimension of force and it is the force of the constraint (backaction).
2
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
3. Two equal masses are connected by a string that hangs over two pulleys (of negligible size and mass), as shown in
the figure. The left mass moves in a vertical line, but the right mass is free to swing back and forth in the plane of
the masses and pulleys. Write the Lagrangian and the Hamiltonian of the system, and find the Hamilton’s equations
of motion.
This is the constraint problem. Take ` to be the length of the string minus the top part. The distance to the pulley
of the other particle is ` − r but the vertical position of this particle w.r.t the pulley is r − `. Therefore,
1
L(r, ṙ, θ, θ̇; t) = m[(ṙ2 + r2 θ̇2 ) + ṙ2 ] − mg[r − r cos θ] + cte (24)
2
up to some energy constants. As a check, note that for θ = 0, the potential energy drops out which makes sense. The
Euler-Lagrange equations are
∂L d ∂L d
= → −mg(1 − cos θ) + mrθ̇2 = (2mṙ) = 2mr̈ (25)
∂r dt ∂ ṙ dt
∂L d ∂L d
= , → −mgr sin θ = (mr2 θ̇) = mr2 θ̈ + 2mṙθ̇ (26)
∂θ dt ∂ θ̇ dt
Note that the last term is the Coriolis force. All together:
The conjugate momenta are pr = 2mṙ and pθ = mr2 θ̇ as we computed above. The Hamiltonian is
4. A particle of mass m can slide freely along a wire AB whose perpendicular distance to the origin O is h (see
Figure). The line OC rotates about the origin at a constant angular velocity θ̇ = ω. The position of the particle can
be described in terms of the angle θ and the distance q to the point C. If the particle is subject to a gravitational
force, and if the initial conditions are
We have
3
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
Therefore,
1
L(q, q̇; t) = m[(q̇ − hθ̇)2 + q 2 θ̇2 ] − mg[h sin θ − q cos θ] (35)
2
The momentum conjugate to q and the Hamiltonian are
∂L p2 1 2 2
pq = = m(q̇ − hω), H = q̇pq − L = + hωp − q ω − mgq cos θ + mgh sin θ (36)
∂q 2m 2m
This is different from K + U by the blue term. Since θ = ωt the Hamiltonian is explicitly time-dependent ∂t H 6= 0
and thus the energy is not conserved.
Since θ̇ = ω is constant, the Euler-Lagrange equation is [using that θ(t = 0) = 0]
d
mω 2 q + mg cos θ = m(q̇ − hω) → q̈ − qω 2 = g cos(ωt) (37)
dt
There is a homogenous solution and an inhomogeneous solution. The former is of the form q = Aeωt + B −ωt and the
latter is of the form C cos(ωt). But the C is fixed to C = −2g/ω 2 . Therefore, we need to try
2g 2g
q(t) = Aeωt + Be−ωt − cos(ωt), and q̇(t) = ωAeωt − Bωe−ωt + sin(ωt) (38)
ω2 ω
The condition q̇(0) = 0 forces A = B and the condition q(0) = 0 forces it to be A = g/ω 2 , which is the stated result.
I don’t sketch the result, because you just need to plot Eq. (33). The point is that the oscillatory factor is totally
overpowered by the exponential function and the result is not oscillatory.
5. A disk of mass M and radius R rolls without slipping down a plane inclined from the horizontal by an angle α.
The disk has a short weightless axle of negligible radius. From this axis is suspended a simple pendulum of length
` < R and whose bob has a mass m. Consider that the motion of the pendulum takes place in the plane of the disk,
and find Lagrangian, Hamiltonian and Hamilton’s equations of motion.
Let us denote the center of the disk with (X, Y ), its rotated angle with φ and the position of the pendulum bob with
(x, y) and its angle with vertical direction with θ. Then,
X = +Rφ cos α x = X + ` sin θ = Rφ cos α + ` sin θ
→ (39)
Y = −Rφ sin α y = Y − ` cos θ = −Rφ sin α − ` cos θ
Therefore,
ẋ = Rφ̇ cos α + `θ̇ cos θ
→ ẋ2 + ẏ 2 = `2 θ̇2 + R2 φ̇2 + 2R`θ̇φ̇ cos(θ − α) (40)
y = −Rφ̇ sin α + `θ̇ sin θ
The Lagrangian is
1
L(θ, θ̇, φ, φ̇; t) = m[`2 θ̇2 + R2 φ̇2 + 2R`θ̇φ̇ cos(θ − α)] + mg[Rφ sin α + ` cos θ] (41)
2
The generalized momenta are
∂L ∂L
pθ = = m`2 θ̇ + mR`φ̇ cos(θ − α), pφ = = mR2 φ̇ + mR`θ̇ cos(θ − α), (42)
∂ θ̇ ∂ φ̇
and the generalized forces are
∂L ∂L
Fθ = = −mR`θ̇φ̇ sin(θ − α) − mg` sin θ, Fφ = = mgR sin α (43)
∂θ ∂φ
and the Euler Lagrange equations are
4
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
6. Consider a Hamiltonian system with generalized coordinates qk and conjugate momenta pk with k = 1 . . . N for
N degrees of freedom. Consider any two continuous functions g(qk , pk ; t) and h(qk , pk ; t). The Poisson Bracket
between g and h is an anti-symmetric operator acting on g and h, defined as
X ∂g ∂h ∂g ∂h
[g, h] ≡ − , [g, h] = −[h, g] (51)
∂qk ∂pk ∂pk ∂qk
k
(a) g(qk , pk ; t) is a function of 2N+1 parameters t and {qk , pk }. Therefore, the change dg is generally related to its
arguments via
∂g X ∂g ∂g
g(qk , pk ; t) → dg = dt + dqk + dpk (53)
∂t ∂qk ∂pk
k
Dividing this by dt and using the definition of the Poisson bracket we find
dg ∂g X ∂g dqk ∂g dpk dg ∂g
= + + → = + [g, H] (54)
dt ∂t ∂qk dt ∂pk dt dt ∂t
k
5
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
6
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
7
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
8
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
9
Intermediate Mechanics 3010 Fall 2024 - Assignment VII Due: 10/25/2024, 11:59pm
10