In a problem with one degree of freedom, a particle of mass m is subject to a
force F(x,t) = F_{0}t. The force is derivable from a potential.

(a) Find the potential energy of the particle and the Lagrangian and
Hamiltonian of the particle.

(b) Solve Hamilton's equations of motion.

Solution:

- Concepts:

The Lagrangian and the Hamiltonian, Hamilton's equations of motion - Reasoning:

We are asked to find the Lagrangian and the Hamiltonian and to solve Hamilton's equations of motion. - Details of the calculation:

(a) F(x,t) = -∂U/∂x = F_{0}t, U(x,t) = -F_{0}tx. (We can arbitrarily choose the zero of the potential energy.)

L = T - U = ½m(dx/dt)^{2}+ F_{0}tx. ∂L/∂(dx/dt) = p_{x}= m(dx/dt).

H = (dx/dt)p_{x}- L = p_{x}^{2}/2m - F_{0}tx.

(b) dx/dt = ∂H/∂p_{x}, dp_{x}/dt = -∂H/∂x, dx/dt = p_{x}/m, dp_{x}/dt = F_{0}t, d^{2}x/dt^{2}= F_{0}t/m.

dx/dt = F_{0}t^{2}/(2m) + v_{0}, x = F_{0}t^{3}/(6m) + v_{0}t + x_{0}.

A block of mass m moves on a frictionless surface with a
displacement x under the influence of a spring force F = -kx, where k is the
spring constant.

(a) Calculate the potential energy U(x), and the Lagrangian.

(b) Find Lagrange's equations of motion.

(c) Find the Hamiltonian.

(d) Find Hamilton's equations of motion.

Solution:

- Concepts:

Lagrange's and Hamilton's Equations

d/dt(∂L/∂(dq_{i}/dt)) - ∂L/∂q_{i}= 0.

∂L/∂(dq_{i}/dt) = p_{j}. H(q, p, t) = ∑_{i}(dq_{i}/dt)p_{i}- L.

dq_{i}/dt = ∂H/∂p_{i}, dp_{i}/dt = -∂H/∂q_{i}/ - Reasoning:

F is a conservative force. It is derivable from a potential. We can use the Lagrangian and Hamiltonian formalism. - Details of the calculations:

(a) Hooke's law: U = ½kx^{2}, L = T - U = ½m(dx/dt)^{2}- ½kx^{2}.

(We have one generalized coordinate.)

(b) ∂L/∂(dx/dt) = m(dx/dt),^{ }∂L/∂x = kx, d^{2}x/dt^{2}= -(k/m)x.

(c) P_{x}= ∂L/∂(dx/dt) = m(dx/dt).

m(dx/dt)^{2}- L = ½m^{2}(dx/dt)^{2}+ ½kx^{2}= P_{x}^{2}/(2m) + ½kx^{2}.

H = P_{x}^{2}/(2m) + ½kx^{2}.

(d) dx/dt = ∂H/∂P_{x}= P_{x}/m, dP_{x}/dt = -∂H/∂x = -kx.

A point particle of mass m is constrained to move in one dimension on the
x-axis.

The force acting on the particle can be derived from the
velocity-dependent potential

U = F(dx/dt)t.

Write down

(a) the
Lagrangian,

(b) the Hamiltonian,

(c) Hamilton's equations.

Solution:

- Concepts:

The Lagrangian and the Hamiltonian, Hamilton's equations of motion - Reasoning:

We are asked to find the Lagrangian and the Hamiltonian and Hamilton's equations of motion for a particle, given that force acting on the particle it can be derived from a generalized potential U = F(dx/dt)t. - Details of the calculation:

(a) T = ½m(dx/dt)^{2}, U = F(dx/dt)t, we have a velocity-dependent potential.

L = ½m(dx/dt)^{2}- F(dx/dt)t.

(b) p_{x}= ∂L/∂(dx/dt) = m(dx/dt) - Ft.

dx/dt = (p_{x}+ Ft)/m.

H = (dx/dt)p_{x}- L

