Ta có: \(\left|x-1\right|\le2\)
\(\Rightarrow\)\(\left|x-1\right|=0\)
\(\left|x-1\right|=1\)
\(\left|x-1\right|=2\)
\(\Rightarrow\)\(x-1=0\)
\(x-1=-1\)
\(x-1=1\)
\(x-1=-2\)
\(x-1=2\)
\(\Rightarrow\)\(x=1\)
\(x=0\)
\(x=2\)
\(x=-1\)
\(x=3\)
\(\left|x-1\right|\le2\)
\(\Rightarrow-2\le x-1\le2\)
\(\Rightarrow-2+1\le x-1+1\le2+1\)
\(\Rightarrow-1\le x\le3\)
=> x = {-1 ; 0 ; 1 ; 2 ; 3}