For |x-1|x+2<1, x lies in the interval
(1)
Case I: |x-1|=x-1, x≥1
∴ |x-1|x+2<1⇒x-1x+2<1⇒x-1x+2-1<0⇒-3x+2<0
⇒ 3x+2>0 which is possible when x>-2
But it is true for x≥1, so common solution is x≥1 or x∈[1,∞) ...(i)
Case II: |x-1|=-x+1, x<1
∴ |x-1|x+2<1⇒-x+1x+2<1⇒x-1x+2+1>0⇒2x+1x+2>0
⇒ x<-2 or x>-12
But x<1, so x∈(-∞,-2)∪(-12,1) ...(ii)
∴ From (i) and (ii), x lies in the interval
(-∞,-2)∪(-12,1)∪[1,∞) or x∈(-∞,-2)∪(-12,∞)