This week, I continued my studies on classical mechanics and how one can derive equations of motion. I ended up finding a pretty easy problem described below (this is an example found in No-Nonsense Classical Mechanics):
I’m on the Tower of Pisa and I drop a ball straight down. I would like to calculate the equation of motion describing the free fall of the ball towards the ground:
To find this, we can use three different methods. These methods are:
- Newton’s method
- The Lagrange method
- Hamilton’s method
We start with Newton’s second law:
where F is the force (in 3D), a is the acceleration, p is the momentum, parameterized by t.
Knowing this law, we can rewrite the equation like so:
Neglecting wind resistance, and assuming the point where we drop the ball is the origin, we can see that the only driving force is gravity:
which is equivalent to:
We can now solve the equation of motion:
Well, after seeing that it is possible to solve this problem with Newton’s method, let’s move on to Lagrange’s method.
In general, in Lagrangian mechanics, the Lagrangian is::
where T is the kinetic energy, and V is the potential energy.
Recall that the Euler-Lagrange equation is as follows:
So we just need to rewrite the Euler-Lagrange equation using our variables:
After having solved the partial derivatives, we end here because we already derived the equation of motion above (under Newton’s method):
To use the Hamiltonian method, we must first calculate the generalized momenta using the Lagrangian:
The Hamiltonian is described as:
The Hamilton equations are:
To conclude, the three methods are able to find the equation of motion. But, as you can probably tell, each method has its pros and cons. For example, the Newtonian method requires knowledge of each force acting on the ball. On the other hand, the Hamiltonian is really too wordy and annoying to solve.
The next steps are to understand how to simulate constraints using the Lagrange multiplier.