1 Classical mechanics
In classical mechanics, the Hamiltonian is a function that usually represents the total energy of a system in terms of positions and momenta. It provides an alternative formulation to Newtonian and Lagrangian mechanics, emphasizing the geometry of phase space and the evolution of a system through time.
1.1 Hamiltonian formulation
The Hamiltonian formulation rewrites dynamics using coordinates that pair each generalized position with a corresponding momentum. Instead of describing motion directly through forces and accelerations, it describes how a system moves across phase space under an energy function. This approach is especially useful for systems with constraints, many degrees of freedom, or symmetries.
1.2 Canonical coordinates and phase space
Canonical coordinates are the standard position-momentum variables used in Hamiltonian mechanics. Together they define phase space, the mathematical arena in which each state of the system is represented by a point. The arrangement makes it possible to study trajectories, conserved quantities, and transformations in a unified way.
1.3 Hamilton's equations
Hamilton's equations give the time evolution of canonical coordinates and momenta. They state that the rate of change of position is determined by the derivative of the Hamiltonian with respect to momentum, while the rate of change of momentum is determined by the negative derivative with respect to position. These equations are equivalent to the usual equations of motion for many classical systems.
1.4 Conservation laws
Hamiltonian mechanics is closely connected to conserved quantities. When a system is described by a Hamiltonian that does not explicitly depend on time, the total energy is often conserved. More generally, symmetries of the Hamiltonian help identify quantities that remain constant throughout the motion.
1.4.1 Energy conservation
If the Hamiltonian has no explicit time dependence, it is typically conserved along a trajectory. In many standard mechanical systems, this conserved value corresponds to the sum of kinetic and potential energy. This property makes the Hamiltonian especially valuable in analyzing stable motion and long-term behavior.
1.4.2 Symmetries and Noether's theorem
Noether's theorem links continuous symmetries to conserved quantities. In Hamiltonian settings, invariance under translations, rotations, or time shifts can lead to conservation of momentum, angular momentum, or energy, respectively. This connection gives a powerful method for understanding why certain quantities remain unchanged.
1.5 Relation to Lagrangian mechanics
Hamiltonian mechanics is closely related to Lagrangian mechanics, which is based on positions, velocities, and a quantity called the Lagrangian. A transformation between the two frameworks, often through a Legendre transform, converts velocity-based descriptions into momentum-based ones. The two formalisms usually produce equivalent physical predictions, while highlighting different aspects of the same system.
2 Quantum mechanics
In quantum mechanics, the Hamiltonian is an operator that represents the total energy of a system. It plays a central role in determining the system’s allowed energy levels, wave behavior, and time evolution. Unlike the classical Hamiltonian, it acts on states in a Hilbert space rather than on points in phase space.
2.1 Hamiltonian operator
The Hamiltonian operator encodes the physical content of a quantum system. For many problems it includes kinetic-energy terms and potential-energy terms, but its exact form depends on the system and the approximations used. Because it is an operator, it must be handled according to the rules of linear algebra and quantum theory.
2.2 Eigenvalues and eigenstates
The eigenvalues of the Hamiltonian correspond to possible measured energies of the system, while the eigenstates are the states with definite energy. Solving the eigenvalue problem for the Hamiltonian is a major step in finding the spectrum of a quantum system. These solutions often reveal stable states and characteristic patterns of motion.
2.3 Time evolution
The Hamiltonian governs how a quantum state changes over time. Through the Schrödinger equation, it determines the phase and amplitude evolution of the wavefunction. In this way, the Hamiltonian functions as the generator of temporal dynamics in standard quantum mechanics.
2.4 Measurement and observables
Because the Hamiltonian is an observable, it can in principle be measured like other physical quantities. Its measurement outcomes are constrained by the state of the system and by the operator’s spectrum. In many cases, the Hamiltonian also serves as a reference point for comparing other observables, especially in stationary states.
2.5 Common quantum systems
Several textbook systems are analyzed by writing down their Hamiltonians and solving the corresponding equations. These examples illustrate how the operator formalism produces discrete energies, spatial structure, and physically meaningful wavefunctions.
2.5.1 Particle in a box
The particle in a box is a simple model in which a particle is confined to a finite region. Its Hamiltonian typically contains only kinetic energy inside the box and an effectively infinite potential at the boundaries. The result is a discrete set of allowed energy levels and standing-wave solutions.
2.5.2 Harmonic oscillator
The quantum harmonic oscillator describes systems with a restoring force proportional to displacement. Its Hamiltonian includes kinetic energy and a quadratic potential energy term. The model is widely used because it is exactly solvable and appears as an approximation in many areas of physics.
2.5.3 Hydrogen atom
The hydrogen atom is a central example of a bound quantum system. Its Hamiltonian describes the interaction between an electron and a proton through an electrostatic potential. Solving it yields the familiar energy levels associated with atomic structure and spectral lines.
3 Mathematical structure
Beyond physics, the Hamiltonian framework has a rich mathematical structure. It connects energy-based dynamics to geometry, differential equations, and transformations on phase space. This structure makes it useful in several branches of pure and applied mathematics.
3.1 Symplectic geometry
Symplectic geometry studies spaces equipped with a special form that underlies Hamiltonian mechanics. This geometric setting captures the relationships between coordinates and momenta in an invariant way. Many properties of Hamiltonian systems become clearer when expressed in symplectic terms.
3.2 Phase-space methods
Phase-space methods analyze systems using both position and momentum variables simultaneously. They are used to visualize trajectories, study stability, and describe transformations that preserve the Hamiltonian structure. Such methods appear in both classical and semiclassical analysis.
3.3 Poisson brackets
Poisson brackets provide an algebraic tool for describing how quantities change under Hamiltonian flow. They measure the interaction between observables and determine whether two quantities are conserved together or generate compatible motions. In classical mechanics, they are fundamental to the structure of the theory.
3.4 Integrable systems
Integrable systems are Hamiltonian systems with enough conserved quantities to allow exact or highly structured solutions. They often exhibit regular, predictable motion rather than chaotic behavior. Their study has influenced differential equations, geometry, and mathematical physics.
3.5 Hamiltonian flows
Hamiltonian flows are the trajectories generated by a Hamiltonian on phase space. They preserve the symplectic structure and often conserve the value of the Hamiltonian itself. Studying these flows helps describe long-term motion and the organization of dynamical systems.
4 Applications
Hamiltonian methods appear in many scientific fields because they provide a compact way to model evolution, conservation, and interaction. They are especially valuable whenever a system can be described in terms of energy and state variables.
4.1 Statistical mechanics
In statistical mechanics, the Hamiltonian defines the energy of microscopic configurations. It is used to build probability distributions over states and to compute thermodynamic quantities such as partition functions and average energies. This makes it central to connecting microscopic models with macroscopic behavior.
4.2 Field theory
In field theory, the Hamiltonian describes the energy of fields rather than individual particles. The formalism is used to analyze waves, interactions, and quantized fields in both classical and quantum settings. It also helps organize complex systems with infinitely many degrees of freedom.
4.3 Celestial mechanics
Celestial mechanics uses Hamiltonian methods to study the motion of planets, moons, and other orbiting bodies. The framework is well suited to gravitational problems because it emphasizes conservation laws and long-term orbital structure. It is particularly useful in perturbation theory and stability analysis.
4.4 Condensed matter physics
In condensed matter physics, Hamiltonians model the collective behavior of electrons, atoms, and quasiparticles in solids and fluids. They are used to describe band structure, magnetism, superconductivity, and lattice vibrations. Simple Hamiltonian models often capture essential features of complex materials.
4.5 Control theory
In control theory, Hamiltonian ideas appear in optimization and the analysis of dynamical systems. They help formulate necessary conditions for optimal control and describe how cost and state variables evolve together. The resulting methods are important in engineering, robotics, and resource management.
5 Extensions and related concepts
The Hamiltonian concept extends beyond time-independent finite systems. Variants and related structures appear in advanced mechanics, matrix theory, and graph theory, each adapting the core energy-based idea to a different mathematical setting.
5.1 Time-dependent Hamiltonians
A time-dependent Hamiltonian changes explicitly with time. Such systems can represent external driving, varying constraints, or interactions that are switched on and off. Their analysis is often more complex because energy is not generally conserved in the usual sense.
5.2 Non-canonical Hamiltonian systems
Non-canonical Hamiltonian systems use variables that do not fit the standard position-momentum pairing. These systems still retain a Hamiltonian-like evolution, but the coordinate structure is modified. They arise in fluid dynamics, plasma physics, and other settings with specialized variables.
5.3 Hamiltonian matrices
Hamiltonian matrices are structured matrices that encode Hamiltonian-type systems in linear algebra. They appear in the study of differential equations, stability, and control problems. Their special block form reflects the underlying symplectic or energy-based relationships.
5.4 Hamiltonian path and graph theory usage
In graph theory, the term Hamiltonian refers to paths or cycles that visit each vertex exactly once. A Hamiltonian path is such a route through a graph, while a Hamiltonian cycle returns to the starting vertex. This usage is named after William Rowan Hamilton and is unrelated to energy, though it shares the same historical origin.