Section 4.3 ended with a suggestion: the motion itself is a canonical transformation, from present to initial values, so look directly for a transformation to variables that never change. This page follows Section 4.4 of the notes (pp. 73–79), which turns that idea into an equation, and tests it on the harmonic oscillator.
New variables that never move#
Ask for new canonical variables that are all constant (notes p. 73):
In words
capital Q sub i dot equals capital P sub i dot equals 0 which gives ( capital Q, capital P ) are all constants
Hamilton's equations in the new variables, and , then demand that not depend on or (eq. (4.102)). A constant would do, but is the simplest choice. With a type-2 generating function , Section 4.1 gives , so the requirement is
In words
K equals capital H (q, p, t) plus partial capital F two over partial t equals 0
The Hamilton-Jacobi equation#
The old momenta are not independent variables here: for a type-2 function, . Substituting turns the condition into an equation for alone (notes p. 73):
In words
capital 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
This is the time-dependent Hamilton-Jacobi equation (the H-J equation): a first-order partial differential equation for in the variables . A complete solution contains independent constants of integration. One of them only adds a constant to , which changes nothing, so drop it. Call the solution, with its remaining constants ,
In words
capital F two is defined as S equals S( q one, and so on, q n, alpha one, and so on, alpha sub n, t)
From S to the motion#
The constants are the natural choice for the new momenta, , since new momenta are supposed to be constant anyway. That makes a function of , as a type-2 generating function should be. Its other derivative then gives the new coordinates, which the notes call to stress that they too are constants:
In words
capital P sub i is defined as alpha sub i and capital Q sub i is defined as beta sub i equals partial S(q, alpha, t) over partial alpha sub i
Solving these equations gives the motion (notes pp. 73–74): the equations can be inverted for , and substituting into gives :
In words
beta sub i equals partial S over partial alpha sub i which gives q sub i equals q sub i ( alpha, beta, t), p sub i equals partial S over partial q sub i which gives p sub i equals p sub i ( alpha, beta, t)
(The notes point out that and are, strictly, different functions; the arguments make clear which is meant.) To solve an initial-value problem, set in these results, and (eq. (4.108)): equations that trade the constants for the initial data. So generates the canonical transformation to constant variables, and finding it solves the mechanics problem.
What S is#
The notes add three remarks (pp. 74–75).
The constants are ours to choose. Any independent functions of the constants would serve equally well, so when solving the H-J equation we introduce constants in whatever form is convenient.
is the action. Along the motion, its total time derivative is
In words
S dot equals partial S over partial q sub i, times q sub i dot plus partial S over partial capital P sub i, times capital P sub i dot plus partial S over partial t
and the three pieces are known: , , and by the H-J equation (eq. (4.110)). Hence
In words
S dot equals p sub i q sub i dot minus capital H equals L which gives S equals the integral of L d t
Hamilton's principal function is the action, written as an indefinite time integral of the Lagrangian; that is why the two share the letter .
The H-J equation is the classical limit of quantum mechanics. Start from the Schrödinger equation for a particle in a potential,
In words
i h bar partial psi over partial t equals capital H psi equals the quantity minus h bar squared over the quantity 2 m, times partial squared over partial q squared plus capital V (q), psi
and write the wavefunction as . This is only a change of variable, with now complex, and loses nothing. Taking the derivatives and dividing out the common exponential gives an equation for that is equivalent to the Schrödinger equation (notes p. 75):
In words
minus partial S over partial t equals minus i h bar over the quantity 2 m, times partial squared S over partial q squared plus 1 over the quantity 2 m, times ( partial S over partial q ) squared plus capital V (q)
As the only term with disappears, and what remains is the H-J equation for :
In words
0 equals partial S over partial t plus 1 over the quantity 2 m, times ( partial S over partial q ) squared plus capital V (q) equals partial S over partial t plus capital H (q, partial S over partial q )
This is the leading term of the WKB approximation, the subject of the 8.06 pages on the semiclassical approximation and the WKB approximation: there the phase of the wavefunction is , which is in the notation below.
Test case: the harmonic oscillator#
A new method should first be tried where the answer is known (notes pp. 75–76). Take the oscillator of Section 4.1,
In words
capital H equals 1 over the quantity 2 m, times the quantity p squared plus (m omega q) squared, equals capital E
with one constant momentum and one constant coordinate . The H-J equation reads
In words
1 over the quantity 2 m, times the quantity ( partial S over partial q ) squared plus (m omega q) squared, all plus partial S over partial t equals 0
It separates: try (eq. (4.117)). Then the -dependent terms and the -dependent term stand on opposite sides,
In words
1 over the quantity 2 m, times the quantity ( partial W over partial q ) squared plus (m omega q) squared, equals minus partial g over partial t equals alpha
and since one side does not depend on and the other not on , both equal a constant, which is the natural choice for the new momentum . The time part integrates at once to (dropping an additive constant, eq. (4.119)). Since (eq. (4.120)), the constant is the energy, (eq. (4.121)). The space part, eq. (4.122), is solved for and left as an integral for now:
In words
S equals minus alpha t plus or minus the integral of the square root of 2 m alpha minus (m omega q) squared, end of root, d q
Now differentiate with respect to first, and only then integrate:
In words
beta equals partial S over partial alpha equals minus t plus or minus m the integral of d q over the square root of 2 m alpha minus (m omega q) squared, end of root, which gives t plus beta equals plus or minus 1 over omega arc sine ( the square root of m omega squared over the quantity 2 alpha, end of root, q )
Inverting, and then using :
In words
q equals plus or minus the square root of 2 alpha over the quantity m omega squared, end of root, sine ( omega the quantity t plus beta, ), p equals plus or minus the square root of 2 m alpha cos ( omega the quantity t plus beta, )
the familiar solution, with fixing the phase. Shifting by flips both signs, so the positive roots can be kept, and can be traded for initial conditions at .
Time-independent Hamiltonians: the characteristic function W#
Separation of variables is the main way to solve the H-J equation. One separation is always available: if has no explicit time dependence, (eq. (4.128)), and time separates as in the example (notes pp. 76–77):
In words
S(q, alpha, t) equals W(q, alpha ) minus alpha one t
with the separation constant. Substituting into the H-J equation leaves
In words
capital H ( q one, and so on, q n, partial W over partial q one, and so on, partial W over partial q n ) equals alpha one
the time-independent Hamilton-Jacobi equation. Here is the conserved value of , the energy when is the energy. The function is Hamilton's characteristic function. Following the time-dependent recipe, the momenta and the constant coordinates are
In words
p sub i equals partial W over partial q sub i, capital Q one equals beta one equals partial S over partial alpha one equals partial W over partial alpha one minus t, capital Q sub j equals beta sub j equals partial W over partial alpha sub j, times (j equals 2, and so on, n)
W as a generating function in its own right#
There is a second way to read the same equations, which never mentions (notes p. 77). Use itself as a type-2 generating function, and ask only that the new momenta be constant, with . The opening of this chapter showed that this weaker demand lets the new coordinates grow linearly in time, which is still simple. Three relations are unchanged, , and (eq. (4.132)), but now has no explicit time dependence, so , not zero, and every new coordinate is (eq. (4.133)). Hamilton's equations then give
In words
capital Q one dot equals partial K over partial alpha one equals 1 which gives capital Q one equals t plus beta one equals partial W over partial alpha one, capital Q sub j dot equals partial K over partial alpha sub j equals 0 which gives capital Q sub j equals beta sub j equals partial W over partial alpha sub j
which is eq. (4.131) rearranged. Three more remarks (notes p. 78):
- If the constants are re-chosen as functions of the 's, then are constants, and potentially every new coordinate is linear in time, (eq. (4.136)).
- is also an action of a kind:
In words
W dot equals partial W over partial q sub i, times q sub i dot equals p sub i q sub i dot which gives W equals the integral of p sub i q sub i dot d t equals the integral of p sub i d q sub i
- The time-independent H-J equation resembles the time-independent Schrödinger equation: both involve and a constant energy. But the H-J equation is non-linear in , while the Schrödinger equation is linear in .
A ball thrown upwards, by Hamilton-Jacobi
A ball of mass kg moves vertically, height , in uniform gravity m/s², so . Solve the time-independent H-J equation, find from , and fix the constants for a throw from at m/s upwards at .
The characteristic function
The H-J equation is , so , and integrating, .
The motion
. Squaring, , so : a parabola whose top, at height , is reached at . The square root is never negative, so this branch has : it is the way up; the other sign of gives the way down.
The constants
is the energy: J. The top is at m, reached after s, so s. Check at : , and kg m/s .
Separation of variables#
The H-J method pays off when lets the variables separate (notes pp. 78–79). Suppose the dependence on one pair enters only through a function :
In words
capital H equals h one ( q one, q two, p one, p two ) plus h two ( q one, q two, p one, p two ) f( q three, p three ) equals alpha one
Then (eq. (4.139)). The left side involves only , the right side does not, so both are constant; call it (eq. (4.140)). Writing , the H-J equation splits in two:
In words
f ( q three, partial W three over partial q three ) equals alpha two, h one ( q one, q two, partial W prime over partial q one, partial W prime over partial q two ) plus alpha two h two ( q one, q two, partial W prime over partial q one, partial W prime over partial q two ) equals alpha one
and may or may not separate further. If every variable separates, (eq. (4.143)); in practice one tries this form and sees whether it works.
Cyclic coordinates always separate. If is cyclic, its momentum is a constant and does not contain (eq. (4.144)). Writing (eq. (4.145)), the condition integrates at once:
In words
W(q, alpha ) equals gamma q one plus W prime ( q two, and so on, q n, alpha )
and the same step repeats for every other cyclic coordinate. Finally, separation is a property of the coordinates as much as of the problem. With spherical symmetry, spherical coordinates are the natural choice; Cartesian ones may fail. Section 4.5 separates the Kepler problem in plane polar and then in spherical coordinates.
Summary#
- Asking for a canonical transformation to constant variables, generated by with , gives the Hamilton-Jacobi equation .
- Its constants are the new momenta ; the new coordinates are also constant, and solving for gives the motion.
- Along the motion : is the action. With the Schrödinger equation becomes the H-J equation as .
- For time-independent , and ; is Hamilton's characteristic function, and .
- The method works when the variables separate, ; cyclic coordinates always separate, and the choice of coordinates matters.