Suppose $f:[0,1] \rightarrow \mathbb{R}$ is twice differentiable and $f = f''$, $f(0) = f(1) = 0$.
Show that $f$ is constant.
The main approach we are taught to use at these kind of problems is using Rolle's theorem/MVT. I am not sure how this this idea can be applied here and moreover I struggle to relate it to the condition $f = f''$.
I hope to get an idea about it, thanks
As $f$ is continuous, $|f|$ attains a maximum somewhere. If $f$ is not constant, it must happen at some $c\in(0,1)$.
WLOG, let's say $f(c)>0$ (otherwise consider $-f$). Then, $c$ is a maximum of $f$. But $f''(c)=f(c)>0$. As $f$ is continuous, $f''$ is too and thus near $c$ $f''$ is positive, that is, $f'$ is strictly increasing.
As $f'(c)=0$ being a maximum, $f'(x)>0$ for $x$ to the right of $c$ (sufficiently close to $c$).
Then, $f$ increases and $c$ cannot be a maximum.