Undefined Hamiltonian for this particular LagrangianAdding a total time derivative term to the LagrangianLagrangian to HamiltonianHamiltonian mechanics really useful for numerical integration? Lagrangian can become 1st-orderFinding geodesics: Lagrangian vs HamiltonianInconsistency in Lagrangian vs Hamiltonian formalism?Gauge invariance of the HamiltonianWhat is my state in the context of Hamiltonian mechanics?Can we write a Lagrangian for the classical system with $H=kqp$?Canonical transformations preserve Hamilton's equations. Which transformation preserve the Euler-Lagrange equations?Can all canonical transformations be generated using a generating function?

In-universe, why does Doc Brown program the time machine to go to 1955?

If one can diff from Vim without the need to boot `vimdiff` then why is it a binary program?

What's this constructed number's starter?

Why don't they build airplanes from 3D printer plastic?

Is it risky to move from broad geographical diversification into investing mostly in less developed markets?

Why there is no wireless switch?

What would a biological creature need in order to see into the future?

Where on Earth is it easiest to survive in the wilderness?

Draw the ☣ (Biohazard Symbol)

My Friend James

Round away from zero

Is a paralyzed creature limp or rigid?

Are there mathematical concepts that exist in the fourth dimension, but not in the third dimension?

Is there any difference between these two sentences? (Adverbs)

How many people can lift Thor's hammer?

Is the interior of a Bag of Holding actually an extradimensional space?

How can I oppose my advisor granting gift authorship to a collaborator?

Is it possible to observe space debris with Binoculars?

Is Sanskrit really the mother of all languages?

Are language and thought the same?

'Hard work never hurt anyone' Why not 'hurts'?

Do we know what "hardness" of Brexit people actually wanted in the referendum, if there had been other choices available?

Life post thesis submission is terrifying - Help!

Left my gmail logged in when I was fired



Undefined Hamiltonian for this particular Lagrangian


Adding a total time derivative term to the LagrangianLagrangian to HamiltonianHamiltonian mechanics really useful for numerical integration? Lagrangian can become 1st-orderFinding geodesics: Lagrangian vs HamiltonianInconsistency in Lagrangian vs Hamiltonian formalism?Gauge invariance of the HamiltonianWhat is my state in the context of Hamiltonian mechanics?Can we write a Lagrangian for the classical system with $H=kqp$?Canonical transformations preserve Hamilton's equations. Which transformation preserve the Euler-Lagrange equations?Can all canonical transformations be generated using a generating function?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2












$begingroup$


So, this a question from a Phd qualifying examination. Given the following Lagrangan $$L=frac12dotqtextsin^2q,$$ what is the Hamiltonian for this system? So, finding the canonical momentum $p$ and then using $H=pdotq -L$, I find that it is identically zero. Now, the answer 'Zero' was a choice in the choices of answers given but the correct answer is that the Hamiltonian is undefined. I'm not sure why this should be the answer, though this is a pretty weird dynamical system. The Euler Lagrange equations just give an identity and the Hamiltonian equations also seem rather off. The Hamiltonian equations would are $$dotp=dotq=0. $$
I'm hoping someone shed some light on this, it seems that any random Lagrangian doesn't constitute a dynamical system, so what I should I be looking for?










share|cite|improve this question











$endgroup$













  • $begingroup$
    I think it is also important to note that the fact the EL equations are always satisfied means that any trajectory you pick is a valid solution. In particular two systems with identical initial conditions can have radically different trajectories.
    $endgroup$
    – S V
    8 hours ago

















2












$begingroup$


So, this a question from a Phd qualifying examination. Given the following Lagrangan $$L=frac12dotqtextsin^2q,$$ what is the Hamiltonian for this system? So, finding the canonical momentum $p$ and then using $H=pdotq -L$, I find that it is identically zero. Now, the answer 'Zero' was a choice in the choices of answers given but the correct answer is that the Hamiltonian is undefined. I'm not sure why this should be the answer, though this is a pretty weird dynamical system. The Euler Lagrange equations just give an identity and the Hamiltonian equations also seem rather off. The Hamiltonian equations would are $$dotp=dotq=0. $$
I'm hoping someone shed some light on this, it seems that any random Lagrangian doesn't constitute a dynamical system, so what I should I be looking for?










share|cite|improve this question











$endgroup$













  • $begingroup$
    I think it is also important to note that the fact the EL equations are always satisfied means that any trajectory you pick is a valid solution. In particular two systems with identical initial conditions can have radically different trajectories.
    $endgroup$
    – S V
    8 hours ago













2












2








2


1



$begingroup$


