4
$\begingroup$

Let $\zeta$ and $\eta$ be independent random variable with $\exp(\lambda)$ distribution. What is the distribution of $Z=|\zeta-\eta|$ . I am trying to calculate it by finding $\Pr(\zeta-\eta>x)$, and $\Pr(\eta-\zeta>x)$. Thank you in advance

  • 1
    Please remove the [probability-theory] tag, as this is an elementary problem.2011-09-12
  • 0
    @Mike, thanks. Couldn't do it myself. :)2011-09-12
  • 0
    @cardinal: you're welcome. But surely you could have done it yourself? You only need 500 rep to retag questions.2011-09-12
  • 0
    @Mike, Strangely enough, I tried and got an error saying I couldn't retag! :)2011-09-12

1 Answers 1

3

Since $|\zeta-\eta|\ge0$ almost surely, the probabilities $\Pr(|\zeta-\eta|> x)$ for every nonnegative $x$ fully determine the distribution of $|\zeta-\eta|$. Now, let $x$ be nonnegative. The event $[|\zeta-\eta|>x]$ is the disjoint union of the events $[\zeta-\eta> x]$ and $[\eta-\zeta> x]$. By symmetry, these two events have the same probability, so let us compute the probability of the first one.

For every $y$, $\Pr(\zeta>y)=\mathrm e^{-\lambda y}$, hence, by independence of $\eta$ and $\zeta$, $$ \Pr(\zeta-\eta>x\mid\eta)=\mathrm e^{-\lambda (x+\eta)}. $$ Integrating this with respect to the distribution of $\eta$ yields $$ \Pr(\zeta-\eta>x)=\mathrm e^{-\lambda x}\,\mathrm E(\mathrm e^{-\lambda \eta})=\mathrm e^{-\lambda x}\int\limits_0^{+\infty}\mathrm e^{-\lambda t}\lambda \mathrm e^{-\lambda t}\text{d}t=\frac12\mathrm e^{-\lambda x}. $$ Summing up the contributions of $[\zeta-\eta> x]$ and $[\eta-\zeta> x]$, one gets $\Pr(|\zeta-\eta|>x)=\mathrm e^{-\lambda x}$ for every nonnegative $x$, hence $|\zeta-\eta|$ is exponential with parameter $\lambda$.

Edit Combining the second and third items here, one gets the result above.

  • 0
    so with the absolute sign, this difference will not be a laplacian distribution?2011-09-11
  • 0
    If X has a centered Laplace distribution, the distribution of |X| is exponential. http://en.wikipedia.org/wiki/Laplace_distribution#Relation_to_the_exponential_distribution2011-09-11
  • 0
    Do we need to include the case for which x<0, $Pr(\zeta-\eta>x)=1-P(\zeta-\eta>-x)=1-\frac{e^(-\lambda x)}{2}$2011-09-11
  • 0
    No, we do not. See edited first paragraph.2011-09-11