Hamiltonian Equations Derived from Variational Calculus and Euler-Lagrange Equation
- For variables x and p, when emphasizing that they are variables in partial differential equations, they are denoted in regular font , and when emphasizing as a function of , they are denoted in bold . Similarly, v is denoted in regular font to emphasize it as a variable, and in bold to emphasize it as a function.
There are two methods to derive Hamilton’s equations. One is by finding the characteristic equation of the Hamilton-Jacobi equation, and the other is the method introduced in this article, which is derived from the Euler-Lagrange equation.
Definition1
Let’s say is a stationary point of the action . Then, based on the definition of the stationary point, satisfies the following Euler-Lagrange equation.
Let’s define as follows.
is referred to as the generalized momentum with respect to position and velocity .
And let’s assume that for all , there exists a unique that satisfies and assume it as . Then, the Hamiltonian related to Lagrangian is defined as follows.
Explanation
In classical mechanics, the Lagrangian is defined as the difference between kinetic energy and potential energy.
Given the calculation of , it is natural to call it generalized momentum as follows.
In physics, the Hamiltonian specifically refers to the total energy, which is the sum of kinetic energy and potential energy. Therefore, the result of the theorem introduced below, ’the mapping is constant’, means that the total energy does not change over time, in other words, the total energy is conserved.
Also, the theorem below tells us that n second-order ordinary differential equations (Euler-Lagrange equations about ) can be expressed as 2n first-order ordinary differential equations (Hamilton’s equations about and ). It goes without saying that solving first-order differential equations is easier than solving second-order differential equations no matter how many there are.
Theorem
Functions and satisfy Hamilton’s equations.
Furthermore, the mapping is a constant function.
Proof
Part 1.
Since is assumed to be a solution that satisfies , the following holds.
And let’s say . For each , is as follows by the chain rule.
However, because of the assumption , we have . Therefore, the first term and the second term in the above equation cancel out, resulting in the following.
Furthermore, if we solve for , it is as follows.
Now, if we solve for , it is as follows.
The second equality holds because of , the third because of the Euler-Lagrange equation, and the last one because of . Therefore, the following is obtained.
Furthermore, if we solve for , it is as follows.
Therefore, the following is obtained.
Hence, organizing results in the following.
Part 2. is independent of
The second equality holds according to .
■
Lawrence C. Evans, Partial Differential Equations (2nd Edition, 2010), p118-119 ↩︎