Lagrangian mechanics is an alternative formulation of Newtonian mechanics. Newtonian mechanics solves movements using successive approximations. Lagrangian mechanics figures out the whole path all at once. Lagrangian mechanics is useful for solving problems subject to certain constraints. It is also a prerequisite to understanding quantum field theory and the path integral formulation of quantum mechanics.
In the classical formulation of Lagrangian mechanics, the Lagrangian L is the difference between a particle's kinetic energy T and potential energy V.
L=T−VThe action S of a particle is the path integral of its Lagrangian.
S=∫tftiLdtThe path of a particle extremizes S.
δS=0We therefore derive the Euler–Lagrange equations.
ddt(∂L∂˙qj)=∂L∂qjDoes this make sense to you? Because subtracting potential energy from kinetic energy does not make conceptual sense to me. Besides, what, conceptually, is "action" and why should it be extremized? Lagrangian mechanics make better sense in special relativity.
To make things more intuitive, let's look at Lagrangian mechanics in the context of special relativity, from which classical Lagrangian mechanics is an approximation. I will set c=1 because space and time ought to have the same units. I will set m0=1 for convenience because the rest mass of our particle does not change.
The most important number in special relativity is the Lorentz factor γ, the instantaneous ratio of coordinate time t to proper time τ.
γ=dtdτ=1√1−v2We can[1] take the action S to be the length of the particle's world line between proper times τ1 and τ2. (Note that γ is a function of t.)
S=∫τ2τ1dτ=∫t2t11γdtLocally maximizing S equals locally maximizing the proper time experienced by a particle. The Lagrangian L is the expression inside of the coordinate time integral.
L=γ−1=√1−v2=αIf you think of all matter particles as moving through spacetime at a speed of 1 along the hypotenuse of a right triangle with one spatial leg and one temporal leg then the particle's spatial velocity is v=˙q and its temporal velocity is α.
α2+v2=1 S=∫t2t1αdtThe Laplacian L is simply α, the particle's temporal velocity. The action S is the integral of the temporal velocity. Therefore, extremizing (maximizing[2]) the action S equals maximizing proper time.
Hamilton's principle, that the evolution of a system is a stationary point of the action functional S, naturally follows.
δS=0 ddt∂α∂v=∂α∂qUnder general relativity, time slows down for a particle in a gravity well. In other words, a gravity well decreases the particle's temporal velocity. (This generalizes to the other fundamental forces.) Flipping this around, increases to a particle's potential increase its temporal velocity. It therefore makes intuitive sense to add potential V to special relativistic temporal velocity α.
L=α+VThus we arrive at the Euler–Lagrange equations.
ddt∂L∂v=∂L∂qClassical Lagrangian mechanics follows as an approximation.
[1] The action S also includes a factor of −m0c2. We have already declared m0=c=1. I have removed the factor of −1 too because mechanics in general and δS=0 in particular are symmetric with respect to time parity. It does not matter to the Euler–Lagrange equations whether S is flipped by a minus sign. ↩
[2] beepConventionally, S is minimized. Since I removed the minus sign from S we maximize it instead. ↩