How Do You Derive the Lagrangian from a Given Hamiltonian?

malawi_glenn
Science Advisor
Messages
6,735
Reaction score
2,433

Homework Statement



H = p_1p_2 + q_1q_2

Find the corresponding Lagrangian, q_i are generelized coordinates and
p_i are canonical momenta.

Homework Equations



H = \dot{q}_ip_i - L

p_i = \frac{\partial L}{\partial \dot{q}_i}

\dot{q}_i = \frac{\partial H}{\partial p_i}


The Attempt at a Solution



Using these relations, I found:


L = \dot{q}_ip_i - H

L = p_1p_2 + p_2p_1 - p_1p_2 + q_1q_2 = p_1p_2 - q_1q_2 =

\frac{\partial L}{\partial \dot{q}_1}\frac{\partial L}{\partial \dot{q}_2}-q_1q_2

Am I supposed to solve this nasty PDE? Or have I forgot something really fundamental?
 
Last edited:
Physics news on Phys.org
I had missed something fundamental, its solved now
 
Hi,

it is only a bagatelle, but if you write the Hamilton function in generel, not for a concret case, then you schould write it like that:

\mathcal{H}(q_{1} \ldots q_{s}, p_{1} \ldots p_{s}, t) = \sum\limits_{i=1}^{s} p_{i} \dot{q}_{i} - \mathcal{L}(q_{1} \ldots q_{s}, \dot{q}_{1} \ldots \dot{q}_{s},t)

& s = 3N-m \text{ with N dimensions and m constraints}

all the best
 
I know, I already listed that eq. under "relevant eq's".

Aslo I have solved the problem, no need to post.

Also, it seems I can't marked this thread as solved in the "old way", why is that?
 
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
The value of H equals ## 10^{3}## in natural units, According to : https://en.wikipedia.org/wiki/Natural_units, ## t \sim 10^{-21} sec = 10^{21} Hz ##, and since ## \text{GeV} \sim 10^{24} \text{Hz } ##, ## GeV \sim 10^{24} \times 10^{-21} = 10^3 ## in natural units. So is this conversion correct? Also in the above formula, can I convert H to that natural units , since it’s a constant, while keeping k in Hz ?
Back
Top