Ta có: \(\left\{{}\begin{matrix}\left|x-2017\right|\ge0\\\left|y-1\right|\ge0\end{matrix}\right.\Rightarrow\left|x-2017\right|+\left|y-1\right|\ge0\)
\(\Rightarrow B=\left|x-2017\right|+\left|y-1\right|+5\ge5\)
Dấu " = " khi \(\left\{{}\begin{matrix}x-2017=0\\y-1=0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=2017\\y=1\end{matrix}\right.\)
Vậy \(MIN_B=5\) khi x = 2017, y = 1