I have the following function and I am looking to prove it is non-negative.
$f(s,x)=\ln\frac{s + x}{x} - \frac{s}{(s + x)}$, for $x$ and $s$ are both positive.
To prove $f(s,x) \geq 0 $
I tried some numerical values. It shows that the minimum value is $0$.
But I don't know how I can prove it is non-negative.
Thanks!
Denote: $\frac sx=t\ge 0$. Then: $$f(s,x)=\ln\frac{s + x}{x} - \frac{s}{(s + x)}=\ln \left(\frac{s}{x}+1\right)-\frac{1}{1+\frac xs}\\ f(t)=\ln(t+1)-\frac{1}{1+\frac 1t}=\ln (t+1)-\frac{t}{1+t}.$$ Note: $$f(0)=0\\ f'(t)=\frac{1}{1+t}-\frac{1}{(1+t)^2}=\frac{t}{(1+t)^2}>0,t>0$$ So, $f(t)$ is increasing at $t>0$ and $f(0)=0$ is the minimum.