Very simple Lagrangian mechanics problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
Je m'appelle
Messages
117
Reaction score
0

Homework Statement


[/B]
Consider a mass [itex]m[/itex] moving in a frictionless plane that slopes at an angle [itex]\alpha[/itex] with the horizontal.
Write down the Lagrangian [itex]\mathcal{L}[/itex] in terms of coordinates [itex]x[/itex] measured horizontally across the slope, and [itex]y[/itex],
measured down the slope. (Treat the system as two-dimensional, but include the gravitational potential
energy.) Find the two Lagrange equations and show that they are what you should have expected.

Homework Equations



1. The Lagrangian, in terms of the kinetic energy [itex]T[/itex] and potential energy [itex]U[/itex]

[tex]\mathcal{L} = T - U[/tex]

2. The Lagrange equation, for a generalized coordinate [itex]q_i[/itex]

[tex]\frac{\partial \mathcal{L}}{\partial q_i} = \frac{d}{dt} \left( \frac{\partial \mathcal{L}}{\partial \dot{q}_i} \right)[/tex]

The Attempt at a Solution



There's one thing I don't understand here, which is the problem statement assuming there are two generalized coordinates — thus two resulting Lagrange equations —, whereas I only see one generalized coordinate [itex]y[/itex], since [itex]x (y) = y \cos \alpha[/itex] and [itex]\alpha[/itex] is constant.

So the Lagrangian would be

[tex]\mathcal{L} = \frac{1}{2}m \left(\dot{y}^2 \cos^2 \alpha + \dot{y}^2 \right) - mg y \sin \alpha[/tex]

And the corresponding single Lagrange equation would be

[tex]\frac{\partial \mathcal{L}}{\partial y} = \frac{d}{dt} \left( \frac{\partial \mathcal{L}}{\partial \dot{y}} \right)[/tex]

My guess would be I'm not treating it as two dimensional? But then how do I proceed to do so? I can't visualize what the problem wants me to do.

EDIT:

I think I have it, maybe I should call [itex]y[/itex] as a 'parameter' and work this problem through [itex]\vec{r} = \vec{r}(a(y), b(y))[/itex], where [itex]a(y) = y \cos \alpha[/itex] and [itex]b(y) = y[/itex]?

EDIT 2:
Nevermind, I'd still be working solely in terms of [itex]y[/itex].
 
Last edited:
Physics news on Phys.org
My interpretation of the problem is that x is varies along the width of the plane. In other words, the plane in which the motion happens in the x-y plane, not that x is horizontal and y vertical.

14553906452461.png