Relativistic Hamiltonian mechanics

Source: ChatGPT.
To transition from relativistic Lagrangian mechanics to Hamiltonian mechanics, we follow the same fundamental procedure as in non-relativistic mechanics: compute the canonical momentum, express the Hamiltonian, and reformulate the equations of motion. However, special care is taken to handle the relativistic forms of momentum and energy.

  1. Relativistic Lagrangian:
    The Lagrangian for a free relativistic particle of mass m is:

    L=mc21v2c2,

    where v=drdt is the velocity.

  2. Canonical Momentum:
    The canonical momentum p is obtained as:

    p=Lv.

    Substituting L:

    p=mc21v2c2(vc2)=mv1v2c2.

    This is the relativistic momentum:

    p=γmv,

    where γ=11v2c2.

  3. Relativistic Hamiltonian:
    The Hamiltonian H is defined as:

    H=pvL.

    Substituting L and expressing v in terms of p, we get:

    v=pγm,

    and γ can be expressed as:

    γ=1+p2m2c2.

    Therefore:

    H=ppγm+mc2γ=p22γm+mc2γ.

    After simplifying:

    H=p2c2+m2c4.

    This is the total relativistic energy of the particle. This expression agrees with the modulus of the four-momentum.

  4. Hamilton's Equations:
    The relativistic Hamiltonian dynamics is governed by Hamilton’s equations:

    drdt=Hp,dpdt=Hr.

    Since the Hamiltonian does not depend explicitly on r for a free particle, p is conserved, and:

    drdt=Hp=pc2p2c2+m2c4.

    This expresses the velocity in terms of the relativistic momentum.