Post · 11 min read· pp. 377–386

5.4.0 End of Chapter Problems


Problem Consider two random variables XX and YY with joint PMF given in Table 5.4

Joint PMF of XX and YY in Problem 1

Y=1Y = 1Y=2Y = 2
X=1X = 113\frac{1}{3}112\frac{1}{12}
X=2X = 216\frac{1}{6}$0$
X=4X = 4112\frac{1}{12}13\frac{1}{3}
  1. Find P(X≤2,Y>1)P(X \leq 2, Y > 1).
  2. Find the marginal PMFs of XX and YY.
  3. Find P(Y=2∣X=1)P(Y=2 | X=1).
  4. Are XX and YY independent?

Problem Let XX and YY be as defined in Problem 1. I define a new random variable Z=X−2YZ=X-2Y.

  1. Find the PMF of ZZ.
  2. Find P(X=2∣Z=0)P(X=2 | Z=0).

Problem A box contains two coins: a regular coin and a biased coin with P(H)=23P(H)=\frac{2}{3}. I choose a coin at random and toss it once. I define the random variable XX as a Bernoulli random variable associated with this coin toss, i.e., X=1X=1 if the result of the coin toss is heads and X=0X=0 otherwise. Then I take the remaining coin in the box and toss it once. I define the random variable YY as a Bernoulli random variable associated with the second coin toss. Find the joint PMF of XX and YY. Are XX and YY independent?


Problem Consider two random variables XX and YY with joint PMF given by \begin{align}%\label{} P_{XY}(k,l)=\frac{1}{2^{k+l}}, \textrm{for }k,l=1,2,3,... \end{align}

  1. Show that XX and YY are independent and find the marginal PMFs of XX and YY.
  2. Find P(X2+Y2≤10)P(X^2+Y^2 \leq 10).

Problem Let XX and YY be as defined in Problem 1. Also, suppose that we are given that Y=1Y=1.

  1. Find the conditional PMF of XX given Y=1Y=1. That is, find PX∣Y(x∣1)P_{X|Y}(x|1).
  2. Find E[X∣Y=1]E[X|Y=1].
  3. Find Var(X∣Y=1)Var(X|Y=1).

Problem The number of customers visiting a store in one hour has a Poisson distribution with mean λ=10\lambda=10. Each customer is a female with probability p=34p=\frac{3}{4} independent of other customers. Let XX be the total number of customers in a one-hour interval and YY be the total number of female customers in the same interval. Find the joint PMF of XX and YY.


Problem Let X∼Geometric(p)X \sim Geometric(p). Find Var(X)Var(X) as follows: Find EXEX and EX2EX^2 by conditioning on the result of the first "coin toss", and use $Var(X)$$=EX^2-(EX)^2$.


Problem Let XX and YY be two independent Geometric(p)Geometric(p) random variables. Find E[X2+Y2XY]E\left[\frac{X^2+Y^2}{XY}\right].


Problem Consider the set of points in the set CC: \begin{align}%\label{} \nonumber C={(x,y) | x,y \in \mathbb{Z}, x^2+ |y| \leq 2}. \end{align} Suppose that we pick a point (X,Y)(X,Y) from this set completely at random. Thus, each point has a probability of 111\frac{1}{11} of being chosen.

  1. Find the joint and marginal PMFs of XX and YY.
  2. Find the conditional PMF of XX given Y=1Y=1.
  3. Are XX and YY independent?
  4. Find E[XY2]E[XY^2].

Problem Consider the set of points in the set CC: \begin{align}%\label{} \nonumber C={(x,y) | x,y \in \mathbb{Z}, x^2+ |y| \leq 2}. \end{align} Suppose that we pick a point (X,Y)(X,Y) from this set completely at random. Thus, each point has a probability of 111\frac{1}{11} of being chosen.

  1. Find E[X∣Y=1]E[X|Y=1].
  2. Find Var(X∣Y=1)Var(X|Y=1).
  3. Find E[X∣∣Y∣≤1]E[X| |Y| \leq 1].
  4. Find E[X2∣∣Y∣≤1]E[X^2 | |Y| \leq 1].

