2. \(A=\frac{x^2-2x+2011}{x^2}=1-\frac{2}{x}+\frac{2011}{x^2}=\left(\frac{2011}{x^2}-\frac{2}{x}+\frac{1}{2011}\right)+\frac{2000}{2011}=\left(\frac{\sqrt{2011}}{x}-\frac{1}{\sqrt{2011}}\right)^2+\frac{2000}{2011}\)
\(\Leftrightarrow A\ge\frac{2000}{2011}\Rightarrow MinA=\frac{2000}{2011}\Leftrightarrow\frac{\sqrt{2011}}{x}=\frac{1}{\sqrt{2011}}\Leftrightarrow x=2011\)