Problems
[57/100%]Let and be independent discrete random variables, and let . Show that and are independent.
Show that two discrete random variables and are independent if and only if for all .
More generally, show that and are independent if and only if can be factorized as the product of a function of alone and a function of alone.
Show that if then is almost surely constant; that is, there exists such that . (First show that if then .)
Let be a discrete random variable and let . Show that, when the sum is absolutely convergent,
If and are independent and , show that whenever these expectations exist.
Let , with . Define by
Show that and have the same mass functions. Find the mass functions of , and . Find the conditional mass functions and .
For what values of and is a mass function, where:
,
(zeta or Zipf distribution)?
Let and be independent Poisson variables with respective parameters and . Show that:
is Poisson, parameter ,
the conditional distribution of , given , is binomial, and find its parameters.
If is geometric, show that for . Why do you think that this is called the 'lack of memory' property? Does any other distribution on the positive integers have this property?
Show that the sum of two independent binomial variables, and respectively, is .
Let be the number of heads occurring in tosses of a biased coin. Write down the mass function of in terms of the probability of heads turning up on each toss. Prove and utilize the identity
in order to calculate the probability that is even. Compare with Problem (1.8.20).
An urn contains balls, of which are blue and of which are red. A random sample of balls is withdrawn without replacement from the urn. Show that the number of blue balls in this sample has the mass function
This is called the hypergeometric distribution with parameters , and . Show further that if , and approach in such a way that and , then
You have shown that, for small and large , the distribution of barely depends on whether or not the balls are replaced in the urn immediately after their withdrawal.
Let and be independent variables, and let . Show that the conditional distribution of given is the hypergeometric distribution of Problem (3.11.10).
Suppose and take values in , with joint mass function . Write , , and find necessary and sufficient conditions for and to be:
uncorrelated,
independent.
If takes non-negative integer values show that
An urn contains blue and red balls. Balls are removed at random until the first blue ball is drawn. Show that the expected number drawn is .
The balls are replaced and then removed at random until all the remaining balls are of the same colour. Find the expected number remaining in the urn.
Let and be independent random variables taking values in the non-negative integers, with finite means. Let and . Show that
Let take values in the non-negative integers. Show that
and find a similar formula for .
Let be independent random variables, and suppose that is Bernoulli with parameter . Show that has mean and variance given by
Show that, for fixed, is a maximum when . That is to say, the variation in the sum is greatest when individuals are most alike. Is this contrary to intuition?
Let be a vector of random variables. The covariance matrix of is defined to be the symmetric by matrix with entries given by . Show that if and only if the are linearly dependent with probability one, in that for some and . denotes the determinant of .)
Let and be independent Bernoulli random variables with parameter . Show that and are dependent though uncorrelated.
A secretary drops matching pairs of letters and envelopes down the stairs, and then places the letters into the envelopes in a random order. Use indicators to show that the number of correctly matched pairs has mean and variance 1 for all . Show that the mass function of converges to a Poisson mass function as .
Let be a vector of independent random variables each having the Bernoulli distribution with parameter . Let be increasing, which is to say that whenever for each .
Let . Show that if .
FKG inequality. Let and be increasing functions from into . Show by induction on that .
Let be the reliability function of a network with a given source and sink, each edge of which is working with probability , and let be the event that there exists a working connection from source to sink. Show that
where is a typical realization (i.e. outcome) of the network, is the number of working edges of , and is the total number of edges of .
Deduce that , and hence that
Let be the reliability function of a network , each edge of which is working with probability .
Show that if .
Show that for all and .
In a certain style of detective fiction, the sleuth is required to declare "the criminal has the unusual characteristics...; find this person and you have your man". Assume that any given individual has these unusual characteristics with probability independently of all other individuals, and that the city in question contains inhabitants. Calculate the expected number of such people in the city.
Given that the police inspector finds such a person, what is the probability that there is at least one other?
If the inspector finds two such people, what is the probability that there is at least one more?
How many such people need be found before the inspector can be reasonably confident that he has found them all?
For the given population, how improbable should the characteristics of the criminal be, in order that he (or she) be specified uniquely?
In 1710, J. Arbuthnot observed that male births had exceeded female births in London for 82 successive years. Arguing that this showed the two sexes cannot be equally likely, since is very small, he attributed this run of masculinity to Divine Providence. Let us assume that each birth results in a girl with probability , and that the outcomes of different confinements are independent of each other. Ignoring the possibility of twins (and so on), show that the probability that girls outnumber boys in live births is no greater than , where . Suppose that 20,000 children are born in each of 82 successive years. Show that the probability that boys outnumber girls every year is at least 0.99. You may need Stirling's formula.
Consider a symmetric random walk with an absorbing barrier at and a reflecting barrier at 0 (so that, when the particle is at , it moves to 1 at the next step). Let be the probability that the particle, having started at , visits 0 exactly times before being absorbed at . We make the convention that, if , then the starting point counts as one visit. Show that
Problem of the points (3.9.4). A coin is tossed repeatedly, heads turning up with probability on each toss. Player A wins the game if heads appears at least times before tails has appeared times; otherwise player B wins the game. Find the probability that A wins the game.
A coin is tossed repeatedly, heads appearing on each toss with probability . A gambler starts with initial fortune (where ); he wins one point for each head and loses one point for each tail. If his fortune is ever 0 he is bankrupted, whilst if it ever reaches he stops gambling to buy a Jaguar. Suppose that . Show that the gambler can increase his chance of winning by doubling the stakes. You may assume that and are even.
What is the corresponding strategy if ?
A compulsive gambler is never satisfied. At each stage he wins with probability and loses otherwise. Find the probability that he is ultimately bankrupted, having started with an initial fortune of .
Let be independent, identically distributed random variables taking integer values. Let . The range of is the number of distinct values taken by the sequence. Show that , and deduce that, as ,
Hence show that, for the simple random walk, as .
Arc sine law for maxima. Consider a symmetric random walk starting from the origin, and let . Show that, for , the probability that the walk reaches for the first time at time equals .
Let be a symmetric random walk with , and let be the number of points that have been visited by exactly once up to time . Show that .
Consider the following fragment of verse entitled 'Note for the scientist'.
People who have three daughters try for more, And then its fifty-fifty they'll have four, Those with a son or sons will let things be, Hence all these surplus women, QED.
What do you think of the argument?
Show that the mean number of children of either sex in a family whose fertile parents have followed this policy equals 1. (You should assume that each delivery yields exactly one child whose sex is equally likely to be male or female.) Discuss.
Let , let denote the prime numbers, and let be independent random variables, having mass function for , where for all . Show that is a random integer with mass function for (this may be called the Dirichlet distribution), where is a constant satisfying
plates are laid out around a circular dining table, and a hot cake is passed between them in the manner of a symmetric random walk: each time it arrives on a plate, it is tossed to one of the two neighbouring plates, each possibility having probability . The game stops at the moment when the cake has visited every plate at least once. Show that, with the exception of the plate where the cake began, each plate has probability of being the last plate visited by the cake.
There are points ranked in order of merit with no matches. You seek to reach the best, . If you are at the th best, you step to any one of the better points, with equal probability of stepping to each. Let be the expected number of steps to reach from the th best vertex. Show that . Give an asymptotic expression for the expected time to reach from the worst vertex, for large .
There are unstable molecules in a row, . One of the pairs of neighbours, chosen at random, combines to form a stable dimer; this process continues until there remain isolated molecules no two of which are adjacent. Show that the probability that remains isolated is as . Deduce that .
Let be independent Bernoulli random variables with respective parameters satisfying for all and some . Let and . Show that
The length of the tail of the th member of a troop of chimeras is . A random sample of chimeras is taken (without replacement) and their tails measured. Let be the indicator of the event that the th chimera is in the sample. Set
Show that , and .
Any individual in a group contracts a certain disease with probability ; such individuals are hospitalized with probability . Independently of this, anyone in may be in hospital with probability , for some other reason. Let be the number in hospital, and the number in hospital who have (including those with admitted for any other reason). Show that the correlation between and is
where . It has been stated erroneously that, when is near unity, this is evidence for a causal relation between being in and contracting .
A telephone sales company attempts repeatedly to sell new kitchens to each of the families in a village. Family agrees to buy a new kitchen after it has been solicited times, where the are independent identically distributed random variables with mass function . The value is allowed, so that . Let be the number of kitchens sold at the th round of solicitations, so that . Suppose that is a random variable with the Poisson distribution with parameter .
Show that the are independent random variables, having the Poisson distribution with parameter .
The company loses heart after the th round of calls, where . Let be the number of solicitations made up to time . Show further that where .
A particle performs a random walk on the non-negative integers as follows. When at the point its next position is uniformly distributed on the set . When it hits 0 for the first time, it is absorbed. Suppose it starts at the point .
Find the probability that its position never exceeds , and prove that, with probability , it is absorbed ultimately.
Find the probability that the final step of the walk is from 1 to 0 when .
Find the expected number of steps taken before absorption when .
Let be a finite graph with neither loops nor multiple edges, and write for the degree of the vertex . An independent set is a set of vertices no pair of which is joined by an edge. Let be the size of the largest independent set of . Use the probabilistic method to show that .
This conclusion is sometimes referred to as Turán's theorem.
Kelly betting, or proportional investment. A gambler (or 'investor') makes a sequence of bets of the following type: on each bet, for a given stake , the return is either the loss of the stake with probability or a win totalling with probability . (Assume the usual independence.) The entry fee is where . Show that the mean gain per play for stake is , where (with a negative value indicating a loss).
The gambler decides to bet a fixed fraction of her current fortune at each stage. That is, given a current fortune , she bets for some fixed . Show that her resulting fortune is
where is the indicator function of a win. Suppose . The gambler considers two policies for choosing : for given ,
maximize ,
maximize
Find an expression for in each case. Show that , and explain why a cautious gambler may prefer (b) to (a) even though this entails a slower rate of growth of her expected fortune.
Let be given reals with , and let the sequence of random variables be given as follows. First, for . For , we set where are uniformly distributed on , and the family are independent. Show that
Enthusiasts may care to show that, when and ,
Let . For , let where are uniformly distributed on , and the family are independent. Show that
You may find it useful to recall Euler's sine formula:
Gollum has concealed the ring of power in a box chosen randomly from a row of such boxes. Bilbo opens a box at random. If the ring is not there, his occult powers are sufficient for him to learn whether the ring lies to the right or the left, and he opens further boxes accordingly. Find an expression for the mean number of boxes opened before finding the ring, and deduce that as .
In a variant of the previous problem, we have , and Bilbo invariably chooses the middle box. Find the mean number of boxes inspected, and the asymptotics of as .
A bad fairy has cursed you. A good fairy has concealed the magic word that cancels the curse in one of numbered boxes, and she has told you that it is in box with probability , for . Each day you are permitted to look in one box.
Assume that, each day, you inspect a box chosen at random, box being chosen with probability , and, furthermore, boxes chosen on different days are independent. Find the mean number of days that elapse before your release from the curse, and find the mass function that minimizes this mean value.
Suppose now that you remember the results of your previous failed searches. What now is your optimal policy, and what is the mean number of days that elapse?
After each search, the bad fairy removes the magic word, which is immediately replaced by the good fairy in an independently chosen box, with the same distribution at each replacement. What now is your optimal policy? Find the mean number of elapsed days.
Gwen and John play 'best of games', and play stops as soon as either has won games. Gwen wins each game with probability and John otherwise (with probability ). Different games have independent winners. Write down an expression for the probability that Gwen wins games altogether, given that John has won the match, and deduce that for .
Hence or otherwise, prove that the mean total number of games in the match is
where is the probability that Gwen wins the match. When , show that
Let be the number of ways to partition into non-empty parts. Suppose each element of is coloured with one of distinct colours. Prove that
Deduce that the th moment of the Poisson distribution with parameter 1 equals the number of ways to partition , that is, .
Let . Bertha and Harold play a game of rackets. Bertha wins the point with probability when she serves, and Harold wins with probability when he serves. The first player to win points wins the game, and Bertha serves first. Consider the following rules for changing server.
Service alternates between players.
Service is retained until a point is lost, and then passes to the other player.
Service is retained until a point is won, and then passes to the other player.
Bertha serves the first points, and then Harold serves any further points required to decide the outcome.
Show that is the same for all four rules.
Let be discrete random variables with respective mass functions , and joint mass function . Define the:
Show that for .
Show that , where is the mutual information of Exercise (3.6.5).
Show when and are independent that .
Show that the entropy of the binomial distribution is non-decreasing in .
Find the entropy of the geometric distribution, parameter , and show it is decreasing in .
It is normal to use logarithms to base 2 in information theory, but we use natural logarithms here.
Show that the entropy , as defined in Problem (3.11.50), of the Poisson distribution with parameter (using natural logarithms) is given by
Recalling Exercise (3.6.5) and Example (3.7.5), show that the mutual information of the number of hens and the number of chicks is . Deduce that is increasing in .
Spend a short time seeking to show the last statement directly from the expression in part (a).
Let , and let be independent random variables with the Dirichlet distribution with parameter of Problem (3.11.31).
Show that the events are independent for prime.
Deduce Euler's formula
where is the Riemann zeta function, , and .
Show that the probability that is 'square-free' (that is, indivisible by any perfect square other than 1) equals
Let be the highest common factor of and . Prove that
A strict Oxford secret is a secret which you may tell to no more than one other person. Of a group of Oxonians, one learns a strict secret. In accordance with the rules, she tells it to one other person selected uniformly at random from the rest of the group. Each confidante tells the secret to exactly one person picked at random from the rest of the group, excluding the person from whom they heard the secret. When someone who already knows the secret hears it repeated, the entire process ceases.
Let be the total number of people who eventually know the secret. Find the distribution of , and show that
With denoting !, you may find it useful that
From a pack of cards, two different cards are selected randomly, and they are transposed. Let be the probability that any given card (say, the top card) is in its original position after such independent transpositions.
Show that
Find , where is the number of cards in their original place after random transpositions.
Show that, for large , the number of transpositions needed for is approximately .
The -cube is the graph with vertex-set , and an edge between two vertices and if and only if . A particle pursues a random walk on . At each epoch of time, it moves from its current position to a neighbour chosen uniformly at random, with the usual independence. Two vertices are called 'antipodal' if the graph-distance between them equals .
Show that the mean first passage time of the walker between two antipodal vertices satisfies as .
A particle performs a type of random walk on the set . Let be the particle's position at time . Given that is chosen uniformly at random from the set . The particle stops moving at the first instant it arrives at either 1 or (so that 1 and are 'absorbing', but absorption does not occur at time 0 even if ). The point is said to be hit if for some . Show that
The passengers on a flight in an airplane with seats have been told their seat numbers. They board the plane one by one. The first person sits in a seat chosen uniformly at random from the seats then available. Subsequent passengers sit in their assigned seats whenever they find them available, or otherwise in a randomly chosen empty seat. For , what is the probability that the th passenger finds his or her assigned seat to be already occupied?
Let be a random variable with and . Show that
Deduce that, if ,
Let be events, and let be the sum of their indicator functions. Show that
where the summation is over all distinct unordered pairs such that and are not independent.