2

I'm having quite a bit of difficulty with the distribution function technique.

If $X_1$ and $X_2$ are independent random variables having exponential densities with parameter $\theta_1$ and $\theta_2$, use the distribution function technique to find the probability density of $Y = X_1 + X_2$ when (a) $\theta_1 \neq \theta_2$ and (b) $\theta_1 = \theta_2$

I know that the exponential distribution for this is $f(x_1,x_2)={\frac{1}{\theta_1}}{\frac{1}{\theta_2}}e^{-(\frac{x}{\theta_1})-(\frac{x}{\theta_2})}$ for $x_1,x_2 \gt 0$ and $f(x_1,x_2)=0$ otherwise.

I'm assuming that I would want to first find $\int_0^y\int_0^{y-x_2}f(x_1,x_2)dx_1dx_2$ and then find the derivative of that with respect $y$ or $[\int_0^y\int_0^{y-x_2}f(x_1,x_2)dx_1dx_2]\frac{d}{dy}$

My book says the answer is $\frac{1}{\theta_1 - \theta_2} (e^{\frac{-y}{\theta_1}}-e^{\frac{-y}{\theta_2}})$ for (a) and $\frac{1}{\theta^2} ye^{\frac{-y}{\theta}}$ for (b)

I can't see how it came upon this as even when using an integral calculator and taking the derivative I get a completely different answer. I am trying to figure out where I went wrong. Any help would be appreciated.

TfwBear
  • 1,219

2 Answers2

1

If $X_j$ is such that $$E(e^{-sX_j})=\int_0^{\infty}e^{-sx-\frac{x}{\theta_j}}\frac{dx}{\theta_j}=\frac{1}{1+s\theta_j}$$ and if $X_1,\ldots,X_n$ are independent, then assuming that the $\theta_k$are all distincts, $$E(e^{-s(X_1+\cdots+X_n)})=\frac{1}{(1+s\theta_1)\ldots (1+s\theta _n)}=\sum_{k=1}^{n} \frac{A_k}{1+s\theta_k}$$ where, by decomposition of a rational fraction into partial fractions we have $$A_k=\frac{1}{\prod_{i\neq k}\left(1+\frac{\theta_k}{\theta_j}\right)}$$ As a consequence the density of $X_1+\ldots+X_n$ is $$\frac{A_1}{\theta_1} e^{-x/\theta_1}+\cdots+\frac{A_n}{\theta_n} e^{-x/\theta_n}$$which is the desired formula for $n=2.$

1

For the case $\theta_1 = \theta_2$, see this answer to see how it all works out for the more general case of Gamma random variables (of which exponential random variables are a special case). The same method also can be used in your case when $\theta_1 \neq \theta_2$. Essentially what happens is that when $\theta_2 \neq \theta_1$, the integrand in $$\int_0^z \frac{1}{\theta_1}e^{-x/\theta_1}\frac{1}{\theta_2}e^{-(z-x)/\theta_2}\,\mathrm dx$$ does not simplify to the constant function $\frac{1}{\theta_2^2}e^{-z/\theta_2}$ of $x$. Thus, we integrate an exponential function of $x$ over $[0,z]$ instead of a constant over $[0,z]$, and so the result is different.

Dilip Sarwate
  • 26,411