I'm looking at this isoperimetric problem with $$I = \int_{0}^a{y\sqrt{1+y'^2}}dx $$ subject to the constraint $$J = \int_{0}^a{y\sqrt{1+y'^2}}dx = l $$ Using Lagrange multipliers so $$I^* = I-\lambda J = \int_{0}^a{(y-\lambda)\sqrt{1+y'^2}}dx = min$$ $$y(0)=y(a)=0$$ And the book is saying that since $f^*=(y-\lambda)\sqrt{1+y'^2}$ doesn't contain any explicit x dependence, the Euler equation has the first integral $$\frac{y-\lambda}{\sqrt{1+y'^2}}=A$$
I'm not able to produce this result. The Euler equation is $\frac{\partial f}{\partial y}-\frac{d}{dx}(\frac{\partial f}{\partial y'})=0$, and integrating it should give $$\int{\left[\frac{\partial f}{\partial y}-\frac{d}{dx}\left(\frac{\partial f}{\partial y'}\right)\right]dx}=x\frac{\partial f}{\partial y}-\left(\frac{\partial f}{\partial y'}\right)=x\sqrt{1+y'^2}-\frac{(y-\lambda)(y')}{\sqrt{1+y'^2}}=A$$
Can somebody show me what I'm misunderstanding?