\(A=\frac{x^2-2x+2007}{2007x^2}\left(x\ne0\right)\\A=\frac{x^2}{2007x^2}-\frac{2x}{2007x^2}-\frac{2007}{2007x^2}\\ A=\frac{1}{2007}-\frac{2}{2007}-\frac{1}{x^2}\\ A=\left(\frac{1}{x}\right)^2-2.\frac{1}{x}.\frac{1}{2007}+\left(\frac{1}{2007}\right)^2+\frac{1}{2007}-\left(\frac{1}{2007}\right)^2\\ A=\left(\frac{1}{x}-\frac{1}{2007}\right)^2+\frac{2006}{2007^2}\)
Để \(\frac{x^2-2x+2007}{2007x^2}\)nhỏ nhất thì \(\frac{1}{x}-\frac{1}{2007}=0\\ \Rightarrow\frac{1}{x}-\frac{1}{2007}=0\\ \Rightarrow x=2017\)
Vậy x=2017