Ta có:
\(\frac{m}{n}+2017=\frac{n}{m}+2017\Rightarrow\frac{m}{n}=\frac{n}{m}\Rightarrow m^2=n^2\)
TH1: \(m=n\)
\(\Rightarrow x=1+2017=2018\)
TH2: \(-m=n\)
\(\Rightarrow x=-1+2017=2016\)
Vậy \(\left[{}\begin{matrix}x=2018\\x=2016\end{matrix}\right.\)