Transforming coordinates for a vertical hoop

Loxias
Messages
29
Reaction score
0

Homework Statement


A bead of mass m slips without friction an a vertically oriented hoop of radius R.
The hoop rotates around the z axis at a constant rate w.

(question 4 if anyone wants to see the figure)
http://phstudy.technion.ac.il/~wn114101/hw/wn2010_hw05.pdf"

Homework Equations



Write the Lagrangian for the system

The Attempt at a Solution



I need to transform coordinates.
I thought about transforming to spherical ones.

constraints : r = R, \phi = wt

x = R sin(\theta) cos(wt), y = R sin(\theta) sin(wt) , z = R cos(\theta)

does this seem right? because when I try to write the velocity I get a very ugly equation

\dot{x}^2 + \dot{y}^2 + \dot{z}^2 = \dot{\theta}^2R^2 + w^2R^2sin^2(\theta) - 2\dot{\theta}wR^2 sin(\theta)sin(wt)cos(wt)cos(\theta) +2\dot{\theta}wR^2cos(\theta)sin(wt)sin(\theta)cos(wt) + \dot{\theta}R^2sin^2(\theta)

which simply doesn't look right..
 
Last edited by a moderator:
Physics news on Phys.org
never mind.. i just noticed it..
 
Loxias said:

The Attempt at a Solution



I need to transform coordinates.
I thought about transforming to spherical ones.

constraints : r = R, \phi = wt

x = R sin(\theta) cos(wt), y = R sin(\theta) sin(wt) , z = R cos(\theta)

does this seem right? because when I try to write the velocity I get a very ugly equation

\dot{x}^2 + \dot{y}^2 + \dot{z}^2 = \dot{\theta}^2R^2 + w^2R^2sin^2(\theta) - 2\dot{\theta}wR^2 sin(\theta)sin(wt)cos(wt)cos(\theta) +2\dot{\theta}wR^2cos(\theta)sin(wt)sin(\theta)cos(wt) + \dot{\theta}R^2sin^2(\theta)

which simply doesn't look right..

That doesn't look ugly! There's two terms that cancel and reduces the problem.
 
yea.. thanks.. i noticed it..

a question though

is
\frac{m}{2}\left(\dot{\theta}^2R^2 + w^2R^2sin^2(\theta)\right) + mgRcos(\theta)

the energy in the system?
 
Loxias said:
yea.. thanks.. i noticed it..

a question though

is
\frac{m}{2}\left(\dot{\theta}^2R^2 + w^2R^2sin^2(\theta)\right) + mgRcos(\theta)

the energy in the system?

This would be the Lagrangian, but not the energy. Your potential should be negative due to the use of \cos\theta.
 
the Lagrangian is

L = \frac{m}{2} \left(\dot{\theta}^2R^2 + w^2R^2sin^2(\theta) + \dot{\theta}R^2sin^2(\theta)\right) - mgRcos(\theta)

from which I've derived the hamiltonian according to

H = \frac{\partial L}{\partial \dot{\theta}}\dot{\theta} - L

which is what i wrote below. what I'm wondering is, is this the energy?
 
Loxias said:
the Lagrangian is

L = \frac{m}{2} \left(\dot{\theta}^2R^2 + w^2R^2sin^2(\theta) + \dot{\theta}R^2sin^2(\theta)\right) - mgRcos(\theta)

from which I've derived the hamiltonian according to

H = \frac{\partial L}{\partial \dot{\theta}}\dot{\theta} - L

which is what i wrote below. what I'm wondering is, is this the energy?


You seem to be adding something here. Where did \dot{\theta}R^2sin^2(\theta) come from? Your kinetic energy should be:

<br /> T=\frac{1}{2}m\left(\dot{R}^2+R^2\dot{\theta}^2+R^2\sin^2\theta\dot{\phi}^2\right)=\frac{1}{2}m\left(R^2\dot{\theta}^2+R^2\sin^2\theta\dot{\phi}^2\right)<br />

