Prove that $e^x \le \dfrac{1}{1-x}, x\lt 1.$
I find that if we set $f(x)=e^x(1-x)$ then $f(0)=1 $ and $f'(x)<0, x\in(0,1]$ proving the inequality for $x\in[0,1]$ but I don't see how to prove it for $x\in(-\infty,0)$. The derivative $f'(x)\gt0 $ in that interval ... would $f(0)=0$ in addition to that be sufficient to prove it for $x\in(-\infty,0)$?
If that doesn't work, could we use something like mean value theorem or simliar to prove it!