\(A=|x-2018|-|x-2017|\)
\(A\le|\left(x-2018\right)-\left(x-2017\right)|\)
\(A\le|-1|\)
\(A\le1\)
Dấu "=" xảy ra khi x - 2018 và x - 2017 cùng dấu và \(|x-2018\ge|x-2017|\)
TH1: \(\left\{{}\begin{matrix}x-2018\ge0\\x-2017\ge0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x\ge2018\\x\ge2017\end{matrix}\right.\Rightarrow x\ge2018\)
TH2: \(\left\{{}\begin{matrix}x-2018< 0\\x-2017< 0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x< 2018\\x< 2017\end{matrix}\right.\Rightarrow x< 2017\)
Vậy Amin = 1 khi \(x\ge2018\) hoặc \(x< 2017\)