= p_{x}(p_{x}+ Ft)/m - (p_{x}+ Ft)^{2}/(2m) + Ft(p_{x}+ Ft)/m

= (p_{x}+ Ft)^{2}/(2m).

The Hamiltonian is a function of the coordinates and the canonical momenta.

(c) Hamilton's equations:

dx/dt = ∂H/∂p_{x}= (p_{x}+ Ft)/m, dp_{x}/dt = -∂H/∂x = 0.

This yields the second order differential equation for the coordinate x,

d^{2}x/dt^{2}= F/m.

A particle of mass m moves in one dimension under the influence of a force

F(x,t) = -k x exp(-t/τ),

where k and τ are positive constants. (Note carefully the dependence on x to
the first power).

(a) Compute the Lagrangian function.

(b) Use Lagrange's equation to determine the equation of motion explicitly.

(c) Compute the Hamiltonian function in terms of the generalized coordinate and
generalized momentum. (Show clearly how you get this.)

(d) Determine Hamilton's equations of motion explicitly for this particular
problem (not just general formulae).

(e) Does the Hamiltonian equal the total energy?

(f) Is the total energy of the mass conserved?

(g) What is it about the force F which supports your answer to part f?

Solution:

- Concepts:

Lagrangian and Hamiltonian mechanics - Reasoning:

We are asked to find the Lagrangian and Hamiltonian for the system. - Details of the calculation:

(a) F(x,t) = - ∂U(x,t)/∂x. U(x,t) = k(x^{2}/2)exp(-t/τ).

L = T - U = ½ m(dx/dt)^{2}- k(x^{2}/2)exp(-t/τ).

(b) d/dt(∂L/∂(dx/dt)) - ∂L/∂x = 0.

∂L/∂(dx/dt) = m dx/dt, d/dt(∂L/∂(dx/dt)) = m d^{2}x/dt^{2}.

∂L(x,t)/ ∂x = -kxexp(-t/τ).

m d^{2}x/dt^{2}= -kx exp(-t/τ).

(c) H(x, p, t) = (dx/dt)p - L.

p = ∂L/∂(dx/dt)= m dx/dt. H = p^{2}/(2m) + k(x^{2}/2)exp(-t/τ).

(d) dx/dt = ∂H/∂p = p/m. dp/dt = -∂H/∂x = -kxexp(-t/τ).

d^{2}x/dt^{2}= (dp/dt)/m = -(k/m)xexp(-t/τ).

(e) Yes. If the generalized coordinates do not explicitly depend on time, then H = T + U = E, the total energy of the system.

(f) No. If H does explicitly depend on time, H = H(t), then H is not a constant of motion.

(g) The force F is a function of position and time. It is derivable from a time dependent potential energy function. F = -k(t)x, it is a Hooke's law type force with a spring constant that decreases exponentially. Assume a particle has kinetic energy E_{0}= ½mv_{0}^{2}as it moves through the origin at t = 0 and comes to a stop at position x. It then accelerates back towards the origin. Since the magnitude of the force decreases with time, the magnitude of the positive work done by F on the return trip is smaller than the magnitude of the negative work done by F on the trip from the origin to x. The potential energy at the origin is zero, the kinetic energy of the particle has decreased, the particle has lost energy.

The Lagrangian for a simple spring is given by L = ½m(dx/dt)^{2}
- ½kx^{2}.

Find the Hamiltonian and the equations of motion using the Hamiltonian
formulation. Identify any conserved quantities.

Solution:

- Concepts:

The Lagrangian and the Hamiltonian, Hamilton's equations of motion - Reasoning:

We are asked to find the Lagrangian and the Hamiltonian and Hamilton's equations of motion. - Details of the calculation:

H = p^{2}/(2m) + ½kx^{2}. H is a function of x and p, while the Lagrangian is a function of x and v.

Equations of motion: dx/dt = ∂H/∂p, dp/dt = -∂H/∂x.

dx/dt = p/m, dp/dt = -kx. We have two first-order differential equations which can be combined to yield the second order differential equation d^{2}x/dt^{2}= -(k/m)x.

The coordinates and the Hamiltonian do not contain time explicitly, so H = E, and E = constant. The energy E is a conserved quantity.

