Lagrangian mechanics (problem with generalized coordinates)

In summary: The problem is asking for the equations of motion for a rod that is free to move in a gravitational field. You are asked to solve for the position and velocity of the center of mass. You then use the Lagrange equation to find the potential energy of the system. The problem then asks you to find the kinetic energy of the system. You use the principle of conservation of energy to find the total energy of the system. Finally, the problem asks you to find the Hamiltonian for the system.
  • #1
Feynmanfan
129
0
Dear friends,

Well, I’ve got a problem to solve but I’m not going to ask you to do it for me. Instead, what I need is an explanation of what I am doing wrong.

The problem is as follows: we have a rod of mass m and length l hanging of a rail (don’t know how to call it). It moves as the diagram shows,. I am asked (using Lagrangian mechanics) to write down the movement equations. And once done so, imagine theta is constant, what is the equation of just the translation motion?

The generalized coordinates I take are q and theta (alpha is fixed) and therefore the positions of the centre of mass of the rod is:

X=qcos(alpha)-L/2sin(theta)
Y= qsin(alpha)-L/2cos(theta)

Now I write the Lagrangian (taking into account that the kinetic energy of the rod is the T of the center of mass plus the kinetic energy around the center of mass).

Well, after cancelling all theta’s derivatives (cause theta is constant) I reach to this conclusion:

1.equation mq’’=-mgsin(alpha)
2. equation mq’’=g sin(theta)/cos(alpha+theta)

Equation 1 makes sense, but the second doesn’t. That’s why I think I’m doing something wrong. Please help!
 

Attachments

  • image1.bmp
    11.4 KB · Views: 617
Physics news on Phys.org
  • #2
The problem's not that simple as it looks.
The "rail" (the stick :tongue2: ) is it fixed at the angle 'alpha'??If so,that simplifies things a little bit.
The Lagrange function [itex] L=T-V [/tex]
T is the kinetic energy of the rod,V is the potential energy.By the looks of it,the suspension point slips down the "rail" freely in the gravitational field of the earth.Let "q" be the generalized coordinate of the suspension point.
The potential energy of the rod is
[tex] V(t)=q(t)\sin\alpha-mg\cos \theta(t) [/tex]
,where \theta is the generalized coordinate chosen for the angular movement of the rod.
The kinetic energy will be:Itheta dot
[tex] T=\frac{I}{2}\dot{\theta}^{2}(t)=\frac{ml^{2}}{2}\dot{\theta}^{2}(t) [/tex]
The fact that the suspension point is slipping down the "rail"contributes only to the potential energy of the rod.
U'll need to find q=q(t) knowing it is moving in the gravitational field.To find it,make abstraction of the oscillating system and consider a point mass "m" in the suspension point and find it eq.of movement.

Daniel.
 
Last edited:
  • #3
I don't get where you got the kinetic energy from. Don't you have to add the kinetic energy of the center of mass, which is
1/2m(q'+L^2/4(theta)'-q'L(theta)'cos(alpha+theta))

Thanks for your help
 
  • #4
Yes,sorry,i've misinterpreted the problem.Yes,then both of my expressions need modification.The KE for the center of the mass of the rod and the potential energy of the same point will have the expressions u posted.

Daniel.
 
  • #5
Well, thanks again. But how do you interpret the result I got after applying Lagrange's equation and making all theta's derivatives zero (that's what the problem asks me to do)

1.equation mq’’=-mgsin(alpha)
2. equation mq’’=g sin(theta)/cos(alpha+theta)

To me the 2. doesn't make sense. Or is it that sin(alpha)=-sin(theta)/cos(alpha+theta)?
 
  • #6
1.equation mq’’=-mgsin(alpha)
2. equation mq’’=g sin(theta)/cos(alpha+theta)

You have one generalized coordinate (fixing theta). How come you have 2 equations? My solution coinside with your first one.


[tex] \ddot{q}=-g\sin(\alpha) [/tex]

G.
 
  • #7
yes you're right. I must be stupid.
I just calculated the equations considering theta not fixed. And afterwards I considered it fixed.

Isn't it supposed to work this way, too?
 
  • #8
Gamma, actually the problem is aimed at calculating what happens to this particular solution of the equations when it suffers a little perturbation from this fixed point.
That's why the teacher asked us to develop the equations considering

(theta,theta',theta'')=(theta0,0,0)

What am I suposed to do?
 
  • #9
Small perturbations from the equilibrium positions are considered linearizing the system of equations/equation.That means:
[tex] \cos\theta(t)\rightarrow 1-\frac{\theta^{2}(t)}{2} [/tex]
and similar
[tex] \sin\theta(t)\rightarrow \theta(t) [/tex]
It's standard trick to analyze small oscillations.

Daniel.
 
  • #10
I'm sorry but I'm getting nowhere.

I understood how to analize small oscillations but I can't integrate the result I get. Intuitively, what is it that I have to get out of this? A physical pendulum that is moving?

Is it of any help the principle of conservation of Energy?
 
  • #11
How would you calculate q(t)?
 
  • #12
I'm still working on this but don't know how to solve the system of differential equations I get after linearializing it. Is it of any help calculating the Hamiltonian? Or applying the energy conservation principle?
 

1. What is Lagrangian mechanics?

Lagrangian mechanics is a mathematical framework used to describe the motion of a system in terms of generalized coordinates. It is based on the principle of least action, where the motion of a system is determined by minimizing the difference between its potential and kinetic energies.

2. What are generalized coordinates in Lagrangian mechanics?

Generalized coordinates are a set of independent variables that describe the configuration of a system. They can be any set of variables that fully describe the position and orientation of the system, and are often chosen to simplify the equations of motion.

3. What are the advantages of using Lagrangian mechanics?

There are several advantages to using Lagrangian mechanics over other methods, such as Newtonian mechanics. These include a more elegant and concise formulation of the equations of motion, as well as the ability to easily incorporate constraints and non-conservative forces into the analysis.

4. Can Lagrangian mechanics be applied to any system?

Yes, Lagrangian mechanics can be applied to any system, as long as the equations of motion can be written in terms of the system's generalized coordinates. It is particularly useful for systems with many degrees of freedom, where other methods may become cumbersome.

5. How is energy conserved in Lagrangian mechanics?

In Lagrangian mechanics, energy is conserved due to the principle of least action. This states that the motion of a system is determined by minimizing the difference between its potential and kinetic energies. As a result, the total energy of the system (the sum of its potential and kinetic energies) remains constant throughout its motion.

Similar threads

Replies
8
Views
230
  • Introductory Physics Homework Help
Replies
7
Views
212
  • Introductory Physics Homework Help
Replies
3
Views
192
  • Introductory Physics Homework Help
2
Replies
55
Views
2K
  • Introductory Physics Homework Help
Replies
9
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
3K
  • Introductory Physics Homework Help
Replies
7
Views
73
  • Introductory Physics Homework Help
Replies
13
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
335
  • Introductory Physics Homework Help
Replies
15
Views
257
Back
Top