Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

8.4: Hamiltonian in Different Coordinate Systems

( \newcommand{\kernel}{\mathrm{null}\,}\)

Prior to solving problems using Hamiltonian mechanics, it is useful to express the Hamiltonian in cylindrical and spherical coordinates for the special case of conservative forces since these are encountered frequently in physics.

Cylindrical Coordinates ρ,z,ϕ

Consider cylindrical coordinates ρ,z,ϕ. Expressed in Cartesian coordinate

x=ρcosϕy=ρsinϕz=z

Using appendix table 19.3.3, the Lagrangian can be written in cylindrical coordinates as

L=TU=m2(˙ρ2+ρ2˙ϕ2+˙z2)U(ρ,z,ϕ)

The conjugate momenta are

pρ=L˙ρ=m˙ρpϕ=L˙ϕ=mρ2˙ϕpz=L˙z=m˙z

Assume a conservative force, then H is conserved. Since the transformation from Cartesian to non-rotating generalized cylindrical coordinates is time independent, then H=E. Then using Equations 8.4.3-8.4.7 gives the Hamiltonian in cylindrical coordinates to be

H(q,p,t)=ipi˙qiL(q,˙q,t)=(pρ˙ρ+pϕ˙ϕ+pz˙z)m2(.ρ2+ρ2.ϕ2+.z2)+U(ρ,z,ϕ)=12m(p2ρ+p2ϕρ2+p2z)+U(ρ,z,ϕ)

The canonical equations of motion in cylindrical coordinates can be written as ˙pρ=Hρ=p2ϕmρ3Uρ˙pϕ=Hϕ=Uϕ˙pz=Hz=Uz˙ρ=Hpρ=pρm˙ϕ=Hpϕ=pϕmρ2˙z=Hpz=pzm

Note that if ϕ is cyclic, that is Uϕ=0, then the angular momentum about the z axis, pϕ, is a constant of motion. Similarly, if z is cyclic, then pz is a constant of motion.

Spherical coordinates, r,θ,ϕ

Appendix table 19.3.4 shows that the spherical coordinates are related to the cartesian coordinates by

x=rsinθcosϕy=rsinθsinϕz=rcosθ

The Lagrangian is

L=TiU=m2(˙r2+r2˙θ2+r2sin2θ˙ϕ2)U(rθϕ)

The conjugate momenta are pr=L.r=m˙rpθ=L.θ=mr2˙θpϕ=L.ϕ=mr2sin2θ˙ϕ

Assuming a conservative force then H is conserved. Since the transformation from cartesian to generalized spherical coordinates is time independent, then H=E. Thus using 8.4.22-8.4.24 the Hamiltonian is given in spherical coordinates by H(q,p,t)=ipi˙qiL(q,˙q,t)=(pr˙r+pθ˙θ+pϕ˙ϕ)m2(˙r2+r2˙θ2+r2sin2θ˙ϕ2)+U(r,θ,ϕ)=12m(p2r+p2θr2+p2ϕr2sin2θ)+U(r,θ,ϕ)

Then the canonical equations of motion in spherical coordinates are ˙pr=Hr=1mr3(p2θ+p2ϕsin2θ)Ur˙pθ=Hθ=1mr2(p2ϕcosθsin3θ)Uθ˙pϕ=Hϕ=Uϕ˙r=Hpr=prm˙θ=Hpθ=pθmr2˙ϕ=Hpϕ=pϕmr2sin2θ

Note that if the coordinate ϕ is cyclic, that is Uϕ=0 then the angular momentum pϕ is conserved. Also if the θ coordinate is cyclic, and pϕ=0, that is, there is no change in the angular momentum perpendicular to the z axis, then pθ is conserved.

An especially important spherically-symmetric Hamiltonian is that for a central field. Central fields, such as the gravitational or Coulomb fields of a uniform spherical mass, or charge, distributions, are spherically symmetric and then both θ and ϕ are cyclic. Thus the projection of the angular momentum pϕ about the z axis is conserved for these spherically symmetric potentials. In addition, since both pθ and pϕ, are conserved, then the total angular momentum also must be conserved as is predicted by Noether’s theorem.


This page titled 8.4: Hamiltonian in Different Coordinate Systems is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Douglas Cline via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?