Hi everybody,

Well, I’m finally getting around to talking about the Hamiltonian formalism of classical mechanics. Of course, if you’ve been keeping up with The Everything Seminar, the good people over there have discussed this very topic recently (with some of the Lagrangian formalism thrown in), but I feel it never hurts to have someone go over it again. Besides, I promised in an earlier post that I would talk about this, so here I go:

In this discussion, time will still be modeled by a 1-dimensional Euclidean space, but we will allow space to be an arbitrary manifold with a Riemannian metric. The Riemannian metric is an obvious requirement since we want to be able to measure distances between points (at least points that are close together), but an added bonus of having a metric is it induces a bundle isomorphism between the tangent bundle and cotangent bundle of . As in this post, we will let denote the space of physical paths a particle can take. We will assume that a path in is determined by its initial position and velocity so that . Thus, we can pull the canonical symplectic structure of back onto . The goal of Hamiltonian mechanics is to encode the symmetries of in the Lie algebra .

By a symmetry of , I mean a symplectomorphism, but we will only be concerned with infinitesimal symmetries (symplectomorphisms): such that . Let be the set of all infinitesimal symplectomorphisms. We call elements of *observables*. We saw last time that we can associate to every a vector field called the symplectic gradient. An obvious question that can be asked at this point is if every infinitesimal symmetry is the symplectic gradient of some function in this manner. The short answer is no in general. Remember that , so to corresponds to a function if and only if is exact. Also, we see that not every function corresponds to a different symplectic gradient, we can change the function by a constant value on each connected component of . To summarize, we have the following exact sequence:

The first map is injection of the constant functions into ; the second assigns to a function its symplectic gradient; the last is given by . To show that the last map is well defined, we need to show that indeed is closed. This follows immediately from the fact that is closed and Cartan’s formula: .

From this point on, we will assume is connected. In classical mechanics, we have a distinguished 1-parameter group of time translations. We assume that , the corresponding infinitesimal generator, is an infinitesimal symmetry, and that is exact. (Back in the Newtonian picture, this would correspond to our assumption that was time-independent.) We now have a choice of corresponding observables (up to constant). We pick one, call it , where , the Hamiltonian (or energy). Thus, . We now have what is known as a *Hamiltonian system* – a Hamiltonian system is just a symplectic manifold with a distinguished observable.

We define an infinitesimal symmetry of a Hamiltonian system to be an infinitesimal symmetry of our symplectic manifold with the added condition that . Note that if is an observable corresponding to an infinitesimal symmetry of the Hamiltonian system, then . We call such an observable a *conserved charge*. Why do we call it conserved? Well, remember how the Poisson bracket was defined: , and so is independent of time. A trivial example of this is , and so energy is conserved! (Big deal, this follows straight from the definition. We have yet to show that this corresponds to what we usually think of as energy.) In general, for any observable , we can define its time derivative by .

That’s plenty of this abstraction; let’s take a break and see that in the familiar case of a particle moving through Euclidean space, takes the form we expect, namely that of energy. Here, our space is with the usual Euclidean metric, and say our particle has mass . If are the usual global coordinate functions on , then we can write my canonical symplectic form as , as we did at the end of this post. Now we can compute in these coordinates.

Thus, we get two sets of equations:

These are called Hamilton’s equations. You probably recognize them as the equations of motion from when you originally learned Hamiltonian mechanics, provided we the interpret the as coordinates of momentum. But why should we consider these to be momentum coordinates. Remember that we are on a Riemannian manifold. An element of the tangent bundle is interpreted as a velocity vector . The classical mechanics definition of momentum of a particle at time is simply . Therefore, momentum is a tangent vector, but since we have a canonical way of identifying the tangent and cotangent bundles, we can (and often prefer to) think of momentum as a covector.

In our case, the metric (and so the identification of bundles) is trivial, thus, the second equation becomes . Therefore, for some function . Plugging this formula into the first equation, we get Newton’s Second Law: . So we’ve recovered Newtonian mechanics from the Hamiltonian formalism, and the Hamiltonian did take the expected form of total energy (kinetic + potential).

As we stated before, the main lesson to take away from Hamiltonian mechanics is that symmetries of the Hamiltonian system lead to conserved charges. Before saying good-bye, let’s get some practice computing some of these charges in a situation with a lot of symmetry: a free particle moving in Euclidean space. In this case, for some constant . It is easy to check that the vector fields on given by are infinitesimal symmetries of the Hamiltonian system. Indeed, and . Hence, we get conserved charges , that is, in a free particle system momentum is conserved. (Actually, the conserved charges we get are , but if one is conserved, then the other is. Also, note that the like the Hamiltonian, the momentum charges are only determined up to a constant. Fixing a constant is akin to fixing a frame of reference to make your measurements.)

The free particle system also has rotational symmetry, so we would expect the vector field for to be an infinitesimal symmetry of our Hamiltonian system. However, this is not a symmetry: it is easy to check that is not closed. This is because when we rotate our coordinate system, we also have to rotate the corresponding coordinates in the cotangent space. Thus, we should define:

It is easy to check that this is in fact an infinitesimal symmetry, and the corresponding charge is . These are precisely the components of the angular momentum tensor. Thus, we have derived the law of conservation of angular momentum. It could be noted that in fact we did not need a constant potential to find this conservation law. It is enough to have a potential that depends only on . One final thought: in the Hamiltonian formalism, there is an ambiguity in finding the conserved charges. Each charge is only defined up to a constant. In the Lagrangian formalism, we will see a method of computing these charges in which there is no ambiguity.

That’s all for now. ‘Till next time.

-Joe

October 24, 2007 at 10:20 pm

Instead of using the canonical inner product on R^n, you should really think of mass as your inner product. <>=m where is the canonical inner product. Then kinetic energy is proportional to the squared norm of a velocity K=(1/2)<>. And this gives a natural reason to think of momentum as a covector, if the particle has velocity v the momentum is given by p(w)=<> (so K=(1/2)p(v)). Thinking of the inner product as mass (inertia) is also nice in rigid body mechanics where now the inner product should be a Riemannian metric on SO(3), given by the inertia tensor making the definition of angular momentums as the cotangent space particularly cool.

October 24, 2007 at 10:22 pm

oops…stuff between angle brackets went away.

Instead of using the canonical inner product on R^n, you should really think of mass as your inner product. ((v,w))=m(v,w) where (v,w) is the canonical inner product. Then kinetic energy is proportional to the squared norm of a velocity K=(1/2)((v,v)). And this gives a natural reason to think of momentum as a covector, if the particle has velocity v the momentum is given by p(w)=((v,w)) (so K=(1/2)p(v)). Thinking of the inner product as mass (inertia) is also nice in rigid body mechanics where now the inner product should be a Riemannian metric on SO(3), given by the inertia tensor making the definition of angular momentums as the cotangent space particularly cool.

October 30, 2007 at 12:12 am

That is indeed a very useful interpretation of mass that I haven’t thought of before. And it sounds like it would generalize very naturally to the configuration space of a many-particle system. Do you have a reference for this?

November 1, 2007 at 2:57 am

nope.

March 31, 2013 at 11:48 am

[...] http://rigtriv.wordpress.com/2007/10/24/hamiltonian-mechanics/ [...]