\(x\left(x-z\right)+y\left(y-z\right)=0\)\(\Leftrightarrow\)\(x^2+y^2=z\left(x+y\right)\)
\(\frac{x^3}{z^2+x^2}=x-\frac{z^2x}{z^2+x^2}\ge x-\frac{z^2x}{2zx}=x-\frac{z}{2}\)
\(\frac{y^3}{y^2+z^2}=y-\frac{yz^2}{y^2+z^2}\ge y-\frac{yz^2}{2yz}=y-\frac{z}{2}\)
\(\frac{x^2+y^2+4}{x+y}=\frac{z\left(x+y\right)+4}{x+y}=z-x-y+\frac{4}{x+y}+x+y\ge z-x-y+4\)
Cộng lại ra minP=4, dấu "=" xảy ra khi \(x=y=z=1\)