In physics, Hamiltonian mechanics is a reformulation of Lagrangian mechanics that emerged in 1833. Introduced by Sir William Rowan Hamilton,[1] Hamiltonian mechanics replaces (generalized) velocities
q |
i
Hamiltonian mechanics has a close relationship with geometry (notably, symplectic geometry and Poisson structures) and serves as a link between classical and quantum mechanics.
Let
(M,lL)
M
lL.
(\boldsymbol{q},\boldsymbol{q}) |
M.
stylep | |||
|
~\stackrel{def
t,
l{L}
(\boldsymbol{q},\boldsymbol{
q}) |
\to\left(\boldsymbol{p},\boldsymbol{q}\right)
(\boldsymbol{p},\boldsymbol{q})\to(\boldsymbol{q},\boldsymbol{
q}). |
n
The Legendre transform of
l{L}
ElL
lH(\boldsymbol{p},\boldsymbol{q},t)
\boldsymbol{q} |
=(
q |
1,\ldots,
q |
n)
n
style\boldsymbol{p}={\partiallL}/{\partial\boldsymbol{
q}} |
2n
(\boldsymbol{p},\boldsymbol{q})
In phase space coordinates, the (
n
2n
Let
lP(a,b,\boldsymbolxa,\boldsymbolxb)
\boldsymbolq:[a,b]\toM
\boldsymbolq(a)=\boldsymbolxa
\boldsymbolq(b)=\boldsymbolxb.
lS:lP(a,b,\boldsymbolxa,\boldsymbolxb)\to\Reals
\boldsymbol{p}=\partiallL/\partial\boldsymbol{
q} |
\boldsymbolq\inlP(a,b,\boldsymbolxa,\boldsymbolxb)
lS
(\boldsymbol{p}(t),\boldsymbol{q}(t))
A simple interpretation of Hamiltonian mechanics comes from its application on a one-dimensional system consisting of one nonrelativistic particle of mass . The value
H(p,q)
In this example, the time derivative of is the velocity, and so the first Hamilton equation means that the particle's velocity equals the derivative of its kinetic energy with respect to its momentum. The time derivative of the momentum equals the Newtonian force, and so the second Hamilton equation means that the force equals the negative gradient of potential energy.
See main article: Spherical pendulum.
A spherical pendulum consists of a mass m moving without friction on the surface of a sphere. The only forces acting on the mass are the reaction from the sphere and gravity. Spherical coordinates are used to describe the position of the mass in terms of, where is fixed, .The Lagrangian for this system is
\varphi
Hamilton's equations can be derived by a calculation with the Lagrangian, generalized positions, and generalized velocities, where .[2] Here we work off-shell, meaning,, are independent coordinates in phase space, not constrained to follow any equations of motion (in particular,
q |
i
After rearranging, one obtains:
The term in parentheses on the left-hand side is just the Hamiltonian defined previously, therefore:
One may also calculate the total differential of the Hamiltonian
lH
One may now equate these two expressions for, one in terms of, the other in terms of :
Since these calculations are off-shell, one can equate the respective coefficients of,, on the two sides:
On-shell, one substitutes parametric functions
qi=qi(t)
Rearranging and writing in terms of the on-shell
pi=pi(t)
Thus Lagrange's equations are equivalent to Hamilton's equations:
In the case of time-independent
lH
Hamilton's equations have another advantage over Lagrange's equations: if a system has a symmetry, so that some coordinate
qi
pi
q |
i
The Lagrangian and Hamiltonian approaches provide the groundwork for deeper results in classical mechanics, and suggest analogous formulations in quantum mechanics: the path integral formulation and the Schrödinger equation.
lH
ElL
dlH | |
dt |
=
\partiallH | |
\partialt |
l{H}
\boldsymbol{q}\leftrightarrow\boldsymbol{q'}
El{L
ElL
\partiallH | |
\partialt |
=-
\partiallL | |
\partialt |
.
\partiallH | |
\partialqi |
=0
qi
pi
In its application to a given system, the Hamiltonian is often taken to be
where
T
V
The relation holds true for nonrelativistic systems when all of the following conditions are satisfied
where
t
n
cij(\boldsymbol{q})
\boldsymbol{q}
In words, this means that the relation
l{H}=T+V
T
V
T
Preliminary to this proof, it is important to address an ambiguity in the related mathematical notation. While a change of variables can be used to equate
l{L}(\boldsymbol{p},\boldsymbol{q},t)=
|
\partiall{L | ||
|
Additionally, this proof uses the notation
f(a,b,c)=f(a,b)
\partialf(a,b,c) | |
\partialc |
=0
For a system of point masses, the requirement for
T
T(\boldsymbol{q},\boldsymbol{q |
l{H}=T+V
If the conditions for
l{H}=T+V
V
With respect to the extended Euler-Lagrange formulation (See ), the Rayleigh dissipation function represents energy dissipation by nature. Therefore, energy is not conserved when
R\ne0
In summary, the requirements for
l{H}=T+V=constantoftime
V=V(\boldsymbol{q})
T=T(\boldsymbol{q},\boldsymbol{q |
T
\boldsymbol{q |
A sufficient illustration of Hamiltonian mechanics is given by the Hamiltonian of a charged particle in an electromagnetic field. In Cartesian coordinates the Lagrangian of a non-relativistic classical particle in an electromagnetic field is (in SI Units):where is the electric charge of the particle, is the electric scalar potential, and the are the components of the magnetic vector potential that may all explicitly depend on
xi
This Lagrangian, combined with Euler–Lagrange equation, produces the Lorentz force lawand is called minimal coupling.
The canonical momenta are given by:
The Hamiltonian, as the Legendre transformation of the Lagrangian, is therefore:
This equation is used frequently in quantum mechanics.
Under gauge transformation:where is any scalar function of space and time. The aforementioned Lagrangian, the canonical momenta, and the Hamiltonian transform like:which still produces the same Hamilton's equation:
In quantum mechanics, the wave function will also undergo a local U(1) group transformation[3] during the Gauge Transformation, which implies that all physical results must be invariant under local U(1) transformations.
m
Thus the particle's canonical momentum isthat is, the sum of the kinetic momentum and the potential momentum.
Solving for the velocity, we get
So the Hamiltonian is
This results in the force equation (equivalent to the Euler–Lagrange equation)from which one can derive
The above derivation makes use of the vector calculus identity:
An equivalent expression for the Hamiltonian as function of the relativistic (kinetic) momentum,, is
This has the advantage that kinetic momentum
P
p
The Hamiltonian can induce a symplectic structure on a smooth even-dimensional manifold in several equivalent ways, the best known being the following:
As a closed nondegenerate symplectic 2-form ω. According to the Darboux's theorem, in a small neighbourhood around any point on there exist suitable local coordinates
p1, … ,pn, q1, … ,qn
\omega
\xi\inTxM
\omega\xi(η)=\omega(η,\xi)
\xi\to\omega\xi
M.
J-1:Vect(M)\to\Omega1(M)
f,g\inCinfty(M,\Reals)
(In algebraic terms, one would say that the
Cinfty(M,\Reals)
Vect(M)
\Omega1(M)
J(dH)
M
x=x(t)
J(dH)(x)\inTxM
J(dH)
A Hamiltonian system may be understood as a fiber bundle over time, with the fiber being the position space at time . The Lagrangian is thus a function on the jet bundle over ; taking the fiberwise Legendre transform of the Lagrangian produces a function on the dual bundle over time whose fiber at is the cotangent space, which comes equipped with a natural symplectic form, and this latter function is the Hamiltonian. The correspondence between Lagrangian and Hamiltonian mechanics is achieved with the tautological one-form.
Any smooth real-valued function on a symplectic manifold can be used to define a Hamiltonian system. The function is known as "the Hamiltonian" or "the energy function." The symplectic manifold is then called the phase space. The Hamiltonian induces a special vector field on the symplectic manifold, known as the Hamiltonian vector field.
The Hamiltonian vector field induces a Hamiltonian flow on the manifold. This is a one-parameter family of transformations of the manifold (the parameter of the curves is commonly called "the time"); in other words, an isotopy of symplectomorphisms, starting with the identity. By Liouville's theorem, each symplectomorphism preserves the volume form on the phase space. The collection of symplectomorphisms induced by the Hamiltonian flow is commonly called "the Hamiltonian mechanics" of the Hamiltonian system.
The symplectic structure induces a Poisson bracket. The Poisson bracket gives the space of functions on the manifold the structure of a Lie algebra.
If and are smooth functions on then the smooth function is properly defined; it is called a Poisson bracket of functions and and is denoted . The Poisson bracket has the following properties:
\{F1 ⋅ F2,G\}=F1\{F2,G\}+F2\{F1,G\}
\{\{H,F\},G\}+\{\{F,G\},H\}+\{\{G,H\},F\}\equiv0
Given a function if there is a probability distribution, then (since the phase space velocity
(p |
i,
q |
i)
This is called Liouville's theorem. Every smooth function over the symplectic manifold generates a one-parameter family of symplectomorphisms and if, then is conserved and the symplectomorphisms are symmetry transformations.
A Hamiltonian may have multiple conserved quantities . If the symplectic manifold has dimension and there are functionally independent conserved quantities which are in involution (i.e.,), then the Hamiltonian is Liouville integrable. The Liouville–Arnold theorem says that, locally, any Liouville integrable Hamiltonian can be transformed via a symplectomorphism into a new Hamiltonian with the conserved quantities as coordinates; the new coordinates are called action–angle coordinates. The transformed Hamiltonian depends only on the, and hence the equations of motion have the simple formfor some function . There is an entire field focusing on small deviations from integrable systems governed by the KAM theorem.
The integrability of Hamiltonian vector fields is an open question. In general, Hamiltonian systems are chaotic; concepts of measure, completeness, integrability and stability are poorly defined.
An important special case consists of those Hamiltonians that are quadratic forms, that is, Hamiltonians that can be written aswhere is a smoothly varying inner product on the fibers, the cotangent space to the point in the configuration space, sometimes called a cometric. This Hamiltonian consists entirely of the kinetic term.
If one considers a Riemannian manifold or a pseudo-Riemannian manifold, the Riemannian metric induces a linear isomorphism between the tangent and cotangent bundles. (See Musical isomorphism). Using this isomorphism, one can define a cometric. (In coordinates, the matrix defining the cometric is the inverse of the matrix defining the metric.) The solutions to the Hamilton–Jacobi equations for this Hamiltonian are then the same as the geodesics on the manifold. In particular, the Hamiltonian flow in this case is the same thing as the geodesic flow. The existence of such solutions, and the completeness of the set of solutions, are discussed in detail in the article on geodesics. See also Geodesics as Hamiltonian flows.
When the cometric is degenerate, then it is not invertible. In this case, one does not have a Riemannian manifold, as one does not have a metric. However, the Hamiltonian still exists. In the case where the cometric is degenerate at every point of the configuration space manifold, so that the rank of the cometric is less than the dimension of the manifold, one has a sub-Riemannian manifold.
The Hamiltonian in this case is known as a sub-Riemannian Hamiltonian. Every such Hamiltonian uniquely determines the cometric, and vice versa. This implies that every sub-Riemannian manifold is uniquely determined by its sub-Riemannian Hamiltonian, and that the converse is true: every sub-Riemannian manifold has a unique sub-Riemannian Hamiltonian. The existence of sub-Riemannian geodesics is given by the Chow–Rashevskii theorem.
The continuous, real-valued Heisenberg group provides a simple example of a sub-Riemannian manifold. For the Heisenberg group, the Hamiltonian is given by is not involved in the Hamiltonian.
Hamiltonian systems can be generalized in various ways. Instead of simply looking at the algebra of smooth functions over a symplectic manifold, Hamiltonian mechanics can be formulated on general commutative unital real Poisson algebras. A state is a continuous linear functional on the Poisson algebra (equipped with some suitable topology) such that for any element of the algebra, maps to a nonnegative real number.
A further generalization is given by Nambu dynamics.
Hamilton's equations above work well for classical mechanics, but not for quantum mechanics, since the differential equations discussed assume that one can specify the exact position and momentum of the particle simultaneously at any point in time. However, the equations can be further generalized to then be extended to apply to quantum mechanics as well as to classical mechanics, through the deformation of the Poisson algebra over and to the algebra of Moyal brackets.
Specifically, the more general form of the Hamilton's equation readswhere is some function of and, and is the Hamiltonian. To find out the rules for evaluating a Poisson bracket without resorting to differential equations, see Lie algebra; a Poisson bracket is the name for the Lie bracket in a Poisson algebra. These Poisson brackets can then be extended to Moyal brackets comporting to an inequivalent Lie algebra, as proven by Hilbrand J. Groenewold, and thereby describe quantum mechanical diffusion in phase space (See Phase space formulation and Wigner–Weyl transform). This more algebraic approach not only permits ultimately extending probability distributions in phase space to Wigner quasi-probability distributions, but, at the mere Poisson bracket classical setting, also provides more power in helping analyze the relevant conserved quantities in a system.