Physics:Hamilton–Jacobi equation

From HandWiki
Short description: Formulation of classical mechanics based on the calculus of variations

In physics, the Hamilton–Jacobi equation, named after William Rowan Hamilton and Carl Gustav Jacob Jacobi, is an alternative formulation of classical mechanics, equivalent to other formulations such as Newton's laws of motion, Lagrangian mechanics and Hamiltonian mechanics.

The Hamilton–Jacobi equation is a formulation of mechanics in which the motion of a particle can be represented as a wave. In this sense, it fulfilled a long-held goal of theoretical physics (dating at least to Johann Bernoulli in the eighteenth century) of finding an analogy between the propagation of light and the motion of a particle. The wave equation followed by mechanical systems is similar to, but not identical with, Schrödinger's equation, as described below; for this reason, the Hamilton–Jacobi equation is considered the "closest approach" of classical mechanics to quantum mechanics.[1][2] The qualitative form of this connection is called Hamilton's optico-mechanical analogy.

In mathematics, the Hamilton–Jacobi equation is a necessary condition describing extremal geometry in generalizations of problems from the calculus of variations. It can be understood as a special case of the Hamilton–Jacobi–Bellman equation from dynamic programming.[3]

Overview

The Hamilton–Jacobi equation is a first-order, non-linear partial differential equation

St=H(𝐪,S𝐪,t).

for a system of particles at coordinates 𝐪. The function H is the system's Hamiltonian giving the system's energy. The solution of the equation is the action functional, S,[4] called Hamilton's principal function in older textbooks. The solution can be related to the system Lagrangian    by an indefinite integral of the form used in the principle of least action:[5]:431  S= dt+some constant Geometrical surfaces of constant action are perpendicular to system trajectories, creating a wavefront-like view of the system dynamics. This property of the Hamilton-Jacobi equation connects classical mechanics to quantum mechanics.[6]:175

Mathematical formulation

Notation

Boldface variables such as 𝐪 represent a list of N generalized coordinates, 𝐪=(q1,q2,,qN1,qN)

