\(D=x^2-4x+5y^2+4y-2\)
\(D=\left(x^2-4x+4\right)+5\left(y^2+2y.\frac{2}{5}+\frac{4}{25}\right)-4-\frac{4}{5}-2\)
\(D=\left(x-2\right)^2+5\left(y+\frac{2}{5}\right)^2-\frac{34}{5}\)
Ta thấy: \(\left(x-2\right)^2\ge0\forall x;\)\(5\left(y+\frac{2}{5}\right)^2\ge0\forall y\)
\(\Rightarrow\left(x-2\right)^2+5\left(x+\frac{2}{5}\right)^2-\frac{34}{5}\ge-\frac{34}{5}\)\(\Rightarrow D\ge-\frac{34}{5}.\)
Vậy \(Min_D=-\frac{34}{5}.\)Dấu "=" xảy ra khi \(\hept{\begin{cases}x=2\\y=-\frac{2}{5}\end{cases}.}\)