Euler-Lagrange equations
From Physics wiki
Given a system described by one
generalized coordinates
, their velocities
, along with purely holonomic constraints, d'Alembert's principle yields
equations of motion
,
where
is the kinetic energy and
.
is the generalized force corresponding to
. For a conservative system, the forces
may be written in terms of a potential function
, such that
.
Therefore
.
The equations of motion become
,
where we have made use of the fact that
depends only on the generalized coordinates
and not their velocities. This motivates the definition of the Lagrangian
,
from which the Euler-Lagrange equations follow:
.
The utility of the Lagrangian approach is that, by virtue of d'Alembert's use of generalized coordinates, (holonomic) constraint forces do not appear explicitly.
Non-conservative forces
More generally, we may suppose that some of the generalized forces are non-conservative, and write them as
,
where
may be written as
.
We may still construct the Lagrangian, and the Euler-Lagrange equations are recast in the following form
.
It is sometimes advantageous to treat one or more conservative forces in this way as well; that is, to exclude them from the potential
, and to write them on the right hand side of the equations of motion.
back to d'Alembert's principle
on to Lagrangian

