d= x2 + 5y2 + 2xy - 2y + 2005
d= x2 + 2xy + y2 + 4y2 - 2y + \(\frac{1}{4}+\)
d= ( x+ y )2 + ( 2y - \(\frac{1}{2}\))2 + \(\frac{8019}{4}\)\(\ge\)\(\frac{8019}{4}\)
dmin= \(\frac{8019}{4}khi\hept{\begin{cases}y=\frac{1}{4}\\x=-y=\frac{-1}{4}\end{cases}}\)