\(\dfrac{x^2-2x+2004}{x^2}=\dfrac{\dfrac{2003}{2004}x^2+\dfrac{1}{2004}x^2-2x+2004}{x^2}=\dfrac{2003}{2004}+\dfrac{\dfrac{1}{2004}\left(x^2-2.2004+2004^2\right)}{x^2}=\dfrac{2003}{2004}+\dfrac{\dfrac{1}{2004}\left(x-2004\right)^2}{x^2}\ge\dfrac{2003}{2004}\)
\("="\Leftrightarrow x=2004\)