Also, your kinetic energy should be negative, so in the Lagrangian it should be positive: L=T-V=T+mgR\cos\theta.
 
T = \frac{m}{2} (\dot{x}^2 + \dot{y}^2 + \dot{z}^2)
and according to my first post, you can see where all the terms came from.
also, \dot{R} = 0
a small mistake, the last term should be \dot{\theta}^2R^2sin^2(\theta)
 
Loxias said:
T = \frac{m}{2} (\dot{x}^2 + \dot{y}^2 + \dot{z}^2)
and according to my first post, you can see where all the terms came from.
also, \dot{R} = 0

I know that R-dot is zero, I did cancel it in my equation. But I think you are confusing \dot{\mathbf{r}}\cdot\dot{\mathbf{r}} with \dot{r}^2[/itex]. Remember that both your position and velocities are vectors, so when you see the square term, you must think to take the dot product. Your kinetic energy should be as I wrote it above.<br /> <br /> I probably should have caught it in the first post, but I did just wake up about an hour and a half ago...
 
  • #10
I'm trying to see what i did wrong and i can't find it. Can you see it?
 
  • #11
I get:

<br /> \dot{x}^2=\dot{\theta}^2R^2\cos^2\theta\cos^2\phi+\dot{\phi}^2R^2\sin^2\theta\sin^2\phi-2\dot{\phi}\dot{\theta}R^2\sin\theta\sin\phi\cos\theta\cos\phi<br />

<br /> \dot{y}^2=\dot{\theta}^2R^2\cos^2\theta\sin^2\phi+\dot{\phi}^2R^2\sin^2\theta\cos^2\phi+2\dot{\theta}\dot{\phi}R^2\sin\theta\sin\phi\cos\theta\cos\phi<br />

<br /> \dot{z}^2=\dot{\theta}^2R^2\sin^2\theta<br />

So adding them together

<br /> \dot{x}^2+\dot{y}^2+\dot{z}^2=\dot{\theta}^2R^2\cos^2\theta\cos^2\phi+\dot{\phi}^2R^2\sin^2\theta\sin^2\phi-2\dot{\phi}\dot{\theta}R^2\sin\theta\sin\phi\cos\theta\cos\phi+\dot{\theta}^2R^2\cos^2\theta\sin^2\phi<br />

<br /> +\dot{\phi}^2R^2\sin^2\theta\cos^2\phi+2\dot{\theta}\dot{\phi}R^2\sin\theta\sin\phi\cos\theta\cos\phi+\dot{\theta}^2R^2\sin^2\theta<br />

Clearly those two cross terms cancel,<br /> \dot{x}^2+\dot{y}^2+\dot{z}^2=\dot{\theta}^2R^2\cos^2\theta\cos^2\phi+\dot{\phi}^2R^2\sin^2\theta\sin^2\phi+\dot{\theta}^2R^2\cos^2\theta\sin^2\phi+\dot{\phi}^2R^2\sin^2\theta\cos^2\phi+\dot{\theta}^2R^2\sin^2\theta<br />

Some trig identities ensue:<br /> \dot{x}^2+\dot{y}^2+\dot{z}^2=\dot{\theta}^2R^2\cos^2\theta+\dot{\phi}^2R^2\sin^2\theta+\dot{\theta}^2R^2\sin^2\theta<br />

A few more trig identities:

<br /> \dot{x}^2+\dot{y}^2+\dot{z}^2=\dot{\theta}^2R^2+\dot{\phi}^2R^2\sin^2\theta<br />
 
  • #12
indeed.. i saw where i went wrong. thanks alot!

so the hamiltonian here is the energy of the system?
 
  • #13
Loxias said:
indeed.. i saw where i went wrong. thanks alot!

so the hamiltonian here is the energy of the system?

If there is no explicit time dependence in the Lagrangian (as is the case here), the Hamiltonian is also the total energy of the system.
 
  • #14
thanks :smile:
 
  • #15
Loxias said:
thanks :smile:

Not a problem, glad I could help
 
Back
Top