Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Suppose that \({{\bf{X}}_{\bf{1}}}\;{\bf{and}}\;{{\bf{X}}_{\bf{2}}}\)are i.i.d. random variables andthat the p.d.f. of each of them is as follows:

\({\bf{f}}\left( {\bf{x}} \right){\bf{ = }}\left\{ \begin{array}{l}{{\bf{e}}^{{\bf{ - x}}}}\;\;\;\;\;\;{\bf{for}}\;{\bf{x > 0}}\\{\bf{0}}\;\;\;\;\;\;\;\;{\bf{otherwise}}\end{array} \right.\)

Find the p.d.f. of \({\bf{Y = }}{{\bf{X}}_{\bf{1}}} - {{\bf{X}}_{\bf{2}}}\)

Short Answer

Expert verified

The p.d.f of Y is

\[\]\(g\left( y \right) = \left\{ \begin{array}{l}\frac{1}{2}{e^{ - \left| y \right|}}\;\;\;\;\;{\rm{for}}\; - \infty < y < \infty \\0\;\;\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{array} \right.\)

Step by step solution

01

Given information

The p.d.f of two i.i.d variables\({X_1},{X_2}\)are,

\(f\left( {{x_i}} \right) = \left\{ \begin{array}{l}{e^{ - {x_i}}}\;\;\;\;\;\;{\rm{for}}\;{x_i} > 0\\0\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{array} \right.\)

02

Obtainjoint p.d.f. for two variables by cdf approach

Since the random variables are independent, the joint pdf of both variables is a product of the marginalpdf of both variables.

Hence,

\(\begin{aligned}f\left( {{x_1},{x_2}} \right) &= f\left( {{x_1}} \right)f\left( {{x_1}} \right)\\ &= {e^{ - {x_1}}}{e^{ - {x_2}}}\\f\left( {{x_1},{x_2}} \right) &= \left\{ \begin{aligned}{e^{ - \left( {{x_1} + {x_2}} \right)}}\;\;\;\;\;\;for\;{x_1} > 0,{x_2} > 0\\0\;\;\;\;\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{aligned} \right.\end{aligned}\)

Let, \(Y = {X_1} - {X_2} \Rightarrow {X_1} = Y + {X_2}\)

Assuming that \({X_2} = U \Rightarrow {X_1} = U + Y\)

Substitute the values in the pdf obtained above,

\(\begin{array}{l}f\left( {{x_1},{x_2}} \right) = \left\{ \begin{array}{l}{e^{ - \left( {z + y + z} \right)}}\;\;\;\;\;\;\\0\end{array} \right.\\f\left( {{x_1},{x_2}} \right) = \left\{ \begin{array}{l}{e^{ - \left( {2z + y} \right)}}\\0\;\;\;\;\;\;\;\end{array} \right.\end{array}\)

03

Obtain the CDF of the variable

Consider two cases.

Case 1:

\(\begin{aligned}For\;y \le 0,\\{f_Y}\left( y \right) &= \int\limits_{ - \infty }^\infty {{e^{ - 2u - y}}du} \\ &= {e^{ - y}}\left( {\frac{{{e^{ - 2u}}}}{2}} \right)_0^\infty \;\;\;\;\;\;\;\;\;\;\;\;\;\left( {{\rm{The}}\;{\rm{limits}}\;{\rm{for}}\;{\rm{the}}\;{\rm{exponential}}\;{\rm{distribution}}} \right)\\ &= {e^{ - y}}\left( {\frac{{0 - 1}}{{ - 2}}} \right)\\ &= \frac{1}{2}\left( {{e^{ - y}}} \right)\end{aligned}\)

Case 2:

\(For\;y > 0,\)

\({f_Y}\left( y \right) = \frac{1}{2}{e^{ - \left| y \right|}}\)

The above result holds true as the difference of two exponential distributions would have positive values.

04

Conclude the results

The PDF of the variable Y is obtained as follows,

\({f_Y}\left( y \right) = \left\{ \begin{array}{l}\frac{{{e^{ - \left| y \right|}}}}{2}\;\;\;\;\;\;\;\;\;\;\;{\rm{for}} - \infty < y < \infty \\0\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;{\rm{otherwise}}\end{array} \right.\)

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

A civil engineer is studying a left-turn lane that is long enough to hold seven cars. LetXbe the number of cars in the lane at the end of a randomly chosen red light. The engineer believes that the probability thatX=xis proportional to(x+1)(8โˆ’x)forx=0, . . . ,7 (the possible values ofX).

a. Find the p.f. ofX.

b. Find the probability thatXwill be at least 5.

The unique stationary distribution in Exercise 9 is \({\bf{v = }}\left( {{\bf{0,1,0,0}}} \right)\). This is an instance of the following general result: Suppose that a Markov chain has exactly one absorbing state. Suppose further that, for each non-absorbing state \({\bf{k}}\), there is \({\bf{n}}\) such that the probability is positive of moving from state \({\bf{k}}\) to the absorbing state in \({\bf{n}}\) steps. Then the unique stationary distribution has probability 1 in the absorbing state. Prove this result.

Question:A painting process consists of two stages. In the first stage, the paint is applied, and in the second stage, a protective coat is added. Let X be the time spent on the first stage, and let Y be the time spent on the second stage. The first stage involves an inspection. If the paint fails the inspection, one must wait three minutes and apply the paint again. After a second application, there is no further inspection. The joint pdf.of X and Y is

\(f\left( {x,y} \right) = \left\{ \begin{array}{l}\frac{1}{3}if\,1 < x < 3\,and\,0 < y < 1\\\frac{1}{6}if\,1 < x < 3\,and\,0 < y < 1\,\\0\,\,otherwise.\\\,\end{array} \right.\,\,\)

a. Sketch the region where f (x, y) > 0. Note that it is not exactly a rectangle.

b. Find the marginal p.d.f.โ€™s of X and Y.

c. Show that X and Y are independent.

Let X be a random vector that is split into three parts,\(X = \left( {Y,Z,W} \right)\)Suppose that X has a continuous joint distribution with p.d.f.\(f\left( {y,z,w} \right)\).Let\({g_1}\left( {y,z|w} \right)\)be the conditional p.d.f. of (Y, Z) given W = w, and let\({g_2}\left( {y|w} \right)\)be the conditional p.d.f. of Y given W = w. Prove that\({g_2}\left( {y|w} \right) = \int {{g_1}\left( {y,z|w} \right)dz} \)

Suppose that \({{\bf{X}}_{\bf{1}}}\;{\bf{and}}\;{{\bf{X}}_{\bf{2}}}\) are i.i.d. random variables andthat each of them has a uniform distribution on theinterval [0, 1]. Find the p.d.f. of\({\bf{Y = }}{{\bf{X}}_{\bf{1}}}{\bf{ + }}{{\bf{X}}_{\bf{2}}}\).

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free