Hamiltonian Mechanics
Prerequisites: Hamiltonian Formalism, Symplectic Structure. Full path (16 pages)
- Abstract Lectures on Mechanics
see also hamiltonian_formalism and hamiltons_equations
Intuitive
Hamiltonian mechanics describes a system by where it is and how much momentum it carries. Instead of tracking positions and velocities and asking what forces act, we collect all positions and all momenta into one point of a larger space, the phase space. One number attached to each point of that space, the Hamiltonian, which for most systems is the total energy, then tells the point how to move.
A picture that helps is a hiking map with contour lines of equal energy. The state of the system is a dot on the map. The Hamiltonian makes the dot slide along a contour line, so the energy stays the same, and the steepness of the terrain sets how fast it slides. For a pendulum the contours are closed loops for small swings and open wavy lines for a pendulum that goes over the top. Reading off which kind of contour you are on tells you the motion without solving anything.
The reason to use this description is that it treats positions and momenta on equal footing. That makes it easy to change to cleverer variables (canonical transformations), to see conservation laws, to describe a cloud of many possible states at once as in statistical mechanics, and to pass to quantum mechanics, where positions and momenta become operators.
Concrete
A system with degrees of freedom is described by generalized coordinates and conjugate momenta , . Starting from a Lagrangian the momenta are , and the Hamiltonian is the Legendre transform where is expressed through and (this needs the matrix to be invertible). The equations of motion are Hamilton's equations first-order equations in place of second-order Euler-Lagrange equations. Along a solution , so is conserved when it has no explicit time dependence.
For we get and . Hamilton's equations give and , which together are Newton's law.
Example: the pendulum. For a pendulum of mass and length with angle , , so and Since is conserved, every trajectory lies on a curve in the plane. For these curves are closed (oscillation), for they wind around in (rotation), and is the separatrix through the unstable point .
Poisson brackets. With the convention the time evolution of any function along a solution is and . A function with no explicit time dependence is conserved exactly when its bracket with vanishes. Some books, including the Abstract section below, use the opposite overall sign for the bracket; then .
Canonical transformations are changes of variables that preserve the brackets, , . They keep Hamilton's equations in the same form with a transformed Hamiltonian. Finding one in which the new Hamiltonian depends only on the momenta solves the problem, since then is constant and grows linearly in time. This is the idea behind action-angle variables and the Hamilton-Jacobi equation.
Reading Recommendations
- The best book on Hamiltonian mechanics is The Lazy Universe by Coopersmith
- No-Nonsense Classical Mechanics by Jakob Schwichtenberg, chapter "Hamiltonian Mechanics"
Abstract
Lagrangian mechanics can be formulated geometrically using fibre bundles.
The Hamiltonian function is defined on the cotangent bundle , which is called phase space.
In contrast, the Lagrangian function is defined on the tangent bundle of the configuration space .
The map from is called Legendre transformation.
The phase space is endowed with a symplectic structure, which defines the Poisson Bracket. The Poisson Bracket is an operation that eats two scalar fields , on the manifold and spits out another scalar field :
With this sign convention ; many texts use the opposite sign.
If we leave the slot blank, we can use the Poisson bracket to define a differential operator . This is a vector field and when it acts on , we get . If we use instead of , the Hamiltonian , we get an differential operator that 'points along' the trajectories in phase space and describes exactly the evolution that we get from Hamilton's equations.
In this sense, the dynamical evolution of a given system is completely described by the Hamiltonian (= a scalar function).
- Lectures on Mechanics by Marsden
- See page 471 in Road to Reality by R. Penrose, page 167 in Geometric Methods of Mathematical Physics by B. Schutz and http://philsci-archive.pitt.edu/2362/1/Part1ButterfForBub.pdf.
- For some more backinfo why there is a symplectic structure in classical mechanics, have a look at Classical Mechanics versus Thermodynamics (Part 2) | Azimuth
a ‘Hamiltonian’ or a ‘Lagrangian’
Instead, we started with Hamilton’s principal function where is not the usual configuration space describing possible positions for a particle, but the ‘extended’ configuration space, which also includes time. Only this way do Hamilton’s equations, like the Maxwell relations, become a trivial consequence of the fact that partial derivatives commute.
Classical Mechanics versus Thermodynamics (Part 2) | Azimuth