Consider the Lagrangian L = m(dx/dt)(dy/dt) - mω_{0}^{2}xy.

(a) Write down Lagrange's
equations associated with this Lagrangian and solve them. What physical system
does this Lagrangian describe?

(b) Determine the Hamiltonian of the system.

(c) Define new generalized coordinates x' and y' such that

x = 2^{-½} (x' + iy'), y = 2^{-½} (x' - iy').

Write down the Lagrangian and Lagrange's equations in terms of the new
generalized coordinates and velocities and solve them.

(d) Express the total energy of the system in terms of the new generalized
coordinates and velocities, assuming these coordinates are real.

Solution:

- Concepts:

Lagrangian mechanics - Reasoning:

We are asked to find the Lagrangian and Hamiltonian of the system. - Details of the calculation:

d/dt(∂L/∂(dq/dt)) - ∂L/∂q = 0.

(a) For q_{1}= x we obtain d^{2}y/dt^{2}+ ω_{0}^{2}y = 0,

and for q_{2}= y we obtain d^{2}x/dt^{2}+ ω_{0}^{2}x = 0.

The solutions are x = X_{0}exp(iω_{0}t) and y = Y_{0}exp(iω_{0}t), with X_{0}and Y_{0}complex constants that depend on the initial conditions,

The problem is that of a two-dimensional, isotropic, harmonic oscillator.

(b)

H(q, p, t) = ∑_{i}(dq_{i}/dt)p_{i}- L. p_{x}= ∂L/∂(dx/dt) = mdy/dt, p_{y}= ∂L/∂(dy/dt) = mdx/dt.

H = p_{x}p_{y}/m + mω_{0}^{2}xy.

(c) xy = ½((dx'/dt)^{2 }+ (dy'/dt)^{2}), L = ½m((dx'/dt)^{2 }+ (dy'/dt)^{2}- ω_{0}^{2}(x'^{2}+ y'^{2}).

Using these coordinates, we recognize the Lagrangian of a two-dimensional, isotropic,harmonic oscillator.

Lagrange's equations are d^{2}x'/dt^{2}+ ω_{0}^{2}x' = 0, d^{2}y'/dt^{2}+ ω_{0}^{2}y' = 0.

Real solutions are x' = Ccos(ω_{0}t + Φ_{x'}), y' = Dcos(ω_{0}t + Φ_{y'}).

C, D, Φ_{x'}, and Φ_{y'}depend on the initial conditions.

