\(\left|x-1\right|+\left|1-x\right|=4-x\)
\(\Rightarrow2\left|x-1\right|=4-x\) (1)
+) Nếu x \(\ge\) 1 thì từ (1) suy ra: \(2\left(x-1\right)=4-x\)
\(\Rightarrow2x-2=4-x\)
\(\Rightarrow3x=6\)
\(\Rightarrow x=2\left(t/m\right)\)
+) Nếu x < 1 thì từ (1) suy ra: \(2\left(1-x\right)=4-x\)
\(\Rightarrow2-2x=4-x\)
\(\Rightarrow x=-2\left(t/m\right)\)
Vậy x = \(\pm\) 2