When the block is free, becomes a dynamical generalized coordinate and its kinetic energy must be included. Expanding to quadratic order about the downward stationary state and dropping a constant gives
The coordinate is cyclic. Its conserved canonical momentum is the total horizontal momentum,
The two linear Euler-Lagrange equations are
Eliminating gives
Thus the pendulum with a freely sliding support has a zero-frequency translational mode and an oscillatory mode. With four independent constants , the general solution is
Here and is the horizontal centre of mass coordinate to first order, since . The oscillation is faster than that of a pendulum with a fixed pivot; the limit restores .
The time-independent Lagrangian conserves . Substitute into the kinetic energy to obtain
This is the angle-dependent effective inertia of a pendulum with a freely sliding support. Solving for the speed gives
On a monotone increasing segment, the travel time is therefore
The printed oriented integral assumes that increasing-angle branch. For decreasing motion use or interchange the limits; if a turning point lies between the two events, split the trajectory into monotone segments and add their positive times. The numerator remains positive for positive masses. At an ordinary turning point the inverse-square-root singularity is integrable; reaching the unstable upright separatrix takes infinite time.