Sửa đề: \(M=\sqrt{1^2+2017^2+\dfrac{2017^2}{2018^2}}+\dfrac{2017}{2018}\)
\(=\sqrt{1^2+\dfrac{1}{\left(\dfrac{1}{2017}\right)^2}+\dfrac{1}{\left(-\dfrac{2018}{2017}\right)^2}}+\dfrac{2017}{2018}\)
\(=\sqrt{\left(\dfrac{1}{1}+\dfrac{1}{\dfrac{1}{2017}}+\dfrac{1}{-\dfrac{2018}{2017}}\right)^2}+\dfrac{2017}{2018}\)
\(=1+2017-\dfrac{2017}{2018}+\dfrac{2017}{2018}\)
=2018