University of Alberta Guide/STAT/222/Combining Continuous Random Variables
From Wikibooks, open books for an open world
Convolution [edit]
Example [edit]
![f_{X}(x) = \begin{cases}\frac{3x^{2}}{2}& x \in [-1,1]\\ 0& else \end{cases} \qquad f_{Y}(y) = \begin{cases}\frac{y}{9}& y \in [4,5]\\ 0& else \end{cases} \qquad X \mbox{ and } Y \mbox{ are independent RVs, find } f_{X + Y}(z)](http://upload.wikimedia.org/math/b/8/6/b86e8dc299dedb1657d0c1255d8c890e.png)
- Start by converting the pdf's to indicator functions
- Now
is defined only when
and
is defined only when ![y \in [4,5]\,](//upload.wikimedia.org/math/f/2/3/f230981db3afb16ba4abf64b005341ea.png)
- Now
- Use the convolution formula above to write out the integral
- Factor out any constants, in this case, a multiplier
- Factor out the indicator function for
into the integral bounds
- Note that

- Note that
- Now that have isolated the indicator for z, we can combine the entire integral for that indicator
- Finally, split the integral into the separate cases based on the remaining indicator function
- When
the integral has no bounds since
so the upper bound would be less than
which would be
. - When
the integral is bound between
and
since
will be at least
but less than 
- As you can see there is a pattern here, it goes as follows:
- Given
you will have 
- Given
- When
This page may need to be 
is defined only when
and
is defined only when ![y \in [4,5]\,](http://upload.wikimedia.org/math/f/2/3/f230981db3afb16ba4abf64b005341ea.png)
![\int_{-\infty}^{\infty}f_{X}(z)f_{Y}(y - z)\delta z = \int_{-\infty}^{\infty}\frac{3z^{2}}{2}\cdot 1_{[-1,1]}(z)\frac{y - z}{9}\cdot 1_{[4,5]}(y - z)\delta z](http://upload.wikimedia.org/math/0/9/7/097fed21a4abccf4acd8b25d5ab528e2.png)
![\frac{3}{18}\int_{-\infty}^{\infty}z^{2}\cdot 1_{[-1,1]}(z)(y - z)\cdot 1_{[4,5]}(y - z)\delta z = \frac{1}{6}\int_{-\infty}^{\infty}z^{2}\cdot 1_{[-1,1]}(z)(y - z)\cdot 1_{[4,5]}(y - z)\delta z](http://upload.wikimedia.org/math/e/0/7/e0743a7198ed7a4a0b39cd1593d8a9a8.png)
into the integral bounds

![\frac{1}{6}\int_{-1}^{1}\left(z^{2}(y - z)\right)\cdot 1_{[y-5,y-4]}(z)\delta z = \frac{1}{6}\int_{-1}^{1}\left(z^{2}y - z^{3}\right)\cdot 1_{[y-5,y-4]}(z)\delta z](http://upload.wikimedia.org/math/c/a/1/ca19d221a3fdd55e095803f0e4bf44ac.png)
the integral has no bounds since
so the upper bound would be less than
which would be
.
the integral is bound between
since
you will have 