Discrete random variables
[144/99%]For what values of the constant do the following define mass functions on the positive integers ?
Geometric: .
Logarithmic: .
Inverse square: .
'Modified' Poisson: !.
For a random variable having each of the four mass functions of Exercise (3.1.1), find , the most probable value of , and the probability that is even, when the mass function is:
Geometric (Exercise 3.1.1(a)): .
Logarithmic (Exercise 3.1.1(b)): .
Inverse square (Exercise 3.1.1(c)): .
'Modified' Poisson (Exercise 3.1.1(d)): .
We toss coins, and each one shows heads with probability , independently of each of the others. Each coin which shows heads is tossed again. What is the mass function of the number of heads resulting from the second round of tosses?
Let be the set of positive integers whose base-10 expansion contains exactly elements (so that, for example, ). A fair coin is tossed until the first head appears, and we write for the number of tosses required. We pick a random element, say, from , each such element having equal probability. What is the mass function of ?
Show that, if is a binomial or Poisson random variable, then the mass function has the property that .
Show that, if , then .
Find a mass function such that .
Let and be independent random variables, each taking the values or with probability , and let . Show that , and are pairwise independent. Are they independent?
Let and be independent random variables taking values in the positive integers and having the same mass function for . Find:
,
,
,
, for a given positive integer ,
,
, for a given positive rational .
Let be independent random variables taking values in the positive integers and having mass functions given by for , and .
Show that
Find .
Three players, , and C, take turns to roll a die; they do this in the order ABCABCA....
Show that the probability that, of the three players, is the first to throw a , the second, and C the third, is .
Show that the probability that the first 6 to appear is thrown by A, the second 6 to appear is thrown by B, and the third 6 to appear is thrown by C, is .
Let , be independent random variables which are symmetric about 0 ; that is, and have the same distributions. Show that, for all where .
Is the conclusion necessarily true without the assumption of independence?
Is it generally true that ?
Is it ever true that ?
Every package of some intrinsically dull commodity includes a small and exciting plastic object. There are different types of object, and each package is equally likely to contain any given type. You buy one package each day.
Find the mean number of days which elapse between the acquisitions of the th new type of object and the th new type.
Find the mean number of days which elapse before you have a full set of objects.
Each member of a group of players rolls a die.
For any pair of players who throw the same number, the group scores 1 point. Find the mean and variance of the total score of the group.
Find the mean and variance of the total score if any pair of players who throw the same number scores that number.
A fair coin is tossed repeatedly. Let be the number of tosses until the first head. You are offered the following prospect, which you may accept on payment of a fee. If , say, then you will receive . What would be a 'fair' fee to ask of you?
The use of expectation to assess a 'fair fee' may be convenient but is sometimes inappropriate. For example, a more suitable criterion in the finance market would be absence of arbitrage; see Exercise (3.3.7) and Section 13.10. And, in a rather general model of financial markets, there is a criterion commonly expressed as 'no free lunch with vanishing risk'.
Let have mass function
and let . For what values of is it the case that ?
Show that for any random variable and constant .
Suppose you find a warm-hearted bookmaker offering payoff odds of against the th horse in an -horse race where . Show that you can distribute your bets in such a way as to ensure you win.
If one bets on the th horse money, he gets if th horse wins nothing otherwise.
You roll a conventional fair die repeatedly. If it shows , you must stop, but you may choose to stop at any prior time. Your score is the number shown by the die on the final roll.
What stopping strategy yields the greatest expected score?
What strategy would you use if your score were the square of the final roll?
Continuing with Exercise (3.3.8), suppose now that you lose points from your score each time you roll the die. What strategy maximizes the expected final score if ? What is the best strategy if ?
Let be a random graph with vertices and edge-set . Write for the degree of vertex , that is, the number of edges meeting at . Let be a uniformly chosen vertex, and a uniformly chosen neighbour of .
Show that .
Interpret this inequality when the vertices represent people, and the edges represent friendship.
The gambler Lester Savage makes up to three successive bets that a fair coin flip will show heads. He places a stake on each bet, which, if a head is shown, pays him back twice the stake. If a tail is shown, he loses his stake.
His stakes are determined as follows. Let . He bets on the first flip; if it shows heads he quits, otherwise he continues. If he continues, he bets on the second flip; if it shows heads he quits, otherwise he continues. If he continues, he bets on the third flip.
Let be his accumulated gain (positive or negative). List the possible values of and their probabilities. Show that , and find and .
Lester decides to stick with the three numbers but to vary their order. How should he place his bets in order to simultaneously minimize both and ? Explain.
A set of different words is equally likely to be in any of the ! possible orders. It is decided to place them in lexicographic order using the following algorithm.
(i) Compare the first word with the others, and find the set of earlier words and the set of later words.
(ii) Iterate the procedure on each of the two sets thus obtained.
(iii) Continue until the final ordering is achieved.
Give an expression for the mean number of comparisons required.
Show that as , where is Euler's constant.
Let be replaced by a random variable with mass function
for suitable . Show that the mean number of comparisons is 4.
A biased coin is tossed times, and heads shows with probability on each toss. A run is a sequence of throws which result in the same outcome, so that, for example, the sequence HHTHTTH contains five runs. Show that the expected number of runs is . Find the variance of the number of runs.
Let heads and tails be arranged randomly in a line. Find the mean and variance of the number of runs of heads
An urn contains balls numbered . We remove balls at random (without replacement) and add up their numbers. Find the mean and variance of the total.
Of the people in a given collection of couples, exactly die. Assuming that the have been picked at random, find the mean number of surviving couples. This problem was formulated by Daniel Bernoulli in 1768.
Urn R contains red balls and urn B contains blue balls. At each stage, a ball is selected at random from each urn, and they are swapped. Show that the mean number of red balls in urn after stage is . This 'diffusion model' was described by Daniel Bernoulli in 1769.
Consider a square with diagonals, with distinct source and sink. Each edge represents a component which is working correctly with probability , independently of all other components. Write down an expression for the Boolean function which equals 1 if and only if there is a working path from source to sink, in terms of the indicator functions of the events as runs over the set of edges. Hence calculate the reliability of the network.
A system is called a ' out of ' system if it contains components and it works whenever or more of these components are working. Suppose that each component is working with probability , independently of the other components, and let be the indicator function of the event that component is working. Find, in terms of the , the indicator function of the event that the system works, and deduce the reliability of the system.
Let be a finite graph. For any set of vertices and any edge , define the indicator function
Set . Show that there exists such that .
A total of bar magnets are placed end to end in a line with random independent orientations. Adjacent like poles repel, ends with opposite polarities join to form blocks. Let be the number of blocks of joined magnets. Find and .
Use the inclusion-exclusion formula (3.4.2) to derive the result of Example (3.4.3), namely: in a random permutation of the first integers, the probability that exactly retain their original positions is
Let be the number of derangements of the first integers (that is, rearrangements with no integers in their original positions). Show that for . Deduce the result of part (a).
Given that exactly integers retain their original positions, find the probability that the integer 1 remains in first place.
In a lecture audience, there are students born in 2011, and they were born on independent, uniformly distributed days. Calculate the mean of the number of pairs of students sharing a birthday, and show that if and only if . Compare this with the result of Problem (1.8.30). Find the variance of .
Show that any set of 10 points in the plane can be covered by a suitable placement of disjoint open unit disks. [Hint: Consider an infinite array of unit disks whose centres form a triangular lattice.]
Days are either wet or dry, and, given today's weather, tomorrow's is the same as today's with probability , and different otherwise. Let be the probability that the weather days into the future from today will be wet. Show that , and find . What is the mean number of wet days in the next week?
An urn contains balls of which are green. Balls are sampled from the urn at random, one by one. After a ball is sampled, its colour is noted, and it is discarded. Find the mean and variance of the number of green balls in a sample of size .
Let heterosexual couples be seated randomly at a circular table, subject only to the rule that the sexes alternate. There is no requirement that couples sit together. Let be the number of couples seated adjacently. Show that and .
Each trial may result in any of given outcomes, the th outcome having probability . Let be the number of occurrences of the th outcome in independent trials. Show that
for any collection of non-negative integers with sum . The vector is said to have the multinomial distribution.
In your pocket is a random number of coins, where has the Poisson distribution with parameter . You toss each coin once, with heads showing with probability each time. Show that the total number of heads has the Poisson distribution with parameter .
Let be Poisson distributed where ! for . Show that .
A population of animals has had a number of its members captured, marked, and released. Let be the number of animals it is necessary to recapture (without re-release) in order to obtain marked animals. Show that
and find . This distribution has been called negative hypergeometric.
Let be a positive random variable with density function and distribution function , and let have the Poisson distribution with parameter . Show for that
where .
Show that the collection of random variables on a given probability space and having finite variance forms a vector space over the reals.
Find the marginal mass functions of the multinomial distribution of Exercise (3.5.1).
Let and be discrete random variables with joint mass function
Find the marginal mass functions of and , calculate , and also the covariance of and .
Let and be discrete random variables with mean , variance , and covariance . Show that .
Let and be discrete random variables with joint mass function .
Show that .
Show that the mutual information
satisfies , with equality if and only if and are independent.
Let be discrete random variables with the property that their values are distinct with probability 1. Let .
Show that , and give an example where this bound is attained.
Show that, if are independent and identically distributed, then .
Find and when , and are independent with . Here, denotes the supremum as varies over .
Part (a) is related to de Condorcet's observation that, in an election, it is possible for more than half of the voters to prefer candidate A to candidate B, more than half B to C, and more than half C to A.
If one picks a numerical entry at random from an almanac, or the annual accounts of a corporation, the first two significant digits, , , are found to have approximately the joint mass function
Find the mass function of and an approximation to its mean.
A heuristic explanation for this phenomenon may be found in the second of Feller's volumes published in 1971. See also Berger and Hill 2015.
Let and have joint mass function
where is a constant. Find , and .
Let be non-degenerate and independent random variables. By considering , or otherwise, show that having positive correlation is not a transitive relation.
Use the identity to prove the Cauchy-Schwarz inequality.
Show that
Show the following:
for ,
if ,
,
if and are independent then ,
('pull-through property') for any suitable function ,
('tower property') .
Suppose that and are discrete random variables, and that and are two functions of satisfying
for any function for which all the expectations exist. Show that and are almost surely equal, in that .
Suppose that the conditional expectation of given is defined as the (almost surely) unique function such that for all functions for which the expectations exist. Show (a)-(f) of Exercise (3.7.1) above (with the occasional addition of the expression 'with probability ').
How should we define , the conditional variance of given ? Show that .
The lifetime of a machine (in days) is a random variable with mass function . Given that the machine is working after days, what is the mean subsequent lifetime of the machine when:
for ,
for (The first part of Problem (3.11.13) may be useful.)
Let be identically distributed random variables with mean and variance , and let be a random variable taking values in the non-negative integers and independent of the . Let . Show that , and deduce that . Find in terms of the first two moments of , using the conditional variance formula of Exercise (3.7.4).
A factory has produced robots, each of which is faulty with probability . To each robot a test is applied which detects the fault (if present) with probability . Let be the number of faulty robots, and the number detected as faulty. Assuming the usual independence, show that
Each child is equally likely to be male or female, independently of all other children.
Show that, in a family of predetermined size, the expected number of boys equals the expected number of girls. Was the assumption of independence necessary?
A randomly selected child is male; does the expected number of his brothers equal the expected number of his sisters? What happens if you do not require independence?
Let and be independent with mean . Explain the error in the following equation:
A coin shows heads with probability . Let be the number of flips required to obtain a run of consecutive heads. Show that .
Give a definition of the conditional covariance . Show that
An urn contains initially blue balls and red balls, where . Balls are drawn one by one without replacement. Show that the mean number of draws until the first colour drawn is first repeated equals 3.
Let be uniformly distributed on . Show that .
A student sits two examinations, gaining and marks, respectively. In the interests of economy and fairness, the examiner determines that shall be uniformly distributed on , and that, conditional on shall have the binomial distribution.
(i) Show that , and .
(ii) Find and .
Let be discrete integer-valued random variables with the joint mass function
Show that and are each Poisson-distributed, and that the conditional distribution of given is binomial.
Let and be independent variables, being equally likely to take any value in , and similarly in . Find the mass function of . The random variable is said to have the trapezoidal distribution.
Let and have the joint mass function
Find the mass functions of and .
Let and be independent geometric random variables with respective parameters and . Show that
Let be independent geometric random variables with parameter . Show that has a negative binomial distribution.
Sam rolls dice once; he needs at least sixes. Isaac rolls dice; he needs at least sixes. Who is more likely to obtain the number of sixes he needs?
Let be Poisson distributed with parameter . Show that, for any function such that the expectations exist, . More generally, if , where are independent identically distributed non-negative integer-valued random variables, show that
Let , where the , are independent, identically distributed random variables with mean and variance , and is positive, integer-valued, and independent of the . Show that , and
Let and be independent random variables with the geometric distributions , , for , where and . Write down , and hence find the distribution of , and the conditional distribution of given that . Does anything special occur when ?
Let be the time which elapses before a simple random walk is absorbed at either of the absorbing barriers at 0 and , having started at where . Show that and for all .
For simple random walk with absorbing barriers at 0 and , let be the event that the particle is absorbed at 0 rather than at , and let . Show that, if the particle starts at where , the conditional probability that the first step is rightwards, given , equals . Deduce that the mean duration of the walk, conditional on , satisfies the equation
subject to the convention that . Show that we may take as boundary condition . Find in the symmetric case, when .
With the notation of Exercise (3.9.2), suppose further that at any step the particle may remain where it is with probability where . Show that satisfies
and that, when ,
A coin is tossed repeatedly, heads turning up with probability on each toss. Player A wins the game if heads appear before tails have appeared, and player B wins otherwise. Let be the probability that A wins the game. Set up a difference equation for the . What are the boundary conditions?
Consider a simple random walk on the set in which each step is to the right with probability or to the left with probability . Absorbing barriers are placed at 0 and . Show that the number of positive steps of the walk before absorption satisfies
where is the mean number of steps until absorption having started at , and is the probability of absorption at 0.
Let be the duration of a random walk on with absorbing barriers at 0 and , and started at , with steps satisfying
When , show that
Deduce (without lengthy calculation) that, for ,
Returns and visits by random walk. Consider a simple symmetric random walk on the set with absorbing barriers at 0 and , and starting at where . Let be the probability the walk ever returns to , and let be the mean number of visits to point before absorption. Find , and hence show that
"Millionaires should always gamble, poor men never" [J. M. Keynes].
"If I wanted to gamble, I would buy a casino" [P. Getty].
"That the chance of gain is naturally overvalued, we may learn from the universal success of lotteries" [Adam Smith, 1776].
Discuss.
Consider a symmetric simple random walk with . Let be the time of the first return of the walk to its starting point. Show that
and deduce that if and only if . You may need Stirling's formula: !
For a symmetric simple random walk starting at , show that the mass function of the maximum satisfies for .
For a symmetric simple random walk starting at , show that the probability that the first visit to takes place at time equals the product , for .
A simple random walk on the integers moves one step rightwards with probability and otherwise one step leftwards, where . Suppose it starts at 0 and has absorbing barriers at . Show that the time and place of absorption are independent.
Let be independent, identically distributed random variables taking integer values such that . Let be the (generalized) random walk given by , where is given, and let be the hitting time of 0.
Show by induction that when .
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.