PhysicsScore

Generalized momenta, Legendre transformation

  • UP GDC Mains

4 minute read · Updated 2026-11-15

Picking up from

In Lagrange equations of first and second kind, uniqueness of the Lagrangian, we saw that equivalent Lagrangians can preserve motion while shifting canonical momenta. What precisely is momentum conjugate to a coordinate, and can it replace velocity?

In one line

Generalized momentum is the velocity derivative of the Lagrangian; a Legendre transform replaces velocities with these conjugate momenta.

The idea, explained

The momentum conjugate to a generalized coordinate is defined by differentiating the Lagrangian with respect to that coordinate’s velocity. Its meaning depends on the coordinate and the velocity dependence of the Lagrangian. For a Cartesian free particle it is ordinary linear momentum; for a rotation angle it can be angular momentum. Velocity-dependent interactions can shift canonical momentum away from mass times velocity.

A Legendre transformation exchanges the independent velocity variables for their conjugate momenta. First solve the momentum definitions for velocities, then substitute into the momentum–velocity sum minus the Lagrangian. This produces the Hamiltonian as a function of coordinates, momenta and time. The substitution is essential: leaving unresolved velocities does not complete the transformation. A singular velocity Hessian, the matrix of second velocity derivatives, prevents the ordinary local inversion and signals the need for constrained Hamiltonian methods.

Core ideas

  • Canonical momentum belongs to a coordinate choice. Its units equal action divided by the units of that coordinate, so an angular momentum is natural for a dimensionless angle.
  • Compute the momentum derivative while holding coordinates and the other velocities fixed. Explicit coordinate factors remain inside the resulting momentum expression.
  • The regular Legendre transform requires a nonsingular velocity Hessian locally. A Lagrangian linear in a velocity may fail this test and introduce a momentum constraint.
  • A total derivative added to the Lagrangian shifts canonical momenta by coordinate derivatives of its generating function without changing the physical trajectory.
  • The Hamiltonian need not equal kinetic plus potential energy for every Lagrangian. Establish that identification only after examining the actual velocity and time dependence.

Key formulas

Generalized canonical momentum

pi=∂L∂q˙ip_i=\frac{\partial L}{\partial\dot q_i}

The momentum pip_i is conjugate to coordinate qiq_i; it is not automatically the corresponding component of mvm\mathbf v.

Legendre transformation to the Hamiltonian

H(q,p,t)=∑ipiq˙i−L(q,q˙,t)H(q,p,t)=\sum_i p_i\dot q_i-L(q,\dot q,t)

Express all velocities q˙i\dot q_i in terms of (q,p,t)(q,p,t) before treating HH as the transformed function.

Write the momentum definitions as a simultaneous system when velocities are coupled. Check invertibility before solving, substitute the inverted expressions everywhere, and simplify only at the end. A useful consistency test is differentiating the completed Hamiltonian with respect to momentum: it should recover the corresponding velocity. For angular coordinates, keep geometric factors such as moments of inertia rather than replacing every momentum by mass times a linear speed.

Quick worked example

For L=mx˙2/2−V(x)L=m\dot x^2/2-V(x), canonical momentum is p=mx˙p=m\dot x. Inverting gives x˙=p/m\dot x=p/m. The transform yields H=p2/(2m)+V(x)H=p^2/(2m)+V(x), with no velocity left.

Where this leads

Continue to Hamiltonian and Hamilton's equations, because the transformed energy function generates first-order equations in phase space.

Related: Lagrange equations of first and second kind, uniqueness of the Lagrangian — equivalent Lagrangians can preserve motion while shifting canonical momenta.

Related: Thermodynamic potentials, Maxwell relations — the same conjugate-variable exchange reorganizes a thermodynamic differential.

Practice this topic

Practice this topic

42 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.

Other exam sections