Point transformations
The simplest type of transformation, “point transformations” simply change the \(q_i\) to a new set of coordinates, \(Q_i\). We know from our liberty in choosing a set of generalized coordinates that the Lagrangian is invariant under point transformation. Naturally, Hamilton’s equations are also preserved, and point transformations of the type:
are canonical.
General transformations
Consider the general invertible canonical transformation of the form:
The equations of motion will be preserved if the integrand of the action (i.e. the Lagrangian) is modified at most by a total time differential of some function, \(F\):
where we have, arbitrarily, chosen that \(F\) depends on the pair of variables \(q_i, Q_i\). We could have just as well chosen any pair of variables that mixes the new and old coordinates, \(F(p_i, P_i)\), \(F(p_i, Q_i)\), or \(F(q_i, P_i)\). We assume (impose) that the transformation is canonical, so that:
We will require that Equation 8.4 is true so that we can make the transformation canonical. Consider the time derivative of \(F\):
which we can substitute back into 8.4:
We can guarantee the validity of this equation by setting the coefficients of \(\dot q_i\) and \(\dot Q_i\) to zero:
and by requiring that the new Hamiltonian is then given by:
We call \(F\) the “generator” of the canonical transformation, since it tells how to define the new Hamiltonian and the new coordinates. Given \(F\) and the above equations, one can always invert the transformation equations to get:
and Hamilton’s canonical equations for \(K(Q_i,P_i,t)\).
We have four possible “types” of canonical transformations depending on the variables that \(F\) depends on:
\(F=F_1(q_i,Q_i,t)\) are transformations of the first type
\(F=F_2(q_i,P_i,t)-\sum_iQ_iP_i\) are transformations of the second type
\(F=F_3(p_i,Q_i,t)+\sum_ip_iq_i\) are transformations of the third type
\(F=F_4(p_i,P_i,t)+\sum_ip_iq_i-\sum_iQ_iP_i\) are transformations of the fourth type
These relations between the generating functions are similar to Legendre transformations, although it is not always true that, for a given situation, one can use any of the coordinate transformations (this may lead to expressions that are singular, ill-defined, etc.). It should also be noted that one can use generating functions that mix the above possibilities for different indices. For example, a valid generating function could be of one type for \(i=1\) and of another for \(i=2\).
One can use the same formalism as above to determine how the various generating functions give different coordinate transformations. These are summarized in table 8.1.
| Type | Transformation equations |
| \(F=F_1(q_i,Q_i,t)\) | \(p_i=\die{F_1}{q_i}\) \(P_i=-\die{F_1}{Q_i}\) |
| \(F=F_2(q_i,P_i,t)-\sum_iQ_iP_i\) | \(p_i=\die{F_2}{q_i}\) \(Q_i=\die{F_2}{P_i}\) |
| \(F=F_3(p_i,Q_i,t)+\sum_ip_iq_i\) | \(q_i=-\die{F_3}{p_i}\) \(P_i=-\die{F_3}{Q_i}\) |
| \(F=F_4(p_i,P_i,t)+\sum_ip_iq_i-\sum_iQ_iP_i\) | \(q_i=-\die{F_4}{p_i}\) \(Q_i=\die{F_4}{P_i}\) |
It is interesting to note that one can choose an arbitrary function \(F(q_i, Q_i,t)\) and generate a canonical transformation, giving us a new set of arbitrary coordinates and Hamiltonian that will automatically satisfy the equations of motion. Being able to re-write the equations of motion in an arbitrary coordinate system is a powerful tool.
Example 8-1
For a canonical transformation of the first type, we have
These can be trivially inverted to obtain the new coordinates in terms of the old ones:
which had the net effect of reversing the coordinates with their conjugate momenta, highlighting how these should really be treated as independent in Hamiltonian mechanics.
Example 8-2
For a canonical transformation of the second type, we have
Again, these are trivially inverted
which is the identity transformation.
Example 8-3
The Hamiltonian for the simple harmonic oscillator is:
The transformation equation for the given generating function of the first kind are:
Rearranging for \(p\) and \(q\):
which we can now substitute to get \(K\):
and since \(Q\) is clearly cyclic, we have that \(P\) is constant. In this case, the total Hamiltonian is the energy, \(E\), so we can write:
The canonical equation for \(Q\) gives:
where \(\beta\) is an integration constant that depends on the initial conditions. We can now transform this back to the original variables:
as expected.