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+y’(x)^2} \, \text{d}x,$$
where $\mu$ is the linear mass density of the cable and $y(x)$ is the (catenary) function we are looking for.
The next step is invoking the Euler-Lagrange equation, $$\frac{\partial f}{\partial y}-\frac{d}{dx}\frac{\partial f}{\partial y’}=0$$ where $$f(y,y’,x)= y(x) \sqrt{1+y’(x)^2}.$$ Doing this and simplifying a bit, we are left with the differential equation
$$y y’’=1+y’^2.$$
BUT the correct differential equation for the catenary is $y’’= a \sqrt{1+y’^2}$, with $a$ being some constant.
I am going crazy trying to figure out where my mistake is. In fact I went to a textbook that I believe uses the same differential equation I have (picture below). Unfortunately the book does not include all the steps in going from the differential equation to the catenary function $y(x)$.
Any comment is kindly appreciated.
