# examples of functions whose arc-length from the origin is given by their derivative

I'm looking for functions $y:\mathbb{R}\rightarrow\mathbb{R}$ such that

$$\int_{0}^{a} \sqrt{1+\left(\frac{dy}{dx}\right)^{2}} dx = \frac{dy}{dx}\Bigg|_{a}$$

(this kind of feels like a calculus-of-variations type problem, but I don't have any experience with the calculus of variations)

-
Looks like a differential equations problem to me. Differentiate both side with respect to $a$. (Makes me uncomfortable, $a$ is usually a constant. Why not in the integral have $\frac{dy}{dt}$, and upper limit of integration $x$?) –  André Nicolas Feb 24 '12 at 1:44

The solutions are $y(x) = A + \cosh(x)$ for arbitrary constants $A$.