Let’s call the distance to the central axis , the radius of the wheel , its moment of inertia and its mass . If the wheel rotates with angular speed , the linear speed of its center of mass will have to be to avoid slipping. The potential energy will be constant and can be set to 0, while the kinetic energy can be split in two parts:
The Lagrangian will be
so is a cyclic coordinate and .