Ta có:
\(\frac{x}{x+1}=1-\frac{1}{x+1}\)
\(\frac{y}{y+1}=1-\frac{y}{y+1}\)
\(\frac{z}{z+4}=1-\frac{4}{z+4}\)
\(\Rightarrow\frac{x}{x+1}+\frac{y}{y+1}+\frac{z}{z+4}=3-\left(\frac{1}{x+1}+\frac{1}{y+1}+\frac{4}{z+4}\right)\)
\(\le\left[3-\left(\frac{4}{x+y+2}+\frac{4}{z+4}\right)\right]\le\left(3-\frac{16}{x+y+z+6}\right)=3-\frac{16}{6}=\frac{1}{3}\)