OK, thanks. I was confused by the remark "This trivial problem emphasizes that the forces of constraint--here the tension in the rope--appear nowhere in the Lagrangian formulation."
Let's say I want to be extremely formal. How would I proceed? The constraint is ##x_1+x_2=l##, where ##x_i## is...