\(A=\left|x-2018\right|-\left|x-2017\right|\le\left|x-2018-x+2017\right|=\left|-1\right|=1\)
Dấu "=" xảy ra <=> (x-2018)(x-2017) > 0
<=> \(\left[{}\begin{matrix}x>2018\\x< 2017\end{matrix}\right.\)
Vậy MaxA = 1 <=> \(\left[{}\begin{matrix}x>2018\\x< 2017\end{matrix}\right.\)
A = | x − 2018 | − | x − 2017 | ≤ | x − 2018 − x + 2017 | = | − 1 | = 1 Dấu "=" xảy ra <=> (x-2018)(x-2017) > 0 <=> [ x > 2018 x < 2017 Vậy MaxA = 1 <=> [ x > 2018 x < 2017