1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Hamiltonian of flyball governor

  1. Dec 20, 2004 #1
    Hamilton equations of flyball governor

    I'm trying to find
    1. The Hamiltonian
    2. The Hamilton equation of motion for the flyball governor shown in problem 2 here

    http://www.srl.caltech.edu/phys106/1999/Homework3.pdf

    This is what i have. Can someone tell me if i'm right?


    [tex]
    \begin{gather*}
    L = ml^2\dot{\theta}^2+ ml^2\omega^2\sin^2\theta + 2Ml^2\dot{\theta}^2\sin^2\theta +2(m+M)gl\cos\theta\\

    H = ml^2\dot{\theta}^2+ ml^2\omega^2\sin^2\theta + 2Ml^2\dot{\theta}^2\sin^2\theta -2(m+M)gl\cos\theta\\


    \partial{L}/\partial\dot{\theta} = 2ml^2\dot{\theta} + 4Ml^2\dot{\theta}\sin^2\theta = P_\theta\\

    \dot{\theta} =P_\theta/2ml^2\dot{\theta} + 4Ml^2\dot{\theta}\sin^2\theta\\

    \partial{H}/\partial{P_\theta} = P_\theta/2ml^2\dot{\theta} + 4Ml^2\dot{\theta}\sin^2\theta = \dot{\theta}\\

    \partial{H}/\partial\theta = 2ml^2\omega^2\sin\theta\cos\theta +4Ml^2\dot{\theta}^2\sin\theta\cos\theta + 2(m+M)gl\sin\theta = -\dot{P_\theta}\\
    -\dot{P_\theta}=-(ml^2\ddot{\theta}+4Ml^2\ddot{\theta}\sin^2\theta
    \\
    equating the two equations and solving for theta double dot, we get\\

    \ddot{\theta} = \frac{ml\omega^2\sin\theta\cos\theta+2Ml\dot{\theta}^2\sin\theta\cos\theta-(m+M)g\sin\theta}{l(m+2M\sin^2\theta)}\\

    \end{gather*} [/tex]
     
    Last edited: Dec 20, 2004
  2. jcsd
  3. Dec 20, 2004 #2
    Loose the spaces in your [ tex ] and [ / tex ].
     
  4. Dec 20, 2004 #3

    dextercioby

    User Avatar
    Science Advisor
    Homework Helper

    Never mind the code.It's intelligible.At least,the first 2 lines...:tongue2: The Lagrange's function is correct.It's identically to the one given in Landau&Lifschitz,p.21 (ed.1966,Mir,fr.)(with different notations,of course).So that should be okay.
    Define the canonical momenta and then write the Hamilton's function for the system.Note:Hamilton's function wil not depend on [itex] \dot{\theta} [/itex],but on [itex] p_{\theta} [/itex].I believe it won't be hard to write the kinetic part in the Hamiltonian.The Potential part is just the one in the Lagrangian but with reversed sign.If u've chosen "+"in the Lagrangian,then it will "-"in the Hamiltonian.

    Daniel.

    PS.Do something about your tex editing.It sucks... :tongue2: :yuck:
     
  5. Dec 20, 2004 #4

    dextercioby

    User Avatar
    Science Advisor
    Homework Helper

    Once u got the Hamiltonian right,then Hamiltonian equations of motion will be very easy to write.First of all write that Hamiltonian.U may want to define the Poisson bracket for this system and use the equations of motion in terms of fundamental Poisson brackets.Or,perhaps,that's too much and you'd stick to the usual form of the equations.
    Feel free to post any problem u have with Analytical Mechanics as you wouldn't be the only one.I believe Cepheid is struggling with the same things...Though much simpler.

    Daniel.

    EDIT:Both for this and for the previous post.Apparently,among those signs,i could see that u defined the canonical momentum.But yet,the formula containg in the LFS the symbol "H" (for Hamiltonian i presume) and in the RHT generalized velocites is wrong.As i said before,i'll say it again.The Hamiltonian is the (invertible) Legendre transformation of the Lagrangian wrt to canonical momenta.It never depends on generalized velocities,for any case...
     
    Last edited: Dec 20, 2004
  6. Dec 20, 2004 #5
    Okay, Daniel, my post looks a bit more intelligible :yuck: now so please check it and give me some feedback aight:) I actually love doing physics this way. I mean physics is fun even if its hard but this is waaaay cool. I'm becoming a physics forum adict. :biggrin:

    okay, back to the problem...BUT u must admit, my equations are almost elegant...i hope they're right :tongue2:
     
    Last edited: Dec 20, 2004
  7. Dec 20, 2004 #6

    dextercioby

    User Avatar
    Science Advisor
    Homework Helper

    It's okay.I already told you that.

    It's wrong.I already told u that it should be
    [tex] H=H(\theta,p_{\theta}) [/tex]

    This is alright.Now express [tex] \dot{\theta}=\dot{\theta}(\theta,p_{\theta}) [/tex] and insert in the Hamiltonian's definition.

    It's okay what you wrote,but it's not useful.You must isolate all expliticit dependence of [itex] \dot{\theta} [/itex].

    I'm not sure of this,as long as u don't have (or at least u haven't written) the Hamiltonian.

    Daniel.
     
    Last edited: Dec 21, 2004
  8. Dec 21, 2004 #7

    pervect

    User Avatar
    Staff Emeritus
    Science Advisor

    Since this is a homework problem, let's work this out in full, without taking any shortcuts, starting with the Lagrangian.

    We have

    L := m*l^2*tdot^2+ m*l^2*omega^2*sin(theta)^2 + 2*M*l^2*tdot^2*sin(theta)^2 +2*(m+M)*g*l*cos(theta);

    where I've taken the liberty of changing the variables because I'm using a computer program (maple).

    This is L(theta, tdot) where tdot = [tex]\frac{\partial theta}{\partial t}[/tex]

    Now we can write the energy function, h in the same variables. The energy function is the Hamiltonian's "little brother", it's numerically equal but defined in different variables.

    [tex] h = tdot \frac{\partial L}{\partial tdot} - L[/tex]

    this is then

    h(theta,tdot) = tdot*(2*m*l^2*tdot+4*M*l^2*tdot*sin(theta)^2)-m*l^2*tdot^2-m*l^2*omega^2*sin(theta)^2-2*M*l^2*tdot^2*sin(theta)^2-2*(m+M)*g*l*cos(theta)

    The last step is to work out ptheta, and substitute it in the expression for h, a change of variable.

    You've already observed [tex]ptheta = \frac{\partial L}{\partial tdot}[/tex]

    Unfortunately I'm being called away from the computer, but all you have to do at this point in substitute variables to change h(theta, tdot) into H(theta, ptheta).
     
  9. Dec 21, 2004 #8

    pervect

    User Avatar
    Staff Emeritus
    Science Advisor

    OK, I'm back so

    h := m*l^2*tdot^2+2*M*l^2*tdot^2-2*M*l^2*tdot^2*cos(theta)^2
    -m*l^2*omega^2+m*l^2*omega^2*cos(theta)^2-2*g*l*cos(theta)*m
    -2*g*l*cos(theta)*M

    and
    [tex]
    {\it tdot}=1/2\,{\frac {{\it ptheta}}{ \left( m+2\,M \left( \sin
    \left( \theta \right) \right) ^{2} \right) {l}^{2}}}
    [/tex]

    so

    H :=
    [tex]
    1/4\,{\frac {m{{\it ptheta}}^{2}}{{l}^{2} \left( m+2\,M \left( \sin
    \left( \theta \right) \right) ^{2} \right) ^{2}}}+1/2\,{\frac {M{{
    \it ptheta}}^{2}}{{l}^{2} \left( m+2\,M \left( \sin \left( \theta
    \right) \right) ^{2} \right) ^{2}}}-1/2\,{\frac {M{{\it ptheta}}^{2}
    \left( \cos \left( \theta \right) \right) ^{2}}{{l}^{2} \left( m+2\,
    M \left( \sin \left( \theta \right) \right) ^{2} \right) ^{2}}}-m{l}^
    {2}{\omega}^{2}+m{l}^{2}{\omega}^{2} \left( \cos \left( \theta
    \right) \right) ^{2}-2\,gl\cos \left( \theta \right) m-2\,gl\cos
    \left( \theta \right) M
    [/tex]

    the last truncated part is

    2gl cos(theta) M

    It's a good thing we used the full, laborious approach to find H, because many of the usual shortcuts don't work on this problem.

    Often, L = T-V, and H = T+V, but not in this case.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Hamiltonian of flyball governor
Loading...