This set practises the Hamilton-Jacobi equation, its separation in polar coordinates as for the Kepler problem, and action-angle variables, in one dimension and in several. The problems follow MIT's Problem Set 6, in our own words. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own.
A few things to know about the source. The sheet has printed page numbers; its problems are on "p. 2" and "p. 3". Its reading list (sections of a mechanics textbook) and its course notices are left out. MIT says that all five problems come from, or are related to, problems in that textbook, but the sheet states each of them in full, so they are written here from the sheet alone. The hint of Problem 4(c) pointed to integrals in the textbook; here it points to the same integral in the course notes instead. The sheet has no figures.
Our additions, each marked where it appears: every answer box; the split of Problems 2 and 3, which MIT gives as single questions, into two parts each; and the graph in the solution of Problem 1(b). Some choices are ours as well, each marked "our choice" where it appears: SI units, the charge and the sign of in Problem 1; the new momentum and the additive constant of in Problem 2; the cell in Problem 4; and, in Problem 5, the letter for the frequencies.
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A formula box takes plain typing, for example sqrt(2*m*E)/F, and accepts every correct way of writing the answer. It treats its letters as independent, so each question says which letters to type: al for , x0 for , v0 for , w1 for , and so on.
Give a number answer to 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. Where a box needs more digits, its label says so.
MIT gives the points of each problem (12, 10, 10, 18 and 10, together 60), and the points of the parts of Problems 1, 4 and 5. The split of Problems 2 and 3 between their parts is ours. Several parts ask for more than their boxes check, such as a derivation or a proof, and Problem 5(b) asks you to show something: open the solution and mark yourself. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
The conventions are those of the lessons. An overdot is . Hamilton's principal function is ; for a Hamiltonian without explicit time it is , with Hamilton's characteristic function. The action variable is over one cycle, and is the frequency in cycles per unit time. The notes write the angle variable as ; the sheet writes it as , and so do we, so that stays free for angular frequencies. With either letter the angle variable grows by 1 in each cycle.
Problem 1#
A charged particle in a plane
A particle of mass and charge is held to a plane. A force that is not electromagnetic pulls it towards a fixed point of the plane, with potential
In words
capital V equals one half k r squared, k greater than 0
where is the distance from that point. A constant magnetic field stands perpendicular to the plane; it comes from the vector potential
In words
vector capital A equals one half vector capital B cross vector r
Our choice: SI units, as in the notes; plane polar coordinates about the fixed point, with counterclockwise seen from the side the unit vector of the normal points to, and , where and may each have either sign.
(a)6 points
Set up the Hamilton-Jacobi equation for Hamilton's characteristic function in plane polar coordinates. Separate it, and reduce it to an integral.
The box is our addition. With the energy and the constant value of , give , where ; type m, E, k, e, B, r and al for .
Hint
Start from the Hamiltonian of a charge in the notes. In polar coordinates has only a component; find it, and write with and .
Hint
does not appear in . What does that do to the part of ?
Solution
The idea. Write in polar coordinates. The angle is cyclic, so is plus a function of alone, and the Hamilton-Jacobi equation becomes an ordinary equation for that function.
The Hamiltonian in polar coordinates
The notes give, for a charge in a vector potential and a scalar potential ,
In words
H equals 1 over the quantity 2 m, times the quantity vector p minus e vector capital A, all squared plus e phi
Here there is no , and the spring potential is added. With and , . The canonical momentum has polar components and , so
In words
H equals 1 over the quantity 2 m, times the quantity p sub r squared plus the quantity p theta over r minus e capital B r over 2, all squared, all plus one half k r squared
The Hamilton-Jacobi equation and its separation
has no explicit time, so and obeys the time-independent equation of the notes,
In words
H ( q one, and so on, q n, partial capital W over partial q one, and so on, partial capital W over partial q n ) equals alpha one
with . Since is cyclic, , as the notes do for the Kepler problem, and
In words
1 over the quantity 2 m, times the quantity ( partial capital W sub r over partial r ) squared plus the quantity alpha sub theta over r minus e capital B r over 2, all squared, all plus one half k r squared equals capital E
The integral
Expanding the square,
In words
capital W equals alpha sub theta theta plus the integral of the square root of 2 m capital E plus e capital B alpha sub theta minus alpha sub theta squared over r squared minus the quantity m k plus e squared capital B squared over 4, r squared, end of root, d r
Write and . Then the integrand is : the same integral as for a plane oscillator of angular frequency , with the energy shifted by . The motion follows from and .
Check the result
For the integrand is that of the notes' central-force problem, , with . The units: is a force, so is a mass per unit time and a momentum; then and are momenta squared, like .
(b)6 points
Solve for the motion when the canonical momentum is at time .
The three boxes are our additions. In the first, give the rate at which the particle's direction from the centre turns; type e, B and m. In the second, give the angular frequency of its radial oscillation; type k, m, e and B. In the third, choose the shape of the path.
Hint
is conserved, so at all times. Put into the derivatives of only after taking them.
Hint
gives the integral of an oscillator. For at , only the term under the root contributes.
Solution
The idea. With the radial integral is that of a plain oscillator of angular frequency , and the angle equation says the direction turns at a steady rate. The particle swings back and forth through the centre along a line that itself turns.
The two transformation equations
From , the new coordinates are ; as in the notes,
In words
p sub i equals partial capital W over partial q sub i, capital Q one equals beta one equals partial capital S over partial alpha one equals partial capital W over partial alpha one minus t, capital Q sub j equals beta sub j equals partial capital W over partial alpha sub j, times (j equals 2, and so on, n)
With after differentiating:
In words
t plus beta one equals partial capital W over partial capital E equals the integral of m d r over the square root of 2 m capital E minus m squared capital omega squared r squared, end of root, equals 1 over capital omega arc sine ( the square root of m capital omega squared over the quantity 2 capital E, end of root, r )
In words
beta two equals partial capital W over partial alpha sub theta equals theta plus the integral of the quantity the quantity e capital B over 2, d r, all over the square root of 2 m capital E minus m squared capital omega squared r squared, end of root, equals theta plus e capital B over the quantity 2 m, times the quantity t plus beta one
The motion
Inverting both,
In words
r equals the square root of 2 capital E over the quantity m capital omega squared, end of root, sine ( capital omega the quantity t plus beta one, ), theta equals theta nought minus e capital B over the quantity 2 m, times t, capital omega equals the square root of k over m plus e squared capital B squared over the quantity 4 m squared, end of root
with and set by the start. Read as a signed distance along the line at angle : when changes sign, the particle passes through the centre to the other side. So the particle swings through the centre along a line with angular frequency , while the line turns at , half the cyclotron frequency. Its path is a rosette of loops through the centre; it closes only when and are in a rational ratio.
Check the result
The momentum is zero exactly when , as found. For the line stands still and the particle swings along it at : a spring with no angular momentum. In a frame turning with the line, at , the magnetic force due to the motion along the line is cancelled by the Coriolis force, and what remains is the spring plus an extra stiffness (magnetic force less centrifugal force), which is where comes from. A direct numerical solution of Newton's equation with the Lorentz force agrees with these formulas (our check, in the calcs file).
Problem 2#
A time-dependent Hamiltonian
A system with one degree of freedom has a potential that grows linearly with time, so that its Hamiltonian is
In words
H equals p squared over the quantity 2 m, minus m capital A t x
where is the mass and a constant. At the particle is at with momentum . Solve the problem with Hamilton's principal function . If you get stuck, solve it another way first, and let that solution suggest the form of ; then solve it as asked.
(a)6 points
Find Hamilton's principal function.
The box is our addition. Our choice: take as the new momentum the constant to which reduces at , and fix the additive constant of so that at , . Give ; type x, al for , t, m and A.
Hint
depends on time, so does not work. The force does not depend on , so try linear in , with coefficients that depend on .
Hint
Put into the Hamilton-Jacobi equation and collect the terms with and those without.
Solution
The idea. The Hamilton-Jacobi equation with explicit time is a partial differential equation in and . Because the force does not depend on , a principal function linear in solves it, and the two coefficients follow from ordinary integrals.
The Hamilton-Jacobi equation
The notes' equation for ,
In words
H ( q one, and so on, q n, partial capital F two over partial q one, and so on, partial capital F two over partial q n, t ) plus partial capital F two over partial t equals 0
with , reads here
In words
1 over the quantity 2 m, times ( partial capital S over partial x ) squared minus m capital A t x plus partial capital S over partial t equals 0
A principal function linear in x
With : for every , so and . Then , with the constant of integration, our new momentum. Integrating , with :
In words
capital S (x, alpha, t) equals x the quantity alpha plus one half m capital A t squared, all minus 1 over the quantity 2 m, times the quantity alpha squared t plus one third alpha m capital A t cubed plus 1 over 20 m squared capital A squared t to the power 5
Check the result
, and : together they make the equation vanish. For , , the free particle's principal function with its momentum.
(b)4 points
Find the motion and for the given start.
The box is our addition. Give ; type v0 for , A and t.
Hint
The new coordinate is a constant. Solve that equation for , then use the start to fix and .
Solution
The idea. The constants and are the new momentum and coordinate; inverting gives , and gives the momentum.
The transformation equations
As in the notes,
In words
beta sub i equals partial capital S over partial alpha sub i which gives q sub i equals q sub i ( alpha, beta, t), p sub i equals partial capital S over partial q sub i which gives p sub i equals p sub i ( alpha, beta, t)
Here and .
The start
At : and . So
In words
x(t) equals v nought t plus one sixth capital A t cubed, p(t) equals m v nought plus one half m capital A t squared
Check the result
Hamilton's equations give the same: and . This is the other route the sheet suggests: it shows that is independent of at every time, which is why linear in works. The units: is an acceleration per time, so is a length.
Problem 3#
The |x| potential
A particle of mass moves back and forth along a line in the potential
In words
capital V (x) equals capital F the absolute value of x, capital F greater than 0 a constant
Using action-angle variables, find the period of the motion as a function of the energy , and check that it has the right dimensions.
(a)5 points
Find the action variable as a function of .
The box is our addition. Give ; type m, E and F.
Hint
over one full cycle. Where are the turning points, and how many equal pieces does the cycle split into?
Solution
The idea. The action is the area of the closed orbit in phase space. The orbit is symmetric in and in , so it is four times the area of one quarter.
The action
The notes define
In words
capital J equals the loop integral of p d q
Here and the turning points are , so
In words
capital J equals 4 the integral over 0 of to the power capital E over capital F, end of power, the square root of 2 m the quantity capital E minus capital F x, d x equals 8 the square root of 2 m over the quantity 3 capital F, times capital E to the power three halves
Check the result
The units: is a momentum and a length, so is a momentum times a length, an action, as it must be.
(b)5 points
From , find the period as a function of , and check its dimensions.
The box is our addition. Give ; type m, E and F.
Hint
The frequency is . You have , the inverse function.
Solution
The idea. , so the period is : differentiate the action.
The period
The notes give
In words
nu equals partial H( capital J ) over partial capital J
so
In words
tau equals 1 over nu equals d capital J over d capital E equals 4 the square root of 2 m over capital F, times capital E to the power one half equals 4 the square root of 2 m capital E over capital F
Check the result
Dimensions: is a momentum (kg m/s) and a force (kg m/s²), so is in seconds. Directly: from the centre the particle leaves at speed and is slowed by a constant force , so it stops after ; the full cycle is four such stretches. Unlike the harmonic oscillator, the period grows with the energy, as .
Problem 4#
The csc² potential
A particle of mass and energy moves in one dimension in the potential
In words
capital V (x) equals a over the quantity sine squared of the quantity x over x nought
where and are constants. (The sheet writes with the cosecant, csc = 1/sin, as csc².) is infinite at every multiple of ; our choice: the particle is in the cell (every other cell is a copy of it).
(a)2 points
Write Hamilton's characteristic function as an integral.
The box is our addition. Give the integrand for a particle moving towards larger ; type m, E, a, x and x0 for .
Hint
has no explicit time, so obeys . Solve for .
Solution
The idea. The time-independent Hamilton-Jacobi equation in one dimension is solved by a single integral.
The characteristic function
With and , the equation (4.130) of the notes reads , so
In words
capital W (x, capital E ) equals plus or minus the integral of the square root of 2 m the quantity capital E minus a over the quantity sine squared of the quantity x over x nought, d x
with the upper sign while the particle moves towards larger .
Check the result
is the momentum, , as for any particle in a potential. It is real only where : this decides where the motion can take place, which is part (b).
(b)4 points
Under what conditions can action-angle variables be used?
The box is our addition. Choose the conditions on and .
Hint
Action-angle variables need a periodic motion. Sketch in the cell for and for .
Solution
The idea. The method needs a bounded, periodic motion: a libration between two turning points (or a rotation, which this potential cannot give).
The two signs of a
For , is a well in each cell: infinite at both walls and smallest at the middle, , where . Every energy gives a libration between two turning points, at ; for there is no motion at all, and is rest at the bottom.
For , is a hill: largest, , at the middle, and falling to at the walls. The particle runs into a wall, reaching it in a finite time with infinite speed, and there is no periodic motion.
The conditions
In words
a greater than 0 and capital E greater than a
Check the result
Near the wall at , . For that is a pull that grows without limit, and the particle falls in. For the same term is a repulsive wall that turns every particle back, which is why every energy above the floor gives a closed orbit.
(c)8 points
Assume these conditions hold. Find the frequency of oscillation as a function of energy by the action-angle method, showing your steps. Hint from us, in place of the sheet's: the integral you need is the one the notes evaluate for the polar action of the Kepler problem.
The two boxes are our additions. In the first, give the action ; in the second, the frequency in cycles per unit time. Type m, E, a and x0 in both.
Hint
Substitute . The action becomes .
Hint
Compare with the notes' , whose value they find. Which quantities play the parts of and ?
Solution
The idea. Write , recognise the integral of the Kepler problem's polar action, invert to get , and differentiate.
The action as an integral
With and , the particle runs between and , with , and back:
In words
capital J equals the loop integral of p d x equals x nought the square root of 2 m the loop integral of the square root of capital E minus a over the quantity sine squared u, end of root, d u
The integral of the notes
For the Kepler problem in spherical coordinates the notes evaluate
In words
capital J sub theta equals the loop integral of p theta d theta equals the loop integral of plus or minus the square root of alpha sub theta squared minus alpha sub phi squared over the quantity sine squared theta, end of root, d theta
and find
In words
capital J sub theta equals 2 pi the quantity alpha sub theta minus alpha sub phi
for , with the turning points at . Our integral is the same with and , and the conditions of (b) are exactly . So
In words
capital J equals 2 pi x nought the square root of 2 m the quantity the square root of capital E minus the square root of a
The frequency
Inverting, , and with :
In words
nu equals partial capital E over partial capital J equals 2 the square root of capital E over the quantity 2 pi x nought the square root of 2 m, equals 1 over the quantity pi x nought, times the square root of capital E over the quantity 2 m, end of root
Check the result
is zero at , the particle at rest at the bottom, as it must be. The units: is a speed, and a speed over a length is a rate. As a check that does not rely on the notes, a numerical integration of gives the same period (our check, in the calcs file). The frequency grows with energy: the walls become steeper than a parabola, so a wider swing is completed faster.
(d)4 points
Check the result of (c) in the limit of small oscillations.
The box is our addition. Give the frequency , in cycles per unit time, of small oscillations about the bottom of the well, found from the shape of near its minimum; type m, a and x0.
Hint
Expand to second order about . What spring constant does that give?
Solution
The idea. Near its minimum every smooth potential is a parabola, whose frequency does not depend on the amplitude. The result of (c) must reduce to it as .
The parabola at the bottom
With , , so and
In words
capital V is approximately a plus a over x nought squared, times the quantity x minus pi x nought over 2, all squared equals a plus one half 2 a over x nought squared, times the quantity x minus pi x nought over 2, all squared
a spring of constant . For an oscillator the notes find , with the angular frequency:
In words
partial capital E over partial capital J equals capital omega over the quantity 2 pi
so here
In words
nu nought equals 1 over the quantity 2 pi, times the square root of 2 a over the quantity m x nought squared, end of root, equals 1 over the quantity pi x nought, times the square root of a over the quantity 2 m, end of root
The cross check
Setting in the result of (c) gives , the same. Near the bottom with , the oscillator's action: expanding in the result of (c) gives exactly that.
Problem 5#
A three-dimensional oscillator
A particle of mass is held by springs of different constants , , along the , and directions, numbered 1, 2, 3, so that with .
(a)3 points
Separate the variables, introduce action-angle variables and (), and find the frequencies of the oscillator. You may use the action-angle solution of the one-dimensional oscillator.
The box is our addition. Give as a function of the actions; type J1, J2, J3, k1, k2, k3 and m. Our choice: the frequencies are written , in cycles per unit time, as in the notes.
Hint
is a sum of three one-dimensional oscillators, so . What is the action of one oscillator in terms of its energy?
Solution
The idea. The Hamiltonian is a sum of three independent oscillators. Each has its own action and angle, and is linear in the actions.
Separation
is a sum of terms each in one pair , so , as in the notes,
In words
capital W equals the sum over j of capital W sub j ( q sub j, alpha )
with and .
The actions and frequencies
Each is the oscillator of the notes, with :
In words
capital J equals 2 pi capital E over capital omega
So and
In words
H equals 1 over the quantity 2 pi, times the quantity capital J one the square root of k sub 1 over m, end of root, plus capital J two the square root of k sub 2 over m, end of root, plus capital J three the square root of k three over m, end of root, nu sub i equals partial H over partial capital J sub i equals 1 over the quantity 2 pi, times the square root of k sub i over m, end of root
Check the result
The frequencies do not depend on the actions: the period of a harmonic oscillator does not depend on its amplitude. Each angle variable advances as , by 1 in each cycle of its own direction.
(b)3 points
The action-angle variables of one direction are tied to as in one dimension (for direction , put , , , , ):
In words
x equals ( capital J over the quantity pi the square root of k m, ) to the power one half, end of power, sine (2 pi w), p equals ( capital J the square root of k m over pi ) to the power one half, end of power, cos (2 pi w)
Using that the are canonical, show with Poisson brackets that the are canonical too. (This also follows because , which defines the angle variables, is a generating function of type 2.)
The box is our addition. Give the action of one direction in terms of its and ; type x, p, k and m.
Hint
Invert the two relations: gives , and their ratio gives .
Hint
Then compute with derivatives with respect to and . Brackets between different directions vanish at once. Why?
Solution
The idea. Write and as functions of and compute their brackets with respect to the canonical pair . A transformation is canonical when the new variables have the fundamental brackets.
The test
The notes' condition is
In words
capital Q sub i, capital Q sub j sub q,p equals capital P sub i, capital P sub j sub q,p equals 0, capital Q sub i, capital P sub j sub q,p equals delta sub i j
with the bracket
In words
u, v sub q,p equals the sum over i of the quantity partial u over partial q sub i, times partial v over partial p sub i minus partial v over partial q sub i, times partial u over partial p sub i
Here and .
w and J in terms of x and p
Write . From the given relations, and , so
In words
capital J equals pi the quantity s x squared plus p squared over s, tan (2 pi w) equals s x over p, s equals the square root of k m
The brackets
From : and . From : and . So, in one direction,
In words
w, capital J equals partial w over partial x, times partial capital J over partial p minus partial capital J over partial x, times partial w over partial p equals s p over the quantity 2 pi the quantity p squared plus s squared x squared, times 2 pi p over s plus 2 pi s x times s x over the quantity 2 pi the quantity p squared plus s squared x squared, equals 1
Also , as for any function with itself. Between different directions, and depend only on and , only on , so every term of the sum has a zero factor: for . Together, and the rest vanish: the are canonical.
Check the result
with and , as in (a). The bracket of 1 says the map keeps areas in phase space: the ellipse of action has area , cut into slices of equal area by the angle.
(c)4 points
When the oscillator has a degeneracy it is handier to use other canonical pairs , and . Take
In words
capital J sub a equals capital J one plus capital J two plus capital J three, capital J sub b equals capital J one plus capital J two, capital J sub c equals capital J one
and find , and as linear combinations of , , by requiring the new pairs to be canonical. Check that for one of the new angle variables is conserved, and for two of them.
The five boxes are our additions. In the first three, give , and ; type w1, w2 and w3. In the fourth, choose which new angle variable is conserved when ; in the fifth, which two are conserved when .
Hint
The new actions are fixed linear combinations of the . A type-2 generating function , with the old angles as coordinates, gives each new angle as a derivative: , and so on.
Hint
Equivalently: ask that . Then check with the brackets of (b) that each new angle has bracket 1 with its own action and 0 with the other two.
Solution
The idea. A linear change of the actions comes with the transposed inverse change of the angles. Keeping the same is the simplest way to find it.
The new angles
Invert the actions: , , . With , , and give
In words
w sub a equals w three, w sub b equals w two minus w three, w sub c equals w one minus w two
Check with the brackets of (b): , , ; the others go the same way, and the new angles have zero brackets among themselves, as the new actions do.
Their rates
Each grows at , so
In words
d w sub a over d t equals nu 3, d w sub b over d t equals nu 2 minus nu 3, d w sub c over d t equals nu 1 minus nu 2
The same follows from and Hamilton's equation , and the same for and .
Degeneracy
For , and is conserved. For , also , and and are both conserved; still grows at . then depends on alone.
Check the result
. The pattern is that of the Kepler problem in the notes, where , , and two of the new angles are constants of the orbit.