This is a classic problem in analytical mechanics. I need to derive Hamilton's equations starting from the definition of the Hamiltonian and its relationship with the Lagrangian. Let me work through this systematically.
Key Starting Points:
- The Hamiltonian is defined as a Legendre transformation of the Lagrangian
- The relationship between generalized momenta and velocities
- Using the total differential
Step-by-step Derivation:
1. Define the Hamiltonian and Generalized Momentum
The generalized momentum is defined as:
pi=∂q˙i∂L
The Hamiltonian is defined as a Legendre transformation:
H(qi,pi,t)
where the velocities q˙i should be expressed in terms of qi and .
2. Take the Total Differential of the Lagrangian
The Lagrangian L=L(qi,q˙i has total differential:
Using the definition of generalized momentum:
dL=∑i∂q
3. Take the Total Differential of the Hamiltonian Definition
Starting from:
H=∑ipiq˙
dH=∑iq˙
4. Substitute the Expression for dL
dH=∑i
The pidq˙i terms cancel, leaving:
Since H=H(qi,pi,t), I can also write its total differential as:
Comparing coefficients of the independent differentials dqi, dpi, and dt between these two expressions for yields Hamilton's equations directly.
Matching coefficients across all differentials yields Hamilton's canonical equations:
q˙i=
These fundamental equations of motion connect generalized coordinates and momenta through the Hamiltonian, with the time derivative of the Hamiltonian related to the explicit time dependence of the Lagrangian.
Derivation of Hamilton's Equations
Starting Definitions
Generalized Momentum:
pi=∂q˙
Hamiltonian (Legendre Transform):
H(qi,pi,t)
Step 1: Total Differential of the Lagrangian
Starting with L=L(qi,q˙i:
dL=∑i
Substituting pi=∂q˙:
dL=∑i∂
Step 2: Total Differential of the Hamiltonian
From H=∑ipiq˙:
dH=∑iq˙
Step 3: Substitute and Simplify
Substitute (∗):
dH=∑i
The pidq˙i terms cancel:
dH=∑iq˙
Step 4: Apply the Euler-Lagrange Equation
The Euler-Lagrange equation states:
dtd∂q
Since pi=∂q˙:
p˙i=∂q
Substituting:
dH=∑iq˙
Step 5: Compare with the General Total Differential
For H=H(qi,pi,t), the general form is:
dH=∑i∂
Step 6: Match Coefficients
Since dqi, dpi, and dt are independent:
| Coefficient | Result | Equation |
|---|
| dpi | ∂p |
Hamilton's Canonical Equations
q˙i=
p˙i=−
Key Insights
| Property | Meaning |
|---|
| Symmetry | Positions and momenta play symmetric roles |
| Gauge Invariance | ∂t∂H=− relates explicit time dependence |