Given two independent uniform random variables on (0,1), I am trying to computer the pdf for $Y = X_1 + 2X_2$.
So I have a few issues here. The first and easiest to answer being what the coefficient of 2 does to the random variable $X_2$. My gut says that it makes it to where $X_2$ can only take on values between 0 and $\frac{1}{2}$. But the other possibility that I can think of is that the $f_{X_2}(x_2)$ = 2 if 0 < $x_2$ < 2, and 0 otherwise. Or does it only effect the inequality there and it stays = 1, or something along those lines?
Second, and the more complicated of the questions, is getting the boundaries for the convolution. I got this down to be
$f_Y(y) = \int_{-\infty}^{\infty}f_{X_1}(y-x_2)f_{X_2}(x_2) dx_2$
where
$f_{X_2}(x_2) = 1$, if $0 < x_2 \leq \frac{1}{2}$ and 0 otherwise.
So then
$f_Y(y) = \int_{0}^{\frac{1}{2}}f_{X_1}(y-x_2) dx_2$.
This is where I get stuck. I know the integrand is 0 if y = $x_2$, so do I setup the inequality as $0 < y-x_2 < 1$ ?, or $0 < y-x_2 < \frac{1}{2}$ ? And where do I go from there? I see the examples I look at using two separate integrals after this step so that density ends up with a three-way piecewise function, but I'm unsure of how to get there.
We haven't really gone over convolution a ton in my past courses, and I know this problem can be done a different way but I want to practice convolutions of this variety. So any help would be greatly appreciated!

