Define $f:\mathbb R_+ \to \mathbb R$ by $f(x) := e^{x^2/2}-x$. I would like to prove that $f(x) \ge 0$ for all $x \ge 0$.
- Could you have a check on my attempt?
- Are there other (more direct) approaches?
We have $f'(x) = xe^{x^2/2}-1$. Then $f'(0)=-1$ and $f'$ is strictly increasing. So there is a unique $x_0 \ge 0$ such that $f'(x_0)=0$. Clearly, $f$ attains its minimum at $x_0$. So it suffices to prove $f(x_0) \ge 0$. We have $f'(x_0)=0 \iff e^{x_0^2/2} = 1/x_0$. Then $$ f(x_0) = \frac{1}{x_0} - x_0. $$
Because $f'(1) \approx 0.65>0$, we get $x_0 < 1$. Then $f(x_0) >0$. This completes the proof.
Your approach is good, but it does not explain how you got $f'(1)\approx0.65$. You only want to show that $x_0<1$, for which it suffices to show that $f'(1)>0$ and this is quite clear from the fact that $$f'(1)=1\cdot e^{1^2/2}-1=\sqrt{e}-1.$$ Apart from this your proof seems very complete. You could mention explicitly that $f'$ is strictly increasing because the domain of $f'$ is $\Bbb{R}_{+}$.