A dot over a variable or list signifies the time derivative (see Newton's notation). For example, 𝐪˙=d𝐪dt.

The dot product notation between two lists of the same number of coordinates is a shorthand for the sum of the products of corresponding components, such as 𝐩𝐪=k=1Npkqk.

The action functional (a.k.a. Hamilton's principal function)

Definition

Let the Hessian matrix H(𝐪,q˙,t)={2/q˙iq˙j}ij be invertible. The relation ddtq˙i=j=1n(2q˙iq˙jq¨j+2q˙iqjq˙j)+2q˙it,i=1,,n, shows that the Euler–Lagrange equations form a n×n system of second-order ordinary differential equations. Inverting the matrix H transforms this system into q¨i=Fi(𝐪,q˙,t), i=1,,n.

Let a time instant t0 and a point 𝐪0M in the configuration space be fixed. The existence and uniqueness theorems guarantee that, for every 𝐯0, the initial value problem with the conditions γ|τ=t0=𝐪0 and γ˙|τ=t0=𝐯0 has a locally unique solution γ=γ(τ;t0,𝐪0,𝐯0). Additionally, let there be a sufficiently small time interval (t0,t1) such that extremals with different initial velocities 𝐯0 would not intersect in M×(t0,t1). The latter means that, for any 𝐪M and any t(t0,t1), there can be at most one extremal γ=γ(τ;t,t0,𝐪,𝐪0) for which γ|τ=t0=𝐪0 and γ|τ=t=𝐪. Substituting γ=γ(τ;t,t0,𝐪,𝐪0) into the action functional results in the Hamilton's principal function (HPF)

S(𝐪,t;𝐪0,t0) =deft0t(γ(τ;),γ˙(τ;),τ)dτ,

where

  • γ=γ(τ;t,t0,𝐪,𝐪0),
  • γ|τ=t0=𝐪0,
  • γ|τ=t=𝐪.

Formula for the momenta

The momenta are defined as the quantities pi(𝐪,q˙,t)=/q˙i. This section shows that the dependency of pi on q˙ disappears, once the HPF is known.

Indeed, let a time instant t0 and a point 𝐪0 in the configuration space be fixed. For every time instant t and a point 𝐪, let γ=γ(τ;t,t0,𝐪,𝐪0) be the (unique) extremal from the definition of the Hamilton's principal function S. Call 𝐯=defγ˙(τ;t,t0,𝐪,𝐪0)|τ=t the velocity at τ=t. Then

Sqi=q˙i|q˙=𝐯,i=1,,n.

Formula

Given the Hamiltonian H(𝐪,𝐩,t) of a mechanical system, the Hamilton–Jacobi equation is a first-order, non-linear partial differential equation for the Hamilton's principal function S,[7]

St=H(𝐪,S𝐪,t).

Alternatively, as described below, the Hamilton–Jacobi equation may be derived from Hamiltonian mechanics by treating S as the generating function for a canonical transformation of the classical Hamiltonian H=H(q1,q2,,qN;p1,p2,,pN;t).

The conjugate momenta correspond to the first derivatives of S with respect to the generalized coordinates pk=Sqk.

As a solution to the Hamilton–Jacobi equation, the principal function contains N+1 undetermined constants, the first N of them denoted as α1,α2,,αN, and the last one coming from the integration of St.

The relationship between 𝐩 and 𝐪 then describes the orbit in phase space in terms of these constants of motion. Furthermore, the quantities βk=Sαk,k=1,2,,N are also constants of motion, and these equations can be inverted to find 𝐪 as a function of all the α and β constants and time.[8]

Comparison with other formulations of mechanics

The Hamilton–Jacobi equation is a single, first-order partial differential equation for the function of the N generalized coordinates q1,q2,,qN and the time t. The generalized momenta do not appear, except as derivatives of S, the classical action.

For comparison, in the equivalent Euler–Lagrange equations of motion of Lagrangian mechanics, the conjugate momenta also do not appear; however, those equations are a system of N, generally second-order equations for the time evolution of the generalized coordinates. Similarly, Hamilton's equations of motion are another system of 2N first-order equations for the time evolution of the generalized coordinates and their conjugate momenta p1,p2,,pN.

Since the HJE is an equivalent expression of an integral minimization problem such as Hamilton's principle, the HJE can be useful in other problems of the calculus of variations and, more generally, in other branches of mathematics and physics, such as dynamical systems, symplectic geometry and quantum chaos. For example, the Hamilton–Jacobi equations can be used to determine the geodesics on a Riemannian manifold, an important variational problem in Riemannian geometry. However as a computational tool, the partial differential equations are notoriously complicated to solve except when is it possible to separate the independent variables; in this case the HJE become computationally useful.[5]:444

Derivation using a canonical transformation

Any canonical transformation involving a type-2 generating function G2(𝐪,𝐏,t) leads to the relations 𝐩=G2𝐪,𝐐=G2𝐏,K(𝐐,𝐏,t)=H(𝐪,𝐩,t)+G2t and Hamilton's equations in terms of the new variables 𝐏,𝐐 and new Hamiltonian K have the same form: 𝐏˙=K𝐐,𝐐˙=+K𝐏.

To derive the HJE, a generating function G2(𝐪,𝐏,t) is chosen in such a way that, it will make the new Hamiltonian K=0. Hence, all its derivatives are also zero, and the transformed Hamilton's equations become trivial 𝐏˙=𝐐˙=0 so the new generalized coordinates and momenta are constants of motion. As they are constants, in this context the new generalized momenta 𝐏 are usually denoted α1,α2,,αN, i.e. Pm=αm and the new generalized coordinates 𝐐 are typically denoted as β1,β2,,βN, so Qm=βm.

Setting the generating function equal to Hamilton's principal function, plus an arbitrary constant A: G2(𝐪,α,t)=S(𝐪,t)+A, the HJE automatically arises 𝐩=G2𝐪=S𝐪H(𝐪,𝐩,t)+G2t=0H(𝐪,S𝐪,t)+St=0.

When solved for S(𝐪,α,t), these also give us the useful equations 𝐐=β=Sα, or written in components for clarity Qm=βm=S(𝐪,α,t)αm.

Ideally, these N equations can be inverted to find the original generalized coordinates 𝐪 as a function of the constants α,β, and t, thus solving the original problem.

Separation of variables

When the problem allows additive separation of variables, the HJE leads directly to constants of motion. For example, the time t can be separated if the Hamiltonian does not depend on time explicitly. In that case, the time derivative St in the HJE must be a constant, usually denoted (E), giving the separated solution S=W(q1,q2,,qN)Et where the time-independent function W(𝐪) is sometimes called the abbreviated action or Hamilton's characteristic function [5]:434 and sometimes[9]:607 written S0 (see action principle names). The reduced Hamilton–Jacobi equation can then be written H(𝐪,S𝐪)=E.

To illustrate separability for other variables, a certain generalized coordinate qk and its derivative Sqk are assumed to appear together as a single function ψ(qk,Sqk) in the Hamiltonian H=H(q1,q2,,qk1,qk+1,,qN;p1,p2,,pk1,pk+1,,pN;ψ;t).

In that case, the function S can be partitioned into two functions, one that depends only on qk and another that depends only on the remaining generalized coordinates S=Sk(qk)+Srem(q1,,qk1,qk+1,,qN,t).

Substitution of these formulae into the Hamilton–Jacobi equation shows that the function ψ must be a constant (denoted here as Γk), yielding a first-order ordinary differential equation for Sk(qk),

ψ(qk,dSkdqk)=Γk.

In fortunate cases, the function S can be separated completely into N functions Sm(qm), S=S1(q1)+S2(q2)++SN(qN)Et.

In such a case, the problem devolves to N ordinary differential equations.

The separability of S depends both on the Hamiltonian and on the choice of generalized coordinates. For orthogonal coordinates and Hamiltonians that have no time dependence and are quadratic in the generalized momenta, S will be completely separable if the potential energy is additively separable in each coordinate, where the potential energy term for each coordinate is multiplied by the coordinate-dependent factor in the corresponding momentum term of the Hamiltonian (the Staeckel conditions). For illustration, several examples in orthogonal coordinates are worked in the next sections.

Examples in various coordinate systems

Spherical coordinates

In spherical coordinates the Hamiltonian of a free particle moving in a conservative potential U can be written H=12m[pr2+pθ2r2+pϕ2r2sin2θ]+U(r,θ,ϕ).

The Hamilton–Jacobi equation is completely separable in these coordinates provided that there exist functions Ur(r),Uθ(θ),Uϕ(ϕ) such that U can be written in the analogous form U(r,θ,ϕ)=Ur(r)+Uθ(θ)r2+Uϕ(ϕ)r2sin2θ.

Substitution of the completely separated solution S=Sr(r)+Sθ(θ)+Sϕ(ϕ)Et into the HJE yields 12m(dSrdr)2+Ur(r)+12mr2[(dSθdθ)2+2mUθ(θ)]+12mr2sin2θ[(dSϕdϕ)2+2mUϕ(ϕ)]=E.

This equation may be solved by successive integrations of ordinary differential equations, beginning with the equation for ϕ (dSϕdϕ)2+2mUϕ(ϕ)=Γϕ where Γϕ is a constant of the motion that eliminates the ϕ dependence from the Hamilton–Jacobi equation 12m(dSrdr)2+Ur(r)+12mr2[(dSθdθ)2+2mUθ(θ)+Γϕsin2θ]=E.

The next ordinary differential equation involves the θ generalized coordinate (dSθdθ)2+2mUθ(θ)+Γϕsin2θ=Γθ where Γθ is again a constant of the motion that eliminates the θ dependence and reduces the HJE to the final ordinary differential equation 12m(dSrdr)2+Ur(r)+Γθ2mr2=E whose integration completes the solution for S.

Elliptic cylindrical coordinates

The Hamiltonian in elliptic cylindrical coordinates can be written H=pμ2+pν22ma2(sinh2μ+sin2ν)+pz22m+U(μ,ν,z) where the foci of the ellipses are located at ±a on the x-axis. The Hamilton–Jacobi equation is completely separable in these coordinates provided that U has an analogous form U(μ,ν,z)=Uμ(μ)+Uν(ν)sinh2μ+sin2ν+Uz(z) where Uμ(μ), Uν(ν) and Uz(z) are arbitrary functions. Substitution of the completely separated solution S=Sμ(μ)+Sν(ν)+Sz(z)Et into the HJE yields 12m(dSzdz)2+Uz(z)+12ma2(sinh2μ+sin2ν)[(dSμdμ)2+(dSνdν)2+2ma2Uμ(μ)+2ma2Uν(ν)]=E.

Separating the first ordinary differential equation 12m(dSzdz)2+Uz(z)=Γz yields the reduced Hamilton–Jacobi equation (after re-arrangement and multiplication of both sides by the denominator) (dSμdμ)2+(dSνdν)2+2ma2Uμ(μ)+2ma2Uν(ν)=2ma2(sinh2μ+sin2ν)(EΓz) which itself may be separated into two independent ordinary differential equations (dSμdμ)2+2ma2Uμ(μ)+2ma2(ΓzE)sinh2μ=Γμ (dSνdν)2+2ma2Uν(ν)+2ma2(ΓzE)sin2ν=Γν that, when solved, provide a complete solution for S.

Parabolic cylindrical coordinates

The Hamiltonian in parabolic cylindrical coordinates can be written H=pσ2+pτ22m(σ2+τ2)+pz22m+U(σ,τ,z).

The Hamilton–Jacobi equation is completely separable in these coordinates provided that U has an analogous form U(σ,τ,z)=Uσ(σ)+Uτ(τ)σ2+τ2+Uz(z) where Uσ(σ), Uτ(τ), and Uz(z) are arbitrary functions. Substitution of the completely separated solution S=Sσ(σ)+Sτ(τ)+Sz(z)Et+constant into the HJE yields 12m(dSzdz)2+Uz(z)+12m(σ2+τ2)[(dSσdσ)2+(dSτdτ)2+2mUσ(σ)+2mUτ(τ)]=E.

Separating the first ordinary differential equation 12m(dSzdz)2+Uz(z)=Γz yields the reduced Hamilton–Jacobi equation (after re-arrangement and multiplication of both sides by the denominator) (dSσdσ)2+(dSτdτ)2+2mUσ(σ)+2mUτ(τ)=2m(σ2+τ2)(EΓz) which itself may be separated into two independent ordinary differential equations (dSσdσ)2+2mUσ(σ)+2mσ2(ΓzE)=Γσ (dSτdτ)2+2mUτ(τ)+2mτ2(ΓzE)=Γτ that, when solved, provide a complete solution for S.

Waves and particles

Optical wave fronts and trajectories

Main page: Physics:Hamilton's optico-mechanical analogy

The HJE establishes a duality between trajectories and wavefronts.[10] For example, in geometrical optics, light can be considered either as “rays” or waves. The wave front can be defined as the surface 𝒞t that the light emitted at time t=0 has reached at time t. Light rays and wave fronts are dual: if one is known, the other can be deduced.

More precisely, geometrical optics is a variational problem where the “action” is the travel time T along a path,T=1cABnds where n is the medium's index of refraction and ds is an infinitesimal arc length. From the above formulation, one can compute the ray paths using the Euler–Lagrange formulation; alternatively, one can compute the wave fronts by solving the Hamilton–Jacobi equation. Knowing one leads to knowing the other.

The above duality is very general and applies to all systems that derive from a variational principle: either compute the trajectories using Euler–Lagrange equations or the wave fronts by using Hamilton–Jacobi equation.

The wave front at time t, for a system initially at 𝐪0 at time t0, is defined as the collection of points 𝐪 such that S(𝐪,t)=const. If S(𝐪,t) is known, the momentum is immediately deduced.𝐩=S𝐪.

Once 𝐩 is known, tangents to the trajectories 𝐪˙ are computed by solving the equation𝐪˙=pfor 𝐪˙, where is the Lagrangian. The trajectories are then recovered from the knowledge of 𝐪˙.

Relationship to the Schrödinger equation

The isosurfaces of the function S(𝐪,t) can be determined at any time t. The motion of an S-isosurface as a function of time is defined by the motions of the particles beginning at the points 𝐪 on the isosurface. The motion of such an isosurface can be thought of as a wave moving through 𝐪-space, although it does not obey the wave equation exactly. To show this, let S represent the phase of a wave ψ=ψ0eiS/ where is a constant (the Planck constant) introduced to make the exponential argument dimensionless; changes in the amplitude of the wave can be represented by having S be a complex number. The Hamilton–Jacobi equation is then rewritten as 22m2ψUψ=iψt which is the Schrödinger equation.

Conversely, starting with the Schrödinger equation and our ansatz for ψ, it can be deduced that[11] 12m(S)2+U+St=i2m2S.

The classical limit (0) of the Schrödinger equation above becomes identical to the following variant of the Hamilton–Jacobi equation, 12m(S)2+U+St=0.

Applications

HJE in a gravitational field

Using the energy–momentum relation in the form[12] gαβPαPβ(mc)2=0 for a particle of rest mass m travelling in curved space, where gαβ are the contravariant coordinates of the metric tensor (i.e., the inverse metric) solved from the Einstein field equations, and c is the speed of light. Setting the four-momentum Pα equal to the four-gradient of the action S, Pα=Sxα gives the Hamilton–Jacobi equation in the geometry determined by the metric g: gαβSxαSxβ(mc)2=0, in other words, in a gravitational field.

HJE in electromagnetic fields

For a particle of rest mass m and electric charge e moving in electromagnetic field with four-potential Ai=(ϕ,A) in vacuum, the Hamilton–Jacobi equation in geometry determined by the metric tensor gik=gik has a form gik(Sxi+ecAi)(Sxk+ecAk)=m2c2 and can be solved for the Hamilton principal action function S to obtain further solution for the particle trajectory and momentum:[13] x=ecγAzdξ, y=ecγAydξ, z=e22c2γ2(A2A2)dξ, ξ=cte22γ2c2(A2A2)dξ, px=ecAx,py=ecAy, pz=e22γc(A2A2), =cγ+e22γc(A2A2), where ξ=ctz and γ2=m2c2+e2c2A2 with 𝐀 the cycle average of the vector potential.

A circularly polarized wave

In the case of circular polarization, Ex=E0sinωξ1,Ey=E0cosωξ1, Ax=cE0ωcosωξ1,Ay=cE0ωsinωξ1.

Hence x=ecE0ωsinωξ1, y=ecE0ωcosωξ1, px=eE0ωcosωξ1, py=eE0ωsinωξ1, where ξ1=ξ/c, implying the particle moving along a circular trajectory with a permanent radius ecE0/γω2 and an invariable value of momentum eE0/ω2 directed along a magnetic field vector.

A monochromatic linearly polarized plane wave

For the flat, monochromatic, linearly polarized wave with a field E directed along the axis y Ey=E0cosωξ1, Ay=cE0ωsinωξ1, hence x=const, y0=ecE0γω2, y=y0cosωξ1,z=Czy0sin2ωξ1, Cz=eE08γω,γ2=m2c2+e2E022ω2, px=0, py,0=eE0ω, py=py,0sinωξ1, pz=2Czpy,0cos2ωξ1 implying the particle figure-8 trajectory with a long its axis oriented along the electric field E vector.

An electromagnetic wave with a solenoidal magnetic field

For the electromagnetic wave with axial (solenoidal) magnetic field:[14] E=Eϕ=ωρ0cB0cosωξ1, Aϕ=ρ0B0sinωξ1=Lsπρ0NsI0sinωξ1, hence x=constant, y0=eρ0B0γω, y=y0cosωξ1, z=Czy0sin2ωξ1, Cz=eρ0B08cγ, γ2=m2c2+e2ρ02B022c2, px=0, py,0=eρ0B0c, py=py,0sinωξ1, pz=2Czpy,0cos2ωξ1, where B0 is the magnetic field magnitude in a solenoid with the effective radius ρ0, inductivity Ls, number of windings Ns, and an electric current magnitude I0 through the solenoid windings. The particle motion occurs along the figure-8 trajectory in yz plane set perpendicular to the solenoid axis with arbitrary azimuth angle φ due to axial symmetry of the solenoidal magnetic field.

See also


References

  1. Goldstein, Herbert (1980). Classical Mechanics (2nd ed.). Reading, MA: Addison-Wesley. pp. 484–492. ISBN 978-0-201-02918-5.  (particularly the discussion beginning in the last paragraph of page 491)
  2. Sakurai, pp. 103–107.
  3. Kálmán, Rudolf E. (1963). "The Theory of Optimal Control and the Calculus of Variations". in Bellman, Richard. Mathematical Optimization Techniques. Berkeley: University of California Press. pp. 309–331. OCLC 1033974. 
  4. Hand, L.N.; Finch, J.D. (2008). Analytical Mechanics. Cambridge University Press. ISBN 978-0-521-57572-0. 
  5. 5.0 5.1 5.2 Goldstein, Herbert; Poole, Charles P.; Safko, John L. (2008). Classical mechanics (3, [Nachdr.] ed.). San Francisco Munich: Addison Wesley. ISBN 978-0-201-65702-9. 
  6. Coopersmith, Jennifer (2017). The lazy universe : an introduction to the principle of least action. Oxford, UK / New York, NY: Oxford University Press. ISBN 978-0-19-874304-0. http://archive.org/details/lazyuniverseintr0000coop. 
  7. Hand, L. N.; Finch, J. D. (2008). Analytical Mechanics. Cambridge University Press. ISBN 978-0-521-57572-0. 
  8. Goldstein, Herbert (1980). Classical Mechanics (2nd ed.). Reading, MA: Addison-Wesley. pp. 440. ISBN 978-0-201-02918-5. 
  9. Hanc, Jozef; Taylor, Edwin F.; Tuleja, Slavomir (2005-07-01). "Variational mechanics in one and two dimensions" (in en). American Journal of Physics 73 (7): 603–610. doi:10.1119/1.1848516. ISSN 0002-9505. Bibcode2005AmJPh..73..603H. https://pubs.aip.org/ajp/article/73/7/603/1056166/Variational-mechanics-in-one-and-two-dimensions. 
  10. Houchmandzadeh, Bahram (2020). "The Hamilton-Jacobi Equation : an alternative approach". American Journal of Physics 85 (5): 10.1119/10.0000781. doi:10.1119/10.0000781. Bibcode2020AmJPh..88..353H. https://aapt.scitation.org/doi/10.1119/10.0000781. 
  11. Goldstein, Herbert (1980). Classical Mechanics (2nd ed.). Reading, MA: Addison-Wesley. pp. 490–491. ISBN 978-0-201-02918-5. 
  12. Wheeler, John; Misner, Charles; Thorne, Kip (1973). Gravitation. W.H. Freeman & Co. pp. 649, 1188. ISBN 978-0-7167-0344-0. 
  13. Landau, L.; Lifshitz, E. (1959). The Classical Theory of Fields. Reading, Massachusetts: Addison-Wesley. OCLC 17966515. 
  14. E. V. Shun'ko; D. E. Stevenson; V. S. Belkin (2014). "Inductively Coupling Plasma Reactor With Plasma Electron Energy Controllable in the Range from ~6 to ~100 eV". IEEE Transactions on Plasma Science 42, part II (3): 774–785. doi:10.1109/TPS.2014.2299954. Bibcode2014ITPS...42..774S. 

Further reading