18.6 Hamilton’s equation of motion 529
thus verifying the relations (18.76) and (18.81).
Equations (18.76) and (18.83),
∂H
∂ ˙q
k,A
= ˙q
k
A
,
∂H
∂q
k
˙q
i,A
=−
d ˙q
k,A
dt
−
1
ρ
∂p
∂q
k
+
1
ρ
q
k
·∇ ·J
(18.87)
are known as Hamilton’s canonical equations of motion. They consist of 2n first-
order differential equations whereas Lagrange’s equation consists of n second-
order differential equations. In our case n = 3. The velocity component ˙q
k,A
may
be considered as the momentum for unit mass. Hamilton’s canonical equations are
very general and hold for the case that the potential-energy function also depends
on ˙q
k
(the tidal problem) and for systems in which L explicitly depends on time,
but in these cases the total energy is no longer necessarily H .
In our furture work we will have many opportunities to work with Lagrange’s
equation of motion, but we refrain from using the Hamilton formulation, which
is an extremely important tool in quantum mechanics. In our work the Hamilton
formulation has no decisive advantage over the Lagrange method. A very simple but
illuminating example will be given next in order to obtain Hamilton’s equations of
motion for the one-dimensional harmonic oscillator. The equation of the harmonic
oscillator is of great importance in many branches of physics and in physical
meteorology, but it will usually be obtained by elementary considerations.
Recalling that there is no difference between covariant and contravariant coor-
dinates in the Cartesian system, H assumes a particularly simple form. Since we
are not dealing with unit mass, we write for the kinetic energy K
A
and the potential
energy V
K
A
=
m ˙x
2
2
,V=
kx
2
2
(18.88)
where m is the mass of the oscillating particle and k is Hooke’s constant.Nowthe
Hamiltonian function is given by
H =
m ˙x
2
2
+
kx
2
2
(18.89)
resulting in Hamilton’s equations of motion as
∂H
∂(m ˙x)
= ˙x,
∂H
∂x
˙x
i
=−m
d ˙x
dt
= kx (18.90)
The first expression is simply an identity while the second expression is the well-
known equation of the harmonic oscillator:
m
d ˙x
dt
+ kx = 0(18.91)