ĐKXĐ: x ; y > -6
Ta có :\(x-\sqrt{y+6}=\sqrt{x+6}-y\)
\(\Rightarrow x+y=\sqrt{x+6}+\sqrt{y+6}\)
\(\Leftrightarrow P=\sqrt{x+6}+\sqrt{y+6}\left(\text{ }Do\text{ }VP\ge0\text{ }nen\text{ }P\ge0,dau\text{ }\text{ }\text{ }\text{ }"="khi\text{ }x=y=-6\right)\)
\(\Rightarrow P^2=x+y+12+2\sqrt{\left(x+6\right)\left(y+6\right)}\le P+12+x+y+12\)
\(\Leftrightarrow P^2\le2P+24\)
\(\Leftrightarrow P^2-2P-24\le0\)
\(\Leftrightarrow-4\le P\le6\)
Nên Pmax = 6 khi... (Tự làm nhé)
Pmin = 0 khi x = y = -6