Ta có:
\(\sqrt{x^2-2018x+2018}+\sqrt{x^2-1009x+1009}=2x\)
\(\Leftrightarrow x-\sqrt{\left(2018x-2018\right)}+x-\sqrt{\left(1009x-1009\right)}=2x\)
\(\Leftrightarrow2x-\sqrt{\left(2018x-2018\right)}-\sqrt{\left(1009x-1009\right)}=2x\)
\(\Leftrightarrow\sqrt{\left(2018x\right)-2018}+\sqrt{\left(1009x-1009\right)}=0\)
\(\Leftrightarrow\sqrt{\left(2018x-2018\right)}=\sqrt{\left(1009x-1009\right)}=0\)
\(\Leftrightarrow2018x-2018=1009x-1009=0\Leftrightarrow x=1\)