PhysicsScore

Lagrange equations of first and second kind, uniqueness of the Lagrangian

  • UP GDC Mains

4 minute read · Updated 2026-11-15

Picking up from

In Lagrangian formalism and equations of motion, we saw that energy expressions and independent coordinates provide practical motion equations. Must constraints be eliminated, and is the resulting Lagrangian unique?

In one line

Lagrange equations describe constrained motion using either reaction multipliers or independent coordinates, with nonunique but dynamically equivalent Lagrangians.

The idea, explained

Two common formulations differ in how constraints are represented. The equations of the first kind retain redundant coordinates and introduce Lagrange multipliers for holonomic constraints. These multipliers encode the reaction forces associated with the constraint gradients. The equations of the second kind eliminate the constraints using independent generalized coordinates, so those ideal reactions no longer appear explicitly.

The Lagrangian itself is not unique. Adding a total time derivative of a function of coordinates and time changes the action only by an endpoint term. For fixed endpoint variations, the Euler–Lagrange equations remain unchanged. Multiplying the entire Lagrangian by a nonzero constant also preserves the homogeneous coordinate equations. These facts concern equivalent equations of motion, not identical expressions for canonical momentum or the numerical value of the action. Always state which quantities are being compared when discussing uniqueness.

Core ideas

  • For first-kind equations, impose the constraint equations together with the multiplier equations. Multipliers alone do not determine the allowed configuration.
  • For second-kind equations, ensure the chosen coordinates are truly independent. Eliminating one constraint incorrectly can change the kinetic energy and therefore the dynamics.
  • A multiplier’s numerical value depends on how the constraint equation is scaled. Recover the physical reaction from the multiplier times the corresponding constraint gradient.
  • A total derivative can contain velocity terms when expanded by the chain rule, even though its generating function depends only on coordinates and time.
  • Equivalent Lagrangians can give different canonical momenta. Equality of trajectories is a weaker statement than equality of every intermediate canonical expression.

Key formulas

First-kind equations for holonomic constraints

ddt∂L∂x˙a−∂L∂xa=∑αλα∂fα∂xa,fα(x,t)=0\frac{d}{dt}\frac{\partial L}{\partial\dot x_a}-\frac{\partial L}{\partial x_a}=\sum_\alpha\lambda_\alpha\frac{\partial f_\alpha}{\partial x_a},\qquad f_\alpha(x,t)=0

The coordinates xax_a are redundant; multipliers λα\lambda_\alpha provide ideal reaction forces for constraints fα=0f_\alpha=0.

Total-derivative equivalence

L′=L+dF(q,t)dtL^{\prime}=L+\frac{dF(q,t)}{dt}

For fixed endpoint variations, the function FF adds only an endpoint contribution to the action and preserves the Euler–Lagrange equations.

Use multipliers when reaction forces are requested or constraint elimination is awkward. Use independent coordinates when the motion itself is the main goal. To compare two Lagrangians, subtract them and test whether the difference is a total time derivative before differentiating two complete sets of equations. Keep endpoint assumptions explicit and check how the momentum definition changes. A claim of “the unique Lagrangian” is generally unjustified without additional restrictions on the permitted form and equivalence.

Quick worked example

Let L=mx˙2/2L=m\dot x^2/2 and choose F=axF=ax, where aa is constant. Then L′=mx˙2/2+ax˙L'=m\dot x^2/2+a\dot x gives momentum p′=mx˙+ap'=m\dot x+a. Both descriptions still give mx¨=0m\ddot x=0, despite the momentum shift.

Where this leads

Continue to Generalized momenta, Legendre transformation, because canonical momentum reveals what changes when velocities are replaced by conjugate variables.

Related: Lagrangian formalism and equations of motion — energy expressions and independent coordinates provide practical motion equations.

Practice this topic

Practice this topic

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

Other exam sections