Chapter 7
A First Course in Probability · 62 exercises
Problem 1
A player throws a fair die and simultaneously flips a fair coin. If the coin lands heads, then she wins twice, and if tails, then she wins one-half of the value that appears on the die. Determine her expected winnings.
3 step solution
Problem 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]\)
4 step solution
Problem 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]\)
5 step solution
Problem 4
If \(X\) and \(Y\) have joint density function \(f_{X, Y}(x,
y)=\left\\{\begin{array}{ll}1 / y, & \text { if } 0
5 step solution
Problem 5
The county hospital is located at the center of a square whose sides are 3 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 \((0,0),\) to the point \((x, y)\) is \(|x|+|y| .\) 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
Problem 6
A fair die is rolled 10 times. Calculate the expected sum of the 10 rolls.
3 step solution
Problem 9
A total of \(n\) balls, numbered 1 through \(n\), are put into \(n\) urns, also numbered 1 through \(n\) in such a way that ball \(i\) is equally likely to go into any of the urns \(1,2, \ldots, i .\) Find (a) the expected number of urns that are empty; (b) the probability that none of the urns is empty.
5 step solution
Problem 10
Consider 3 trials, each having the same probability of success. Let \(X\) denote the total number of successes in these trials. If \(E[X]=1.8,\) what is (a) the largest possible value of \(P\\{X=3\\} ?\) (b) the smallest possible value of \(P\\{X=3\\} ?\) In both cases, construct a probability scenario that results in \(P\\{X=3\\}\) having the stated value.
5 step solution
Problem 11
Consider \(n\) independent flips of a coin having probability \(p\) of landing on heads. Say that a changeover occurs whenever an outcome differs from the one preceding it. For instance, if \(n=5\) and the outcome is \(H H T H T,\) then there are 3 changeovers. Find the expected number of changeovers.
4 step solution
Problem 12
A group of \(n\) men and \(n\) 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.
10 step solution
Problem 13
A set of 1000 cards numbered 1 through 1000 is randomly distributed among 1000 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
Problem 16
Let \(Z\) be a standard normal random variable, and, for a fixed \(x,\) set $$X=\left\\{\begin{array}{ll}Z & \text { if } Z>x \\\0 & \text { otherwise }\end{array}\right.$$ Show that \(E[X]=\frac{1}{\sqrt{2 \pi}} e^{-x^{2} / 2}\)
6 step solution
Problem 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 \(i\) th 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,$$\begin{aligned}E[N] &=\frac{1}{n}+\frac{1}{n-1}+\cdots+1 \\\& \approx \int_{1}^{n} \frac{1}{x} d x=\log n\end{aligned}$$ (c) Suppose that you are told after each guess whether you 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 $$\begin{aligned}E[N] &=1+\frac{1}{2 !}+\frac{1}{3 !}+\cdots+\frac{1}{n !} \\\& \approx e-1\end{aligned}$$
8 step solution
Problem 18
Cards from an ordinary deck of 52 playing cards are turned face up one at a time. If the 1 st card is an ace, or the 2nd a deuce, or the 3 rd a three, or \(\ldots\), or the 13 th a king, or the 14 an ace, and so on, we say that a match occurs. Note that we do not require that the \((13 n+1)\) 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.
4 step solution
Problem 20
In an urn containing \(n\) balls, the \(i\) th ball has weight \(W(i), i=1, \ldots, 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_{1}, \ldots, i_{r}\) is the set of balls remaining in the urn, then the next selection will be \(i_{j}\) with probability \(W\left(i_{j}\right) / \sum_{k=1}^{r} W\left(i_{k}\right)\) \(j=1, \ldots, r .\) Compute the expected number of balls that are withdrawn before ball number 1 is removed.
6 step solution
Problem 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.
7 step solution
Problem 22
How many times would you expect to roll a fair die before all 6 sides appeared at least once?
4 step solution
Problem 23
Urn 1 contains 5 white and 6 black balls, while urn 2 contains 8 white and 10 black balls. Two balls are randomly selected from urn 1 and are put into urn \(2 .\) If 3 balls are then randomly selected from urn \(2,\) compute the expected number of white balls in the trio. Hint: Let \(X_{i}=1\) if the \(i\) th white ball initially in urn 1 is one of the three selected, and let \(X_{i}=0\) otherwise. Similarly, let \(Y_{i}=1\) if the \(i\) th white ball from urn 2 is one of the three selected, and let \(Y_{i}=0\) otherwise. The number of white balls in the trio can now be written as \(\sum_{1}^{5} X_{i}+\sum_{1}^{8} Y_{i}\)
4 step solution
Problem 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 \(m\) small pills created when a large one is split in two. Now use the argument of Example \(2 \mathrm{m}\) (b) Let \(Y\) denote the day on which the last large pill is chosen. Find \(E[Y]\)
5 step solution
Problem 25
Let \(X_{1}, X_{2}, \ldots\) be a sequence of independent and identically
distributed continuous random variables. Let \(N \geq 2\) be such that $$X_{1}
\geq X_{2} \geq \cdots \geq X_{N-1}
3 step solution
Problem 26
If \(X_{1}, X_{2}, \ldots, X_{n}\) are independent and identically distributed random variables having uniform distributions over \((0,1),\) find (a) \(E\left[\max \left(X_{1}, \ldots, X_{n}\right)\right]\) (b) \(E\left[\min \left(X_{1}, \ldots, X_{n}\right)\right]\)
4 step solution
Problem 27
If 101 items are distributed among 10 boxes, then at least one of the boxes must contain more than 10 items. Use the probabilistic method to prove this result.
7 step solution
Problem 29
There are 4 different types of coupons, the first 2 of which comprise one group and the second 2 another group. Each new coupon obtained is type \(i\) with probability \(p_{i}\) where \(p_{1}=p_{2}=1 / 8, p_{3}=p_{4}=3 / 8 .\) Find the expected number of coupons that one must obtain to have at least one of (a) all 4 types; (b) all the types of the first group; (c) all the types of the second group; (d) all the types of either group.
3 step solution
Problem 30
If \(X\) and \(Y\) are independent and identically distributed with mean \(\mu\) and variance \(\sigma^{2},\) find$$ E\left[(X-Y)^{2}\right]$$
5 step solution
Problem 33
If \(E[X]=1\) and \(\operatorname{Var}(X)=5,\) find (a) \(E\left[(2+X)^{2}\right]\) (b) \(\operatorname{Var}(4+3 X)\)
2 step solution
Problem 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.
5 step solution
Problem 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.
3 step solution
Problem 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 \(\operatorname{Cov}(X, Y)\)
3 step solution
Problem 38
The random variables \(X\) and \(Y\) have a joint density function given by $$f(x, y)=\left\\{\begin{array}{ll}2 e^{-2 x} / x & 0 \leq x<\infty, 0 \leq y \leq x \\\0 & \text { otherwise }\end{array}\right.$$ Compute \(\operatorname{Cov}(X, Y)\)
5 step solution
Problem 40
The joint density function of \(X\) and \(Y\) is given by $$f(x, y)=\frac{1}{y} e^{-(y+x / y)}, \quad x>0, y>0$$ Find \(E[X], E[Y],\) and show that \(\operatorname{Cov}(X, Y)=1\)
3 step solution
Problem 41
A pond contains 100 fish, of which 30 are carp. If 20 fish are caught, what are the mean and variance of the number of carp among the \(20 ?\) What assumptions are you making?
3 step solution
Problem 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.
9 step solution
Problem 43
Let \(X_{1}, X_{2}, \ldots, X_{n}\) be independent random variables having an unknown continuous distribution function \(F\) and let \(Y_{1}, Y_{2}, \ldots, Y_{m}\) be independent random variables having an unknown continuous distribution function \(G .\) Now order those \(n+m\) variables, and let $$I_{i}=\left\\{\begin{array}{ll}1 & \text { if the } i \text { th smallest of the } n+m \\\& \text { variables is from the } X \text { sample } \\\0 & \text { otherwise }\end{array}\right.$$ The random variable \(R=\sum_{i=1}^{n+m} i I_{i}\) is the sum of the ranks of the \(X\) sample and is the basis of a standard statistical procedure (called the Wilcoxon sum-of-ranks test) for testing whether \(F\) and \(G\) are identical distributions. This test accepts the hypothesis that \(F=G\) when \(R\) is neither too large nor too small. Assuming that the hypothesis of equality is in fact correct, compute the mean and variance of \(R\)
5 step solution
Problem 44
Between two distinct methods for manufacturing certain goods, the quality of goods produced by method \(i\) is a continuous random variable having distribution \(F_{i}, i=\) 1,2. Suppose that \(n\) goods are produced by method 1 and \(m\) by method \(2 .\) Rank the \(n+m\) goods according to quality, and let$$X_{j}=\left\\{\begin{array}{ll}1 & \text { if the } j \text { th best was produced from } \\\& \text { method } 1 \\\2 & \text { otherwise }\end{array}\right.$$ For the vector \(X_{1}, X_{2}, \ldots, X_{n+m},\) which consists of \(n\) 1's and \(m\) 2's, let \(R\) denote the number of runs of \(1 .\) For instance, if \(n=5, m=2,\) and \(X=1,2,1,1,1,1,2,\) then \(R=2 .\) If \(F_{1}=F_{2}\) (that is, if the two methods produce identically distributed goods), what are the mean and variance of \(R ?\)
5 step solution
Problem 45
If \(X_{1}, X_{2}, X_{3},\) and \(X_{4}\) are (pairwise) uncorrelated random variables, each having mean 0 and variance \(1,\) compute the correlations of (a) \(X_{1}+X_{2}\) and \(X_{2}+X_{3}\) (b) \(X_{1}+X_{2}\) and \(X_{3}+X_{4}\)
4 step solution
Problem 46
Consider the following dice game, as played at a certain gambling casino: Players 1 and 2 roll a pair of dice in turn. The bank then rolls the dice to determine the outcome according to the following rule: Player \(i, i=1,2,\) wins if his roll is strictly greater than the bank's. For \(i=\) \(1,2,\) let $$I_{i}=\left\\{\begin{array}{ll}1 & \text { if } i \text { wins } \\\0 & \text { otherwise }\end{array}\right.$$ and show that \(I_{1}\) and \(I_{2}\) are positively correlated. Explain why this result was to be expected.
4 step solution
Problem 47
Consider a graph having \(n\) vertices labeled \(1,2, \ldots, n\) and suppose that, between each of the \(\left(\begin{array}{l}n \\ 2\end{array}\right)\) pairs of distinct vertices, an edge is independently present with probability \(p .\) The degree of vertex \(i,\) designated as \(D_{i},\) is the number of edges that have vertex \(i\) as one of their vertices. (a) What is the distribution of \(D_{i} ?\) (b) Find \(\rho\left(D_{i}, D_{j}\right),\) the correlation between \(D_{i}\) and \(D_{j}\)
2 step solution
Problem 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) \(E[X]\) (b) \(E[X | Y=1]\) (c) \(E[X | Y=5]\)
3 step solution
Problem 49
There are two misshapen coins in a box; their probabilities for landing on heads when they are flipped are, respectively, .4 and \(.7 .\) 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 10 flips?
5 step solution
Problem 50
The joint density of \(X\) and \(Y\) is given by $$f(x, y)=\frac{e^{-x / y}
e^{-y}}{y}, \quad 0
4 step solution
Problem 51
The joint density of \(X\) and \(Y\) is given by $$f(x, y)=\frac{e^{-y}}{y}, \quad
0
3 step solution
Problem 52
A population is made up of \(r\) disjoint subgroups. Let \(p_{i}\) denote the proportion of the population that is in subgroup \(i, i=1, \ldots, r .\) If the average weight of the members of subgroup \(i\) is \(w_{i}, i=1, \ldots, r,\) what is the average weight of the members of the population?
3 step solution
Problem 53
A prisoner is trapped in a cell containing 3 doors. The first door leads to a tunnel that returns him to his cell after 2 days' travel. The second leads to a tunnel that returns him to his cell after 4 days' travel. The third door leads to freedom after 1 day of travel. If it is assumed that the prisoner will always select doors \(1,2,\) and 3 with respective probabilities \(.5, .3,\) and \(.2,\) what is the expected number of days until the prisoner reaches freedom?
5 step solution
Problem 55
Ten hunters are waiting for ducks to fly by. When a flock of ducks flies overhead, the hunters fire at the same time, but each chooses his target at random, independently of the others. If each hunter independently hits his target with probability \(.6,\) compute the expected number of ducks that are hit. Assume that the number of ducks in a flock is a Poisson random variable with mean 6
5 step solution
Problem 57
Suppose that the expected number of accidents per week at an industrial plant is \(5 .\) Suppose also that the numbers of workers injured in each accident are independent random variables with a common mean of \(2.5 .\) If the number of workers injured in each accident is independent of the number of accidents that occur, compute the expected number of workers injured in a week.
3 step solution
Problem 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.
3 step solution
Problem 60
Each of \(m+2\) players pays 1 unit to a kitty in order to play the following game: A fair coin is to be flipped successively \(n\) times, where \(n\) is an odd number, and the successive outcomes are noted. Before the \(n\) flips, each player writes down a prediction of the outcomes. For instance, if \(n=3,\) then a player might write down \((H, H, T),\) which means that he or she predicts that the first flip will land on heads, the second on heads, and the third on tails. After the coins are flipped, the players count their total number of correct predictions. Thus, if the actual outcomes are all heads, then the player who wrote \((H, H, T)\) would have 2 correct predictions. The total kitty of \(m+2\) is then evenly split up among those players having the largest number of correct predictions. since each of the coin flips is equally likely to land on either heads or tails, \(m\) of the players have decided to make their predictions in a totally random fashion. Specifically, they will each flip one of their own fair coins \(n\) times and then use the result as their prediction. However, the final 2 of the players have formed a syndicate and will use the following strategy: One of them will make predictions in the same random fashion as the other \(m\) players, but the other one will then predict exactly the opposite of the first. That is, when the randomizing member of the syndicate predicts an \(H,\) the other member predicts a \(T .\) For instance, if the randomizing member of the syndicate predicts \((H, H, T),\) then the other one predicts \((T, T, H)\) (a) Argue that exactly one of the syndicate members will have more than \(n / 2\) correct predictions. (Remember, \(n\) is odd.) (b) Let \(X\) denote the number of the \(m\) nonsyndicate players who have more than \(n / 2\) correct predictions. What is the distribution of \(X ?\) (c) With \(X\) as defined in part (b), argue that \(E[\text { payoff to the syndicate }]=(m+2)\) $$\times E\left[\frac{1}{X+1}\right]$$ (d) Use part (c) of Problem 7.59 to conclude that\(E[\text { payoff to the syndicate }]=\frac{2(m+2)}{m+1}$$$\times\left[1-\left(\frac{1}{2}\right)^{m+1}\right]$$ and explicitly compute this number when \)m=1,2,$ and 3 Because it can be shown that $$\frac{2(m+2)}{m+1}\left[1-\left(\frac{1}{2}\right)^{m+1}\right]>2$$ it follows that the syndicate's strategy always gives it a positive expected profit.
4 step solution
Problem 61
Let \(X_{1}, \ldots\) be independent random variables with the common distribution function \(F,\) and suppose they are independent of \(N,\) a geometric random variable with parameter \(p .\) Let \(M=\max \left(X_{1}, \ldots, X_{N}\right)\) (a) Find \(P\\{M \leq x\\}\) by conditioning on \(N\) (b) Find \(P\\{M \leq x | N=1\\}\) (c) Find \(P\\{M \leq x | N>1\\}\) (d) Use (b) and (c) to rederive the probability you found in (a).
4 step solution
Problem 62
Let \(U_{1}, U_{2}, \ldots\) be a sequence of independent uniform (0,1) random
variables. In Example \(5 \mathrm{i},\) we showed that for \(0 \leq x \leq 1,
E[N(x)]=e^{x},\) where $$N(x)=\min \left\\{n: \sum_{i=1}^{n} U_{i}>x\right\\}$$
This problem gives another approach to establishing that result.
(a) Show by induction on \(n\) that for \(0
3 step solution
Problem 64
Type \(i\) light bulbs function for a random amount of time having mean \(\mu_{i}\) and standard deviation \(\sigma_{i}, i=1,2 . \mathrm{A}\) light bulb randomly chosen from a bin of bulbs is a type 1 bulb with probability \(p\) and a type 2 bulb with probability \(1-p .\) Let \(X\) denote the lifetime of this bulb. Find (a) \(E[X]\) (b) \(\operatorname{Var}(X)\)
3 step solution