Enforce the fixed arc length with a multiplier. Apart from an irrelevant common factor, the augmented integrand is
The Beltrami identity gives
After absorbing constants into and a positive scale , integration yields the catenary
The endpoint conditions and prescribed length give
The second equation determines implicitly because , and the first then determines .