Where are the Lagrangian multipliers, and are a set of constraint equations.
Note
The equations of motion is still With
It is easier to solve the system if appears in the constraint
Examples
Pendulum without
We have the Generalized Coordinates, , the number of coordinates, , and the degrees of freedom, .
The constraints then becomes
We get the Kinetic Energy
And the Potential Energy equal to zero (since we assume rotation on flat surface)
Then the New Lagrangian becomes
We now start solving the components needed for the Euler-Lagrange Equation
We can now solve the Euler-Lagrange Equation, which is
Link to original
Giving us
Finally giving us
Where we have .