Skip to content

Lagrangian Mechanics

Lagrangian mechanics derives motion from a scalar Lagrangian in generalized coordinates by stationary action, often simplifying constrained systems.

Version
v1 · 2026-10-03 · History
Domain-specific #
13370
Domain group
Natural Sciences
Origin domain
Physics
Subdomain
Classical Dynamics → Physics
Aliases
Lagrangian formulation

Core Idea

Lagrangian mechanics chooses generalized coordinates for allowed configurations, defines L(q,qdot,t), and obtains motion from stationary action S=∫Ldt. The Euler–Lagrange equations give one differential equation per coordinate. For conservative mechanical examples L=T−V, but that is not universal; “stationary” does not mean always minimal.[1]

How would you explain it like I'm…

The Swing-Tilt Recipe

Think of a swing on a rope. You could track the swing's left-right and up-down position and also worry about how hard the rope pulls. Or you could just watch one thing: how far the swing is tilted. Lagrangian Mechanics is a recipe that starts from simple choices like that tilt and tells you how the swing will move.

Fewest-Numbers Motion Recipe

Lagrangian Mechanics is a way physicists figure out how things move. First you pick the fewest numbers you need to describe where everything is, like one angle for a pendulum instead of two positions. Then you write one special formula using those numbers. For many simple systems it is the energy of motion minus the stored energy. A fixed set of steps turns that formula into equations of motion. Because the angle already keeps the string the right length, you never have to work out the string's pull.

Motion from Stationary Action

Lagrangian mechanics describes motion using 'generalized coordinates', which are any convenient variables, plus one scalar function called the Lagrangian. For simple systems with conservative forces it equals kinetic energy minus potential energy. Adding up the Lagrangian over time gives a quantity called the action. The real path is the one whose action does not change to first order when you nudge the path slightly while keeping its start and end fixed. That condition produces one equation of motion per coordinate. It is more than bookkeeping for energy. If your coordinates already build in a constraint, like a pendulum's fixed string, the constraint force (the tension) drops out entirely. Pushes from outside, like a motor driving a cart, must be added as extra 'generalized forces'.

 

Lagrangian Mechanics formulates dynamics with generalized coordinates q_i and a scalar Lagrangian L(q, q̇, t). For conservative particle systems L = T − V. The action S = ∫L dt is required to be stationary under small variations of the path that keep the endpoints fixed. This variational condition yields an Euler–Lagrange equation, d/dt(∂L/∂q̇_i) − ∂L/∂q_i = 0, for each coordinate. If the chosen coordinates already satisfy a holonomic constraint, the reaction force enforcing it never appears. For a pendulum, a single angle replaces two Cartesian coordinates, the string-length constraint and the unknown tension. The method is an ordered procedure: choose coordinates, build L, vary, derive the equations. It is more than a way to write energy. Non-conservative inputs, such as the applied force in a cart-pole model, enter as generalized forces on the right-hand side.

Scope of Application

A fixed-length pendulum uses one angle rather than Cartesian positions plus string tension to derive angular motion. MIT's cart-pole uses cart position and pole angle, with coupled kinetic terms and an applied cart force. Both execute the formalism, but the second needs explicit generalized input.[1][2]

Clarity

The pendulum angle automatically satisfies its length constraint. With L=(1/2)ml²θdot²−mgl(1−cosθ), its equation is ml²θddot+mgl sinθ=0. Omitting tension from that equation does not claim that tension does not exist.

Manages Complexity

Coordinate choice and one scalar function replace repeated force decomposition for ideal constraints. The cost is that coordinates, energy terms and nonconservative inputs must be complete; a wrong L gives systematically wrong equations.

Abstract Reasoning

Vary S over nearby paths with the same endpoint configurations. Integration by parts gives d/dt(∂L/∂qdot_i)−∂L/∂q_i=0, or the appropriate generalized force on the right for a driven coordinate. A coordinate absent from L has conserved conjugate momentum only if its generalized force vanishes.[1][2]

Knowledge Transfer

The coordinate–Lagrangian–action–equation procedure transfers from pendulum to cart-pole; their coordinates, coupling and forcing do not. The live Principle of Least Action is the stationary-action prerequisite, not a taxonomic genus of the mechanics formalism.

Relationships to Other Abstractions

Local relationship map for Lagrangian MechanicsParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Lagrangian MechanicsDOMAINPrime abstraction: Principle of Least Action — presupposesPrinciple ofLeast ActionPRIME

Current abstraction Lagrangian Mechanics Domain-specific

Parents (1) — outgoing typed relations

  • Lagrangian Mechanics presupposes Principle of Least Action Prime

    Lagrangian mechanics uses stationary action as a prerequisite.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Lagrangian Mechanics sits in a moderately populated region (54th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Dynamical Systems & Differential Structures (38 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] David Tong, Classical Dynamics §2. registry ↩a ↩b ↩c

[2] MIT Underactuated Robotics, cart-pole derivation. registry ↩a ↩b