\(\left(x^2+9\right)+\left(y^2+9\right)+3\left(x^2+y^2\right)\ge6x+6y+6xy=90\)
\(\Rightarrow4\left(x^2+y^2\right)+18\ge90\)
\(\Rightarrow x^2+y^2\ge18\)
\(P_{min}=18\) khi \(x=y=3\)
\(x+y+xy=15\Rightarrow\left\{{}\begin{matrix}x\le15\\y\le15\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x\left(x-15\right)\le0\\y\left(y-15\right)\le0\end{matrix}\right.\)
\(\Rightarrow x^2+y^2\le15x+15y\) (1)
Cũng từ đó ta có: \(\left(x-15\right)\left(y-15\right)\ge0\Rightarrow xy\ge15x+15y-225\)
\(\Rightarrow16x+16y-225\le x+y+xy=15\)
\(\Rightarrow x+y\le15\) (2)
(1);(2) \(\Rightarrow x^2+y^2\le15.15=225\)
\(P_{max}=225\) khi \(\left(x;y\right)=\left(0;15\right);\left(15;0\right)\)