Functions with the same derivatives
Besides, $f(x)=e^x$, what other non-zero functions are the same as their derivatives no matter how many times the derivative is taken?
Functions with the same derivatives
Besides, $f(x)=e^x$, what other non-zero functions are the same as their derivatives no matter how many times the derivative is taken?
If $f:\mathbb{R}\to\mathbb{R}$ satisfies $f'(x)=f(x)$ for all $x\in\mathbb{R}$ then $f(x)=Ae^{x}$.
To see this suppose $g$ is such a function. Then take $h(x)=g(x)e^{-x}$. Then
$h'(x)=g'(x)e^{-x}-g(x)e^{-x}=g(x)e^{-x}-g(x)e^{-x}=0$. So $h$ is constant.
So $g(x)=Ae^{x}$ for some real constant $A$. So after requiring the function to satisfy this for the first derivative it is already determined. Further derivatives don't matter.
It was noted by kahen that if we allow the function to be defined on an open domain $A\subset\mathbb{R}$ which has more than one connected component then the function is locally of the form $Ce^{x}$ (where the constants may differ from component to component). This can be seen by applying the proof to each of the connected components. Recall that if $f'(x)=0$ for all $x\in B$ and $B\subset\mathbb{R}$ is open and connected then $f=C$ on $B$ where $C$ is a real constant.
You can see $A e^x$ is the only such function by looking at the power series. Assume $g(x)$ is such a function with $g(x)=g'(x)=g''(x)=\ldots$. Then since $g(x)$ has infinite derivatives it also has a power series: $$g(x) = A + a_1 x + a_2 x^2 + \ldots = g'(x) = a_1 + 2a_2 x + 3 a_3 x^2+\ldots$$ $$\to \quad A = a_1 =2!a_2 = 3!a_3 = \ldots n!a_n$$ So we have: $$g(x) = A\left( 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \ldots\right)=Ae^x$$ Thus proving $A e^x$ is the only such function.
As user71352's very nice answer shows, $e^{x}$ is the unique function that does this, up to rescaling. A similar function is
$$f(x) = \sin{x}$$
which satisfies $f^{(4)} = f$. The cosine function also does this.