So this is a probability question, and I am asked to find $P(0.6 < Y <= 2.2)$
where $Y = X_1 + X_2$
X1~U(0,1) and X2~exp(2). Our professor worked it out, but I do not understand his explanation. So I understand that to find the probability of a sum of independent random variables, I need to use the convolution:
$$f_y (t) = \int_{-\infty}^\infty f_{x_1}(u)f_{x_2}(t-u) \, du $$
I know the density function ($f_{x_1})$ for a uniform distribution is 0 if u is less than 0 or greater than 1, so this whole integral is 0 except when u is between 0 and 1.
$$f_y (t) = \int_{0}^1 f_{x_1}(u)f_{x_2}(t-u) \, du $$, in which case $f_{x_1}$ is just 1, so we just have
$$f_y (t) = \int_{0}^1 f_{x_2}(t-u) \, du $$
We substitute y = t-u and du = -dy, and since we substituted, I know we change the limits of integration and now we have:
$$f_y (t) = \int_{t-1}^t f_{x_2}(y) \, dy $$
so for $$f_{x_2}(y) = \begin{cases} 0 & \text{if $x < 0$} \\ \lambda e^{-\lambda y} & \text{if $x>=0$} \end{cases}$$. I understand until this point, but at this point my professor
"divides it into cases":
case: (0 <= t <= 1)..
$$\int_{0}^t \lambda e^{-\lambda y} \, dy$$, also changing the limits of integration, and then in the case of (t > 1),
$$\int_{t-1}^t \lambda e^{-\lambda y} \, dy $$,
and then solves the integrals from there. I have NO CLUE why he divided into those "cases", and how he determined to what the limits of integration should be for each case, so if anyone could help me (I know this was a long problem), please !!