I am trying to minimize the function
$$\int_{0}^{1} y(t)\sqrt{1+(y'(t))^2} dt$$ under the constraints that $y(0)=y(1)=0$ and $\int_{0}^{1}\sqrt{1+(y'(t))^2} dt=2$. My intuition is can you not just set $y(t)=0$ and have the minimum be zero? I feel like there is something I am not understanding. Could someone help me out?