\(M=1-\dfrac{2}{a}+\dfrac{2008}{a^2}=2008\left(\dfrac{1}{a^2}-2.\dfrac{1}{a}.\dfrac{1}{2008}+\dfrac{1}{2008^2}\right)+\dfrac{2007}{2008}\)
\(M=2008\left(\dfrac{1}{a}-\dfrac{1}{2008}\right)^2+\dfrac{2007}{2008}\ge\dfrac{2007}{2008}\)
\(\Rightarrow M_{min}=\dfrac{2007}{2008}\) khi \(\dfrac{1}{a}-\dfrac{1}{2008}=0\Rightarrow a=2008\)