đk: \(\left\{{}\begin{matrix}x\ge-1\\y\ge-2\end{matrix}\right.\)
TheoBĐT Bunhiacopxki ,ta có: \(x-3\sqrt{x+1}=3\sqrt{y+2}-y\)
\(\Rightarrow\left(x+y\right)^2-9\left(\sqrt{x+1}+\sqrt{y+2}\right)^2\le9.2\left(x+y+3\right)\)
\(\Leftrightarrow\left(x+y\right)^2-18\left(x+y\right)-54\le0\)
\(\Rightarrow x+y\le9+3\sqrt{15}\Rightarrow P\le9+3\sqrt{15}\)
Dấu '=' xảy ra khi \(\left\{{}\begin{matrix}x+y=9+3\sqrt{15}\\\sqrt{x+1}=\sqrt{y+2}\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=\dfrac{10+3\sqrt{15}}{2}\\y=\dfrac{8+3\sqrt{15}}{2}\end{matrix}\right.\)
Vậy Max P = \(9+3\sqrt{15}\Leftrightarrow\left\{{}\begin{matrix}x=\dfrac{10+3\sqrt{15}}{2}\\y=\dfrac{8+3\sqrt{15}}{2}\end{matrix}\right.\)
===> Chọn D