Chapter 10

Conditional Expectation

[52/79%]
Show
LaTeX
Problem 10.1

A fair die with faces 1,2,31,2,3 colored green and faces 4,5,64,5,6 colored red is rolled once. Let XX be the number shown.

?
(a)

What is the expectation of XX ?

(b)

If you can see that the die has landed green face up (but cannot see the actual number shown), what will the expected value of XX be in these circumstances?

Problem 10.2

Show that E[  1A∣B]=P(A∣B)\mathbb {E}\left[ \; \mathbb {1}_{A} \mid B \right]=\mathbb {P}\left( A \mid B \right) if P(B)≠0\mathbb {P}\left(B\right) \neq 0. (As usual,   1A\; \mathbb {1}_{A} denotes the indicator function of an event AA.)

?
Problem 10.3

A fair die is rolled twice. What is the conditional expectation of the sum of outcomes given the first roll shows 1 ?

?
Problem 10.4

We toss a coin repeatedly until heads appear, hitting the numerical keypad of a calculator randomly after each toss. Find the conditional expectation of the number keyed in, given that heads appear for the first time after ii tosses. (Our calculator is a special model capable of displaying infinitely many digits.)

?
Problem 10.5

Let XX be a random variable with the Poisson distribution. Find the conditional expectation of XX given that XX is an even number.

?
Problem 10.6

For any discrete random variable XX and any event BB such that P(B)≠0\mathbb {P}\left(B\right) \neq 0, show that

E[X∣B]=E[  1BX]P(B)(10.1) \mathbb {E}\left[ X \mid B \right]=\frac{\mathbb {E}\left[\; \mathbb {1}_{B} X\right]}{\mathbb {P}\left(B\right)} \tag {10.1}

where   1B\; \mathbb {1}_{B} is the indicator function of BB.

?
Problem 10.7

XX is the sum of outcomes obtained by rolling a die twice and BiB_{i} is the event that the first die shows ii.

?
Problem 10.8

XX denotes the amount shown if three coins, 5⊄,105 \not\subset , 10, and 25≠25 \neq, are tossed, and BiB_{i} denotes the event that ii coins land heads up.

?
Problem 10.9

XX denotes the number of points scored by a chess player in a match against an equally strong opponent, where draws are discarded so that the odds of winning or losing a game are fifty-fifty, the match ends if one of the players reaches 3 points, and BiB_{i} is the event that ii games have been played.

?
Problem 10.10

Let XX be a random variable with exponential distribution. Find E[X∣{X⩾t}]\mathbb {E}\left[ X \mid \{ X \geqslant t\} \right].

?
Problem 10.11

Let XX and YY be jointly continuous random variables with joint density