So, this a question from a Phd qualifying examination. Given the following Lagrangan $$L=frac12dotqtextsin^2q,$$ what is the Hamiltonian for this system? So, finding the canonical momentum $p$ and then using $H=pdotq -L$, I find that it is identically zero. Now, the answer 'Zero' was a choice in the choices of answers given but the correct answer is that the Hamiltonian is undefined. I'm not sure why this should be the answer, though this is a pretty weird dynamical system. The Euler Lagrange equations just give an identity and the Hamiltonian equations also seem rather off. The Hamiltonian equations would are $$dotp=dotq=0. $$
I'm hoping someone shed some light on this, it seems that any random Lagrangian doesn't constitute a dynamical system, so what I should I be looking for?










share|cite|improve this question











$endgroup$




So, this a question from a Phd qualifying examination. Given the following Lagrangan $$L=frac12dotqtextsin^2q,$$ what is the Hamiltonian for this system? So, finding the canonical momentum $p$ and then using $H=pdotq -L$, I find that it is identically zero. Now, the answer 'Zero' was a choice in the choices of answers given but the correct answer is that the Hamiltonian is undefined. I'm not sure why this should be the answer, though this is a pretty weird dynamical system. The Euler Lagrange equations just give an identity and the Hamiltonian equations also seem rather off. The Hamiltonian equations would are $$dotp=dotq=0. $$
I'm hoping someone shed some light on this, it seems that any random Lagrangian doesn't constitute a dynamical system, so what I should I be looking for?







homework-and-exercises classical-mechanics lagrangian-formalism hamiltonian-formalism






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 8 hours ago









Qmechanic

113k13 gold badges223 silver badges1341 bronze badges




113k13 gold badges223 silver badges1341 bronze badges










asked 8 hours ago









Soumil MaulickSoumil Maulick

938 bronze badges




938 bronze badges














  • $begingroup$
    I think it is also important to note that the fact the EL equations are always satisfied means that any trajectory you pick is a valid solution. In particular two systems with identical initial conditions can have radically different trajectories.
    $endgroup$
    – S V
    8 hours ago
















  • $begingroup$
    I think it is also important to note that the fact the EL equations are always satisfied means that any trajectory you pick is a valid solution. In particular two systems with identical initial conditions can have radically different trajectories.
    $endgroup$
    – S V
    8 hours ago















$begingroup$
I think it is also important to note that the fact the EL equations are always satisfied means that any trajectory you pick is a valid solution. In particular two systems with identical initial conditions can have radically different trajectories.
$endgroup$
– S V
8 hours ago




$begingroup$
I think it is also important to note that the fact the EL equations are always satisfied means that any trajectory you pick is a valid solution. In particular two systems with identical initial conditions can have radically different trajectories.
$endgroup$
– S V
8 hours ago










2 Answers
2






active

oldest

votes


















6














$begingroup$

The reason the Hamiltonian is undefined is that converting a Lagrangian to a Hamiltonian requires:



  • Finding $p$

  • Writing $H=pdot q-L$

  • Expressing $H$ in terms of $p$ and $q$, eliminating all dependence on $dot q$.

For the third step to be possible, you need to be able to define a coordinate transformation between the $(q,dot q)$ coordinate system and the $(q,p)$ coordinate system. This requires that $(q,p)$ is a good coordinate system, in that a state of the system can be uniquely represented by a pair of $(q,p)$ coordinates. In turn, this means that the transformation $(q,dot q)rightarrow (q,p)$ must have nonzero Jacobian.



However, it's easy to see this is not the case. We know that $(q,p)=(q,frac12sin^2 q)$. Thus, the Jacobian is



$$
J=left|beginsmallmatrix1 & 0\sin(q)cos(q) & 0endsmallmatrixright| = 0
$$



That means we CAN'T write $p$ as a function of $q,dot q$, and there can't be a Hamiltonian $H(p,q)$ that is a function of only the coordinates $(p,q)$ because the coordinates $(p,q)$ don't specify the state of the system.






share|cite|improve this answer