p'_{x}= ∂L/∂(dx/'dt) = m dx'/dt, p'_{y}= ∂L/∂(dy/'dt) = m dy'/dt,

H = (p'_{x}^{2}+ p'_{y}^{2})/(2m) + mω_{0}^{2}(x'^{2}+ y'^{2})/2.

(d) E = mω_{0}^{2}(C^{2}+ D^{2})/2.

Consider a simple plane pendulum consisting of a mass m attached to a string of length l. After the pendulum is set into motion, the length of the string is shortened at a constant rate

dl/dt = -Θ = constant.

The suspension point remains fixed. Consider only times for which l_{0}
- Θt > 0, i.e. for which the mass has not yet contacted the suspension point.

(a) Compute the Lagrangian and write down Lagrange's equation of motion for small displacements from equilibrium.

(b) Compute the
Hamiltonian function.

(c) Compare the Hamiltonian and the total energy
and discuss the conservation of energy for this system.

Solution:

- Concepts:

Lagrangian Mechanics - Reasoning:

We are asked to compute the Lagrangian and the Hamiltonian and find and solve Lagrange's equations. - Details of the calculation:

(a) L = T - U.

As long as (l_{0}- Θt)^{ }> 1 we have

T = ½m(l_{0}- Θt)^{2}(dθ/dt)^{2}+ ½mΘ^{2}, U = - mg(l_{0}- Θt) cosθ.

L = ½m(l_{0}- Θt)^{2}(dθ/dt)^{2}+ ½mΘ^{2}+ mg(l_{0}- Θt)cosθ is the Lagrangian of the system.

∂L/∂(dθ/dt) = m(l_{0}- Θt)^{2}dθ/dt, d/dt(∂L/∂(dθ/dt)) = m(l_{0}- Θt)^{2}d^{2}θ/dt^{2}- 2mΘ(l_{0}- Θt)dθ/dt.

∂L/∂θ = -mg(l_{0}- Θt)sinθ.

(l_{0}- Θt)d^{2}θ/dt^{2}- 2Θdθ/dt = -gsinθ is the equation of motion.

For small angular displacement θ: (l_{0}- Θt)d^{2}θ/dt^{2}- 2Θdθ/dt = -gθ.

(b) H(p_{θ}, θ) = p_{θ }(dθ/dt) - L, p_{θ}= ∂L/∂(dθ/dt) = m(l_{0}- Θt)^{2}dθ/dt, H = p_{θ}^{2}/(m(l_{0}- Θt)^{2}) - L

H(p_{θ}, θ) = p_{θ}^{2}/(2m(l_{0}- Θt)^{2}) - mg(l_{0}- Θt)cosθ - ½mΘ^{2}≠ T + U.(c) The constraints do explicitly depend on time, so H ≠ T + U, the total energy of the system.

H = H(t), H is**not**a constant of motion.

The energy is not conserved.

dE/dt = p_{θ}^{2}Θ/(m(l_{0}- Θt)^{3}) + mgΘcosθ = m(l_{0}- Θt)(dθ/dt)^{2}Θ + mgΘcosθ is the rate that work is done on the system.

dE/dt = FΘ = where F is the tension in the string. F = m(l_{0}- Θt)(dθ/dt)^{2}+ mgcosθ.

Consider the 2D problem of a free particle of mass m moving in the xy plane.

(a) Use the Lagrangian formalism to find the equations of motion of the
particle using Cartesian coordinates (x, y) in an inertial reference frame.

(b) Now switch to explicitly time dependent coordinates.

X = xcos(ωt) + ysin(ωt), Y = -xsin(ωt) + ycos(ωt).

These would be the Cartesian coordinates of the particle in a reference frame
rotating with constant angular speed ω counterclockwise about the z-axis of the
inertial reference frame, i.e. **ω** = ω**k**. Write down the Lagrangian
in terms of the coordinate X and Y and the corresponding velocities. Note: x = Xcos(ωt) - Ysin(ωt), y = Xsin(ωt) + Ycos(ωt).

(c) Find the equations of motion in terms of the new coordinates. Identify the
fictitious forces appearing in the rotating frame.

(d) What are the conditions for a circular orbit of radius R = (X^{2
}+ Y^{2})^{½} about the origin in the rotating frame?

(d) Find the Hamiltonian H, and use Hamilton's equations to find the
equations of motion.

Solution:

- Concepts:

The Lagrangian formalism - Reasoning:

We are asked to use explicitly time-dependent coordinates. - Details of the calculation:

(a) L = T = ½m(v_{x}^{2}+ v_{y}^{2}), d/dt(∂L/∂v_{i}) = 0, v_{x}= constant, v_{y}= constant.

(b) x = Xcos(ωt) - Ysin(ωt), y = Xsin(ωt) + Ycos(ωt).

v_{x}= v_{X }cos(ωt) - ω X_{ }sin(ωt) - v_{Y}sin(ωt) - ω Y cos(ωt).

v_{y}= v_{X }sin(ωt) + ω X_{ }cos(ωt) + v_{Y}cos(ωt) - ω Y sin(ωt).

v_{x}^{2}+ v_{y}^{2}= v_{X}^{2}+ v_{Y}^{2}+ ω^{2}(X^{2}+ Y^{2}) - 2ω(v_{X}Y - v_{Y}X)

L = ½m(v_{X}^{2}+ v_{Y}^{2}+ ω^{2}(X^{2}+ Y^{2}) - 2ω(v_{X}Y - v_{Y}X))

(c) d/dt(∂L/∂v_{X}) - ∂L/∂X = 0, d/dt(∂L/∂v_{Y}) - ∂L/∂Y = 0.

The equations of motions are a_{X}= ω^{2}X + 2ω v_{Y}, a_{y}= ω^{2}Y - 2ω v_{X},

mω^{2}X and mω^{2}Y are the X- and Y-component of the centrifugal force, respectively.

m2ω v_{Y}and - m2ω v_{X}are the X-t and Y-component of the Coriolis force, respectively.

(c) Circular orbit: X^{2}+ Y^{2}= R^{2}. For a circular orbit of radius R we need

d^{2}X/dt^{2}= -ω^{2}X, d^{2}Y/dt^{2}= -ω^{2}Y,

ω^{2}X + 2ω v_{Y }=_{ }-ω^{2}X, v_{Y }= -ωX,

ω^{2}Y - 2ω v_{X}= -ω^{2}Y, v_{X}= ωY.

The angular velocity of the particle in the rotating frame must be**ω**= -ω**k**.

(d) H = P_{X}v_{X}+ P_{Y }v_{Y}- L. P_{X}= ∂L/∂v_{X}= mv_{X}- mωY, P_{Y}= ∂L/∂v_{Y}= mv_{Y}+ mωX,

H = ½m(v_{X}^{2}+ v_{Y}^{2}- ω^{2}(X^{2}+ Y^{2})) = (P_{X}^{2}+ P_{Y}^{2})/(2m) + ω(P_{X}Y - P_{Y}X)

∂H/∂X = -dP_{X}/dt = -ωP_{Y}, ∂H/∂Y = -dP_{Y}/dt = ωP_{X}.

∂H/∂P_{X}= dX/dt = P_{X}/m + ωY , ∂H/∂ P_{Y}= dY/dt = P_{Y}/m - ωX .

a_{X}= (dP_{X}/dt)/m + ωdY/dt = ωP_{Y}/m + ωdY/dt = 2ωv_{Y + }ω^{2}X,

a_{Y}= (dP_{y}/dt)/m - ωdX/dt = -ωP_{X}/m - ωdX/dt = - 2ωv_{X + }ω^{2}Y.

The Hamiltonian H = (P_{X}^{2}+ P_{Y}^{2})/(2m) + ω(P_{X}Y - P_{Y}X) does not explicitly depend on time, so it is conserved. Since the coordinates explicitly depend on time, the Hamiltonian is not equal to the total energy.

Consider a system described by the Lagrangian L = ½mv^{2} - ½kx^{2},
where v = dx/dt.

(a) Express L in terms of the generalized coordinate q = (km)^{¼}x
and the associated generalized velocity.

(b) In terms of q and its canonical momentum p derive the form of the
Hamiltonian H. Is H a constant of motion? Is it the energy E of the system?

(c) Derive Hamilton's equations of motion and solve for q(t) and p(t).

(d) Elaborate on the trajectories of the system in phase space.

Solution:

- Concepts:

Lagrangian and Hamiltonian mechanic - Reasoning:

We are asked to choose a given generalized coordinate and the associated conjugate momentum. - Details of the calculation:

(a) dq/dt = v_{q}= (km)^{¼}dx/dt, L = (dq/dt)^{2}/(2ω) - ωq^{2}/2 = v_{q}^{2}/(2ω) - ωq^{2}/2 = L(q, v_{q})

(b) p = dL/v_{q}= v_{q}/ω.

H = pv_{q}- L = v_{q}^{2}/(2ω) - ωq^{2}/2 = (ω/2)(p^{2}+ q^{2}) = H(p, q).

H does not explicitly depend on time, so it is a constant of motion.

The generalized coordinate and momentum do not explicitly depend on time, so H = E.

(c) Hamilton's equations are dp/dt = -∂H/∂q = -ωq, dq/dt = p∂H/∂q = ωp.

Solutions are q = A cos(ωt + Φ), p = A sin(ωt + Φ), A and Φ are determined by the initial conditions, ω = (k/m)^{½}.

(d) Trajectories in phase space are concentric circles about the origin (p = q = 0).Phase-space points corresponding to different energies move on different circles. All phase space points rotate ccw about the origin with the same angular speed ω.