Readablewiki

Lagrangian mechanics

Content sourced from Wikipedia, licensed under CC BY-SA 3.0.

Lagrangian mechanics is a powerful way to study motion by focusing on energy and paths, rather than forces. It was developed to simplify complex problems and to connect with ideas in relativity, quantum mechanics, and field theory. The central idea is to describe a system by its configuration and a single function, the Lagrangian, which encodes the system’s energies.

How it works in simple terms
- A system has a configuration space, a set of generalized coordinates q that describe all its possible states. For N particles in three dimensions, you can use coordinates q = (q1, q2, …, qn), where n is the number of independent coordinates after applying any constraints.
- The Lagrangian L is a smooth function L(q, q̇, t) that usually looks like L = T − V, where T is the total kinetic energy and V is the potential energy.
- The action S is the time integral of the Lagrangian: S[q] = ∫ L(q(t), q̇(t), t) dt, taken over the time interval of interest.
- The actual path a system follows is the one that makes the action stationary (no change to first order) with fixed endpoints in configuration space. This principle is called Hamilton’s principle or the principle of stationary action.

From action to motion: the Euler–Lagrange equations
- Varying the action and requiring stationarity leads to the Euler–Lagrange equations:
d/dt (∂L/∂q̇i) − ∂L/∂qi = 0 for each coordinate qi.
- These equations replace Newton’s forces with a single, general set of equations that work for many systems, including those with constraints.
- The generalized momentum is pi = ∂L/∂q̇i. If L does not depend on qi, that momentum is conserved (a common source of conserved quantities).

Constraints and how they are handled
- Systems can have holonomic constraints, equations fi(q, t) = 0, that reduce the number of independent coordinates. Nonholonomic constraints depend on velocities and are trickier to handle.
- To include constraints, one can use Lagrange multipliers. You add terms λi fi to the Lagrangian and obtain a set of equations that determine both the motion and the constraint forces.
- The Lagrangian formalism naturally focuses on the independent coordinates and avoids having to track constraint forces directly.

Coordinate freedom and energy
- The equations of motion are form-invariant under changes of coordinates. You can switch from Cartesian to other generalized coordinates without changing the physics.
- If the Lagrangian does not depend explicitly on time, the total energy E = Σ qi̇ ∂L/∂q̇i − L is conserved. In the common case where L = T − V with time-independent V, E equals the total mechanical energy T + V.
- The Hamiltonian H, obtained by a Legendre transform H = Σ qi̇ ∂L/∂q̇i − L, often equals the energy in natural coordinates and plays a central role in both classical and quantum contexts.

Conserved quantities and symmetry
- A coordinate qi that never appears in L (a cyclic or ignorable coordinate) leads to a conserved momentum pi.
- Noether’s theorem links symmetries to conservation laws: if the Lagrangian is unchanged under a continuous transformation, there is a corresponding conserved quantity.

A few illustrative examples
- Single particle in a potential: for a particle of mass m moving in a potential V(x), L = (1/2)m ẋ² − V(x). The Euler–Lagrange equation gives m ẍ = −∂V/∂x, which is Newton’s second law for this conservative system.
- Central force and angular momentum: in three dimensions with a central potential V(r), you can reduce the problem to relative motion and use polar coordinates (r, θ). The angular coordinate θ is cyclic, giving a conserved angular momentum pθ = μ r² θ̇ (μ is the reduced mass). The radial equation involves the effective potential and a centrifugal term.
- Electromagnetic field and minimal coupling: for a charged particle in an electromagnetic field, L = (1/2)m v² + q v · A − q φ. This form leads to the Lorentz force, and the canonical momentum p = ∂L/∂v = mv + qA includes a contribution from the field via A. Gauge transformations change L by a total time derivative but do not change the physics.
- From Lagrangian to fields: in classical field theory, the system is described by a field ϕ(r, t) with a Lagrangian density ℒ(ϕ, ∇ϕ, ∂tϕ, r, t). The overall Lagrangian is L = ∫ ℒ d³r. The same action principle and Euler–Lagrange logic apply to fields.

Relation to other formalisms
- Hamiltonian mechanics: by transforming to the generalized momenta, you get a Hamiltonian formalism with first-order equations. This is especially important in quantum mechanics, where the Hamiltonian governs time evolution.
- Noetherian view: many conservation laws come from symmetries of the Lagrangian, which is a deep and powerful idea linking physics to mathematics.
- Quantum and relativity: the action principle carries over to quantum mechanics (e.g., Feynman path integrals) and to special and general relativity, though the exact form of L and the treatment of time and space become more complex there.

Why Lagrangian mechanics is useful
- It often simplifies problems with constraints and non-Cartesian coordinates.
- It highlights energy and symmetry, making conserved quantities easy to identify.
- It provides a natural bridge to more advanced topics in physics, from fields and relativity to quantum theory.

In short, Lagrangian mechanics treats motion as a problem of finding a path that makes the action stationary, using energies and generalized coordinates to describe systems. This approach can make difficult problems easier to solve and reveals deep connections to symmetry and conservation laws that run through much of physics.


This page was last edited on 2 February 2026, at 12:17 (CET).