What does the model describe?
Lagrangian mechanics derives motion from a function of coordinates, velocities and time. Generalized coordinates follow the geometry, often avoiding explicit calculation of ideal constraint forces.[1]
Lagrangian mechanics derives motion from a function of coordinates, velocities and time. Generalized coordinates follow the geometry, often avoiding explicit calculation of ideal constraint forces.
For the conservative systems used here, L=T−V. Potential is not itself force; its spatial derivative determines force direction. L is not a conserved energy.[1]
Assumptions, quantities and limits
The examples use ideal holonomic constraints and a velocity-independent potential V(q). More generally, velocity-dependent interactions can be incorporated into L(q,q̇,t), including electromagnetic couplings. Only additional forces not represented by L appear as generalized forces on the right-hand side of the equations of motion.[1]
- Lagrangian (J)
- generalized coordinate (variabel)
- kinetic energy (J)
- potential energy (J)
Reasoning step by step
The examples use ideal holonomic constraints and a velocity-independent potential V(q). More generally, velocity-dependent interactions can be incorporated into L(q,q̇,t), including electromagnetic couplings. Only additional forces not represented by L appear as generalized forces on the right-hand side of the equations of motion.[1]
Stationarity of S=∫Ldt for path variations with fixed endpoints yields d/dt(∂L/∂q̇)−∂L/∂q=0 after integration by parts. Stationary does not always mean a global minimum.[1]
L=mq̇2/2−kq2/2 gives m d2q/dt2+kq=0. A pendulum with q=θ instead has T=mℓ2θ̇2/2; geometry changes the kinetic term. Define coordinates before differentiating.[1]
For the conservative systems used here, L=T−V. Potential is not itself force; its spatial derivative determines force direction. L is not a conserved energy.[1]
Constraint forces with Lagrange multipliers
Euler-Lagrange equations in independent generalized coordinates are also called Lagrange's equations of the second kind: the constraints are built into the choice of coordinates, and constraint forces do not appear. If a constraint force itself is wanted, such as a normal force or a string tension, keep a redundant coordinate and attach each holonomic constraint with a Lagrange multiplier . In Cartesian coordinates this form is known as Lagrange's equations of the first kind: .[1][2]
Together with the k constraints these are n + k equations for n coordinates and k multipliers; the right-hand side is the generalized constraint force.[1]
Example: after a tiny push from rest, a point mass slides off the top of a smooth sphere of radius a. With r and θ (measured from the vertical), and , the equations for r and θ give the normal force . For m = 0.10 kg the sphere pushes with 0.98 N at the top and still with 0.59 N at θ = 30°. At , that is θ ≈ 48.2°, λ reaches zero and the mass leaves the sphere.[1]
Two fully worked examples
Spring oscillator
- Given
- m=2 kg, k=18 N/m; q measured from equilibrium.
- Find
- Find equation of motion and ω.
Form L=T−V and differentiate.
Apply Euler–Lagrange.
Result: d2q/dt2+9q=0 and ω=3 rad/s.
Check: q=A cos(3t) gives d2q/dt2=−9q; restoring force points toward equilibrium.
Exact pendulum
- Given
- Mass m, length ℓ, θ from vertical; V=mgℓ(1−cosθ).
- Find
- Find motion without the small-angle approximation.
Use angular kinetic energy.
Substitute and divide by mℓ2.
Result: Only for small angles may sinθ≈θ be used.
Check: For θ>0, d2θ/dt2<0; acceleration is restoring.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions and learning goals
Calculate · Foundation
m=3, k=12: natural angular frequency?
Show hint
Read from the equation.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
ω=sqrt(k/m)=2 rad/s.
Rearrange · Foundation
L=mq̇2/2 with no V: motion?
Show hint
Use ∂L/∂q=0.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
m d2q/dt2=0; momentum is constant.
Interpret · Application
What identifies a cyclic coordinate?
Show hint
Set ∂L/∂q=0.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
L is independent of q, so p=∂L/∂q̇ is conserved.
Error analysis · Application
Is L=T+V the standard conservative form?
Show hint
Check signs using a spring.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
No.
L=T−V gives the correct restoring direction; T+V gives an incorrect unstable spring equation.
Transfer · Challenge
What does adding a constant to V change?
Show hint
Only derivatives enter.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
The q derivative stays the same, so motion is unchanged.
The energy zero shifts.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Connections and further study
Continue with Newton's Second Law, Kinetic Energy, Potential Energy (Gravitational).
Sources for this explanation
Quanta · Updated November 6, 2026
- MIT 8.09: Chapter 1, A Review of Analytical Mechanics
- University of Cologne: Analytical mechanics, chapter 1 (Lagrange equations of the first and second kind, in German)
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored the DE/EN model with assumptions, original examples, five solved exercises and subject links.
Cite this reference page
Quanta. Lagrangian mechanics and Euler–Lagrange equation. Updated November 6, 2026. https://quanta-study.de/en/formula-sheet/lagrange-formalismus
When citing a specific scientific statement, also cite the specialist source linked to that statement.