Hamilton dynamics refers to the mathematical framework used to describe the time evolution of a classical mechanical system using Hamiltonian mechanics. In the case of a simple harmonic oscillator, the system can be understood as a mass attached to a spring, which oscillates back and forth under the influence of a restoring force.
The Hamiltonian function, H, for a simple harmonic oscillator can be written as:
H = T + V
where T is the kinetic energy and V is the potential energy. The kinetic energy of a point mass (m) is given by:
T = 0.5 * m * (v^2)
where v is the velocity of the oscillating mass. The potential energy for a spring can be modeled using Hooke's Law, which dictates that the force (F) acting on the mass is proportional to the displacement (x) from its rest position. The potential energy can then be derived from the force using the definition of potential energy:
F = -k * x
V = -F * x + C
V = k * x^2 + C
where k is the spring constant, and C is a constant of integration that can be set to 0 to ensure the potential energy is zero when the mass is at equilibrium (x = 0).
Substituting these expressions into the Hamiltonian function, we get:
H = 0.5 * m * v^2 + 0.5 * k * x^2
In Hamiltonian mechanics, the dynamical variables are position (x) and momentum (p), which is defined as the mass (m) multiplied by the velocity (v). The Hamiltonian equations of motion describe how these dynamical variables change over time:
dx/dt = {H, x}
dp/dt = {H, p}
The Poisson bracket ({,}), denoted as {H, x}, is defined as:
{H, x} = ∂H/∂p * (-1) + ∂H/∂x
{H, p} = ∂H/∂x * (-1) + ∂H/∂p
The Poisson brackets can be used to derive the equations of motion for our simple harmonic oscillator.
{H, x} = {0.5 * m * v^2 + 0.5 * k * x^2, x}
= ∂H/∂p * (-1) + ∂H/∂x
= -m * v + k * x
{H, p} = {0.5 * m * v^2 + 0.5 * k * x^2, p}
= ∂H/∂x * (-1) + ∂H/∂p
= m * v
Converting these brackets into differential equations, we have:
dx/dt = -m * v + k * x
dp/dt = m * v
Using the definition of momentum, p = m * v, we can rewrite the second equation in terms of position and velocity:
dp/dt = m * d(v)/dt
p = m * d(x)/dt
Substituting this into the first equation, we can derive the equation of motion for the simple harmonic oscillator:
d^2x/dt^2 + (k/m) * x = 0
This is the well-known second-order differential equation for a simple harmonic oscillator. The Hamiltonian dynamics provide a more profound understanding of the system, as they give us a deeper insight into how the conserved quantities, like energy, can govern the system's behavior.