How to get lagragean when hamiltonian is given

  • Thread starter Thread starter vrinda mukund
  • Start date Start date
  • Tags Tags
    Hamiltonian
vrinda mukund
Messages
36
Reaction score
0
hai everyone,

the question is " the hamiltonian of a particle is H = [(p*p)/2m + pq] where q is the generalised coordinate and p is the corresponding canonical momentum. the lagragean is ....?

i know that H = p(dq/dt) - L. but the answer should not contain p. how can i solve it? answer is (m/2)(dq/dt - q)2
 
Physics news on Phys.org
Remember Hamilton's equations, specifically:

\dot{q}=\frac{\partial H}{\partial p}

Use this to get an expression for p in terms of \dot{q}.
 
You've given the answer yourself, already: You calculate the Lagrangian,

L=\dot{q} p -H

and express p via \dot{q}, where

\dot{q}=\frac{\partial H}{\partial p}.

In your case you get

\dot{q}=\frac{p}{m}+q \; \Rightarrow \; p=m(\dot{q}-q).

and

L=\dot{q} p-\frac{p^2}{2m}-p q<br /> =m \dot{q} (\dot{q}-q) - \frac{m}{2} (\dot{q}-q)^2 - m q(\dot{q}-q).

A bit simplified this gives

L=\frac{m}{2} (\dot{q}-q)^2.
 
thank u sir!
 
An important point here is that the Lagrangian is always a function of q, dq/dt, and time, whereas the Hamiltonian is always a function of q, p and time. So to get from the Hamiltonian to the Lagrangian we must get rid of p, and to get from the Lagrangian to the Hamiltonian we must get rid of dq/dt
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top