For canonical position and momentum coordinates , Hamilton's equations are
By the multivariable chain rule and Hamilton's equations,
The sum is the Poisson bracket , giving
If is measured in the rotating frame, its inertial velocity is . The masses producing the gravitational field are stationary in this frame, so their potential energy is a time-independent function . Thus kinetic minus potential energy gives the stated Lagrangian
Put . Then
Substitution in the Euler-Lagrange equation yields
The extra terms are the Coriolis acceleration, Euler acceleration, and centrifugal acceleration of a rotating reference frame.
The canonical momentum and Hamiltonian are
Accordingly, Hamilton's equations are
The repulsive force is , so the Hamiltonian is
The Hamilton's equations give and . Consequently
so the angular momentum is conserved. Moreover,
It follows that the Laplace-Runge-Lenz vector is conserved. By the Hamiltonian conservation law, these time derivatives are exactly and , so both Poisson brackets vanish.
The integrals of motion are the energy , the components of , and the components of , subject to
Taking the dot product of with gives
Therefore the polar equation of a repulsive inverse-square orbit is
where and . For a nonradial physical scattering orbit , the identity above gives , as expected for a hyperbolic Kepler orbit.
For a regular Lagrangian, define the canonical momentum and invert this relation for . Its Legendre transform is the Hamiltonian
Since , the action is
For independent variations with ,
Stationarity for arbitrary and gives Hamilton's equations and .
For , Hamilton's equations give
Thus and . The Poisson bracket is , so the transformation is canonical for every . A type-2 generator is
Indeed , , and the transformed Hamiltonian is , as expected because are constants of motion.
Hamilton's equations give and , hence . The phase-space energy curve is an ellipse. Its action variable is
Thus .
Order the phase-space coordinates as
Then Hamilton's equations are
The Poisson bracket is
For with Jacobian , the chain rule gives
This has Hamiltonian form with the same canonical matrix for every exactly when
Taking determinants gives ; the symplectic condition fixes the orientation, so . Hence the change-of-variables formula shows that the phase-space volume element is invariant. This is Liouville theorem in Hamiltonian mechanics.
A transformation of phase space is canonical when it preserves the symplectic form, or equivalently all Poisson brackets. For one degree of freedom this is
equivalently .
Suppose a type-two generating function for a canonical transformation defines
Then
Equality of the mixed partial derivatives gives , so the transformation is canonical wherever it is locally invertible.
For
the fundamental theorem of calculus and differentiation under the integral sign give
Thus
and in particular .
For the unit-frequency simple harmonic motion, the transformed Hamiltonian is simply . Hamilton's equations become
Therefore
and transformation back gives the familiar solution
Now consider the weak quartic oscillator
Choose the modified generating function
It gives
so the transformed Hamiltonian is again . Hence and . Expanding the square root with the Taylor series gives
Differentiation with respect to therefore yields
where
Set and
Writing and expanding the inverse sine relation at gives
Expanding similarly gives
Consequently
Since , this is the required expression. The formula is understood away from turning points where and the ratio itself is singular.
Let solve the trapped stationary equation in the question and use
Writing , the harmonic potential splits as . Matching the coefficient of and then the linear and constant coefficients of gives
Thus the soliton center obeys . These are exactly Hamilton's equations for the classical Hamiltonian
with , while the extra phase evolves by plus the classical Lagrangian .
Phase-space action Created 2026-10-05 Updated 2026-10-06
A phase-space action treats canonical variables as independent fields. Varying them gives Hamilton's equations; Lagrange multipliers can impose constraints.
Regular Lagrangian 2026-10-06
A Lagrangian is regular when its velocity Hessian matrix is invertible. The inverse function theorem then makes the fiber derivative locally invertible, allowing a local Legendre transform in mechanics to a Hamiltonian. If that fiber derivative is globally invertible, the Lagrangian is called a hyperregular Lagrangian. Regularity alone does not assert global invertibility, and singular Lagrangians may give constrained rather than ordinary unconstrained Hamilton's equations.