fX,Y(x,y)={e−x−y if x,y⩾00 otherwise  f_{X, Y}(x, y)= \begin{cases} e^{-x-y} & \text{ if } x, y \geqslant 0 \\ 0 & \text{ otherwise } \end{cases}

Compute the conditional expectation of X+YX+Y given that X<YX<Y.

?
Problem 10.12

Show that if E[X]\mathbb {E}\left[X\right] is exists, then so does E[X∣B]\mathbb {E}\left[ X \mid B \right] for any event BB such that P(B)≠0\mathbb {P}\left(B\right) \neq 0.

?
Problem 10.13

A die is rolled twice; XX is the sum of the outcomes and YY is the outcome of the first roll.

?
Problem 10.14

Three coins, 5∉,10ϕ̸5 \notin , 10 \not\phi, and 25≠25 \neq, are tossed; XX is the total amount shown and YY is the number of heads.

?
Problem 10.15

From a bag containing four balls numbered 1,2,31,2,3, and 4 you draw two. If at least one of the numbers drawn is greater than 2 , you win $1\$ 1, and otherwise you lose $1\$ 1. Let XX be the amount won or lost and let YY be the first number drawn.

?
Problem 10.16

Let Ω={1,2,…}\Omega =\{ 1,2, \ldots \} be equipped with the σ\sigma-field of all subsets of Ω\Omega and a probability measure PP such that P({k})=2−k\mathbb {P}\left(\{ k\} \right)=2^{-k} for each k=1,2,…k=1,2, \ldots. Find E[X∣Y]\mathbb {E}\left[ X \mid Y \right] if X(k)=kX(k)=k and Y(k)=(−1)kY(k)=(-1)^{k} for each k=1,2,…k=1,2, \ldots.

?
Problem 10.17

A coin is tossed three times behind a curtain and you win an amount XX equal to the number of heads shown. If, peeping behind the curtain, you could see the result YY of the first toss, how would you assess your expected winnings?

?
Problem 10.18

A bag contains three coins, but one has heads on both sides. Two coins are drawn and tossed. Find E[X∣Y]\mathbb {E}\left[ X \mid Y \right] if XX is the number of heads and YY is the number of genuine coins among the drawn ones.

?
Problem 10.19

Show that if XX and YY are independent random variables and YY is discrete, then E[X∣Y]=E[X]\mathbb {E}\left[ X \mid Y \right]=\mathbb {E}\left[X\right].

?
Problem 10.20

Show that FY\mathcal{F}_{Y} is the smallest σ\sigma-field with respect to which YY is a random variable.

?
Problem 10.21

A die is rolled twice; YY is the first outcome and XX is the sum of outcomes.

?
Problem 10.22

Three coins, 5ϕ,10ϕ5 \phi , 10 \phi, and 25ϕ25 \phi, are tossed and you can take those showing heads; XX is the total amount you take and YY is the number of heads.

?
Problem 10.23

From a bag containing four balls numbered 1,2,31,2,3, and 4 , you draw two; if at least one of the numbers drawn is greater than 2 , you win $1\$ 1, and otherwise you lose $1\$ 1. Let XX be the amount won or lost and let YY be the first number drawn.

?
Problem 10.24

A die is rolled twice; if the sum of outcomes is even, you win $1\$ 1, and if it is odd, you lose $1;X\$ 1 ; X is the amount won or lost and YY is the outcome of the first roll.

?
Problem 10.25

A die is rolled twice; YY is the outcome of the first roll and XX is the outcome of the second roll.

?
Problem 10.26

Let YY be a discrete random variable. Show that for E[X∣Y]\mathbb {E}\left[ X \mid Y \right] given by Definition 10.3,

FE[X∣Y]⊂FY \mathcal{F}_{\mathbb {E}\left[ X \mid Y \right]} \subset \mathcal{F}_{Y}
?
Problem 10.27

Let YY be a discrete random variable. Show that

E[E[X∣Y]]=E[X] \mathbb {E}\left[\mathbb {E}\left[ X \mid Y \right]\right]=\mathbb {E}\left[X\right]
?
Problem 10.28

Let YY be a discrete random variable. For any B∈FYB \in \mathcal{F}_{Y}, prove that

E[  1BE[X∣Y]]=E[  1BX] \mathbb {E}\left[\; \mathbb {1}_{B} \mathbb {E}\left[ X \mid Y \right]\right]=\mathbb {E}\left[\; \mathbb {1}_{B} X\right]
?
Problem 10.29

X(ω)=2ω,Y(ω)=2X(\omega )=2 \omega , Y(\omega )=2.

?
Problem 10.30

X(ω)=2ωX(\omega )=2 \omega for all ω∈[0,1];Y(ω)=0\omega \in [0,1] ; Y(\omega )=0 if ω∈[0,12)\omega \in \left[0, \frac{1}{2}\right) and Y(ω)=1Y(\omega )=1 if ω∈[12,1]\omega \in \left[\frac{1}{2}, 1\right].

?
Problem 10.31

X(ω)=2ωX(\omega )=2 \omega and Y(ω)=ω2Y(\omega )=\omega^{2}.

?
Problem 10.32

X(ω)=2ω;Y(ω)=ωX(\omega )=2 \omega ; Y(\omega )=\omega if ω∈[0,12)\omega \in \left[0, \frac{1}{2}\right) and Y(ω)=12Y(\omega )=\frac{1}{2} if ω∈[12,1]\omega \in \left[\frac{1}{2}, 1\right].

?
Problem 10.33

X=2ω−1+∣2ω−1∣X=2 \omega -1+\left|2 \omega -1\right| and Y=1−∣2ω−1∣Y=1-\left|2 \omega -1\right|.

?
Problem 10.34

X(ω)=1−ω;Y(ω)=0X(\omega )=1-\omega ; Y(\omega )=0 if ω∈[0,12)\omega \in \left[0, \frac{1}{2}\right) and Y(ω)=1Y(\omega )=1 if ω∈[12,1]\omega \in \left[\frac{1}{2}, 1\right].

?
Problem 10.35

X(ω)=1−ω;Y(ω)=0X(\omega )=1-\omega ; Y(\omega )=0 if ω∈[0,12)\omega \in \left[0, \frac{1}{2}\right) and Y(ω)=ωY(\omega )=\omega if ω∈[12,1]\omega \in \left[\frac{1}{2}, 1\right].

?
Problem 10.36

Show that for any XX and YY,

E[E[X∣Y]]=E[X] \mathbb {E}\left[\mathbb {E}\left[ X \mid Y \right]\right]=\mathbb {E}\left[X\right]
?
Problem 10.37

Prove that for any random variables X,YX, Y, and ZZ such that FY⊂FZ\mathcal{F}_{Y} \subset \mathcal{F}_{Z},

E[E[X][Z]∣Y]=E[X∣Y] \mathbb {E}\left[ \mathbb {E}\left[X\right][Z] \mid Y \right]=\mathbb {E}\left[ X \mid Y \right]
?
Problem 10.38

Prove that if XX and YY are independent random variables, then

E[X∣Y]=E[X] \mathbb {E}\left[ X \mid Y \right]=\mathbb {E}\left[X\right]
?
Problem 10.39

Assuming that FZ⊂FY\mathcal{F}_{Z} \subset \mathcal{F}_{Y}, prove that

E[ZX∣Y]=ZE[X∣Y] \mathbb {E}\left[ Z X \mid Y \right]=Z \mathbb {E}\left[ X \mid Y \right]
?
Problem 10.40

Prove that

E[X∣Y]=∫−∞+∞xh(x∣Y)dx(10.3) \mathbb {E}\left[ X \mid Y \right]=\int _{-\infty }^{+\infty } x h(x \mid Y) \mathrm{d} x \tag {10.3}
?
Problem 10.41

Show without referring to Problem 10.38 that E[X∣Y]=E[X]\mathbb {E}\left[ X \mid Y \right]=\mathbb {E}\left[X\right] if XX and YY are jointly continuous and independent.

Find E[X∣Y]\mathbb {E}\left[ X \mid Y \right] if the joint density of XX and YY is of the following form with a constant KK such that ∫−∞+∞∫−∞+∞fX,Y(x,y)dx dy=1\int_{-\infty }^{+\infty } \int_{-\infty }^{+\infty } f_{X, Y}(x, y) \mathrm{d} x \mathrm{~ d} y=1.

?
Problem 10.42

fX,Y(x,y)=K(x+y)f_{X, Y}(x, y)=K(x+y) for 0⩽x,y⩽10 \leqslant x, y \leqslant 1 and zero otherwise.

?
Problem 10.43

fX,Y(x,y)=Kcos⁡xcos⁡yf_{X, Y}(x, y)=K \cos x \cos y for 0⩽x,y⩽π20 \leqslant x, y \leqslant \frac{\pi }{2} and zero otherwise.

?
Problem 10.44

fX,Y(x,y)=K(2x+y)f_{X, Y}(x, y)=K(2 x+y) for x2+y2⩽1x^{2}+y^{2} \leqslant 1 and zero otherwise.

?
Problem 10.45

fX,Y(x,y)=K(x+y)2f_{X, Y}(x, y)=K(x+y)^{2} for 0⩽x,y⩽10 \leqslant x, y \leqslant 1 and zero otherwise.

?
Problem 10.46

fX,Y(x,y)=K(x+y2)f_{X, Y}(x, y)=K\left(x+y^{2}\right) for x2+y2⩽1x^{2}+y^{2} \leqslant 1 and zero otherwise.

?
Problem 10.47

In a game played on a 3 -square board a coin is tossed repeatedly: heads allow the player to move to the next square and tails to jump over the next square. If the end of the board is reached, the reward is $10\$ 10. However, there is a trap on one of the squares, placed randomly with uniform probability. If the player falls into the trap, the game stops and he has to pay a penalty of $10\$ 10. Let XX be the gain or loss made by the player and let YY be the number of the square containing the trap. Compute E[X∣Y]\mathbb {E}\left[ X \mid Y \right] and E[X]\mathbb {E}\left[X\right].

?
Problem 10.48

We buy YY raffle tickets, where YY has the Poisson distribution with parameter λ\lambda. Each ticket wins a prize with probability pp independently of the others. Find the conditional expectation of the number of prizes won XX given the number of tickets bought YY, and compute the expectation of XX.

?
Problem 10.49

At a given moment, there are NN trucks on a bridge. Let YiY_{i} be the weight of the ii th truck and let XX be the total weight of the trucks. Show that if NN and all the YiY_{i} are independent, E[Yi]=m\mathbb {E}\left[Y_{i}\right]=m, and E[N]=n\mathbb {E}\left[N\right]=n, then E[X]=mn\mathbb {E}\left[X\right]=m n.

?
Problem 10.50

The number of mistakes made by a typesetter on any given page is a random variable having the Poisson distribution with parameter λ\lambda, independent for each page. A three-page article is prepared by one of four typesetters, for whom the values of λ\lambda are 1,2,31,2,3, and 4 , respectively. The typesetter is selected randomly with uniform probability. What is the expected number of misprints throughout the article?

?
Problem 10.51

Suppose that the number of customers in a shop on a given day has the Poisson distribution with parameter λ\lambda. Each customer makes a purchase with probability pp independently of other customers. What is the expected number of customers who will make a purchase today?

?
Problem 10.52

The number of customers visiting a shop on a given day has the Poisson distribution with parameter λ\lambda. The expected number of items bought by each customer is 2 , the purchases of each customer being independent. What is the expected number of items the shop will sell in a day?

?