Lời giải:
\(|x-2019|-|x-1|=0\)
\(\Leftrightarrow |x-2019|=|x-1|\)
\(\Rightarrow \left[\begin{matrix} x-2019=x-1\\ x-2019=-(x-1)=1-x\end{matrix}\right.\Leftrightarrow \left[\begin{matrix} 2019=1(\text{vô lý})\\ x=1010\end{matrix}\right.\)
Vậy $x=1010$