Find all real differentiable functions $f$ that satisfy the following.
$$f(a)^2 = \int_0^a (f(x)^2 + f'(x)^2)dx + 1990 \forall a \in \mathbb{R}$$
The solution manual is found here.
Putting $y = f(x)$ and differentiating the relationship gives $2y y' = y^2 + y'^2$ or $(y - y')^2 = 0$. So $y = y'$ or $y = -y'$. Integrating, $y = Ae^x$ or $y = - Ae^x$. But $y(0) = \pm \sqrt{1990}$, so $f(x) = \pm \sqrt{1990}e^x$.
Wouldn't the differential linear differential equation $y'=-y$ yield a solution of $y=Ae^{-x}$ as opposed to $y=-Ae^x$? Additionally, I am unsure why the solution $y=-y'$ is even necessary.