Lagrangian Mechanics: Pendulum & Trolley

In summary: But you... using the reference point at the top of the pendulum as the top of mass...?Yes, this is the correct way to do it.
  • #1
ian2012
80
0
Hi, Hope someone can help me clear up this question. I know the answer but I am unsure of the reasoning behind it, so here it is:

Question:A simple pendulum of mass m and length l hangs from a trolley of mass M running on smooth horizontal rails. The pendulum swings in a plane parallel to the rails.

(a)Using the position x of the trolley and the angle of inclination θ of the pendulum as generalised coordinates, show that the Lagrangian may be written as

[tex]L=\frac{1}{2}(M+m)\dot{x}^{2}+ml\dot{x}\dot{\theta}cos\theta+\frac{1}{2}ml^{2}\dot{\theta}^{2}+mglcos\theta[/tex]

Answer:Use [tex]X=lsin\theta[/tex] and [tex]Y=lcos\theta[/tex] as the Cartesian coordinates of the pendulum relative to the trolley.

[tex]L=\frac{1}{2}M\dot{x}^{2}+\frac{1}{2}m[(\dot{X}+\dot{x})^{2}+\dot{Y}^{2}]+mgY[/tex]

And the answer falls out when you follow this through...

I don't understand why the first term is [tex]1/2M\dot{x}^{2}[/tex]
and not [tex]1/2M(\dot{X}+\dot{x})^{2}[/tex]. And I also don't understand why the last potential energy term is only [tex]mgY[/tex] and not [tex]mg(l-Y)[/tex]?

Would appreciate if someone could help me out on this, or if there is an easier way to go about the answer! Many thanks!
 
Last edited:
Physics news on Phys.org
  • #2
ian2012 said:
I don't understand why the first term is [tex]1/2M\dot{x}^{2}[/tex]
and not [tex]1/2M(\dot{X}+\dot{x})^{2}[/tex].
That first term is just the KE of the trolley.
And I also don't understand why the last potential energy term is only [tex]mgY[/tex] and not [tex]mg(l-Y)[/tex]?
Measured from a reference point at the top of the pendulum, V = -mgY.
 
  • #3
Yes I am aware that it is the KE of the trolley. Why isn't the trolley displaced by the pendulum? Since the pendulum is displaced by the trolley? Shouldn't there be an extra displacement term in the KE of the trolley.
 
  • #4
ian2012 said:
Then why isn't the trolley displaced by the pendulum? Since the pendulum is displaced by the trolley?
Any displacement of the trolley will be reflected in a change in its position x. The KE of the trolley depends only on the speed of the trolley, which is given by [itex]\dot{x}[/itex].
 
  • #5
The second term, the KE of the pendulum depends on the velocity of the trolley, whereas the first term, the KE of the trolley, has no dependence on the velocity of the pendulum. How is this possible since a movement of the pendulum will also affect the trolley? I don't understand why the logic breaks down here.
 
  • #6
ian2012 said:
The second term, the KE of the pendulum depends on the velocity of the trolley, whereas the first term, the KE of the trolley, has no dependence on the velocity of the pendulum. How is this possible since a movement of the pendulum will also affect the trolley? I don't understand why the logic breaks down here.
No, the KE of the pendulum depends only on the velocity of the pendulum. Since your coordinates are x and θ, the horizontal position of the pendulum is given by x + Lcosθ and is thus indirectly dependent on the position of the trolley. The speed of the pendulum only indirectly depends on the speed of the trolley, since Lcosθ is with respect to the trolley. Since the position of the trolley is one of the generalized coordinates, the KE of the trolley only depends on [itex]\dot{x}[/itex].
 
  • #7
Two things:

1. Remember, the Lagrangian is for a system of particles, not just one so that
[tex]L=\sum (T-U)[/tex]
i.e. you have to include BOTH the trolley and the pendulum into the calculation.

2. When dealing with a system of particles, I don't believe using relative coordinates suffices.
 
  • #8
ian2012 said:
The second term, the KE of the pendulum depends on the velocity of the trolley, whereas the first term, the KE of the trolley, has no dependence on the velocity of the pendulum. How is this possible since a movement of the pendulum will also affect the trolley? I don't understand why the logic breaks down here.
Just to be clear: I'm not saying that the motion of the pendulum is independent of the motion of the trolley. Not at all. All I'm saying is that in terms of your chosen coordinates, the KE of the trolley is fully specified by [itex]1/2M\dot{x}^{2}[/itex].

The coupling of the motion comes in when you specify the KE of the pendulum (which includes [itex]\dot{x}[/itex]) and in applying the Euler-Lagrange equations.
 
  • #9
I understand your reasoning and it makes sense now, thanks.

For the PE term of the answer, how would one know to use the reference point as the top of the pendulum instead of the position of the mass m?
 
  • #10
ian2012 said:
For the PE term of the answer, how would one know to use the reference point as the top of the pendulum instead of the position of the mass m?
Any point in the laboratory frame will do as a reference for specifying gravitational PE, since only changes in PE are physically significant. Here we measure the position of the mass m with respect to the top of the top of the pendulum in order to specify its PE, but we could just as well measure its position from the lowest point of the pendulum.

But you can't take the position of the mass itself as a reference point--for one thing, the mass is accelerating; for another, its the PE of that mass that we are trying to specify.
 
  • #11
Yea, sorry I meant the lowest point of the pendulum as the reference point. Yeah sure that makes sense. Then the Lagrangian will be different depending on the reference point taken. One will have to spot from the question to take the reference point from the top of the pendulum.
 

1. What is Lagrangian mechanics?

Lagrangian mechanics is a mathematical formalism used to describe the dynamics of a system. It is based on the principle of least action, which states that a system will follow the path that minimizes its action, a quantity that is related to the system's energy.

2. How does Lagrangian mechanics apply to a pendulum?

In the case of a simple pendulum, Lagrangian mechanics can be used to derive the equation of motion for the pendulum. By considering the potential and kinetic energies of the pendulum, the Lagrangian equation can be set up and solved to obtain the pendulum's motion.

3. Can Lagrangian mechanics be applied to a trolley system?

Yes, Lagrangian mechanics can be applied to trolley systems, also known as "trolley problems." By considering the potential and kinetic energies of the trolley and its surroundings, the Lagrangian equation can be used to determine the trolley's motion.

4. How does Lagrangian mechanics differ from Newtonian mechanics?

Lagrangian mechanics and Newtonian mechanics are two different mathematical formalisms used to describe the same physical phenomena. While Newtonian mechanics is based on the laws of motion and forces, Lagrangian mechanics is based on the principle of least action. Lagrangian mechanics is often preferred for its simplicity and applicability to more complex systems.

5. Is Lagrangian mechanics limited to classical mechanics?

No, Lagrangian mechanics can also be applied to quantum mechanics and relativistic mechanics. In these cases, the Lagrangian equation is modified to take into account the quantum and relativistic effects, but the fundamental principles remain the same.

Similar threads

Replies
2
Views
189
Replies
3
Views
941
Replies
3
Views
738
Replies
2
Views
867
Replies
4
Views
864
Replies
3
Views
496
  • Mechanics
Replies
2
Views
555
Replies
76
Views
4K
  • Mechanics
Replies
3
Views
973
Replies
7
Views
937
Back
Top