Let $g:[a,b]\rightarrow \mathbb{R}$ two times differentiable such that $$g''(x)+g'(x)\,g(x)=g(x),~x\in [a,b]$$ and $g(a)=g(b)=0$. Prove that $g(x)=0$ for all $x\in [a,b].$
Attempt. It seemed like one of those exercises where multiplying be a suitable factor we get a derivative. I started by multiplying with $g$, after with $e^g$ but I dind't get what I expected. Am I on the wrong path?
Thanks in advance for the help!
Hint: Consider what the equation says when $x$ is a global maximum or global minimum of $g$.
A full answer is hidden below.