Đk: \(x\ge2;y\ge-1;0< x+y\le9\)
Ta có: \(\sqrt{2x-4}+\frac{1}{\sqrt{2}}\sqrt{2(y+1)}\leq\sqrt{3(x+y-1)}\)
Từ giả thiết suy ra
\(x+y-1=\sqrt{2x-4}+\sqrt{y+1}\Rightarrow x+y-1\leq\sqrt{3(x+y-1)}\)
Vậy \(1\leq(x+y)\leq4\). Đặt \(\left\{\begin{matrix}t=x+y\\t\in\left[1;4\right]\end{matrix}\right.\) ta có:
\(P=t^2-\sqrt{9-t}+\frac{1}{\sqrt{t}}\)
\(P'\left(t\right)=2t+\frac{1}{2\sqrt{9-t}}-\frac{1}{2t\sqrt{t}}>0\forall t\in\left[1;4\right]\)
Vậy \(P\left(t\right)\) đồng biến trên \([1;4]\)
Suy ra \(P_{max}=P\left(4\right)=4^2-\sqrt{9-4}+\frac{1}{\sqrt{4}}=\frac{33-2\sqrt{5}}{2}\) khi \(\left\{\begin{matrix}x=4\\y=0\end{matrix}\right.\)
\(P_{min}=P\left(1\right)=2-2\sqrt{2}\) khi \(\left\{\begin{matrix}x=2\\y=-1\end{matrix}\right.\)