Properties of Expectation
A First Course in Probability · 170 exercises
Q 7.6
A fair die is rolled times. Calculate the expected sum of the rolls.
6 step solution
Q.7.10
Consider 3 trials, each having the same probability of success. Let denote the total number of successes in these trials. If , what is
(a) the largest possible value of ?
(b) the smallest possible value of }?
6 step solution
Q.7. 5
The county hospital is located at the center of a square whose sides are miles wide. If an accident occurs within this square, then the hospital sends out an ambulance. The road network is rectangular, so the travel distance from the hospital, whose coordinates are , to the point is . If an accident occurs at a point that is uniformly distributed in the square, find the expected travel distance of the ambulance.
5 step solution
Q.7.2
The game of Clue involves 6 suspects, 6 weapons, and 9 rooms. One of each is randomly chosen and the object of the game is to guess the chosen three.
(a) How many solutions are possible? In one version of the game, the selection is made and then each of the players is randomly given three of the remaining cards. Let S, W, and R be, respectively, the numbers of suspects, weapons, and rooms in the set of three cards given to a specified player. Also, let X denote the number of solutions that are possible after that player observes his or her three cards.
(b) Express X in terms of S, W, and R.
(c) Find E[X]
6 step solution
Q.7.3
Gambles are independent, and each one results in the player being equally likely to win or lose 1 unit. Let W denote the net winnings of a gambler whose strategy is to stop gambling immediately after his first win. Find
(a) P{W > 0}
(b) P{W < 0}
(c) E[W]
6 step solution
Q.7.4
7.4. If X and Y have joint density function find
(a) E[X Y]
(b) E[X]
(c) E[Y]
6 step solution
Q. 7.7
Suppose that A and B each randomly and independently choose of objects. Find the expected number of objects
a. Chosen by both A and B;
b. Not chosen by either A or B;
c. Chosen by exactly one of A and B.
12 step solution
Q. 7.8
N people arrive separately to a professional dinner. Upon arrival, each person looks to see if he or she has any friends among those present. That person then sits either at the table of a friend or at an unoccupied table if none of those present is a friend. Assuming that each of the pairs of people is, independently, a pair of friends with probability p, find the expected number of occupied tables.
Hint: Let equal or , depending on whether the th arrival sits at a previously unoccupied table.
4 step solution
Q. 7.9
A total of n balls, numbered through n, are put into n urns, also numbered through in such a way that ball is equally likely to go into any of the urns .
Find (a) the expected number of urns that are empty.
(b) the probability that none of the urns is empty.
9 step solution
Q.7.11
Consider independent flips of a coin having probability of landing on heads. Say that a changeover occurs whenever an outcome differs from the one preceding it. For instance, if and the outcome is, then there are changeovers. Find the expected number of changeovers. Hint: Express the number of changeovers as the sum of Bernoulli random variables.
4 step solution
Q.7.12
A set of cards numbered 1 through is randomly distributed among people with each receiving one card. Compute the expected number of cards that are given to people whose age matches the number on the card.
4 step solution
Q.7.15
In Example h,say that i and , form a matched pair if i chooses the hat belonging to j and j chooses the hat belonging to i. Find the expected number of matched pairs.
3 step solution
Q.7.16
Let Z be a standard normal random variable,and, for a fixed x, set
3 step solution
Q.7.17
A deck of n cards numbered 1 through n is thoroughly shuffled so that all possible n! orderings can be assumed to be equally likely. Suppose you are to make n guesses sequentially, where the ith one is a guess of the card in position i. Let N denote the number of correct guesses.
(a) If you are not given any information about your earlier guesses, show that for any strategy, E[N]=1.
(b) Suppose that after each guess you are shown the card that was in the position in question. What do you think is the best strategy? Show that under this strategy
(c) Supposethatyouaretoldaftereachguesswhetheryou are right or wrong. In this case, it can be shown that the strategy that maximizes E[N] is one that keeps on guessing the same card until you are told you are correct and then changes to a new card. For this strategy, show that
Hint: For all parts, express N as the sum of indicator (that is, Bernoulli) random variables.
9 step solution
Q.7.18
Cards from an ordinary deck of playing cards are turned face upon at a time. If the 1st card is an ace, or the nd a deuce, or the rd a three, or ...,or the th a king,or the an ace, and so on, we say that a match occurs. Note that we do not require that the (n + ) card be any particular ace for a match to occur but only that it be an ace. Compute the expected number of matches that occur.
3 step solution
Q.7.19
A certain region is inhabited by r distinct types of a certain species of insect. Each insect caught will, independently of the types of the previous catches, be of type i with probability
(a) Compute the mean number of insects that are caught before the first type catch.
(b) Compute the mean number of types of insects that are caught before the first type catch.
6 step solution
Q.7.14
An urn has black balls. At each stage, a black ball is removed and a new ball that is black with probability and white with probability is put in its place. Find the expected number of stages needed until there are no more black balls in the urn. note: The preceding has possible applications to understanding the AIDS disease. Part of the body’s immune system consists of a certain class of cells known as T-cells. There are types of T-cells, called CD4 and CD8. Now, while the total number of T-cells in AIDS sufferers is (at least in the early stages of the disease) the same as that in healthy individuals, it has recently been discovered that the mix of CD4 and CD8 T-cells is different. Roughly 60 percent of the T-cells of a healthy person are of the CD4 type, whereas the percentage of the T-cells that are of CD4 type appears to decrease continually in AIDS sufferers. A recent model proposes that the HIV virus (the virus that causes AIDS) attacks CD4 cells and that the body’s mechanism for replacing killed T-cells does not differentiate between whether the killed T-cell was CD4 or CD8. Instead, it just produces a new T-cell that is CD4 with probability . and CD8 with probability .. However, although this would seem to be a very efficient way of replacing killed T-cells when each one killed is equally likely to be any of the body’s T-cells (and thus has probability . of being CD4), it has dangerous consequences when facing a virus that targets only the CD4 T-cells
4 step solution
Q.7.12
A group of men and women is lined up at random.
(a) Find the expected number of men who have a woman next to them.
(b) Repeat part (a), but now assuming that the group is randomly seated at a round table.
7 step solution
Q.7.31
In Problem 7.6, calculate the variance of the sum of the rolls.
5 step solution
Q.7.32
In Problem 7.9, compute the variance of the number of empty urns.
6 step solution
Q.7.33
If and find
(a)
(b)
6 step solution
Q.7.34
If 10 married couples are randomly seated at a round table, compute
(a) The expected number and
(b) The variance of the number of wives who are seated next to their husbands.
7 step solution
Q.7.35
Cards from an ordinary deck are turned face up one at a time. Compute the expected number of cards that need to be turned face up in order to obtain
(a) 2 aces;
(b) 5 spades;
(c) all 13 hearts.
11 step solution
Q.7.20
In an urn containing n balls, the ith ball has weight W(i),i = ,...,n. The balls are removed without replacement, one at a time, according to the following rule: At each selection, the probability that a given ball in the urn is chosen is equal to its weight divided by the sum of the weights remaining in the urn. For instance, if at some time i,...,ir is the set of balls remaining in the urn, then the next selection will be ij with probability , j = 1,...,r Compute the expected number of balls that are withdrawn before the ball number is removed.
3 step solution
Q.7.21
For a group of 100 people, compute
(a) the expected number of days of the year that are birthdays of exactly 3 people;
(b) the expected number of distinct birthdays.
6 step solution
Q.7.22
How many times would you expect to roll a fair die before all sides appeared at least once?
3 step solution
Q.7.23
Urn contains white and black balls, while urn contains white and black balls. Two balls are randomly selected from urn and are put into urn . If balls are then randomly selected from urn , compute the expected number of white balls in the trio.
Hint: LetXi = if the i th white ball initially in urn is one of the three selected, and let Xi = otherwise. Similarly, let Yi = if the i the white ball from urn is one of the three selected, and let Yi = otherwise. The number of white balls in the trio can now be written as
4 step solution
Q.7.24
A bottle initially contains m large pills and n small pills. Each day, a patient randomly chooses one of the pills. If a small pill is chosen, then that pill is eaten. If a large pill is chosen, then the pill is broken in two; one part is returned to the bottle (and is now considered a small pill) and the other part is then eaten.
(a) Let X denote the number of small pills in the bottle after the last large pill has been chosen and its smaller half returned. Find E[X].
Hint: Define n + m indicator variables, one for each of the small pills initially present and one for each of the small pills created when a large one is split in two. Now use the argument of Example m.
(b) Let Y denote the day on which the last large pills chosen. Find E[Y].
Hint: What is the relationship between X and Y?
7 step solution
Q.7.29
There are different types of coupons, the first of which comprise one group and the second another group. Each new coupon obtained is type i with probability , where . Find the expected number of coupons that one must obtain to have at least one of
(a) all types;
(b) all the types of the first group;
(c) all the types of the second group;
(d) all the types of either group
12 step solution
Q.7.3
If and Y are independent and identically distributed with mean and variance , find
3 step solution
Q. 7.25
Let be a sequence of independent and identically distributed continuous random variables. Let be such that
That is, is the point at which the sequence stops decreasing. Show that .
Hint: First find .
3 step solution
Q. 7.26
If are independent and identically distributed random variables having uniform distributions over , find
(a) ;
(b) .
6 step solution
Q. 7.27
If items are distributed among boxes, then at least one of the boxes must contain more than items. Use the probabilistic method to prove this result.
3 step solution
Q. 7.28
The -of--out-of- circular reliability system, , consists of components that are arranged in a circular fashion. Each component is either functional or failed, and the system functions if there is no block of consecutive components of which at least are failed. Show that there is no way to arrange components, of which are failed, to make a functional -of--out-of- circular system.
3 step solution
Q.7.46
Consider the following dice game, as played at a certain gambling casino: Playersand roll a pair of dice in turn. The bank then rolls the dice to determine the outcome according to the following rule: Player wins if his roll is strictly greater than the banks. Forlet
and show that and are positively correlated. Explain why this result was to be expected.
5 step solution
Q.7.36
Let be the number of and the number of that occur in rolls of a fair die. Compute .
4 step solution
Q.7.37
A die is rolled twice. Let X equal the sum of the outcomes, and let Y equal the first outcome minus the second.
Compute
4 step solution
Q.7.47
Consider a graph having vertices labeled, and suppose that, between each of the pairs of distinct vertices, an edge is independently present with probability . The degree of a vertex, designated as is the number of edges that have vertex as one of their vertices.
(a) What is the distribution of ?
(b) Find , the correlation between and.
6 step solution
Q.7.38
The random variables X and Y have a joint density function is given by
Compute
7 step solution
Q.7.39
Let be independent with common mean and common variance , and set . For , find
4 step solution
Q.7.41
A pond contains fish, of which are carp. If fish are caught, what are the mean and variance of the number of carp among the ? What assumptions are you making?
4 step solution
Q.7.4
The joint density function ofandis given by
Find and show that
5 step solution
Q.7.42
A group of 20 people consisting of 10 men and 10 women is randomly arranged into 10 pairs of 2 each. Compute the expectation and variance of the number of pairs that consist of a man and a woman. Now suppose the 20 people consist of 10 married couples. Compute the mean and variance of the number of married couples that are paired together.
8 step solution
Q.7.43
Let be independent random variables having an unknown continuous distribution function and let be independent random variables having an unknown continuous distribution function . Now order those variables, and let
The random variable is the sum of the ranks of the sample and is the basis of a standard statistical procedure (called the Wilcoxon sum-of-ranks test) for testing whether and are identical distributions. This test accepts the hypothesis that when is neither too large nor too small. Assuming that the hypothesis of equality is in fact correct, compute the mean and variance of .
Hint: Use the results of Example 3e.
4 step solution
Q.7.44
Between two distinct methods for manufacturing certain goods, the quality of goods produced by method is a continuous random variable having distribution . Suppose that goods are produced by method 1 and by method 2 . Rank the goods according to quality, and let
For the vector , which consists of and , let denote the number of runs of 1 . For instance, if , and , then . If (that is, if the two methods produce identically distributed goods), what are the mean and variance of ?
6 step solution
Q.7.45
If , and are (pairwise) uncorrelated random variables, each having mean 0 and variance 1 , compute the correlations of
(a) and
(b) and .
7 step solution
Q.48
A fair die is successively rolled. Let X and Y denote, respectively, the number of rolls necessary to obtain a 6 and a 5. Find
(a) ;
(b) ;
(c) ;
8 step solution
Q.49
There are two misshapen coins in a box; their probabilities for landing on heads when they are flipped are, respectively, . and .. One of the coins is to be randomly chosen and flipped 10 times. Given that two of the first three flips landed on heads, what is the conditional expected number of heads in the flips?
4 step solution
7.59
There are participants in a game. Each person independently is a winner with probability . The winners share a total prize of 1 unit. (For instance, if 4 people win, then each of them receives whereas if there are no winners, then none of the participants receives anything.) Letdenote a specified one of the players, and let denote the amount that is received by
(a) Compute the expected total prize shared by the players.
(b) Argue that
(c) Compute by conditioning on whetheris a winner, and conclude that
When is a binomial random variable with parameters and
9 step solution
Q7.58
A coin having probability p of coming up heads is continually flipped until both heads and tails have appeared. Find
(a) the expected number of flips,
(b) the probability that the last flip lands on heads.
2 step solution