So I have been struggling with this question for a while. Suppose $X$ is uniformly distributed over an interval $(a, b)$ and $Y$ is uniformly distributed over $(-\sigma, \sigma)$, $X$ and $Y$ are independent. Consider a random variable $Z = X + Y$. What would be the conditional distribution of $X | Z$, i.e. $F_{X|Z}(x)$?
I know that $F_X(x) = \frac{x - a}{b-a}$ and $F_y(y) = \frac{y + \sigma}{2\sigma}$ but I am having trouble figuring out $F_{X|Z}(x)$. Could anyone help me? My gut says that $X|Z$ should be uniformly distributed over $(Z - \sigma, Z + \sigma)$ but I can't figure out how to prove this.
$X|Z$ can't, in general, be uniformly distributed over $(z-\sigma,z+\sigma)$ because there are values of $z$ such that $(z-\sigma,z+\sigma)$ is not a subset of $(a,b)$. (Note that $Z$ is a random variable, $z$ is real number drawn from its distribution. $Z-\sigma$ is not a real number, because $Z$ is a random variable, not a real number. A random variable over the real numbers is different from a real number.)
Draw a rectangle with horizontal dimension $(a,b)$ and vertical $(-\sigma,\sigma)$. Then draw diagonal lines with slope $-1$ in the rectangle. Each diagonal line represents a constant value of $z$. For a particular $z_0$, $X$ will be uniformly distributed along the horizontal extension of the corresponding diagonal line. To find $X|Z$, you have to take several cases depending on whether $z<a$, $z>b$, $z<-\sigma$, $z>\sigma$.