I would like to find a continuous function $y : [0,4] \to \mathbb{R}$ that minimizes the following functional
$$I (y) := \displaystyle\int_{0}^4\sqrt{y\left(1+(y^{\prime})^2\right)} dx$$
subject to the boundary conditions $y (0) = 5/4$ and $y (4) = 13/4$. How do I solve this minimization problem? I tried and tried, but I can't get rid of the $y^{\prime}$. Whatever I do, I still have a big ugly equation with $y$ and $y^{\prime}$, and even if I change it to $\frac{dy}{dx}$, it doesn't get any better. Anyone has an idea?
Let $$\int\sqrt{y\left(1+(y^{\prime})^2\right)}dx=I$$ Then, $$\left(\frac{dI}{dx} \right)^2={y\left(1+\left (\frac{dy}{dx} \right)^2\right)}$$So,$$\left(dI \right)^2=y\left(\left(dx \right)^2 + \left(dy \right)^2\right)=y\left(dx \right)^2 + y\left(dy \right)^2$$Therefore, $$\int\left(\int dI\right) dI=\int\left(\int y dx\right) dx+\int\left(\int y dy \right)dy$$This will eventually give you, $${I}=\int_0^4{yx}dx+\int_0^4 \frac{y^2}2dy+constant$$Therefore, $$I=8y+\frac{32}3+constant$$