I’ve seen two derivations of the catenary equation: one involving Lagrange multipliers and another using a balance of forces on a segment of the cable/rope. I’m trying to derive the catenary equation by minimizing the potential energy of the cable, which is: $$U=\mu g \int_{x_1}^{x_2}y(x) \sqrt{1...