Two identical planar simple pendulums of length and bob mass , with pivots separated horizontally by , are coupled by a straight spring of natural length and spring constant . In the ideal model without contact restrictions, their configuration space is the torus . Measure both angles from the downward vertical towards the same horizontal direction. Their bob separation is
The exact Lagrangian is the expression in the title. To derive it, use bob positions and . Kinetic energy from Cartesian position vectors gives . Gravitational potential energy is and spring potential energy is ; subtracting these from proves the formula. Near the downward equilibrium, for fixed , giving the familiar normal modes of two spring-coupled equal pendulums.
Each simple pendulum moves in the vertical plane containing the pivots. Ignoring contact between the ideal rods and point masses, each rod can turn through a full circle. Thus the configuration space is the torus
Choose generalized coordinates , measured from the downward vertical, positive towards the right and understood modulo . These angles are local coordinates on the torus, rather than a single globally one-to-one real coordinate chart. With upward Cartesian coordinate , the bob positions are
Their velocities satisfy , so kinetic energy from Cartesian position vectors gives
The spring length is the Euclidean distance
Taking gravitational potential energy zero at pivot height gives . The spring potential energy is , since is its natural length. Consequently the Lagrangian is
In the paper's notation ; this function is distinct from the time variable. This is the exact Lagrangian of two spring-coupled pendulums.
One alternative Lagrangian is
It corresponds to setting gravitational potential energy zero at the downward position. The constant disappears from every Euler-Lagrange equation. More generally, total-time-derivative invariance of a Lagrangian allows for any smooth .
Use the downward direction of the PDF diagram. The bob's Cartesian coordinates are
Thus
The hinge and rod are massless, so only the bob contributes kinetic energy:
Because gravity points along positive , its gravitational potential energy is . The zero-rest-length spring has elastic potential energy . Put and divide by the positive constant . The equivalent Lagrangian is
Multiplying the action by a nonzero constant leaves its stationary paths unchanged. This derivation is a direct use of kinetic energy from Cartesian position vectors; no independent kinetic term should be assigned to the massless support.