So, I've been having some trouble trying to solve the problem.
Let $U$ be a random variable that has a uniform distribution over $[0,2]$. What distribution has $U$ conditional on:
- $U\leq 1$
- $|U-1| \geq \frac{1}{2}$
Here's my attempt. For the first part of the problem I have this: $$P(U\leq u \ |\ U\leq 1) = \frac{P( U \leq u \ \ , \ \ U \leq 1 )}{P(U\leq 1)}\text{,}$$ by definition. Now, finding $P(U \leq 1)$ is no hard task (it is simply equal to $\frac{1}{2})$, but I have no idea how I could find $P( U \leq u \ \ , \ \ U \leq 1 )$
For the second part of the problem, I've done the following: $$|U-1| \geq \frac{1}{2} \\ -\frac{1}{2} \geq U-1 \geq \frac{1}{2} \\ \frac{1}{2} \geq U \geq \frac{3}{2}\\$$Therefore we have that $$P(|U-1| \geq \frac{1}{2}) = P(U \leq \frac{1}{2}) + P(U \geq \frac{3}{2}) \\ = 1/4 + \left(1-\frac{3}{4}\right) \\ = \frac{1}{2}$$
Now, again I have no idea how to compute $$P(U \leq u \ , \ |U-1| \geq \frac{1}{2}).$$