How Do You Derive the Lagrangian from a Given Hamiltonian?

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

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?
 
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