Lagrangian of two masses connected by a spring in semicircle

Click For Summary

Homework Help Overview

The problem involves deriving the equations of motion for two masses connected by a weightless spring within a frictionless semicircular well. The context is rooted in classical mechanics, specifically using the Lagrangian formulation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of the Lagrangian, questioning the definitions of potential energy and the correct expressions for kinetic energy. There are attempts to clarify the signs in the gravitational potential energy terms and the representation of the spring's potential energy.

Discussion Status

The discussion is ongoing, with participants providing feedback on each other's formulations and suggesting revisions. Some guidance has been offered regarding the expressions for kinetic and potential energy, and there is an exploration of how to simplify the expressions for the equations of motion.

Contextual Notes

There are indications of confusion regarding the coordinate definitions, particularly how they relate to the direction of gravitational potential energy. Participants are also considering the implications of using Cartesian versus polar coordinates in their calculations.

Klas
Messages
5
Reaction score
0

Homework Statement


Two masses are connected by a weightless spring in a friction-less semicircular well (Picture included). Derive the equations of motion with help of lagrange
0SNri.png


Homework Equations


L = T - U = kinetic energy - potential energy

The Attempt at a Solution


##L = \frac{1}{2}m_1(\dot{x_1}^2 + \dot{y_1}^2) + \frac{1}{2}m_2(\dot{x_2}^2 + \dot{y_2}^2) - (m_1gx_1 + m_2gx_2 + \frac{1}{2}k(\sqrt{x^2-y^2} -l_0)^2)##

Where:
##x_1 = R\cos\theta_1, \;\;x_2 = R\cos(\theta_1+\theta_2) \\y_1 = R\sin\theta_1, \;\;y_2 = R\sin(\theta_1+\theta_2)##
##x=x_2-x_1##
##y=y_2-y_1##

I think I'm going to be able to get the equation of motion from here if only L is right...
And if it's correct it feels like the EOM will be a pain in the ass from here but it feels like I'm missing something rather essential here?

I'll be thankful for any help
 
Last edited:
Physics news on Phys.org
Your gravitational potential energy is of the form "mgy" yet your y seems to point down in your definition.
 
I guess you mean it should rather be ##mgRcos(\theta)##. I'm have put potential zero at the bottom so at ##mgRcos0## it should be the max potential energy.

Did an edit on the original post
 
No I meant that your gravitational potential terms should be of the form -mgy instead of mgy since you have y increasing downwards in your definition.
 
I see what you mean. If I rewrite it as ##L = \frac{1}{2}m_1(\dot{x_1}^2 + \dot{y_1}^2) + \frac{1}{2}m_2(\dot{x_2}^2 + \dot{y_2}^2) - (-m_1gy_1 - m_2gy_2 + \frac{1}{2}k(\sqrt{x^2-y^2} -l_0)^2)##
should it be correct then?

And if, when I rewrite it with ##\theta_1, \theta_2## this part is going to be hard to partial derivative with respect to ##\theta1, \theta2## ## (\sqrt{x^2-y^2} -l_0)^2) = (\sqrt{(Rcos(\theta_1+ \theta_2)-Rcos(\theta_1))^2+(Rsin(\theta_1+\theta_2)+Rsin(\theta_2))^2)}-l_0)^2##
 
Last edited:
You still have x's in your potential energy. You should put the y's back in. Just make sure to keep the negatives. The rest of the Lagrangian looks good to me.
 
Fixed it. Any tips on how to deal with ## (\sqrt{x^2-y^2} -l_0)^2) = (\sqrt{(Rcos(\theta_1+ \theta_2)-Rcos(\theta_1))^2+(Rsin(\theta_1+\theta_2)+Rsin(\theta_2))^2)}-l_0)^2## when I'm going to partial derivative it later?

Thank you for all your help!
 
Express ##T## and ##U## in terms of ##\theta_1## and ##\theta_2## and their time derivatives. For the distance between the masses, consider the right triangle shown below where one leg of the triangle bisects ##\theta_2##.
 

Attachments

  • triangle.png
    triangle.png
    8.6 KB · Views: 578
##L = \frac{1}{2}m_1R^2\dot{\theta_1}^2 + \frac{1}{2}m_2R^2(\dot{\theta_1} + \dot{\theta_2})^2 + m_1gRcos\theta_1 + m_2gRcos(\theta_1 + \theta_2) -(\sqrt{(Rcos(\theta_1+ \theta_2)-Rcos(\theta_1))^2+(Rsin(\theta_1+\theta_2)+Rsin(\theta_2))^2)}-l_0)^2##
Is what I get. Since:
##\dot{x_1}^2 + \dot{y_1}^2 = (-R\dot{\theta_1}sin\theta_1)^2 + (R\dot{\theta_1}cos\theta_1)^2 = R^2\dot{\theta_1}^2(cos^2\theta_1 + sin^2\theta_2) = R^2\dot{\theta_1}^2*1##.

TSny. I'm still unsure what to do with that.. For the partial derivative when coming to the sqrt.. Is there anything I'm missing to make my life easier with that part or is it just time to get my hands dirty?
 
  • #10
You should be able to avoid the square root. Don't use Cartesian coordinates at all.
 

Similar threads

Replies
9
Views
4K
Replies
5
Views
2K
Replies
26
Views
5K
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
5K