$endgroup$






















    6














    $begingroup$

    1. OP's Lagrangian $$L=fracddtleft(fracq4-frac18sin(2q)right)tag1$$ is a total time derivative, so the Euler-Lagrange (EL) equation is a triviality $0=0$, , cf. e.g. this Phys.SE post, and hence not suitable to determine physical trajectories. In other words, the Lagrangian (and Hamiltonian) formulations are ill-defined.


    2. The Hamiltonian is defined as the Legendre transformation of the Lagrangian, and hence formally defined as
      $$ H(q,p)~:=~sup_vinmathbbR(vp-L(q,v))~=~sup_vinmathbbRvleft(p-frac12sin^2(q)right)~=~left{beginarraylinftytext if p~neq~frac12sin^2(q),\ 0text otherwise. endarrayright. tag2$$






    share|cite|improve this answer











    $endgroup$

















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "151"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphysics.stackexchange.com%2fquestions%2f500218%2fundefined-hamiltonian-for-this-particular-lagrangian%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      6














      $begingroup$

      The reason the Hamiltonian is undefined is that converting a Lagrangian to a Hamiltonian requires:



      • Finding $p$

      • Writing $H=pdot q-L$

      • Expressing $H$ in terms of $p$ and $q$, eliminating all dependence on $dot q$.

      For the third step to be possible, you need to be able to define a coordinate transformation between the $(q,dot q)$ coordinate system and the $(q,p)$ coordinate system. This requires that $(q,p)$ is a good coordinate system, in that a state of the system can be uniquely represented by a pair of $(q,p)$ coordinates. In turn, this means that the transformation $(q,dot q)rightarrow (q,p)$ must have nonzero Jacobian.



      However, it's easy to see this is not the case. We know that $(q,p)=(q,frac12sin^2 q)$. Thus, the Jacobian is



      $$
      J=left|beginsmallmatrix1 & 0\sin(q)cos(q) & 0endsmallmatrixright| = 0
      $$



      That means we CAN'T write $p$ as a function of $q,dot q$, and there can't be a Hamiltonian $H(p,q)$ that is a function of only the coordinates $(p,q)$ because the coordinates $(p,q)$ don't specify the state of the system.






      share|cite|improve this answer









      $endgroup$



















        6














        $begingroup$

        The reason the Hamiltonian is undefined is that converting a Lagrangian to a Hamiltonian requires:



        • Finding $p$

        • Writing $H=pdot q-L$

        • Expressing $H$ in terms of $p$ and $q$, eliminating all dependence on $dot q$.

        For the third step to be possible, you need to be able to define a coordinate transformation between the $(q,dot q)$ coordinate system and the $(q,p)$ coordinate system. This requires that $(q,p)$ is a good coordinate system, in that a state of the system can be uniquely represented by a pair of $(q,p)$ coordinates. In turn, this means that the transformation $(q,dot q)rightarrow (q,p)$ must have nonzero Jacobian.



        However, it's easy to see this is not the case. We know that $(q,p)=(q,frac12sin^2 q)$. Thus, the Jacobian is



        $$
        J=left|beginsmallmatrix1 & 0\sin(q)cos(q) & 0endsmallmatrixright| = 0
        $$



        That means we CAN'T write $p$ as a function of $q,dot q$, and there can't be a Hamiltonian $H(p,q)$ that is a function of only the coordinates $(p,q)$ because the coordinates $(p,q)$ don't specify the state of the system.






        share|cite|improve this answer









        $endgroup$

















          6














          6










          6







          $begingroup$

          The reason the Hamiltonian is undefined is that converting a Lagrangian to a Hamiltonian requires:



          • Finding $p$

          • Writing $H=pdot q-L$

          • Expressing $H$ in terms of $p$ and $q$, eliminating all dependence on $dot q$.

          For the third step to be possible, you need to be able to define a coordinate transformation between the $(q,dot q)$ coordinate system and the $(q,p)$ coordinate system. This requires that $(q,p)$ is a good coordinate system, in that a state of the system can be uniquely represented by a pair of $(q,p)$ coordinates. In turn, this means that the transformation $(q,dot q)rightarrow (q,p)$ must have nonzero Jacobian.



          However, it's easy to see this is not the case. We know that $(q,p)=(q,frac12sin^2 q)$. Thus, the Jacobian is



          $$
          J=left|beginsmallmatrix1 & 0\sin(q)cos(q) & 0endsmallmatrixright| = 0
          $$



          That means we CAN'T write $p$ as a function of $q,dot q$, and there can't be a Hamiltonian $H(p,q)$ that is a function of only the coordinates $(p,q)$ because the coordinates $(p,q)$ don't specify the state of the system.






          share|cite|improve this answer









          $endgroup$



          The reason the Hamiltonian is undefined is that converting a Lagrangian to a Hamiltonian requires:



          • Finding $p$

          • Writing $H=pdot q-L$

          • Expressing $H$ in terms of $p$ and $q$, eliminating all dependence on $dot q$.

          For the third step to be possible, you need to be able to define a coordinate transformation between the $(q,dot q)$ coordinate system and the $(q,p)$ coordinate system. This requires that $(q,p)$ is a good coordinate system, in that a state of the system can be uniquely represented by a pair of $(q,p)$ coordinates. In turn, this means that the transformation $(q,dot q)rightarrow (q,p)$ must have nonzero Jacobian.



          However, it's easy to see this is not the case. We know that $(q,p)=(q,frac12sin^2 q)$. Thus, the Jacobian is



          $$
          J=left|beginsmallmatrix1 & 0\sin(q)cos(q) & 0endsmallmatrixright| = 0
          $$



          That means we CAN'T write $p$ as a function of $q,dot q$, and there can't be a Hamiltonian $H(p,q)$ that is a function of only the coordinates $(p,q)$ because the coordinates $(p,q)$ don't specify the state of the system.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 8 hours ago









          Jahan ClaesJahan Claes

          4,88012 silver badges34 bronze badges




          4,88012 silver badges34 bronze badges


























              6














              $begingroup$

              1. OP's Lagrangian $$L=fracddtleft(fracq4-frac18sin(2q)right)tag1$$ is a total time derivative, so the Euler-Lagrange (EL) equation is a triviality $0=0$, , cf. e.g. this Phys.SE post, and hence not suitable to determine physical trajectories. In other words, the Lagrangian (and Hamiltonian) formulations are ill-defined.


              2. The Hamiltonian is defined as the Legendre transformation of the Lagrangian, and hence formally defined as
                $$ H(q,p)~:=~sup_vinmathbbR(vp-L(q,v))~=~sup_vinmathbbRvleft(p-frac12sin^2(q)right)~=~left{beginarraylinftytext if p~neq~frac12sin^2(q),\ 0text otherwise. endarrayright. tag2$$






              share|cite|improve this answer











              $endgroup$



















                6














                $begingroup$

                1. OP's Lagrangian $$L=fracddtleft(fracq4-frac18sin(2q)right)tag1$$ is a total time derivative, so the Euler-Lagrange (EL) equation is a triviality $0=0$, , cf. e.g. this Phys.SE post, and hence not suitable to determine physical trajectories. In other words, the Lagrangian (and Hamiltonian) formulations are ill-defined.


                2. The Hamiltonian is defined as the Legendre transformation of the Lagrangian, and hence formally defined as
                  $$ H(q,p)~:=~sup_vinmathbbR(vp-L(q,v))~=~sup_vinmathbbRvleft(p-frac12sin^2(q)right)~=~left{beginarraylinftytext if p~neq~frac12sin^2(q),\ 0text otherwise. endarrayright. tag2$$






                share|cite|improve this answer











                $endgroup$

















                  6














                  6










                  6







                  $begingroup$

                  1. OP's Lagrangian $$L=fracddtleft(fracq4-frac18sin(2q)right)tag1$$ is a total time derivative, so the Euler-Lagrange (EL) equation is a triviality $0=0$, , cf. e.g. this Phys.SE post, and hence not suitable to determine physical trajectories. In other words, the Lagrangian (and Hamiltonian) formulations are ill-defined.


                  2. The Hamiltonian is defined as the Legendre transformation of the Lagrangian, and hence formally defined as
                    $$ H(q,p)~:=~sup_vinmathbbR(vp-L(q,v))~=~sup_vinmathbbRvleft(p-frac12sin^2(q)right)~=~left{beginarraylinftytext if p~neq~frac12sin^2(q),\ 0text otherwise. endarrayright. tag2$$






                  share|cite|improve this answer











                  $endgroup$



                  1. OP's Lagrangian $$L=fracddtleft(fracq4-frac18sin(2q)right)tag1$$ is a total time derivative, so the Euler-Lagrange (EL) equation is a triviality $0=0$, , cf. e.g. this Phys.SE post, and hence not suitable to determine physical trajectories. In other words, the Lagrangian (and Hamiltonian) formulations are ill-defined.


                  2. The Hamiltonian is defined as the Legendre transformation of the Lagrangian, and hence formally defined as
                    $$ H(q,p)~:=~sup_vinmathbbR(vp-L(q,v))~=~sup_vinmathbbRvleft(p-frac12sin^2(q)right)~=~left{beginarraylinftytext if p~neq~frac12sin^2(q),\ 0text otherwise. endarrayright. tag2$$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 7 hours ago

























                  answered 8 hours ago









                  QmechanicQmechanic

                  113k13 gold badges223 silver badges1341 bronze badges




                  113k13 gold badges223 silver badges1341 bronze badges






























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Physics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphysics.stackexchange.com%2fquestions%2f500218%2fundefined-hamiltonian-for-this-particular-lagrangian%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

                      The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

                      19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу