Let $f(x)=\frac{|x|}{1+|x|}$, the domain of $f$ is $\mathbb{R}$. Clearly, $f$ is even, and is nondecreasing in $[0,\infty)$ and is nonincresing in $(-\infty,0)$. It seems that $f(x)$ is convex, but I don't know how to prove it by definition. I also tried to prove convexity using convexity preserving operations, but failed.
Thanks in advance.