Problem The number of cars being repaired at a small repair shop has the following PMF: \begin{equation} \nonumber P_N(n) = \left{ \begin{array}{l l} \frac{1}{8} & \quad \text{for } n=0\ \frac{1}{8} & \quad \text{for } n=1\ \frac{1}{4} & \quad \text{for } n=2\ \frac{1}{2} & \quad \text{for } n=3\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} Each car that is being repaired is a four-door car with probability 34\frac{3}{4} and a two-door car with probability 14\frac{1}{4}, independently from other cars and independently from the number of cars being repaired. Let XX be the number of four-door cars and YY be the number of two-door cars currently being repaired.

  1. Find the marginal PMFs of XX and YY.
  2. Find the joint PMF of XX and YY.
  3. Are XX and YY independent?

Problem Let XX and YY be two independent random variables with PMFs \begin{equation} \nonumber P_X(k)=P_Y(k) = \left{ \begin{array}{l l} \frac{1}{5} & \quad \text{for } x=1,2,3,4,5\ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} Define Z=X−YZ=X-Y. Find the PMF of ZZ.


Problem Consider two random variables XX and YY with joint PMF given in Table 5.5

Table 5.5: Joint PMF of X and Y in Problem 13

Y=0Y = 0Y=1Y = 1Y=2Y = 2
X=0X = 016\frac{1}{6}16\frac{1}{6}18\frac{1}{8}
X=1X = 118\frac{1}{8}16\frac{1}{6}14\frac{1}{4}

Define the random variable ZZ as Z=E[X∣Y]Z=E[X|Y].

  1. Find the Marginal PMFs of XX and YY.
  2. Find the conditional PMF of XX, given Y=0Y=0 and Y=1Y=1, i.e., find PX∣Y(x∣0)P_{X|Y}(x|0) and PX∣Y(x∣1)P_{X|Y}(x|1).
  3. Find the PMF of ZZ.
  4. Find EZEZ, and check that EZ=EXEZ=EX.
  5. Find Var(Z)(Z).

Problem Let XX, YY, and Z=E[X∣Y]Z=E[X|Y] be as in Problem 13. Define the random variable VV as V=Var(X∣Y)V=Var(X|Y).

  1. Find the PMF of VV.
  2. Find EVEV.
  3. Check that Var(X)=EV+Var(Z)Var(X)=EV+Var(Z).

Problem Let NN be the number of phone calls made by the customers of a phone company in a given hour. Suppose that N∼Poisson(β)N \sim Poisson (\beta), where β>0\beta>0 is known. Let XiX_i be the length of the ii'th phone call, for i=1,2,...,Ni=1,2,..., N. We assume XiX_i's are independent of each other and also independent of NN. We further assume \begin{align}%\label{} \nonumber X_i \sim Exponential(\lambda), \end{align} where λ>0\lambda>0 is known. Let YY be the sum of the lengths of the phone calls, i.e., \begin{align}%\label{} \nonumber Y=\sum_{i=1}^{N}X_i. \end{align} Find EYEY and Var(Y)(Y).


Problem Let XX and YY be two jointly continuous random variables with joint PDF \begin{equation} \nonumber f_{XY}(x,y) = \left{ \begin{array}{l l} \frac{1}{2} e^{-x}+\frac{cy}{(1+x)^2} & \quad 0 \leq x, 0 \leq y \leq 1 \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}

  1. Find the constant cc.
  2. Find P(0≤X≤1,0≤Y≤12)P(0 \leq X \leq 1, 0 \leq Y \leq \frac{1}{2}).
  3. Find P(0≤X≤1)P(0 \leq X \leq 1).

Problem Let XX and YY be two jointly continuous random variables with joint PDF \begin{equation} \nonumber f_{XY}(x,y) = \left{ \begin{array}{l l} e^{-xy} & \quad 1 \leq x \leq e, y>0 \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}

  1. Find the marginal PDFs, fX(x)f_X(x) and fY(y)f_Y(y).
  2. Write an integral to compute P(0≤Y≤1,1≤X≤e)P(0 \leq Y \leq 1, 1 \leq X \leq \sqrt{e}).

