Homework Help:
Uniform ladder sliding on smooth surface

1. The problem statement, all variables and given/known data
A uniform ladder of length L and mass M has one end on a smooth horizontal floor and teh other end against a smooth vertical wall. The ladder is initially at rest in a vertical plane perpendicular to the wall and makes an angle [itex]\theta[/itex]0 with the horizontal.

(a) Write down the Lagrangian and derive the equations of motion.

(b) Prove the ladder leaves the wall when its upper end (call it y') has fallen to a height of [itex]\frac{2}{3}Lsin\theta[/itex]0.

3. The attempt at a solution
I think I can just look at U on the center of mass, located at L/2. Right now I'm using y'/2, where y' depends on [itex]\theta[/itex], which is a function of time. So h = [itex]\frac{1}{2}Lsin/theta[/itex].
V is the velocity of the center of mass. CM = [itex]\frac{L}{2} (sin\theta + cos\theta) [/itex]
I = [itex]\frac{mL^2}{12}[/itex] and I think [itex]\omega[/itex] is just [itex]\dot{\theta}[/itex]
I haven't gotten to part (b) yet, I figure once I have the first part, the second will be easy.
I'm just looking to see if I'm going in the right direction here and if there is anything I am missing. I just seem to have a hard time with rigid bodies. Thanks for any help!

Or are you looking for the actual constraint? See, I've been trying to decide how best to approach that part of the problem. There is the most obvious one [itex]L^2 = y'^2 + x'^2 [/itex], which can be written in the CM frame. Are there any other constraints? Also I haven't quite figured out how to use Lagrange multipliers (as it seems you are suggesting) to determine the condition for the ladder's leaving the vertical wall.