Let $f : \mathbb{R}\to\mathbb{R}$ be differentiable $\forall x \in \mathbb{R}$
Let $f'(x) = f(x) \;\forall x \in \mathbb{R}$
We are asked to find all the functions that satisfy the given constraints.
Here's my attempt at the solution:
Firstly I assume that $f(x) \neq 0 \; \forall x \in \mathbb{R}$. Then:
$$f'(x) = f(x) \implies {f'(x) \over f(x)} = 1 \space\space\forall x \in \mathbb{R}$$
As the latter is true $ \forall x \in \mathbb{R}$, integrating both sides of the equation over $\mathbb{R}$
$$\ln{|f(x)|} = x + c \;\; \forall x \in \mathbb{R}; \text{ where $c \in \mathbb{R}$ is the constant of integration}$$
which implies that
$$|f(x)| = e^{x+c} \; \forall x \in \mathbb{R}$$
Thus,
$$f(x) = \alpha e^{x} \space\space \forall x \in \mathbb{R}; \text{ where } \alpha \in \mathbb{R} \setminus \{0\}$$
So the set of functions $f:\mathbb{R} \to \mathbb{R}$ such that $f(x) = \alpha e^{x} \space\space \forall x \in \mathbb{R}$ where $\alpha \in \mathbb{R} \setminus \{0\}$ is a solution set of the given question.
However I came at this solution set under the assumption that $f(x) \neq 0 \; \forall x \in \mathbb{R}$, but $f(x)$ can be $0$ at some, or all, $x \in \mathbb{R}$
So I think there may be more solutions to the given question, but I'm at a loss as how to obtain those. I would appreciate any help in regards to this.
Thank you!
PS: Im still in High School so I would request keeping the calculus discussion not too beyond Calculus $1$ and Calculus $2$.
$f(x)$ is never $0$. Your solution is correct:$$f(x)=\alpha e^x$$ for all real numbers $x$ and all real numbers except $0$ for $\alpha$. Since $\alpha$ is never $0$, this means that for the function to be $0$, $e^x=0$. But, $e^x$ is never $0$, viz. $ln(0)$ doesn’t exist. For more on this, you might want to visit https://www.quora.com/Why-cant-e-x-0.