Let
- $X, Y \sim \text{Unif}(0,1)$
- $X \perp \!\!\! \perp Y$, and
- $Z = X + Y$
Is it true that $f_{X\mid Z=z}(s)$ and $f_{Y\mid Z=z}(s)$ for all $s$ (i.e. they have the same density)?
Disclosure: this is part of a homework question, but the TA said we can just claim this is true "by symmetry" without any additional work. There is more to the problem. I wanted to know if there is a more rigorous proof that this is true.
Intuitively, this seems true since $Z = X + Y$. (It doesn't seem true in general, for example of $Z = 2X + Y$). My approach to show this is to show
$$ \mathbb{P}\{X \leq s, Z \leq t\} = \mathbb{P}\{Y \leq s, Z \leq t\} \quad \forall s, t $$
and so
\begin{align} \mathbb{P}\{X \leq s, Z \leq t\} &= \mathbb{P}\{Y \leq s, Z \leq t\} \\ \mathbb{P}\{X \leq s, X+Y \leq t\} &= \mathbb{P}\{Y \leq s, X+Y \leq t\} \\ \mathbb{P}\{X \leq s, Y \leq t-X\} &= \mathbb{P}\{Y \leq s, X \leq t-Y\} \end{align}
Now we've put the joint CDF of $X$ and $Y$. But at this point I am stuck.
I would agree with your TA on this one. I'm not saying it's a bad idea to consider other arguments. My point is that using symmetry is rigorous, even though it might not feel like it.
If you take all the assumptions and swap $X$ and $Y$, we get the exact same assumptions. (This is why $Z=2X+Y$ doesn't work, because $2X+Y \ne 2Y+X$). We say that the problem is "symmetric in $X$ and $Y$". Now, if the assumptions doesn't change when swapping $X$ and $Y$, neither can any conclusion we draw from them. Therefore we can safely say that $(X,Z)$ has the same joint distribution as $(Y,Z)$.
EDIT: If you're not convinced, think of it like this: We first work out the distribution of $(X,Z)$. Then we start over in order to calculate the distribution of $(Y,Z)$. But before we begin, we can rewrite all the assumptions so $X$ and $Y$ are swapped, i.e. $Y,X\sim {\rm Unif}(0,1)$, $Y \perp \!\!\! \perp X$ and $Z = Y + X$. But now everything is like before, except we call the variables different names. Therefore all calculations must be the same as before, so we will get the same answer.