Lagrangian mechanics (problem with generalized coordinates)

Click For Summary

Homework Help Overview

The discussion revolves around a problem in Lagrangian mechanics involving a rod of mass m and length l, which is constrained to move along a rail at a fixed angle alpha. The original poster seeks clarification on their approach to deriving the equations of motion, particularly when treating the angle theta as constant.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to derive the equations of motion using generalized coordinates q and theta, but expresses confusion over the validity of their second equation. Some participants question the setup and the interpretation of kinetic energy contributions, while others suggest modifications to the expressions for kinetic and potential energy.

Discussion Status

Participants are actively discussing the implications of fixing theta and how it affects the resulting equations. There is recognition of the need to linearize the equations for small perturbations, and some guidance has been provided regarding the treatment of small oscillations. However, there is no explicit consensus on the interpretation of the equations derived.

Contextual Notes

Participants note that the problem involves analyzing the system under the assumption that theta is constant, which leads to confusion regarding the number of equations generated. The discussion also touches on the potential need for energy conservation principles and Hamiltonian mechanics to further analyze the system.

Feynmanfan
Messages
128
Reaction score
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

Physics news on Phys.org
The problem's not that simple as it looks.
The "rail" (the stick :-p ) is it fixed at the angle 'alpha'??If so,that simplifies things a little bit.
The Lagrange function [itex]L=T-V [/tex]<br /> 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.<br /> The potential energy of the rod is <br /> [tex]V(t)=q(t)\sin\alpha-mg\cos \theta(t)[/tex]<br /> ,where \theta is the generalized coordinate chosen for the angular movement of the rod.<br /> The kinetic energy will be:Itheta dot<br /> [tex]T=\frac{I}{2}\dot{\theta}^{2}(t)=\frac{ml^{2}}{2}\dot{\theta}^{2}(t)[/tex]<br /> The fact that the suspension point is slipping down the "rail"contributes only to the potential energy of the rod.<br /> 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.<br /> <br /> Daniel.[/itex]
 
Last edited:
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
 
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.
 
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)?
 
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.
 
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?
 
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?
 
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?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
55
Views
7K
  • · Replies 13 ·
Replies
13
Views
4K