\(x+2y\ge\frac{3y^2}{x}\Leftrightarrow x^2+2xy-3y^2\ge0\)
\(\Leftrightarrow\left(x-y\right)\left(x+3y\right)\ge0\Leftrightarrow x-y\ge0\)
\(\Leftrightarrow x\ge y\)
\(P=\frac{2x-y}{x+y}\ge\frac{x}{x+y}\ge\frac{x}{2x}=\frac{1}{2}\)
Dấu "=" xảy ra khi \(x=y\)