Problem Let XX and YY be two jointly continuous random variables with joint PDF \begin{equation} \nonumber f_{XY}(x,y) = \left{ \begin{array}{l l} \frac{1}{4}x^2+\frac{1}{6}y & \quad -1 \leq x \leq 1, 0 \leq y \leq 2 \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}

  1. Find the marginal PDFs, fX(x)f_X(x) and fY(y)f_Y(y).
  2. Find P(X>0,Y<1)P( X >0, Y<1).
  3. Find P(X>0 or Y<1)P( X >0 \textrm{ or } Y<1).
  4. Find P(X>0∣Y<1)P( X >0 | Y<1).
  5. Find P(X+Y>0)P(X+Y>0).

Problem Let XX and YY be two jointly continuous random variables with joint CDF \begin{equation} \nonumber F_{XY}(x,y) = \left{ \begin{array}{l l} 1-e^{-x}-e^{-2y}+e^{-(x+2y)} & \quad x,y>0 \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}

  1. Find the joint PDF, fXY(x,y)f_{XY}(x,y).
  2. Find P(X<2Y)P(X<2Y).
  3. Are XX and YY independent?

Problem Let X∼N(0,1)X \sim N(0,1).

  1. Find the conditional PDF and CDF of XX given X>0X>0.
  2. Find E[X∣X>0]E[X|X>0].
  3. Find Var(X∣X>0)(X|X>0).

Problem Let XX and YY be two jointly continuous random variables with joint PDF \begin{equation} \nonumber f_{XY}(x,y) = \left{ \begin{array}{l l} x^2+\frac{1}{3}y & \quad -1 \leq x \leq 1, 0 \leq y \leq 1 \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} For $0 \leq y \leq 1$, find the following:

  1. The conditional PDF of XX given Y=yY=y.
  2. P(X>0∣Y=y)P(X>0|Y=y). Does this value depend on yy?
  3. Are XX and YY independent?

Problem Let XX and YY be two jointly continuous random variables with joint PDF \begin{equation} \nonumber f_{XY}(x,y) = \left{ \begin{array}{l l} \frac{1}{2}x^2+\frac{2}{3}y & \quad -1 \leq x \leq 1, 0 \leq y \leq 1 \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation} Find E[Y∣X=0]E[Y|X=0] and Var(Y∣X=0)(Y|X=0).


