forked from emsbach/probability-and-computing-solutions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexercise08.02.tex
More file actions
48 lines (48 loc) · 1.48 KB
/
Copy pathexercise08.02.tex
File metadata and controls
48 lines (48 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\paragraph{Exercise 8.2} Let $X$ and $Y$ be independent, exponentially distributed
random variables with parameter 1. Let $Z$ be a random variable,
such that $Z = X + Y$. For all $z \in \mathbb{R}$,
\[
F_Z(z) = \int_{- \infty}^{z} f_Z(u) \, du,
\]
and
\[
f_Z(z)
= \int_{- \infty}^{\infty} f_{X,Y}(x,z-x) \, dx
= \int_{- \infty}^{\infty} f_X(x)\cdot f_Y(z-x) \, dx.
\]
Clearly, $f_Z(z) = 0$ for $z < 0$. Consider the case $z \geq 0$. In order to have
$f_Y(z-x) \not= 0$, we need $z-x \geq 0$, that is, $x \leq z$. Consequently, it
suffices to integrate from $x=0$ to $x = z$,
\[
f_z(z)
= \int_{0}^{z} f_X(x)\cdot f_Y(z-x) \, dx
= \int_{0}^{z} e^{-x} \cdot e^{-(z-x)} \, dx
= \int_{0}^{z} e^{-x-(z-x)} \, dx
= e^{-z} \int_{0}^{z} 1 \, dx
= z \cdot e^{-z}.
\]
Thus, the density function of $Z$ is defined as
\[
f_Z: z \mapsto
\begin{cases}
z \cdot e^{-z}, &\text{if }z \geq 0; \\
0, &\text{else.}
\end{cases}
\]
Let us now consider the distribution function of $Z$. $F_Z(z) = 0$ for $z < 0$.
In regard to the case $z \geq 0$, one has
\[
F_Z(z)
= \int_{- \infty}^{z} f_Z(u) \, du
= \int_{0}^{z} z \cdot e^{-z} \, du
= z \cdot e^{-z} \int_{0}^{z} 1 \, du
= z^2 \cdot e^{-z}.
\]
Thus, the distribution function of $Z$ is given by
\[
F_Z: z \mapsto
\begin{cases}
z^2 \cdot e^{-z}, &\text{if }z \geq 0; \\
0, &\text{else.}
\end{cases}
\]