Some days ago another user posted a question which was something like this:
$$ A \sim U(0,4)$$ $$B \sim U(0,6)$$ $$A - B \sim U(-4,4)$$
The question was originally to find the distribution of A conditional on B. Immediately two famous users of the community spotted a problem and commented that it was impossible, then providing a hint (if I remember correctly) something like "Write $A = (A-B)+B$". Which today I still do not understand. I found proofs (actually one of these famous users posted some years ago the proof) which claimed that the difference of two iid variables will never yield a uniform distribution, but what about the conditional case? How do we know which distribution is possible and which one is not? If we have $B \sim U(0,4)$, is it now possible?
As part of my journey trying to understand why it was not possible, I tried to replicate the problem, but with discrete scenarios (My technical background is unfortunately not adept to the continuous case...).
In my mind, I am trying to find a joint probability mass where each difference have the same probability of occurrence, and the marginal distributions as well. In plain words, each diagonal sum the same, each row sum the same, each column sum the same.
First with a 3x3 matrix. We can get something like (it should be normalized to 15, otherwise it is not a distribution, but for ease of readibility let's keep it like that):
\begin{bmatrix} 0 & 2 & 3 \\ 2 & 2 & 1 \\ 3 & 1 & 1 \\ \end{bmatrix}
For a 4x4 matrix:
\begin{bmatrix} 1 & 0 & 2 & 4 \\ 0 & 2 & 3 & 2 \\ 2 & 3 & 1 & 1 \\ 4 & 2 & 1 & 0 \\ \end{bmatrix}
For a 5x5 matrix: \begin{bmatrix} 0 & 0 & 1 & 3 & 5 \\ 0 & 0 & 4 & 3 & 2 \\ 1 & 4 & 2 & 1 & 1 \\ 3 & 3 & 1 & 2 & 0 \\ 5 & 2 & 1 & 0 & 1 \\ \end{bmatrix}
The 4x6 matrix had indeed no solution (Is this related to the comment on $A = (A-B)+B$?)
So I got some questions from here. It seems like there is more than one solution for the 5x5 matrix, and for the other matrices. It makes me think that in the continuous case there may be as well more than one solution ie. for the case where both, A and B are uniform (0,4) and their difference is uniform (-4,4). But how can I find one of those solutions that fit these conditions? How do I identify which conditions are just impossible and which ones can be solved?
Any thoughts on this topic are highly appreciated.