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):
and writing out:
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
The generalized coordinates are expressed by the system of equations
and
and a generalized force can be defined as
Now, kinetic energy
Under holonomic constraints, the coordinates
If the external forces are conservative,
and the potential
or
where
Atypical forces and potentials
The above holds even for certain velocity-dependent potentials like with the electromagnetic forces on moving charges with generalized potentials
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:
Dissipative effects like friction are useful to treat specifically, where the forces are given by
In this case, the Lagrange equations become:
Three useful categories of generalized forces:
| Type | Form | Energy | Lagrangian-compatible? |
|---|---|---|---|
| Conservative | Conserved | Yes, |
|
| Generalized potential | Conserved (if |
Yes, |
|
| Dissipative | Decreasing | No — added as separate term |