a) \(A=\left(x+4\right)^2+\left|y-5\right|-7\)
Ta thấy : \(\left(x+4\right)^2\ge0\)
\(\left|y-5\right|\ge0\)
\(\Rightarrow\left(x+4\right)^2+\left|y-5\right|-7\ge-7\)
Dấu " = " xảy ra \(\Leftrightarrow\hept{\begin{cases}\left(x+4\right)^2=0\\\left|y-5\right|=0\end{cases}}\)
\(\Leftrightarrow\hept{\begin{cases}x=-4\\y=5\end{cases}}\)
Vậy \(minA=-7\Leftrightarrow\hept{\begin{cases}x=-4\\y=5\end{cases}}\)
b) \(B=\left(x-4\right)^2+\left|y-5\right|+9\)
Ta thấy : \(\left(x-4\right)^2\ge0\)
\(\left|y-5\right|\ge0\)
\(\Rightarrow\left(x-4\right)^2+\left|y-5\right|+9\ge9\)
Dấu " = " xảy ra \(\Leftrightarrow\hept{\begin{cases}\left(x-4\right)^2=0\\\left|y-5\right|=0\end{cases}}\)
\(\Leftrightarrow\hept{\begin{cases}x=4\\y=5\end{cases}}\)
Vậy \(minB=9\Leftrightarrow\hept{\begin{cases}x=4\\y=5\end{cases}}\)