I am studying limits, continuity and derivability and I have got a continuous function $f\colon \mathbb R \to \mathbb R$ such that $f''(x)= f(x)$. How do I find $f(x)$ from this information? This is the first time I have come across such a problem, that's the reason I am stuck.
I know that its obvious that it should be $e^x$, but what's the formal method of finding the function?
Trigonometric functions like sin or cos don't satisfy the relation.
Wolfram alpha gives the solution to be $f(x)= c_1e^x + c_2 e^{-x}$
You have the second order differential equation ;
$y'' = y \implies y''-y = 0$
The characteristic of the above is
$r^2-1 = 0 $
$r = \pm\sqrt1$
so the two roots are $r=1,-1$
Therefore the two solutions are ;
$y_1(x) = e^x$ and $y_2(x) = e^{-x}$
and now by the principle of superposition you can combine them to get a more general solution;
$y= c_1e^x+c_2e^{-x}$ $\qquad\qquad$ where $c_1,c_2$ are some real constants