In mathematics and classical mechanics, canonical coordinates are particular sets of coordinates on the phase space, or equivalently, on the cotangent manifold of a manifold. Canonical coordinates arise naturally in physics in the study of Hamiltonian mechanics. As Hamiltonian mechanics is generalized by symplectic geometry and canonical transformations are generalized by contact transformations, so the 19th century definition of canonical coordinates in classical mechanics may be generalized to a more abstract 20th century definition in terms of cotangent bundles.
This article defines the canonical coordinates as they appear in classical mechanics. A closely related concept also appears in quantum mechanics; see the Stonevon Neumann theorem and canonical commutation relations for details.
Contents 
In classical mechanics, canonical coordinates are coordinates and in phase space that are used in the Hamiltonian formalism. The canonical coordinates satisfy the fundamental Poisson bracket relations:
Canonical coordinates can be obtained from the generalized coordinates of the Lagrangian formalism by a Legendre transformation, or from another set of canonical coordinates by a canonical transformation.
Canonical coordinates are defined as a special set of coordinates on the cotangent bundle of a manifold. They are usually written as a set of (q^{i},p_{ j}) or (x^{i},p_{ j}) with the x 's or q 's denoting the coordinates on the underlying manifold and the p 's denoting the conjugate momentum, which are 1forms in the cotangent bundle at point q in the manifold.
A common definition of canonical coordinates is any set of coordinates on the cotangent bundle that allow the canonical one form to be written in the form
up to a total differential. A change of coordinates that preserves this form is a canonical transformation; these are a special case of a symplectomorphism, which are essentially a change of coordinates on a symplectic manifold.
In the following exposition, we assume that the manifolds are real manifolds, so that cotangent vectors acting on tangent vectors produce real numbers.
Given a manifold Q, a vector field X on Q (or equivalently, a section of the tangent bundle TQ) can be thought of as a function acting on the cotangent bundle, by the duality between the tangent and cotangent spaces. That is, define a function
such that
holds for all cotangent vectors p in . Here, X_{q} is a vector in T_{q}Q, the tangent space to the manifold Q at point q. The function P_{X} is called the momentum function corresponding to X.
In local coordinates, the vector field X at point q may be written as
where the are the coordinate frame on TQ. The conjugate momentum then has the expression
where the p_{i} are defined as the momentum functions corresponding to the vectors :
The q^{i} together with the p_{j} together form a coordinate system on the cotangent bundle T ^{*} Q; these coordinates are called the canonical coordinates.
In Lagrangian mechanics, a different set of coordinates are used, called the generalized coordinates. These are commonly denoted as with q^{i} called the generalized position and the generalized velocity. When a Hamiltonian is defined on the cotangent bundle, then the generalized coordinates are related to the canonical coordinates by means of the Hamiltonâ€“Jacobi equations.
see H. Goldstein
