Deriving the Hamiltonian of a system given the Lagrangian

Click For Summary
SUMMARY

The Hamiltonian for the system derived from the Lagrangian is expressed as H = L - 6(q_1)^2. The process involves calculating momenta using the equation p_i = δL/δ\dot{q_i} and applying the Hamiltonian equation H = Σ(p_i \dot{q_i}) - L. The resulting Hamiltonian must be reformulated to depend solely on generalized coordinates (q_i) and momenta (p_i). The correct approach requires substituting the expressions for \dot{q_i} back into the Hamiltonian to ensure it is expressed in terms of phase space variables.

PREREQUISITES
  • Understanding of Lagrangian mechanics
  • Familiarity with Hamiltonian dynamics
  • Knowledge of generalized coordinates and momenta
  • Proficiency in calculus, particularly partial derivatives
NEXT STEPS
  • Study the derivation of the Hamiltonian from the Lagrangian in classical mechanics
  • Learn about phase space representation in Hamiltonian mechanics
  • Explore examples of converting Lagrangians to Hamiltonians for different systems
  • Investigate the implications of Hamiltonian mechanics in advanced physics applications
USEFUL FOR

Students and professionals in physics, particularly those focusing on classical mechanics, theoretical physicists, and anyone interested in the mathematical formulation of physical systems.

astroholly
Messages
1
Reaction score
0
Homework Statement
Derive the Hamiltonian, H([q][/1], [q][/2], [p][/1], [p][/1]), of a system that has the Lagrngian, L(q_1, q_2, \dot{q_1}, \dot{q_2}) = \dot{q_1}^2 + 0.5 \dot{q_2}^2 + 3q_1^2 + \dot{q_1} * \dot{q_2}
Relevant Equations
H(q_1, q_2, p_1, p_2) = sum over i (p_i \dot{q_i}) - L

L(q_1, q_2, \dot{q_1}, \dot{q_2}) = \dot{q_1}^2 + 0.5 \dot{q_2}^2 + 3q_1^2 + \dot{q_1} * \dot{q_2}
I have found the Hamiltonian to be ##H = L - 6 (q_1)^2## using the method below:

1. Find momenta using δL/δ\dot{q_i}
2. Apply Hamiltonian equation: H = sum over i (p_i \dot{q_i}) - L 3(q_1)^2. Simplifying result by combining terms
4. Comparing the given Lagrangian to the resulting Hamiltonian I found H =\dot{q_1}^2 + 0.5 \dot{q_2}^2 + \dot{q_1} * \dot{q_2} - 3q_1^2 = L - 6(q_1)^2 This is wrong because my Hamiltonian should be in terms of generalised coordinate and momentum only: H(q_1, q_2, p_1, p_2). What am I neglecting?
 

Attachments

  • 2021.jpeg
    2021.jpeg
    57.8 KB · Views: 127
Last edited:
Physics news on Phys.org
From the equations for ##p_i## you could find ##\dot{q_i}##. Substituting these everywhere, you get the expression in terms of ##q_i## and ##p_i## only.
 
  • Like
Likes   Reactions: vanhees71 and PhDeezNutz
^^^ That

The Hamiltonian is supposed to be a function of just the ##q_i##'s and ##p_i##'s so once you find the conjugate momenta via

##p_i = \frac{\partial L}{\partial \dot{q}_i}## you need to re-arange and solve for each of the ##\dot{q}_i##'s and then plug it into

##H = \sum_{i=1}^{2} p_i \dot{q}_i - L##

You need to re-express ##L## in terms of the phase space variables ##q_i##'s and ##p_i##'s as well....after all that is the "second part of the hamiltonian"
 
  • Like
Likes   Reactions: vanhees71 and Hill

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
6K
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
6
Views
3K