Q) Assume that X1 and X2 are independent random variables, each having an exponential density with paramater λ. Show that Z=X1−X2 has density fZ(z)=(1/2).λ.e^−λ|z|
Ans) The densities of the three random variables X1, X2, and Z can be represented by fX1, fX2, and fZ, respectively.
fX1=λ.e−λx1 for X1≥0, and 0 elsewhere.
fX2=λ.e−λx2 for X2≥0, and 0 elsewhere.
Then, the convolution of X1 and X2 is
fZ(z)=∫+∞−∞ fX1(z−x1) fX2(x1).dx2
=∫∞0 λe^−λ(z+2x2).λ e^−λ(z+2x2).dx1
=∫∞0 λ^2 e^−λ(z+2x2) e^λz .dx1 =λ/2 e^λz When z is negative
=∫∞−z λ^2 e^−λ(z+2x2) e^λz .dx1 =λ/2 e^−λz When z is positive
=1/2.λ.e^ λ|z|