1/
a, \(x^2-6x+10=x^2-6x+9+1=\left(x-3\right)^2+1\ge1>0\)
b,\(4x-x^2-5=-\left(x^2-4x+4\right)-1=-\left(x-2\right)^2-1\le-1< 0\)
2/
a, \(P=x^2-2x+5=x^2-2x+1+4=\left(x-1\right)^2+4\ge4\)
Dấu "=" xảy ra khi x-1=0 <=> x=1
Vậy Pmax = 4 khi x = 1
b, \(M=x^2+y^2-x+6y+10=\left(x^2-x+\dfrac{1}{4}\right)^2+\left(y^2+6y+9\right)+\dfrac{3}{4}=\left(x-\dfrac{1}{2}\right)^2+\left(y+3\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\)
Dấu "=" xảy ra khi \(\left\{{}\begin{matrix}x-\dfrac{1}{2}=0\\y+3=0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=\dfrac{1}{2}\\y=-3\end{matrix}\right.\)
Vậy Mmax = 3/4 khi x = 1/2, y = -3