Hamiltonian mechanics

Author: www.NiNa.Az
Feb 04, 2025 / 11:11

In physics Hamiltonian mechanics is a reformulation of Lagrangian mechanics that emerged in 1833 Introduced by Sir Willi

Hamiltonian mechanics
Hamiltonian mechanics
Hamiltonian mechanics

In physics, Hamiltonian mechanics is a reformulation of Lagrangian mechanics that emerged in 1833. Introduced by Sir William Rowan Hamilton, Hamiltonian mechanics replaces (generalized) velocities used in Lagrangian mechanics with (generalized) momenta. Both theories provide interpretations of classical mechanics and describe the same physical phenomena.

image
Sir William Rowan Hamilton

Hamiltonian mechanics has a close relationship with geometry (notably, symplectic geometry and Poisson structures) and serves as a link between classical and quantum mechanics.

Overview

Phase space coordinates (p, q) and Hamiltonian H

Let image be a mechanical system with configuration space image and smooth Lagrangian image Select a standard coordinate system image on image The quantities image are called momenta. (Also generalized momenta, conjugate momenta, and canonical momenta). For a time instant image the Legendre transformation of image is defined as the map image which is assumed to have a smooth inverse image For a system with image degrees of freedom, the Lagrangian mechanics defines the energy function image

The Legendre transform of image turns image into a function image known as the Hamiltonian. The Hamiltonian satisfies image which implies that image where the velocities image are found from the (image-dimensional) equation image which, by assumption, is uniquely solvable for image. The (image-dimensional) pair image is called phase space coordinates. (Also canonical coordinates).

From Euler–Lagrange equation to Hamilton's equations

In phase space coordinates image, the (image-dimensional) Euler–Lagrange equation image becomes Hamilton's equations in image dimensions

image

Proof

The Hamiltonian image is the Legendre transform of the Lagrangian image, thus one has image and thus image

Besides, since image, the Euler–Lagrange equations yield image

From stationary action principle to Hamilton's equations

Let image be the set of smooth paths image for which image and image The action functional image is defined via image where image, and image (see above). A path image is a stationary point of image (and hence is an equation of motion) if and only if the path image in phase space coordinates obeys the Hamilton's equations.

Basic physical interpretation

A simple interpretation of Hamiltonian mechanics comes from its application on a one-dimensional system consisting of one nonrelativistic particle of mass m. The value image of the Hamiltonian is the total energy of the system, in this case the sum of kinetic and potential energy, traditionally denoted T and V, respectively. Here p is the momentum mv and q is the space coordinate. Then image T is a function of p alone, while V is a function of q alone (i.e., T and V are scleronomic).

In this example, the time derivative of q is the velocity, and so the first Hamilton equation means that the particle's velocity equals the derivative of its kinetic energy with respect to its momentum. The time derivative of the momentum p equals the Newtonian force, and so the second Hamilton equation means that the force equals the negative gradient of potential energy.

Example

A spherical pendulum consists of a mass m moving without friction on the surface of a sphere. The only forces acting on the mass are the reaction from the sphere and gravity. Spherical coordinates are used to describe the position of the mass in terms of (r, θ, φ), where r is fixed, r = .

image
Spherical pendulum: angles and velocities.

The Lagrangian for this system isimage

Thus the Hamiltonian is image where image and image In terms of coordinates and momenta, the Hamiltonian reads image Hamilton's equations give the time evolution of coordinates and conjugate momenta in four first-order differential equations, image Momentum image, which corresponds to the vertical component of angular momentum image, is a constant of motion. That is a consequence of the rotational symmetry of the system around the vertical axis. Being absent from the Hamiltonian, azimuth image is a cyclic coordinate, which implies conservation of its conjugate momentum.

Deriving Hamilton's equations

Hamilton's equations can be derived by a calculation with the Lagrangian image, generalized positions qi, and generalized velocities qi, where image. Here we work off-shell, meaning image, image, image are independent coordinates in phase space, not constrained to follow any equations of motion (in particular, image is not a derivative of image). The total differential of the Lagrangian is: image The generalized momentum coordinates were defined as image, so we may rewrite the equation as: image

After rearranging, one obtains: image

The term in parentheses on the left-hand side is just the Hamiltonian image defined previously, therefore: image

One may also calculate the total differential of the Hamiltonian image with respect to coordinates image, image, image instead of image, image, image, yielding: image

One may now equate these two expressions for image, one in terms of image, the other in terms of image: image

Since these calculations are off-shell, one can equate the respective coefficients of image, image, image on the two sides: image

On-shell, one substitutes parametric functions image which define a trajectory in phase space with velocities image, obeying Lagrange's equations: image

Rearranging and writing in terms of the on-shell image gives: image

Thus Lagrange's equations are equivalent to Hamilton's equations: image