Problem Consider the set \begin{align}%\label{} \nonumber E={(x,y)| |x|+|y| \leq 1}. \end{align} Suppose that we choose a point (X,Y)(X,Y) uniformly at random in EE. That is, the joint PDF of XX and YY is given by \begin{equation} \nonumber f_{XY}(x,y) = \left{ \begin{array}{l l} c & \quad (x,y) \in E \ & \quad \ 0 & \quad \text{otherwise} \end{array} \right. \end{equation}

  1. Find the constant cc.
  2. Find the marginal PDFs fX(x)f_X(x) and fY(y)f_Y(y).
  3. Find the conditional PDF of XX given Y=yY=y, where −1≤y≤1-1 \leq y \leq 1.
  4. Are XX and YY independent?

Problem Let XX and YY be two independent Uniform(0,2)Uniform(0,2) random variables. Find P(XY<1)P(XY<1).


Problem Suppose X∼Exponential(1)X \sim Exponential(1) and given X=xX=x, YY is a uniform random variable in [0,x][0,x], i.e., \begin{align}%\label{} \nonumber Y|X=x \hspace{10pt} \sim \hspace{10pt} Uniform(0,x), \end{align} or equivalently \begin{align}%\label{} \nonumber Y|X \hspace{10pt} \sim \hspace{10pt} Uniform(0,X). \end{align}

  1. Find EYEY.
  2. Find Var(Y)Var(Y).

Problem Let XX and YY be two independent Uniform(0,1)Uniform(0,1) random variables. Find

  1. E[XY]E[XY]
  2. E[eX+Y]E[e^{X+Y}]
  3. E[X2+Y2+XY]E[X^2+Y^2+XY]
  4. E[YeXY]E[Ye^{XY}]

Problem Let XX and YY be two independent Uniform(0,1)Uniform(0,1) random variables, and Z=XYZ=\frac{X}{Y}. Find the CDF and PDF of ZZ.


Problem Let XX and YY be two independent N(0,1)N(0,1) random variables, and U=X+YU=X+Y.

  1. Find the conditional PDF of UU given X=xX=x, fU∣X(u∣x)f_{U|X}(u|x).
  2. Find the PDF of UU, fU(u)f_{U}(u).
  3. Find the conditional PDF of XX given U=uU=u, fX∣U(x∣u)f_{X|U}(x|u).
  4. Find E[X∣U=u]E[X|U=u], and Var(X∣U=u)Var(X|U=u).

Problem Let XX and YY be two independent standard normal random variables. Consider the point (X,Y)(X,Y) in the x−yx-y plane. Let (R,Θ)(R,\Theta) be the corresponding polar coordinates as shown in Figure 5.11. The inverse transformation is given by \begin{equation} \nonumber \left{ \begin{array}{l} X=R \cos \Theta \ Y=R \sin \Theta \end{array} \right. \end{equation} where, R≥0R \geq 0 and −π<Θ≤π-\pi < \Theta \leq \pi. Find the joint PDF of RR and Θ\Theta. Show that RR and Θ\Theta are independent.


Problem In Problem 29, suppose that XX and YY are independent Uniform(0,1)Uniform(0,1) random variables. Find the joint PDF of RR and Θ\Theta. Are RR and Θ\Theta independent?


Problem Consider two random variables XX and YY with joint PMF given in Table 5.6.

Table 5.6: Joint PMF of X and Y in Problem 31

Y=0Y = 0Y=1Y = 1Y=2Y = 2
X=0X = 016\frac{1}{6}14\frac{1}{4}18\frac{1}{8}
X=1X = 118\frac{1}{8}16\frac{1}{6}16\frac{1}{6}

Find Cov(X,Y)Cov(X,Y) and ρ(X,Y)\rho(X,Y).


Problem Let XX and YY be two independent N(0,1)N(0,1) random variable and \begin{align}%\label{} \nonumber &Z=11-X+X^2Y, \ \nonumber &W=3-Y. \end{align} Find Cov(Z,W)(Z,W).


Problem Let XX and YY be two random variables. Suppose that σX2=4\sigma^2_X=4, and σY2=9\sigma^2_Y=9. If we know that the two random variables $Z=2X-Y $ and W=X+YW=X+Y are independent, find Cov(X,Y)Cov(X,Y) and ρ(X,Y)\rho(X,Y).


Problem Let X∼Uniform(1,3)X \sim Uniform(1,3) and Y∣X∼Exponential(X)Y|X \sim Exponential(X). Find Cov(X,Y)Cov(X,Y).


Problem Let XX and YY be two independent N(0,1)N(0,1) random variable and \begin{align}%\label{} \nonumber &Z=7+X+Y, \ \nonumber &W=1+Y. \end{align} Find ρ(Z,W)\rho(Z,W).


Problem Let XX and YY be jointly normal random variables with parameters μX=−1\mu_X=-1, σX2=4\sigma^2_X=4, μY=1\mu_Y=1, σY2=1\sigma^2_Y=1, and ρ=−12\rho=-\frac{1}{2}.

  1. Find P(X+2Y≤3)P(X+2Y \leq 3).
  2. Find Cov(X−Y,X+2Y)Cov(X-Y,X+2Y).

Problem Let XX and YY be jointly normal random variables with parameters μX=1\mu_X=1, σX2=4\sigma^2_X=4, μY=1\mu_Y=1, σY2=1\sigma^2_Y=1, and ρ=0\rho=0.

  1. Find P(X+2Y>4)P(X+2Y >4).
  2. Find E[X2Y2]E[X^2Y^2].

Problem Let XX and YY be jointly normal random variables with parameters μX=2\mu_X=2, σX2=4\sigma^2_X=4, μY=1\mu_Y=1, σY2=9\sigma^2_Y=9, and ρ=−12\rho=-\frac{1}{2}.

  1. Find E[Y∣X=3]E[Y|X=3].
  2. Find Var(Y∣X=2)Var(Y|X=2).
  3. Find P(X+2Y≤5∣X+Y=3)P(X+2Y \leq 5 | X+Y=3).