1.
Đặt \(x+y=a\Rightarrow y=a-x\)
\(\Rightarrow x^2+2x\left(a-x\right)-14\left(a-x\right)-10x+3\left(a-x\right)^2+27=0\)
\(\Leftrightarrow2x^2-4\left(a+1\right)x+3a^2-10a+27=0\)
\(\Delta'=4\left(a+1\right)^2-2\left(3a^2-10a+27\right)\ge0\)
\(\Leftrightarrow-a^2+14a-25\ge0\)
\(\Rightarrow7-2\sqrt{6}\le a\le7+2\sqrt{6}\)
\(\Rightarrow-10-2\sqrt{6}\le P\le-10+2\sqrt{6}\)
2. Chắc đề là \(a;b>0\) (đảm bảo mẫu dương) chứ ko phải \(a.b>4\)
\(M\ge\dfrac{\left(a+b\right)^2}{a+b-8}=\dfrac{\left(a+b-8+8\right)^2}{a+b-8}=\dfrac{\left(a+b-8\right)^2+16\left(a+b-8\right)+64}{a+b-8}\)
\(M\ge a+b-8+\dfrac{64}{a+b-8}+16\ge2\sqrt{\dfrac{64\left(a+b-8\right)}{a+b-8}}+16=32\)
Dấu "=" xảy ra khi \(a=b=8\)