Let $x,y,z>0$ and $x+y+z=3$. Find the maximum of $S=\sum_{cyc}\frac{xy}{(x+2y)^2}.$
From $0\leq(\sqrt x-\sqrt{2y})^2$ we have $\frac{\sqrt{xy}}{x+2y}\leq\frac1{2\sqrt2}$ and hence $\frac{xy}{(x+2y)^2}\leq\frac18$. So we have $S\leq\frac38$. But, I suspect that $\frac13$ is the maximum of $S$ not $\frac38$.
Can you find the maximum of $S$? Thanks in advance.
For $x=y=z=1$ we obtain a value $\frac{1}{3}$.
We'll prove that it's a maximal value.
Indeed, we need to prove that: $$\sum_{cyc}\frac{xy}{(x+2y)^2}\leq\frac{1}{3}$$ or $$\sum_{cyc}(4x^4y^2+16x^4z^2+4x^3y^3+4x^4yz-31x^3y^2z+8x^3z^2y-5x^2y^2z^2)\geq0,$$ which is true by AM-GM.
For example, $$\sum_{cyc}(4x^4y^2+4x^2y^2z^2)\geq8\sum_{cyc}x^3y^2z,$$$$\sum_{cyc}x^4z^2\geq\sum_{cyc}x^3y^2z,$$ $$\sum_{cyc}x^4yz\geq\sum_{cyc}x^3y^2z,$$$$\sum_{cyc}x^3y^3\geq\sum_{cyc}x^3y^2z$$ and $$\sum_{cyc}x^3z^2y\geq\sum_{cyc}x^2y^2z^2.$$