9.4 Hamiltonian Systems 209
Thus we have:
Proposition. For a Hamiltonian system on
R
2
, H is constant along every
solution curve.
The importance of knowing that a given system is Hamiltonian is the fact
that we can essentially draw the phase portrait without solving the system.
Assuming that H is not constant on any open set, we simply plot the level
curves H (x, y) = constant. The solutions of the system lie on these level sets;
all we need to do is figure out the directions of the solution curves on these
level sets. But this is easy since we have the vector field. Note also that the
equilibrium points for a Hamiltonian system occur at the critical points of H,
that is, at points where both partial derivatives of H vanish.
Example. Consider the system
x
= y
y
=−x
3
+ x.
A Hamiltonian function is
H(x, y) =
x
4
4
−
x
2
2
+
y
2
2
+
1
4
.
The constant value 1/4 is irrelevant here; we choose it so that H has mini-
mum value 0, which occurs at (±1, 0), as is easily checked. The only other
equilibrium point lies at the origin. The linearized system is
X
=
01
1 − 3x
2
0
X.
At (0, 0), this system has eigenvalues ±1, so we have a saddle. At (±1, 0), the
eigenvalues are ±
√
2i, so we have a center, at least for the linearized system.
Plotting the level curves of H and adding the directions at nonequilibrium
points yields the phase portrait depicted in Figure 9.11. Note that the equi-
librium points at (±1, 0) remain centers for the nonlinear system. Also note
that the stable and unstable curves at the origin match up exactly. That is, we
have solutions that tend to (0, 0) in both forward and backward time. Such
solutions are known as homoclinic solutions or homoclinic orbits.
The fact that the eigenvalues of this system assume the special forms ±1 and
±
√
2i is again no accident.