This article has multiple issues. Please help talk page. (Learn how and when to remove these template messages)
or discuss these issues on the

In mathematics and classical mechanics, canonical coordinates are sets of coordinates on phase space which can be used to describe a physical system at any given point in time. Canonical coordinates are used in the Hamiltonian formulation of classical mechanics. A closely related concept also appears in quantum mechanics; see the Stonevon Neumann theorem and canonical commutation relations for details.
As Hamiltonian mechanics are 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 of coordinates on the cotangent bundle of a manifold (the mathematical notion of phase space).
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:
A typical example of canonical coordinates is for to be the usual Cartesian coordinates, and to be the components of momentum. Hence in general, the coordinates are referred to as "conjugate momenta."
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 or with the xs or qs denoting the coordinates on the underlying manifold and the ps 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 oneform 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 (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, is a vector in , the tangent space to the manifold Q at point q. The function 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 are defined as the momentum functions corresponding to the vectors :
The together with the together form a coordinate system on the cotangent bundle ; 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 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 HamiltonJacobi equations.