Lagrange's equations of motion

That Lagrange's equations of motion are equivalent to Newton's second law in Cartesian coordinates with conservative forces can be shown directly by defining the Lagrangian (kind of an arbitrary quantity but turns out to be extremely useful):

L=TV=12mvvV(r)

and writing out:

Lx=Vx=FxLx˙=mvx=pxso,p˙x=FxddtLx˙=Lx

We can derive the equivalence in more general terms (generalized coordinates, generalized forces, multiple particles, under holonomic constraints) by starting from D'Alembert's virtual displacement framework.

Derivation from D'Alembert's principle

In classical mechanics, it is often more productive to work with generalized coordinates qj instead of natural Cartesian coordinates {r1,r2,rn} of many particles in general constrained systems. The Lagrange equations can actually be derived from D'Alembert's principle based on virtual displacements (infinitesimal changes consistent with constraints). Newton's equations come out to:

i(Fi(a)miai)δri=0

The generalized coordinates are expressed by the system of equations ri=ri(q,t) so that the virtual displacement is

δri=jriqjδqj

and

vi=dridt=jriqjq˙j+ritviq˙j=riqj

and a generalized force can be defined as

Qj=iFiriqj$$Thisyields$$iFi(a)δri=jQjδqj$$and$$imiaiδri=i,jmiairiqjδqj=i,j[ddt(miviriqj)mividdt(riqj)]δqj=i,j[ddt(miviviq˙j)miviviq˙j]δqj=j[ddt{q˙j(12imiv˙iv˙i)}q˙j(12imiv˙iv˙i)]δqj

Now, kinetic energy T=12imivi2 so that

i(Fi(a)miai)δri=0j[ddt(Tq˙j)Tq˙jQj]δqj=0

Under holonomic constraints, the coordinates qj can be chosen to be mutually independent and therefore we get that each coefficient above should vanish.

ddt(Tq˙j)Tq˙jQj=0

If the external forces are conservative,

Qj=Vqj

and the potential V=V(q) is not explicitly dependent on time (conservative) so that Vq˙j=0, then

ddt(Tq˙j)(TV)q˙j=0

or

ddt(Lq˙j)Lq˙j=0

where L=TV is the Lagrangian. This can alternately be derived starting from the least action principle.

Atypical forces and potentials

The above holds even for certain velocity-dependent potentials like with the electromagnetic forces on moving charges with generalized potentials U(q,q˙) instead of the typical potentials V(q). This can be done when one is able to express the generalized potential as Qj=Uqj+ddt(Uq˙j).

Not all (generalized) forces satisfy this requirement and hence can't be derived from a potential. In this case, Lagrange equations are just written as:

ddt(Tq˙j)Tq˙j=Qj

Dissipative effects like friction are useful to treat specifically, where the forces are given by

F=12iq˙i2Ff=vF

In this case, the Lagrange equations become:

ddt(Lq˙j)Lq˙j+Fq˙j=0

Three useful categories of generalized forces:

Type Form Energy Lagrangian-compatible?
Conservative Q=V(q)/q Conserved Yes, L=TV
Generalized potential Q=U/q+ddtU/q˙ Conserved (if U/t=0) Yes, L=TU
Dissipative Q=F/q˙ Decreasing No — added as separate term

Links

Sources