Let $\mathcal{A}$ be the set of continuously differentiable functions at the interval $[a,b]$. Let $J$ be the functional
$$J(y)=\int_a^b \sqrt{1+y'(x)^2}dx$$
Find $\min_{y \in \mathcal{A}} J(y)$, if it exists.
I have tried the following:
$$J'(y)=\int_a^b \frac{\partial}{\partial{y}}(\sqrt{1+y'(x)^2})dx=\int_a^b \frac{y'(x)y''(x)}{\sqrt{1+y'(x)}}dx$$
Is it right so far? If so, how could we continue?