Consider random variable $X_i$s are independent and identically distributed. We assume that each $X_i$ is uniformly distributed in $[0, 1].$
(a) Find the cdf and pdf for $Z = X1 + X2$.
(b) Draw the pdf of $Z$.
So for (a), I understand that we should be first be finding the cdf of $Z$ by:
$F_Z(z)=P(X_1+X_1\le Z)=\int_{X_2=...}^{X_2=...}\int_{X_1=...}^{X_1=...} f(x_1,x_2)dx_1 dx_2$
and that $f(x_1,x_2)=1\times 1$
However, I'm really confused in how to set up the bounds:
$0 \le x_1 \le 1, 0 \le x_2 \le 1, x_1+x_2 \le z$
I tried doing from $\int_{X_2=0}^{X_2=1}\int_{X_1=0}^{X_1=z-x_2}$, but I now for sure that something is wrong since I got my pdf to have an area of 2. Could someone help?
The limit on $x_1$ is not correct. $z-x_2$ can be greater than 1,
– fGDu94 Nov 23 '19 at 21:29I checked and it integrates to 1 over $z \in [0,2]$
– fGDu94 Nov 23 '19 at 21:46