In the case of time-independent image and image, i.e. image, Hamilton's equations consist of 2n first-order differential equations, while Lagrange's equations consist of n second-order equations. Hamilton's equations usually do not reduce the difficulty of finding explicit solutions, but important theoretical results can be derived from them, because coordinates and momenta are independent variables with nearly symmetric roles.

Hamilton's equations have another advantage over Lagrange's equations: if a system has a symmetry, so that some coordinate image does not occur in the Hamiltonian (i.e. a cyclic coordinate), the corresponding momentum coordinate image is conserved along each trajectory, and that coordinate can be reduced to a constant in the other equations of the set. This effectively reduces the problem from n coordinates to (n − 1) coordinates: this is the basis of symplectic reduction in geometry. In the Lagrangian framework, the conservation of momentum also follows immediately, however all the generalized velocities image still occur in the Lagrangian, and a system of equations in n coordinates still has to be solved.

The Lagrangian and Hamiltonian approaches provide the groundwork for deeper results in classical mechanics, and suggest analogous formulations in quantum mechanics: the path integral formulation and the Schrödinger equation.

Properties of the Hamiltonian

  • The value of the Hamiltonian image is the total energy of the system if and only if the energy function image has the same property. (See definition of image).[clarification needed]
  • image when image, image form a solution of Hamilton's equations.
    Indeed, image and everything but the final term cancels out.
  • image does not change under point transformations, i.e. smooth changes image of space coordinates. (Follows from the invariance of the energy function image under point transformations. The invariance of image can be established directly).
  • image (See § Deriving Hamilton's equations).
  • image. (Compare Hamilton's and Euler-Lagrange equations or see § Deriving Hamilton's equations).
  • image if and only if image.
    A coordinate for which the last equation holds is called cyclic (or ignorable). Every cyclic coordinate image reduces the number of degrees of freedom by image, causes the corresponding momentum image to be conserved, and makes Hamilton's equations easier to solve.

Hamiltonian as the total system energy

In its application to a given system, the Hamiltonian is often taken to be image

where image is the kinetic energy and image is the potential energy. Using this relation can be simpler than first calculating the Lagrangian, and then deriving the Hamiltonian from the Lagrangian. However, the relation is not true for all systems.

The relation holds true for nonrelativistic systems when all of the following conditions are satisfiedimage image image

where image is time, image is the number of degrees of freedom of the system, and each image is an arbitrary scalar function of image.

In words, this means that the relation image holds true if image does not contain time as an explicit variable (it is scleronomic), image does not contain generalised velocity as an explicit variable, and each term of image is quadratic in generalised velocity.

Proof

Preliminary to this proof, it is important to address an ambiguity in the related mathematical notation. While a change of variables can be used to equate image, it is important to note that image. In this case, the right hand side always evaluates to 0. To perform a change of variables inside of a partial derivative, the multivariable chain rule should be used. Hence, to avoid ambiguity, the function arguments of any term inside of a partial derivative should be stated.

Additionally, this proof uses the notation image to imply that image.

Proof

Starting from definitions of the Hamiltonian, generalized momenta, and Lagrangian for an image degrees of freedom system image image image

Substituting the generalized momenta into the Hamiltonian gives image

Substituting the Lagrangian into the result gives image

Now assume that image

and also assume that image

Applying these assumptions results in image

Next assume that T is of the form image

where each image is an arbitrary scalar function of image.

Differentiating this with respect to image, image, gives image

Splitting the summation, evaluating the partial derivative, and rejoining the summation gives image

Summing (this multiplied by image) over image results in image

This simplification is a result of Euler's homogeneous function theorem.

Hence, the Hamiltonian becomes image

Application to systems of point masses

For a system of point masses, the requirement for image to be quadratic in generalised velocity is always satisfied for the case where image, which is a requirement for image anyway.

Proof

Consider the kinetic energy for a system of N point masses. If it is assumed that image, then it can be shown that image (See Scleronomous § Application). Therefore, the kinetic energy is image

The chain rule for many variables can be used to expand the velocity image

Resulting in image

This is of the required form.

Conservation of energy

If the conditions for image are satisfied, then conservation of the Hamiltonian implies conservation of energy. This requires the additional condition that image does not contain time as an explicit variable.

image

With respect to the extended Euler-Lagrange formulation (See Lagrangian mechanics § Extensions to include non-conservative forces), the Rayleigh dissipation function represents energy dissipation by nature. Therefore, energy is not conserved when image. This is similar to the velocity dependent potential.

In summary, the requirements for image to be satisfied for a nonrelativistic system are

  1. image
  2. image
  3. image is a homogeneous quadratic function in image

Hamiltonian of a charged particle in an electromagnetic field

A sufficient illustration of Hamiltonian mechanics is given by the Hamiltonian of a charged particle in an electromagnetic field. In Cartesian coordinates the Lagrangian of a non-relativistic classical particle in an electromagnetic field is (in SI Units): image where q is the electric charge of the particle, φ is the electric scalar potential, and the Ai are the components of the magnetic vector potential that may all explicitly depend on image and image.

This Lagrangian, combined with Euler–Lagrange equation, produces the Lorentz force law image and is called minimal coupling.

The canonical momenta are given by: image

The Hamiltonian, as the Legendre transformation of the Lagrangian, is therefore:

In physics Hamiltonian mechanics is a reformulation of Lagrangian mechanics that emerged in 1833 Introduced by Sir William Rowan Hamilton Hamiltonian mechanics replaces generalized velocities q i displaystyle dot q i used in Lagrangian mechanics with generalized momenta Both theories provide interpretations of classical mechanics and describe the same physical phenomena Sir William Rowan Hamilton Hamiltonian mechanics has a close relationship with geometry notably symplectic geometry and Poisson structures and serves as a link between classical and quantum mechanics OverviewPhase space coordinates p q and Hamiltonian H Let M L displaystyle M mathcal L be a mechanical system with configuration space M displaystyle M and smooth Lagrangian L displaystyle mathcal L Select a standard coordinate system q q displaystyle boldsymbol q boldsymbol dot q on M displaystyle M The quantities pi q q t def L q i displaystyle textstyle p i boldsymbol q boldsymbol dot q t stackrel text def partial mathcal L partial dot q i are called momenta Also generalized momenta conjugate momenta and canonical momenta For a time instant t displaystyle t the Legendre transformation of L displaystyle mathcal L is defined as the map q q p q displaystyle boldsymbol q boldsymbol dot q to left boldsymbol p boldsymbol q right which is assumed to have a smooth inverse p q q q displaystyle boldsymbol p boldsymbol q to boldsymbol q boldsymbol dot q For a system with n displaystyle n degrees of freedom the Lagrangian mechanics defines the energy function EL q q t def i 1nq i L q i L displaystyle E mathcal L boldsymbol q boldsymbol dot q t stackrel text def sum i 1 n dot q i frac partial mathcal L partial dot q i mathcal L The Legendre transform of L displaystyle mathcal L turns EL displaystyle E mathcal L into a function H p q t displaystyle mathcal H boldsymbol p boldsymbol q t known as the Hamiltonian The Hamiltonian satisfies H L q q t EL q q t displaystyle mathcal H left frac partial mathcal L partial boldsymbol dot q boldsymbol q t right E mathcal L boldsymbol q boldsymbol dot q t which implies that H p q t i 1npiq i L q q t displaystyle mathcal H boldsymbol p boldsymbol q t sum i 1 n p i dot q i mathcal L boldsymbol q boldsymbol dot q t where the velocities q q 1 q n displaystyle boldsymbol dot q dot q 1 ldots dot q n are found from the n displaystyle n dimensional equation p L q displaystyle textstyle boldsymbol p partial mathcal L partial boldsymbol dot q which by assumption is uniquely solvable for q displaystyle boldsymbol dot q The 2n displaystyle 2n dimensional pair p q displaystyle boldsymbol p boldsymbol q is called phase space coordinates Also canonical coordinates From Euler Lagrange equation to Hamilton s equations In phase space coordinates p q displaystyle boldsymbol p boldsymbol q the n displaystyle n dimensional Euler Lagrange equation L q ddt L q 0 displaystyle frac partial mathcal L partial boldsymbol q frac d dt frac partial mathcal L partial dot boldsymbol q 0 becomes Hamilton s equations in 2n displaystyle 2n dimensions dqdt H p dpdt H q displaystyle frac mathrm d boldsymbol q mathrm d t frac partial mathcal H partial boldsymbol p quad frac mathrm d boldsymbol p mathrm d t frac partial mathcal H partial boldsymbol q Proof The Hamiltonian H p q displaystyle mathcal H boldsymbol p boldsymbol q is the Legendre transform of the Lagrangian L q q displaystyle mathcal L boldsymbol q dot boldsymbol q thus one has L q q H p q pq displaystyle mathcal L boldsymbol q dot boldsymbol q mathcal H boldsymbol p boldsymbol q boldsymbol p dot boldsymbol q and thus H p q L q H q displaystyle begin aligned frac partial mathcal H partial boldsymbol p amp dot boldsymbol q frac partial mathcal L partial boldsymbol q amp frac partial mathcal H partial boldsymbol q end aligned Besides since p L q displaystyle boldsymbol p partial mathcal L partial dot boldsymbol q the Euler Lagrange equations yield p dpdt L q H q displaystyle dot boldsymbol p frac mathrm d boldsymbol p mathrm d t frac partial mathcal L partial boldsymbol q frac partial mathcal H partial boldsymbol q From stationary action principle to Hamilton s equations Let P a b xa xb displaystyle mathcal P a b boldsymbol x a boldsymbol x b be the set of smooth paths q a b M displaystyle boldsymbol q a b to M for which q a xa displaystyle boldsymbol q a boldsymbol x a and q b xb displaystyle boldsymbol q b boldsymbol x b The action functional S P a b xa xb R displaystyle mathcal S mathcal P a b boldsymbol x a boldsymbol x b to mathbb R is defined via S q abL t q t q t dt ab i 1npiq i H p q t dt displaystyle mathcal S boldsymbol q int a b mathcal L t boldsymbol q t dot boldsymbol q t dt int a b left sum i 1 n p i dot q i mathcal H boldsymbol p boldsymbol q t right dt where q q t displaystyle boldsymbol q boldsymbol q t and p L q displaystyle boldsymbol p partial mathcal L partial boldsymbol dot q see above A path q P a b xa xb displaystyle boldsymbol q in mathcal P a b boldsymbol x a boldsymbol x b is a stationary point of S displaystyle mathcal S and hence is an equation of motion if and only if the path p t q t displaystyle boldsymbol p t boldsymbol q t in phase space coordinates obeys the Hamilton s equations Basic physical interpretation A simple interpretation of Hamiltonian mechanics comes from its application on a one dimensional system consisting of one nonrelativistic particle of mass m The value H p q displaystyle H p q of the Hamiltonian is the total energy of the system in this case the sum of kinetic and potential energy traditionally denoted T and V respectively Here p is the momentum mv and q is the space coordinate Then H T V T p22m V V q displaystyle mathcal H T V qquad T frac p 2 2m qquad V V q T is a function of p alone while V is a function of q alone i e T and V are scleronomic In this example the time derivative of q is the velocity and so the first Hamilton equation means that the particle s velocity equals the derivative of its kinetic energy with respect to its momentum The time derivative of the momentum p equals the Newtonian force and so the second Hamilton equation means that the force equals the negative gradient of potential energy ExampleA spherical pendulum consists of a mass m moving without friction on the surface of a sphere The only forces acting on the mass are the reaction from the sphere and gravity Spherical coordinates are used to describe the position of the mass in terms of r 8 f where r is fixed r ℓ Spherical pendulum angles and velocities The Lagrangian for this system isL 12mℓ2 8 2 sin2 8 f 2 mgℓcos 8 displaystyle L frac 1 2 m ell 2 left dot theta 2 sin 2 theta dot varphi 2 right mg ell cos theta Thus the Hamiltonian is H P88 Pff L displaystyle H P theta dot theta P varphi dot varphi L where P8 L 8 mℓ28 displaystyle P theta frac partial L partial dot theta m ell 2 dot theta and Pf L f mℓ2sin28f displaystyle P varphi frac partial L partial dot varphi m ell 2 sin 2 theta dot varphi In terms of coordinates and momenta the Hamiltonian reads H 12mℓ28 2 12mℓ2sin28f 2 T mgℓcos 8 V P822mℓ2 Pf22mℓ2sin2 8 mgℓcos 8 displaystyle H underbrace left frac 1 2 m ell 2 dot theta 2 frac 1 2 m ell 2 sin 2 theta dot varphi 2 right T underbrace Big mg ell cos theta Big V frac P theta 2 2m ell 2 frac P varphi 2 2m ell 2 sin 2 theta mg ell cos theta Hamilton s equations give the time evolution of coordinates and conjugate momenta in four first order differential equations 8 P8mℓ2f Pfmℓ2sin2 8P8 Pf2mℓ2sin3 8cos 8 mgℓsin 8Pf 0 displaystyle begin aligned dot theta amp P theta over m ell 2 6pt dot varphi amp P varphi over m ell 2 sin 2 theta 6pt dot P theta amp P varphi 2 over m ell 2 sin 3 theta cos theta mg ell sin theta 6pt dot P varphi amp 0 end aligned Momentum Pf displaystyle P varphi which corresponds to the vertical component of angular momentum Lz ℓsin 8 mℓsin 8f displaystyle L z ell sin theta times m ell sin theta dot varphi is a constant of motion That is a consequence of the rotational symmetry of the system around the vertical axis Being absent from the Hamiltonian azimuth f displaystyle varphi is a cyclic coordinate which implies conservation of its conjugate momentum Deriving Hamilton s equationsHamilton s equations can be derived by a calculation with the Lagrangian L displaystyle mathcal L generalized positions qi and generalized velocities q i where i 1 n displaystyle i 1 ldots n Here we work off shell meaning qi displaystyle q i q i displaystyle dot q i t displaystyle t are independent coordinates in phase space not constrained to follow any equations of motion in particular q i displaystyle dot q i is not a derivative of qi displaystyle q i The total differential of the Lagrangian is dL i L qidqi L q idq i L tdt displaystyle mathrm d mathcal L sum i left frac partial mathcal L partial q i mathrm d q i frac partial mathcal L partial dot q i mathrm d dot q i right frac partial mathcal L partial t mathrm d t The generalized momentum coordinates were defined as pi L q i displaystyle p i partial mathcal L partial dot q i so we may rewrite the equation as dL i L qidqi pidq i L tdt i L qidqi d piq i q idpi L tdt displaystyle begin aligned mathrm d mathcal L amp sum i left frac partial mathcal L partial q i mathrm d q i p i mathrm d dot q i right frac partial mathcal L partial t mathrm d t amp sum i left frac partial mathcal L partial q i mathrm d q i mathrm d p i dot q i dot q i mathrm d p i right frac partial mathcal L partial t mathrm d t end aligned After rearranging one obtains d ipiq i L i L qidqi q idpi L tdt displaystyle mathrm d left sum i p i dot q i mathcal L right sum i left frac partial mathcal L partial q i mathrm d q i dot q i mathrm d p i right frac partial mathcal L partial t mathrm d t The term in parentheses on the left hand side is just the Hamiltonian H piq i L textstyle mathcal H sum p i dot q i mathcal L defined previously therefore dH i L qidqi q idpi L tdt displaystyle mathrm d mathcal H sum i left frac partial mathcal L partial q i mathrm d q i dot q i mathrm d p i right frac partial mathcal L partial t mathrm d t One may also calculate the total differential of the Hamiltonian H displaystyle mathcal H with respect to coordinates qi displaystyle q i pi displaystyle p i t displaystyle t instead of qi displaystyle q i q i displaystyle dot q i t displaystyle t yielding dH i H qidqi H pidpi H tdt displaystyle mathrm d mathcal H sum i left frac partial mathcal H partial q i mathrm d q i frac partial mathcal H partial p i mathrm d p i right frac partial mathcal H partial t mathrm d t One may now equate these two expressions for dH displaystyle d mathcal H one in terms of L displaystyle mathcal L the other in terms of H displaystyle mathcal H i L qidqi q idpi L tdt i H qidqi H pidpi H tdt displaystyle sum i left frac partial mathcal L partial q i mathrm d q i dot q i mathrm d p i right frac partial mathcal L partial t mathrm d t sum i left frac partial mathcal H partial q i mathrm d q i frac partial mathcal H partial p i mathrm d p i right frac partial mathcal H partial t mathrm d t Since these calculations are off shell one can equate the respective coefficients of dqi displaystyle mathrm d q i dpi displaystyle mathrm d p i dt displaystyle mathrm d t on the two sides H qi L qi H pi q i H t L t displaystyle frac partial mathcal H partial q i frac partial mathcal L partial q i quad quad frac partial mathcal H partial p i dot q i quad quad frac partial mathcal H partial t partial mathcal L over partial t On shell one substitutes parametric functions qi qi t displaystyle q i q i t which define a trajectory in phase space with velocities q i ddtqi t displaystyle dot q i tfrac d dt q i t obeying Lagrange s equations ddt L q i L qi 0 displaystyle frac mathrm d mathrm d t frac partial mathcal L partial dot q i frac partial mathcal L partial q i 0 Rearranging and writing in terms of the on shell pi pi t displaystyle p i p i t gives L qi p i displaystyle frac partial mathcal L partial q i dot p i Thus Lagrange s equations are equivalent to Hamilton s equations H qi p i H pi q i H t L t displaystyle frac partial mathcal H partial q i dot p i quad quad frac partial mathcal H partial p i dot q i quad quad frac partial mathcal H partial t frac partial mathcal L partial t In the case of time independent H displaystyle mathcal H and L displaystyle mathcal L i e H t L t 0 displaystyle partial mathcal H partial t partial mathcal L partial t 0 Hamilton s equations consist of 2n first order differential equations while Lagrange s equations consist of n second order equations Hamilton s equations usually do not reduce the difficulty of finding explicit solutions but important theoretical results can be derived from them because coordinates and momenta are independent variables with nearly symmetric roles Hamilton s equations have another advantage over Lagrange s equations if a system has a symmetry so that some coordinate qi displaystyle q i does not occur in the Hamiltonian i e a cyclic coordinate the corresponding momentum coordinate pi displaystyle p i is conserved along each trajectory and that coordinate can be reduced to a constant in the other equations of the set This effectively reduces the problem from n coordinates to n 1 coordinates this is the basis of symplectic reduction in geometry In the Lagrangian framework the conservation of momentum also follows immediately however all the generalized velocities q i displaystyle dot q i still occur in the Lagrangian and a system of equations in n coordinates still has to be solved The Lagrangian and Hamiltonian approaches provide the groundwork for deeper results in classical mechanics and suggest analogous formulations in quantum mechanics the path integral formulation and the Schrodinger equation Properties of the HamiltonianThe value of the Hamiltonian H displaystyle mathcal H is the total energy of the system if and only if the energy function EL displaystyle E mathcal L has the same property See definition of H displaystyle mathcal H clarification needed dHdt H t displaystyle frac d mathcal H dt frac partial mathcal H partial t when p t displaystyle mathbf p t q t displaystyle mathbf q t form a solution of Hamilton s equations Indeed dHdt H p p H q q H t textstyle frac d mathcal H dt frac partial mathcal H partial boldsymbol p cdot dot boldsymbol p frac partial mathcal H partial boldsymbol q cdot dot boldsymbol q frac partial mathcal H partial t and everything but the final term cancels out H displaystyle mathcal H does not change under point transformations i e smooth changes q q displaystyle boldsymbol q leftrightarrow boldsymbol q of space coordinates Follows from the invariance of the energy function EL displaystyle E mathcal L under point transformations The invariance of EL displaystyle E mathcal L can be established directly H t L t displaystyle frac partial mathcal H partial t frac partial mathcal L partial t See Deriving Hamilton s equations H qi p i L qi displaystyle frac partial mathcal H partial q i dot p i frac partial mathcal L partial q i Compare Hamilton s and Euler Lagrange equations or see Deriving Hamilton s equations H qi 0 displaystyle frac partial mathcal H partial q i 0 if and only if L qi 0 displaystyle frac partial mathcal L partial q i 0 A coordinate for which the last equation holds is called cyclic or ignorable Every cyclic coordinate qi displaystyle q i reduces the number of degrees of freedom by 1 displaystyle 1 causes the corresponding momentum pi displaystyle p i to be conserved and makes Hamilton s equations easier to solve Hamiltonian as the total system energyIn its application to a given system the Hamiltonian is often taken to be H T V displaystyle mathcal H T V where T displaystyle T is the kinetic energy and V displaystyle V is the potential energy Using this relation can be simpler than first calculating the Lagrangian and then deriving the Hamiltonian from the Lagrangian However the relation is not true for all systems The relation holds true for nonrelativistic systems when all of the following conditions are satisfied V q q t q i 0 i displaystyle frac partial V boldsymbol q boldsymbol dot q t partial dot q i 0 quad forall i T q q t t 0 displaystyle frac partial T boldsymbol q boldsymbol dot q t partial t 0 T q q i 1n j 1n cij q q iq j displaystyle T boldsymbol q boldsymbol dot q sum i 1 n sum j 1 n biggl c ij boldsymbol q dot q i dot q j biggr where t displaystyle t is time n displaystyle n is the number of degrees of freedom of the system and each cij q displaystyle c ij boldsymbol q is an arbitrary scalar function of q displaystyle boldsymbol q In words this means that the relation H T V displaystyle mathcal H T V holds true if T displaystyle T does not contain time as an explicit variable it is scleronomic V displaystyle V does not contain generalised velocity as an explicit variable and each term of T displaystyle T is quadratic in generalised velocity Proof Preliminary to this proof it is important to address an ambiguity in the related mathematical notation While a change of variables can be used to equate L p q t L q q t displaystyle mathcal L boldsymbol p boldsymbol q t mathcal L boldsymbol q boldsymbol dot q t it is important to note that L q q t q i L p q t q i displaystyle frac partial mathcal L boldsymbol q boldsymbol dot q t partial dot q i neq frac partial mathcal L boldsymbol p boldsymbol q t partial dot q i In this case the right hand side always evaluates to 0 To perform a change of variables inside of a partial derivative the multivariable chain rule should be used Hence to avoid ambiguity the function arguments of any term inside of a partial derivative should be stated Additionally this proof uses the notation f a b c f a b displaystyle f a b c f a b to imply that f a b c c 0 displaystyle frac partial f a b c partial c 0 Proof Starting from definitions of the Hamiltonian generalized momenta and Lagrangian for an n displaystyle n degrees of freedom system H i 1n piq i L q q t displaystyle mathcal H sum i 1 n biggl p i dot q i biggr mathcal L boldsymbol q boldsymbol dot q t pi q q t L q q t q i displaystyle p i boldsymbol q boldsymbol dot q t frac partial mathcal L boldsymbol q boldsymbol dot q t partial dot q i L q q t T q q t V q q t displaystyle mathcal L boldsymbol q boldsymbol dot q t T boldsymbol q boldsymbol dot q t V boldsymbol q boldsymbol dot q t Substituting the generalized momenta into the Hamiltonian gives H i 1n L q q t q iq i L q q t displaystyle mathcal H sum i 1 n left frac partial mathcal L boldsymbol q boldsymbol dot q t partial dot q i dot q i right mathcal L boldsymbol q boldsymbol dot q t Substituting the Lagrangian into the result gives H i 1n T q q t V q q t q iq i T q q t V q q t i 1n T q q t q iq i V q q t q iq i T q q t V q q t displaystyle begin aligned mathcal H amp sum i 1 n left frac partial left T boldsymbol q boldsymbol dot q t V boldsymbol q boldsymbol dot q t right partial dot q i dot q i right left T boldsymbol q boldsymbol dot q t V boldsymbol q boldsymbol dot q t right amp sum i 1 n left frac partial T boldsymbol q boldsymbol dot q t partial dot q i dot q i frac partial V boldsymbol q boldsymbol dot q t partial dot q i dot q i right T boldsymbol q boldsymbol dot q t V boldsymbol q boldsymbol dot q t end aligned Now assume that V q q t q i 0 i displaystyle frac partial V boldsymbol q boldsymbol dot q t partial dot q i 0 quad forall i and also assume that T q q t t 0 displaystyle frac partial T boldsymbol q boldsymbol dot q t partial t 0 Applying these assumptions results in H i 1n T q q q iq i V q t q iq i T q q V q t i 1n T q q q iq i T q q V q t displaystyle begin aligned mathcal H amp sum i 1 n left frac partial T boldsymbol q boldsymbol dot q partial dot q i dot q i frac partial V boldsymbol q t partial dot q i dot q i right T boldsymbol q boldsymbol dot q V boldsymbol q t amp sum i 1 n left frac partial T boldsymbol q boldsymbol dot q partial dot q i dot q i right T boldsymbol q boldsymbol dot q V boldsymbol q t end aligned Next assume that T is of the form T q q i 1n j 1n cij q q iq j displaystyle T boldsymbol q boldsymbol dot q sum i 1 n sum j 1 n biggl c ij boldsymbol q dot q i dot q j biggr where each cij q displaystyle c ij boldsymbol q is an arbitrary scalar function of q displaystyle boldsymbol q Differentiating this with respect to q l displaystyle dot q l l 1 n displaystyle l in 1 n gives T q q q l i 1n j 1n cij q q iq j q l i 1n j 1n cij q q iq j q l displaystyle begin aligned frac partial T boldsymbol q boldsymbol dot q partial dot q l amp sum i 1 n sum j 1 n biggl frac partial left c ij boldsymbol q dot q i dot q j right partial dot q l biggr amp sum i 1 n sum j 1 n biggl c ij boldsymbol q frac partial left dot q i dot q j right partial dot q l biggr end aligned Splitting the summation evaluating the partial derivative and rejoining the summation gives T q q q l i ln j ln cij q q iq j q l i ln cil q q iq l q l j ln clj q q lq j q l cll q q l2 q l i ln j ln 0 i ln cil q q i j ln clj q q j 2cll q q l i 1n cil q q i j 1n clj q q j displaystyle begin aligned frac partial T boldsymbol q boldsymbol dot q partial dot q l amp sum i neq l n sum j neq l n biggl c ij boldsymbol q frac partial left dot q i dot q j right partial dot q l biggr sum i neq l n biggl c il boldsymbol q frac partial left dot q i dot q l right partial dot q l biggr sum j neq l n biggl c lj boldsymbol q frac partial left dot q l dot q j right partial dot q l biggr c ll boldsymbol q frac partial left dot q l 2 right partial dot q l amp sum i neq l n sum j neq l n biggl 0 biggr sum i neq l n biggl c il boldsymbol q dot q i biggr sum j neq l n biggl c lj boldsymbol q dot q j biggr 2c ll boldsymbol q dot q l amp sum i 1 n biggl c il boldsymbol q dot q i biggr sum j 1 n biggl c lj boldsymbol q dot q j biggr end aligned Summing this multiplied by q l displaystyle dot q l over l displaystyle l results in l 1n T q q q lq l l 1n i 1n cil q q i j 1n clj q q j q l l 1n i 1n cil q q iq l l 1n j 1n clj q q jq l i 1n l 1n cil q q iq l l 1n j 1n clj q q lq j T q q T q q 2T q q displaystyle begin aligned sum l 1 n left frac partial T boldsymbol q boldsymbol dot q partial dot q l dot q l right amp sum l 1 n left left sum i 1 n biggl c il boldsymbol q dot q i biggr sum j 1 n biggl c lj boldsymbol q dot q j biggr right dot q l right amp sum l 1 n sum i 1 n biggl c il boldsymbol q dot q i dot q l biggr sum l 1 n sum j 1 n biggl c lj boldsymbol q dot q j dot q l biggr amp sum i 1 n sum l 1 n biggl c il boldsymbol q dot q i dot q l biggr sum l 1 n sum j 1 n biggl c lj boldsymbol q dot q l dot q j biggr amp T boldsymbol q boldsymbol dot q T boldsymbol q boldsymbol dot q amp 2T boldsymbol q boldsymbol dot q end aligned This simplification is a result of Euler s homogeneous function theorem Hence the Hamiltonian becomes H i 1n T q q q iq i T q q V q t 2T q q T q q V q t T q q V q t displaystyle begin aligned mathcal H amp sum i 1 n left frac partial T boldsymbol q boldsymbol dot q partial dot q i dot q i right T boldsymbol q boldsymbol dot q V boldsymbol q t amp 2T boldsymbol q boldsymbol dot q T boldsymbol q boldsymbol dot q V boldsymbol q t amp T boldsymbol q boldsymbol dot q V boldsymbol q t end aligned Application to systems of point masses For a system of point masses the requirement for T displaystyle T to be quadratic in generalised velocity is always satisfied for the case where T q q t T q q displaystyle T boldsymbol q boldsymbol dot q t T boldsymbol q boldsymbol dot q which is a requirement for H T V displaystyle mathcal H T V anyway Proof Consider the kinetic energy for a system of N point masses If it is assumed that T q q t T q q displaystyle T boldsymbol q boldsymbol dot q t T boldsymbol q boldsymbol dot q then it can be shown that r k q q t r k q q displaystyle dot mathbf r k boldsymbol q boldsymbol dot q t dot mathbf r k boldsymbol q boldsymbol dot q See Scleronomous Application Therefore the kinetic energy is T q q 12 k 1N mkr k q q r k q q displaystyle T boldsymbol q boldsymbol dot q frac 1 2 sum k 1 N biggl m k dot mathbf r k boldsymbol q boldsymbol dot q cdot dot mathbf r k boldsymbol q boldsymbol dot q biggr The chain rule for many variables can be used to expand the velocity r k q q drk q dt i 1n rk q qiq i displaystyle begin aligned dot mathbf r k boldsymbol q boldsymbol dot q amp frac d mathbf r k boldsymbol q dt amp sum i 1 n left frac partial mathbf r k boldsymbol q partial q i dot q i right end aligned Resulting in T q q 12 k 1N mk i 1n rk q qiq i j 1n rk q qjq j k 1N i 1n j 1n 12mk rk q qi rk q qjq iq j i 1n j 1n k 1N 12mk rk q qi rk q qj q iq j i 1n j 1n cij q q iq j displaystyle begin aligned T boldsymbol q boldsymbol dot q amp frac 1 2 sum k 1 N left m k left sum i 1 n left frac partial mathbf r k boldsymbol q partial q i dot q i right cdot sum j 1 n left frac partial mathbf r k boldsymbol q partial q j dot q j right right right amp sum k 1 N sum i 1 n sum j 1 n left frac 1 2 m k frac partial mathbf r k boldsymbol q partial q i cdot frac partial mathbf r k boldsymbol q partial q j dot q i dot q j right amp sum i 1 n sum j 1 n left sum k 1 N left frac 1 2 m k frac partial mathbf r k boldsymbol q partial q i cdot frac partial mathbf r k boldsymbol q partial q j right dot q i dot q j right amp sum i 1 n sum j 1 n biggl c ij boldsymbol q dot q i dot q j biggr end aligned This is of the required form Conservation of energy If the conditions for H T V displaystyle mathcal H T V are satisfied then conservation of the Hamiltonian implies conservation of energy This requires the additional condition that V displaystyle V does not contain time as an explicit variable V q q t t 0 displaystyle frac partial V boldsymbol q boldsymbol dot q t partial t 0 With respect to the extended Euler Lagrange formulation See Lagrangian mechanics Extensions to include non conservative forces the Rayleigh dissipation function represents energy dissipation by nature Therefore energy is not conserved when R 0 displaystyle R neq 0 This is similar to the velocity dependent potential In summary the requirements for H T V constant of time displaystyle mathcal H T V text constant of time to be satisfied for a nonrelativistic system are V V q displaystyle V V boldsymbol q T T q q displaystyle T T boldsymbol q boldsymbol dot q T displaystyle T is a homogeneous quadratic function in q displaystyle boldsymbol dot q Hamiltonian of a charged particle in an electromagnetic fieldA sufficient illustration of Hamiltonian mechanics is given by the Hamiltonian of a charged particle in an electromagnetic field In Cartesian coordinates the Lagrangian of a non relativistic classical particle in an electromagnetic field is in SI Units L i12mx i2 iqx iAi qf displaystyle mathcal L sum i tfrac 1 2 m dot x i 2 sum i q dot x i A i q varphi where q is the electric charge of the particle f is the electric scalar potential and the Ai are the components of the magnetic vector potential that may all explicitly depend on xi displaystyle x i and t displaystyle t This Lagrangian combined with Euler Lagrange equation produces the Lorentz force law mx qE qx B displaystyle m ddot mathbf x q mathbf E q dot mathbf x times mathbf B and is called minimal coupling The canonical momenta are given by pi L x i mx i qAi displaystyle p i frac partial mathcal L partial dot x i m dot x i qA i The Hamiltonian as the Legendre transformation of the Lagrangian is therefore H ix ipi L i pi qAi 22m qf displaystyle mathcal H sum i dot x i p i mathcal L sum i frac left p i qA i right 2 2m q

rec-icon Recommended Topics
Share this article
Read the free encyclopedia and learn everything...
See more
Read the free encyclopedia. All information in Wikipedia is available. No payment required.
Share this article on
Share
XXX 0C
Saturday, 08 February, 2025
Follow Us On