If $a,b\in R$ are distinct numbers satisfying $|a-1|+|b-1|=|a|+|b|=|a+1|+|b+1|$,then find the minimum value of $|a-b|$
I squared both sides of $|a-1|+|b-1|=|a|+|b|$ and $|a|+|b|=|a+1|+|b+1|$ and equated them but the equation obtained is messy and i am stuck.Please help.


Go through the cases. W.l.o.g. let $a \ge b$.
$a>1$ and $b>1$ gives $a+b-2= a+b =a+b+2$ which is impossible.
$a<-1$ and $b<-1$: same as case 1
$a>1$ and $1>b>0$ gives $a-b= a+b =a+b+2$ which is impossible.
$a>1$ and $0>b>-1$ gives $a-b= a-b =a+b+2$ which is impossible.
$a\ge1$ and $-1\ge b$ gives $a-b= a-b =a-b$ which is the first possible case. Indeed all numbers satisfying this condition are possible, so the minimum value is $|a-b| = 2$.
The other cases are again impossible.