Tìm GTNN chứ nhỉ e
\(D=\left|2022-x\right|+\left|x-1\right|\ge\left|2022-x+x-1\right|=2021\)
Dấu "=" xảy ra \(\Leftrightarrow\left(2022-x\right)\left(x-1\right)\ge0\)
\(\Leftrightarrow1\le x\le2022\)
Vậy Min D=2021 \(\Leftrightarrow1\le x\le2022\)