The Lagrangian formulation has been extended so far to handle constraints on that lower the dimension of the tangent space. The formulation can also be extended to allow nonconservative forces. The most common and important example in mechanical systems is friction. The details of friction models will not be covered here; see [681]. As examples, friction can arise when bodies come into contact, as in the joints of a robot manipulator, and as bodies move through a fluid, such as air or water. The nonconservative forces can be expressed as additional generalized forces, expressed in an vector of the form . Suppose that an action vector is also permitted. The modified Euler-Lagrange equation then becomes

A common extension to (13.142) is

in which generalizes to include nonconservative forces. This can be generalized even further to include Pfaffian constraints and Lagrange multipliers,

The Lagrange multipliers become [725]

Once again, the phase transition equation can be derived in terms of phase variables and generalizes (13.148).

Steven M LaValle 2020-08-14