Lagrangian mechanics: a spring and a bar

Click For Summary

Homework Help Overview

The problem involves a massless spring attached to a ceiling, with a homogenous bar of mass m and length l connected to the spring. The bar can move in the xy-plane, and the task is to find the Lagrangian equations of the system.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the Lagrangian by considering the kinetic and potential energies of the system, while also expressing the center of mass of the bar in relation to the spring's position.
  • Some participants question the assumption of neglecting gravitational forces, suggesting that gravity should be considered due to the setup involving a ceiling.
  • Others propose an alternative approach to the kinetic energy of the bar, focusing on the center of mass rather than rotational energy.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the problem and questioning the assumptions made about gravitational forces. Some guidance has been offered regarding the kinetic energy formulation.

Contextual Notes

There is uncertainty regarding the inclusion of gravitational forces in the problem setup, as well as the implications of the spring's attachment to the ceiling.

atwood
Messages
9
Reaction score
0

Homework Statement


A massless spring (spring constant k) is attached to the ceiling. It is free to move only in the y-direction. A homogenous bar of mass m and
length l is attached from its other end to the lower end of the spring, and the bar is free to move on the xy-plane.

A fancy picture for those who appreciate:

+<--y-->-
|~~~--

|=ceiling, ~~~=spring, --=bar

Find the Lagrangian equations of the system.

Homework Equations


[tex]\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_i}-\frac{\partial L}{\partial q_i}=0[/tex]

The Attempt at a Solution


I suppose there's no gravitational force present, as there's no mention of it, although the spring is attached to the ceiling. But this
problem still stuns me.

First, there's the spring related energy of the system.
[tex]L=T-V=\frac{1}{2}m\dot{y}^2-\frac{1}{2}ky^2[/tex]

However, in this case the velocity doesn't depend only on y (the location of the moving end of the spring), but it also depends on the
movement of the center of the bar, as it's free to rotate around the end of the spring. Rephrasing the previous:

The center of mass of the bar:
[tex]y_b=y+\frac{l}{2}cos\theta[/tex]
where theta is the angle away from the vertical
[tex]\dot{y_b}=\dot{y}-\frac{l}{2}\dot{\theta}sin\theta[/tex]

[tex]L=T-V=\frac{1}{2}m\dot{y_b}^2-\frac{1}{2}ky^2<br /> =\frac{1}{2}m\left(\dot{y}-\frac{l}{2}\dot{\theta}sin\theta\right)^2-\frac{1}{2}ky^2[/tex]

Secondly, there's the kinetic energy of the bar. The spring is massless so it has no kinetic energy, so the kinetic energy in the previous
equation is the translational energy of the bar. Additionally there's rotational kinetic energy (R) but no potential energy.

[tex]L=R=\frac{1}{2}J\omega^2[/tex]

Here
[tex]J=\frac{1}{3}ml^2[/tex]

[tex]\omega=\dot{\theta}[/tex]

So [tex]L=(T+R)-V=\frac{1}{2}m\left(\dot{y}-\frac{l}{2}\dot{\theta}sin\theta\right)^2<br /> +\frac{1}{2}J\dot{\theta}^2-\frac{1}{2}ky^2[/tex]

I've been told that there's an error, but I haven't been told where it is. Of course my equations look awful, but knowing that doesn't help.
 
Physics news on Phys.org
Your first part looks fine to me; for the second, i wouldn't go for a rotational energy but instead simply get an x-component of kinetic energy where x = l*sin(theta)/2... the rest should follow (you have to focus on the center of mass, where the net force is at work; it would be good to know if you're supposed to include gravity, though...)
 
atwood said:
I suppose there's no gravitational force present, as there's no mention of it, although the spring is attached to the ceiling. But this
problem still stuns me.

I'm pretty sure you are supposed to take gravity into account. Otherwise they would not have said that the spring is attached to the ceiling, but that all the stuff is located on a table with neglectable friction or something like that.
 
I agree. It also gives the only usable potential energy...
 

Similar threads

Replies
6
Views
2K
Replies
9
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
6
Views
4K
  • · Replies 21 ·
Replies
21
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
3K
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K