Hamilton's canonical equations

From testwiki
Revision as of 22:52, 25 May 2022 by imported>AugPi
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Let

g:=(qp)

be a vector of generalized coordinates, (q might itself be a vector of positions and p a vector of momenta, both of them having the same size)

:=(qp)

be a vector differential operator,

i:=(0110)

be a Givens rotation matrix for a counterclockwise right-angle rotation. (NB: This is a square root of I, where I is the identity 2×2 matrix; this is a matric version of the imaginary unit.) Let H denote the Hamiltonian (function for total energy).

Then

g˙=(q˙p˙)

where overdot is Newton’s fluxional notation for time derivative.

H=ig˙

This is a compactified form of Hamilton’s canonical equations (of motion). It could also be re-expressed (trivially) as

g˙=iH

To see that it is the pair of canonical equations, unpack the symbolism:

(HqHp)=(0110)(q˙p˙)=(p˙q˙)

thus

Hq=p˙
Hp=q˙

An immediate consequence of the canonical equation is that

g˙ig˙=0,

that is,

(q˙p˙)(p˙q˙)=q˙p˙+p˙q˙=0

so

g˙H=0

This means (geometrically) that g moves perpendicularly to H’s gradient, so as to conserve H.

a simple example

Let

H=12mp2+k2q2

This corresponds to a simple harmonic oscillator, where m is mass and k is a spring constant. The first term is kinetic energy and the second term is potential energy (of displacement from the stable equilibrium).

Then

Hq=kq=F=p˙=mq¨

Note how deriving H by q returns a multiple of q; q is an “eigen-derivator” of H, as it were. (kq=F follows from Uq=F being true in general (for conservative forces), where U denotes potential energy; F=p˙ is Newton’s second law, and m may be assumed to be constant)

On the other hand,

Hp=pm=mq˙m=q˙

and note how deriving H by p returns a multiple of p, so p is also an “eigen-derivator” of H.