It states that, in order to determine it can be found by taking a weighted
average of the conditional expectation of X given each of these terms is
weighted by probability
Example 4.8.Problem: the survival of a motorist stranded in a snowstorm
depends on which of the three directions the motorist chooses to walk. The first
road leads to safety after one hour of travel, the second leads to safety after
three hours of travel, but the third will circle back to the original spot after two
hours. Determine the average time to safety if the motorist is equally likely to
choose any one of the roads.
Answer: let Y 1,2, and 3 be the events that the motorist ch ooses the first,
second and third road, respectively. Then 1,2,3. Let X
be the time to safety, in hours. We have:
Now,
Hence
or
Let us remark that the third relation in Equations (4.16) is obtained by noting
that, if the motorist chooses the third road, then it takes two hours to find that
he or she is back to the starting point and the problem is as before. Hence, the
motorist’s expected additional time to safety is just The result is thus
We further remark that problems of this type would require much
more work were other approaches to be used.
Expectations and Moments 85
EfXg,
Yyi;
PYyi).
PYi)1/3 fori
EfXg
X^3
i 1
EfXjYigP
Yi
1
3
X^3
i 1
EfXjYig:
EfXjY 1 g 1 ;
EfXjY 2 g 3 ;
EfXjY 3 g 2 EfXg:
9
>>>
=
>>
>;
4 : 16
EfXg
1
3
1 3 2 EfXg;
EfXg3 hours:
EfXg.
2 EfXg.