http://en.wikipedia.org/wiki/Lagrangian_mechanics
Quote: "Start with D'Alembert's principle for the virtual work of applied forces, \mathbf{F}_i, and inertial forces on a three dimensional accelerating system of n particles, i, whose motion is

**consistent with its constraints**"