Let $X$ and $Y$ be uniform random variables where $0\leqslant x,y\leqslant 1$.
Let $\operatorname{sgn}(x)$ be $1$ when $x>0$, $−1$ when $x<0$ and $0$ when $x=0$. Find the distribution and density of $\operatorname{sgn}(x-1/2)+\operatorname{sgn}(y-1/2)$.
I have calculated the density of $\operatorname{sgn}(x-1/2)=\operatorname{sgn}(y-1/2)= f(z)=1/2$ when $z=1$ and $1/2$ when $z=-1$.
I feel $\operatorname{sgn}(x-1/2)+\operatorname{sgn}(y-1/2)=0$ but I'm not sure.
Any help or ideas would be appreciated. Thank you!