While
the formulation of a Lagrangian and Lagrange equations of motion can greatly
simplify an otherwise complicated system, it is not the only way. Similarly to the application of Lagrangians
described in Hamilton’s Principle and
Lagrangians and Lagrangians Pt. 2,
the formulation of a system’s Hamiltonian provides easy access to the time
depended equations of motion for each generalized coordinate necessary to
describe the system. To begin, we
determine the Lagrangian
as before, where q represents the chosen general coordinates and T and U represent the kinetic and potential energies of the system, respectively. Next, we construct our Hamiltonian equation given by
known as the Hamilton equations of motion, provide the system’s 2n first order differential equations. By applying initial conditions and solving this system of differential equations, time depended equations of motion for each generalized coordinate can be determined. Below is an example of this process’s application to a simple pendulum.
Example:
(Based on Problem 7.24 from Classical
Dynamics of Particles and Systems 5th Edition by Thornton and
Marion)
Consider a simple plane pendulum with a
fixed suspension point consisting of a mass m
attached to a string of length ℓ.
After the pendulum is set into motion, the length of the string is shortened at
a constant rate
To begin, it will be useful to define the
length of the pendulum ℓ by integrating over time the rate at which it is
shortened. Thus, we find
but as it must be in terms of momentum
rather than velocity, we substitute the relation
we can determine our Hamiltonian equations of motion
Below is an animation of this pendulum’s motion given that L=4.0m, α=0.5m/s, m=1.0kg, g=10 m/s^2, θ(0)=π/4 radians, and θ’(0)=0 radians/s.
No comments:
Post a Comment