Let \(X\) be a Poisson random variable with mean \(\lambda\) and let \(p_r = P(X = r)\), for \(r = 0, 1, 2, \ldots\).
Neither \(\lambda\) nor \(\lambda + \frac{1}{2} + \sqrt{\lambda + \frac{1}{4}}\) is an integer.
Show, by considering the sequence \(d_r \equiv p_r - p_{r-1}\) for \(r = 1, 2, \ldots\), that there is a unique integer \(m\) such that \(P(X = r) \leq P(X = m)\) for all \(r = 0, 1, 2, \ldots\), and that
\[\lambda - 1 < m < \lambda.\]
Show that the minimum value of \(d_r\) occurs at \(r = k\), where \(k\) is such that
\[k < \lambda + \frac{1}{2} + \sqrt{\lambda + \frac{1}{4}} < k + 1.\]
Show that the condition for the maximum value of \(d_r\) to occur at \(r = 1\) is
\[1 < \lambda < 2 + \sqrt{2}.\]
In the case \(\lambda = 3.36\), sketch a graph of \(p_r\) against \(r\) for \(r = 0, 1, 2, \ldots, 6, 7\).
Suppose \(d_r = p_r - p_{r-1}\) then
\begin{align*}
d_r &= p_r - p_{r-1} \\
&= \mathbb{P}(X = r) - \mathbb{P}(X = r-1) \\
&= e^{-\lambda} \left ( \frac{\lambda^r}{r!} - \frac{\lambda^{r-1}}{(r-1)!} \right) \\
&= e^{-\lambda} \frac{\lambda^{r-1}}{(r-1)!} \left ( \frac{\lambda}{r} - 1\right)
\end{align*}
Therefore \(d_r > 0 \Leftrightarrow \lambda > r\)ie, \(p_r\) is increasing while \(r < \lambda\) and reaches a (unique) maximum when \(r = \lfloor \lambda \rfloor\).
Let \(dd_r = d_r - d_{r-1}\), so:
\begin{align*}
dd_r &= d_r - d_{r-1} \\
&= p_r - 2p_{r-1} + p_{r-2} \\
&= e^{-\lambda} \frac{\lambda^{r-2}}{r!} \left ( \lambda^2 - 2 \lambda r + r(r-1)\right )
\end{align*}
Therefore \(dd_r < 0 \Leftrightarrow \lambda^2 - 2\lambda r +r(r-1) < 0 \Leftrightarrow r^2 -(1+2\lambda)r + \lambda^2 < 0\), but this has roots \(r = \frac{(1+2\lambda) \pm \sqrt{(1+2\lambda)^2-4\lambda^2}}{2} = \lambda + \frac12 \pm \sqrt{\lambda + \frac14}\). Therefore \(d_r\) is decreasing when \(r \in \left (\lambda + \frac12 -\sqrt{\lambda + \frac14},\lambda + \frac12 + \sqrt{\lambda + \frac14} \right)\), therefore the possible minimums are \(d_1\) and \(d_k\) where \(k < \lambda + \frac{1}{2} + \sqrt{\lambda + \frac{1}{4}} < k + 1\). \(d_1 = e^{-\lambda}(\lambda - 1)\), \(d_k = e^{-\lambda} \frac{\lambda^{k-1}}{(k-1)!}(\frac{\lambda}{k}-1)\)
If the maximum value of \(d_r\) is \(r = 1\) then \(d_r\) must be decreasing, ie considering \(dd_2\) we have \(\lambda^2 -4\lambda + 2< 0 \Leftrightarrow 2 - \sqrt{2} < \lambda < 2 + \sqrt{2}\). It must also be the case that it doesn't get beaten as \(\lambda \to \infty\). In this case \(d_r \to 0\), so we need \(d_1 > 0\), ie \(\lambda > 1\).
Therefore \(1 < \lambda < 2 + \sqrt{2}\)
Show that
\[\sum_{k=1}^{\infty} \frac{k+1}{k!}\, x^k = (x+1)\mathrm{e}^x - 1\,.\]
In the remainder of this question, \(n\) is a fixed positive integer.
Random variable \(Y\) has a Poisson distribution with mean \(n\). One observation of \(Y\) is taken. Random variable \(D\) is defined as follows. If the observed value of \(Y\) is zero then \(D = 0\). If the observed value of \(Y\) is \(k\), where \(k \geqslant 1\), then a fair \(k\)-sided die (with sides numbered \(1\) to \(k\)) is rolled once and \(D\) is the number shown on the die.
Write down \(\mathrm{P}(D = 0)\).
Show, from the definition of the expectation of a random variable, that
\[\mathrm{E}(D) = \sum_{d=1}^{\infty} \left[ d \sum_{k=d}^{\infty} \left( \frac{1}{k} \cdot \frac{n^k}{k!}\, \mathrm{e}^{-n} \right) \right].\]
Show further that
\[\mathrm{E}(D) = \sum_{k=1}^{\infty} \left( \frac{1}{k} \cdot \frac{n^k}{k!}\, \mathrm{e}^{-n} \sum_{d=1}^{k} d \right).\]
Show that \(\mathrm{E}(D) = \frac{1}{2}(n + 1 - \mathrm{e}^{-n})\).
Random variables \(X_1, X_2, \ldots, X_n\) all have Poisson distributions. For each \(k \in \{1, 2, \ldots, n\}\), the mean of \(X_k\) is \(k\).
A fair \(n\)-sided die, with sides numbered \(1\) to \(n\), is rolled. When \(k\) is the number shown, one observation of \(X_k\) is recorded. Let \(Z\) be the number recorded.
The number of customers arriving at a builders' merchants each day follows a Poisson distribution with mean \(\lambda\). Each customer is offered some free sand. The probability of any given customer taking the free sand is \(p\).
Show that the number of customers each day who take sand follows a Poisson distribution with mean \(p\lambda\).
The merchant has a mass \(S\) of sand at the beginning of the day. Each customer who takes the free sand gets a proportion \(k\) of the remaining sand, where \(0 \leq k < 1\). Show that by the end of the day the expected mass of sand taken is
$$\left(1 - e^{-kp\lambda}\right)S.$$
At the beginning of the day, the merchant's bag of sand contains a large number of grains, exactly one of which is made from solid gold. At the end of the day, the merchant's assistant takes a proportion \(k\) of the remaining sand. Find the probability that the assistant takes the golden grain. Comment on the case \(k = 0\) and on the limit \(k \to 1\).
In the case \(p\lambda > 1\) find the value of \(k\) which maximises the probability that the assistant takes the golden grain.
Let \(X\) be the number of people arriving on a given day, and \(Y\) be the number taking sand, then \begin{align*}
&& \mathbb{P}(Y = k) &= \sum_{x=k}^{\infty} \mathbb{P}(x \text{ arrive and }k\text{ of them take sand}) \\
&&&= \sum_{x=k}^{\infty} \mathbb{P}(X=x)\mathbb{P}(k \text{ out of }x\text{ of them take sand})\\
&&&= \sum_{x=k}^{\infty} e^{-\lambda} \frac{\lambda^x}{x!}\binom{x}{k}p^k(1-p)^{x-k}\\
&&&= e^{-\lambda} \left ( \frac{p}{1-p} \right)^k \sum_{x=k}^{\infty} \frac{((1-p)\lambda)^x}{k!(x-k)!} \\
&&&= e^{-\lambda} \left ( \frac{p}{1-p} \right)^k \frac{((1-p)\lambda)^k}{k!} \sum_{x=0}^{\infty} \frac{((1-p)\lambda)^x}{x!} \\
&&&= e^{-\lambda} \left ( \frac{p}{1-p} \right)^k \frac{((1-p)\lambda)^k}{k!}e^{(1-p)\lambda)} \\
&&&= e^{-p\lambda} \frac{(p\lambda)^k}{k!}
\end{align*}
which is precisely a Poisson with parameter \(p\lambda\).
Alternatively, \(Y = B_1 + B_2 + \cdots + B_X\) where \(B_i \sim Bernoulli(p)\) so \(G_Y(t) = G_X(G_B(t)) = G_X(1-p+pt) = e^{-\lambda(1-(1-p+pt))} = e^{-p\lambda(1-t)}\) so \(Y \sim Po(\lambda)\)
Alternatively, alternatively, let \(Z\) be the number of people not taking sand, so \begin{align*}
&& \mathbb{P}(Y = y, Z= z) &= \mathbb{P}(X=y+z) \cdot \binom{y+z}{y} p^y(1-p)^z \\
&&&= e^{-\lambda} \frac{\lambda^{y+z}}{(y+z)!} \frac{(y+z)!}{y!z!} p^y(1-p)^z \\
&&&=\left ( e^{-p\lambda} \frac{(p\lambda)^y}{y!} \right) \cdot \left ( e^{-(1-p)\lambda} \frac{((1-p)\lambda)^z}{z!}\right)
\end{align*}
So clearly \(Y\) and \(Z\) are both (independent!) Poisson with parameters \(p\lambda \) and \((1-p)\lambda\)
The amount taken is \(Sk + S(1-k)k + \cdots +Sk(1-k)^{Y-1} = Sk\cdot \frac{1-(1-k)^Y}{k} = S(1-(1-k)^Y)\) so
\begin{align*}
\E[\text{taken sand}] &= \E \left [ S(1-(1-k)^Y)\right] \\
&= S-S\E\left [(1-k)^Y \right] \\
&= S - SG_Y(1-k)\\
&=S - Se^{-p\lambda(1-(1-k))} \tag{pgf for Poisson} \\
&= S\left (1-e^{-kp\lambda} \right)
\end{align*}
The fraction of grains the assistant takes home is:
\((1-k)^Yk\), which has expected value \(ke^{-kp\lambda}\). This the the probability he takes home the golden grain.
When \(k = 0\) the probability is \(0\) which makes sense (no-one takes home any sand, including the merchant's assistant).
As \(k \to 1\) we get \(e^{-p\lambda}\) which is the probability that no-one gets any sand other than him.
\begin{align*}
&& \frac{\d }{\d k} \left ( ke^{-kp\lambda} \right) &= e^{-kp\lambda} - (p\lambda)ke^{-kp\lambda} \\
&&&= e^{-kp\lambda}(1 - (p\lambda)k)
\end{align*}
Therefore maximised at \(k = \frac{1}{p\lambda}\). (Clearly this is a maximum just by sketching the function)
Adam and Eve are catching fish. The number of fish, \(X\), that Adam catches in any time interval is Poisson distributed with parameter \(\lambda t\), where \(\lambda\) is a constant and \(t\) is the length of the time interval. The number of fish, \(Y\), that Eve catches in any time interval is Poisson distributed with parameter \(\mu t\), where \(\mu\) is a constant and \(t\) is the length of the time interval
The two Poisson variables are independent. You may assume that the expected time between Adam catching a fish and Adam catching his next fish is \(\lambda^{-1}\), and similarly for Eve.
By considering \(\P( X + Y = r)\), show that the total number of fish caught by Adam and Eve in time \(T\) also has a Poisson distribution.
Given that Adam and Eve catch a total of \(k\) fish in time \(T\), where \(k\) is fixed, show that the number caught by Adam has a binomial distribution.
Given that Adam and Eve start fishing at the same time, find the probability that the first fish is caught by Adam.
Find the expected time from the moment Adam and Eve start fishing until they have each caught at least one fish.
[Note This question has been redrafted to make the meaning clearer.]
Show Solution
Let \(X_1, Y_1\) be the time to the first fish are caught by Adam and Eve, then
\begin{align*}
&& \mathbb{P}(X_1, Y_1 > t) &= \mathbb{P}(X_1> t) \mathbb{P}( Y_1 > t) \\
&&&= e^{-\lambda t}e^{-\mu t} \\
&&&= e^{-(\lambda+\mu)t} \\
\Rightarrow && f_{\max(X_1,Y_1)}(t) &= (\lambda+\mu)e^{-(\lambda+\mu)}
\end{align*}
Therefore the expected time is \(\frac1{\mu+\lambda}\)
Let \(X\) be a random variable with mean \(\mu\) and standard deviation
\(\sigma\). Chebyshev's inequality, which you may use without proof,
is
\[
\P\left(\vert X-\mu\vert > k\sigma\right) \le \frac 1 {k^2}
\,,
\]
where \(k\) is any positive number.
The probability of a biased coin landing heads up is \(0.2\). It is thrown \(100n\) times, where \(n\) is an integer greater than 1. Let \(\alpha \) be the probability that the coin lands heads up \(N\) times, where \(16n \le N \le 24n\).
Use Chebyshev's inequality to show that
\[
\alpha \ge 1-\frac 1n
\,.
\]
Use Chebyshev's inequality to show that
\[
1+ n + \frac{n^2}{ 2!} + \cdots + \frac {n^{2n}}{(2n)!} \ge
\left(1-\frac1n\right) \e^n
\,.
\]
The number \(X\) of casualties arriving at a hospital each day follows a Poisson distribution with mean 8; that is,
\[
\P(X=n) = \frac{ \e^{-8}8^n}{n!}\,,
\ \ \ \ n=0, \ 1, \ 2, \ \ldots \ .
\]
Casualties require surgery with probability \(\frac14\). The number of casualties arriving on any given day is independent of the number arriving on any other day and the casualties require surgery independently of one another.
What is the probability that, on a day when exactly \(n\) casualties arrive, exactly \(r\) of them require surgery?
Prove (algebraically) that the number requiring surgery each day also follows a Poisson distribution, and state its mean.
Given that in a particular randomly chosen week a total of 12 casualties require surgery on Monday and Tuesday, what is the probability that 8 casualties require surgery on Monday? You should give your answer as a fraction in its lowest terms.
The random variable \(U\) has a Poisson distribution with parameter \(\lambda\). The random variables \(X\) and \(Y\) are defined as follows.
\begin{align*}
X&=
\begin{cases}
U & \text{ if \(U\) is 1, 3, 5, 7, \(\ldots\,\)} \\
0 & \text{ otherwise}
\end{cases}
\\
Y&=
\begin{cases}
U & \text{ if \(U\) is 2, 4, 6, 8, \(\ldots\,\) } \\
0 & \text{ otherwise}
\end{cases}
\end{align*}
Find \(\E(X)\) and \(\E(Y)\) in terms of \(\lambda\), \(\alpha\) and \(\beta\), where
\[
\alpha = 1+\frac{\lambda^2}{2!}+\frac{\lambda^4}{4!} +\cdots\,
\text{ \ \ and \ \ }
\beta = \frac{\lambda}{1!} + \frac{\lambda^3}{3!} + \frac{\lambda^5}{5!}
+\cdots\,.
\]
Show that
\[
\var(X) = \frac{\lambda\alpha+\lambda^2\beta}{\alpha+\beta}
- \frac{\lambda^2\alpha^2}{(\alpha+\beta)^2}
\]
and obtain the corresponding expression for \(\var(Y)\). Are there any non-zero values of \(\lambda\) for which \( \var(X) + \var(Y) = \var(X+Y)\,\)?
In this question, you may assume that \(\displaystyle \int_0^\infty \!\!\! \e^{-x^2/2} \d x = \sqrt{\tfrac12 \pi}\,\).
The number of supermarkets situated in any given region can be modelled by a Poisson random variable, where the mean is \(k\) times the area of the given region.
Find the probability that there are no supermarkets within a circle of radius \(y\).
The random variable \(Y\) denotes the distance between a randomly chosen point in the region and the nearest supermarket. Write down \(\P(Y < y)\) and hence show that the probability density function of \(Y\) is \(\displaystyle 2\pi y k \e^{-\pi k y^2}\) for \(y\ge0\). Find \(\E(Y)\) and show that \(\var(Y) = \dfrac{4-\pi}{4\pi k}\).
The number of texts that George receives on his mobile phone can be modelled by a Poisson random variable with mean \(\lambda\) texts per hour. Given that the probability George waits between 1 and 2 hours in the morning before he receives his first text is
\(p\), show that
\[
p\e^{2\lambda}-\e^{\lambda}+1=0.
\]
Given that \(4p<1\), show that there are two positive values of \(\lambda\) that satisfy this equation.
The number of texts that Mildred receives on each of her two mobile phones can be modelled by independent Poisson random variables with different means \(\lambda_{1}\) and \(\lambda_{2}\) texts per hour. Given that, for each phone, the probability that Mildred waits between 1 and 2 hours in the morning before she receives her first text is also \(p\), find an expression for \(\lambda_{1}+\lambda_{2}\)
in terms of \(p\). Find the probability, in terms of \(p\), that she waits between 1 and 2 hours in the morning to receive her first text.
Let \(X_t\) be the number of texts he recieves before \(t\) hours. So \(X_t \sim P(t\lambda)\)
\begin{align*}
&&\mathbb{P}(X_1 = 0 \, \cap \, X_2 > 0) &= e^{-\lambda} \cdot \left ( 1-e^{-\lambda}\right) = p \\
\Rightarrow && e^{2\lambda}p &= e^{\lambda} - 1 \\
\Rightarrow && 0 &= pe^{2\lambda}-e^{\lambda} + 1 \\
\Rightarrow && e^{\lambda} &= \frac{1 \pm \sqrt{1-4p}}{2p}
\end{align*}
Which clearly has two positive roots if \(4p < 1\). We need to show both roots are \(>1\). So considering the smaller one we are looking at:
\begin{align*}
&& \frac{1-\sqrt{1-4p}}{2p} & > 1 \\
\Leftrightarrow && 1-\sqrt{1-4p} &> 2p \\
\Leftrightarrow && 1-2p&> \sqrt{1-4p} \\
\Leftrightarrow && (1-2p)^2&> 1-4p \\
\Leftrightarrow && 1-4p+4p^2&> 1-4p \\
\end{align*}
which is clearly true.
We must have \(e^{\lambda_1}\cdot e^{\lambda_2} = \frac{1}{p}\), so \(\lambda_1 + \lambda_2 = -\ln p\) by considering the product of the roots in our quadratic. (Vieta).
Therefore the probability she waits between 1 and 2 hours in the morning is \(e^{-(\lambda_1 + \lambda_2)} \cdot ( 1- e^{-(\lambda_1+\lambda_2)}) = p \cdot (1-p)\)
The discrete random variable \(X\) has a Poisson distribution with mean \(\lambda\).
Sketch the graph \(y=\l x+1 \r \e^{-x}\), stating the coordinates of the turning point and the points of intersection with the axes.
It is known that \(\P(X \ge 2) = 1-p\), where \(p\) is a given number in the range \(0 < p <1\).
Show that this information determines a unique value (which you should not attempt to find) of \(\lambda\).
It is known (instead) that \(\P \l X = 1 \r = q\), where \(q\) is a given number in the range \(0 < q <1\). Show that this information determines a unique value of \(\lambda\) (which you should find) for exactly one value of \(q\) (which you should also find).
It is known (instead) that \(\P \l X = 1 \, \vert \, X \le 2 \r = r\), where \(r\) is a given number in the range \(0 < r < 1\). Show that this information determines a unique value of \(\lambda\) (which you should find) for exactly one value of \(r\) (which you should also find).
Suppose \(\mathbb{P}(X \geq 2) = 1-p\) then \(\mathbb{P}(X=0) + \mathbb{P}(X=1) = p\), ie \(e^{-\lambda} +\lambda e^{-\lambda} = p\) If \(f(x) = (1+x)e^{-x}\) we have see it is strictly decreasing on \(x \geq 0\) and takes all values from \(1\) to \(0\), therefore we can find a unique value such that \(f(\lambda) = p\) which is our desired \(\lambda\).
Note that \(\mathbb{P}(X = 1) = \lambda e^{-\lambda}\)
Sketching \(y = xe^{-x}\) and finding it's turning point we can see that there is a unique value of \(\lambda = 1\) when \(q = \frac{1}{e}\), otherwise there is either no solution (\(p > \frac1{e}\)) or two solutions (\(0 < q > \frac1{e}\)).
Suppose \(\mathbb{P}(X = 1 | X \leq 2) = r\), ie
\begin{align*}
&& r &= \frac{\lambda e^{-\lambda}}{e^{-\lambda} + \lambda e^{-\lambda} + \frac12 \lambda^2 e^{-\lambda}} \\
&&&= \frac{2\lambda}{2+2\lambda+\lambda^2} \\
\Rightarrow && 0 &= r\lambda^2 + 2(r-1) \lambda + 2r\\
\Rightarrow && \Delta &= 4(r-1)^2 - 4\cdot r \cdot 2 r \\
&&&= 4((r-1)^2-2r^2) \\
&&&= 4(r-1-\sqrt{2}r)(r-1+\sqrt{2}r) \\
&&&= -4((\sqrt{2}-1)r + 1)((1+\sqrt{2})r-1)
\end{align*}
Therefore our quadratic in \(r\) has a unique solution if \(r = \frac{1}{1+\sqrt{2}}\). If it has a positive solution then note since \(2r > 0\) both solutions are positive, so \(\lambda\) is not unique by excluding other solutions.
A very generous shop-owner is hiding small diamonds in
chocolate bars. Each diamond is hidden independently of any other diamond,
and on average there is one diamond per kilogram of chocolate.
I go to the shop and roll a fair six-sided die once.
I decide that if I roll a score of \(N\), I will buy \(100N\) grams
of chocolate.
Show that the probability that I will have no diamonds is
\[
\frac{\e^{-0.1}}{ 6} \l \frac{1 - \e^{-0.6} }{ 1 - \e^{-0.1}} \r
\]
Show also that the expected number of diamonds I find is 0.35.
Instead, I decide to roll a fair six-sided
die repeatedly until I score a 6. If I roll my first 6 on my \(T\)th throw,
I will buy \(100T\) grams of chocolate.
Show that the probability that I will have no diamonds is
\[
\frac{\e^{-0.1}}{ 6 - 5\e^{-0.1}}
\]
Calculate also the expected number of diamonds that I find.
(You may find it useful to consider the
the binomial
expansion of \(\l 1 - x \r^{-2}\).)
Not that the number of diamonds per kilogram is \(1\) so we are assuming it is \(Po(M)\) where \(M\) is the mass in kg. In particular \(\E[X] = M\) and \(\mathbb{P}(X = 0) = e^{-M}\)
The number of printing errors on any page of a large book of \(N\) pages is modelled by a Poisson variate with parameter \(\lambda\) and is statistically independent of the number of printing errors on any other page. The number of pages in a random sample of \(n\) pages (where \(n\) is much smaller than \(N\) and \(n\ge2\)) which contain fewer than two errors is denoted by \(Y\).
Show that \(\P(Y=k) = \binom n k p^kq^{n-k}\) where \(p=(1+\lambda)e^{-\lambda}\) and \(q=1-p\,\). Show also that, if \(\lambda\) is sufficiently small,
\(q\approx \frac12 \lambda^2\,\);
the largest value of \(n\) for which \(\P(Y=n)\ge 1-\lambda\) is approximately \(2/\lambda\,\);
First notice that the the probability a page contains fewer than two errors is \(\mathbb{P}(X < 2)\) where \(X \sim Po(\lambda)\), ie \(\mathbb{P}(X<2) = e^{-\lambda} + \lambda e^{-\lambda} = (1+\lambda)e^{-\lambda}\).
Therefore the number of pages \(Y\) with fewer than two errors out of our sample of \(n\) is \(Bin(n, p)\) where \(p\) is as before. ie \(\mathbb{P}(Y = k) = \binom{n}{k} p^kq^{n-k}\).
Jane goes out with any of her friends
who call, except that she never goes out with more
than two friends in a day. The number of her friends who call
on a given day follows a Poisson distribution with parameter \(2\).
Show that the average number of friends she sees in a day is~\(2-4\e^{-2}\,\).
Now Jane has a new friend who calls on any given day with
probability \(p\). Her old friends call as before, independently
of the new friend. She never goes out with more
than two friends in a day. Find the average number of friends she now
sees in a day.
Brief interruptions to my work occur on average every ten minutes
and the number of interruptions in any given time period has a Poisson distribution.
Given that an interruption has just occurred, find the probability
that I will have less than \(t\) minutes to work before the next interruption.
If the random variable \(T\) is the time I have to work before the next interruption,
find the probability density function of \(T\,\).
I need an uninterrupted half hour to finish an important paper.
Show that the expected number of interruptions before my first
uninterrupted period of half an hour or more is \(\e^3-1\).
Find also the expected length of time between interruptions
that are less than half an hour apart.
Hence write down
the expected wait before my first uninterrupted period of half an hour or more.
A densely populated circular island is divided into \(N\) concentric
regions \(R_1\), \(R_2\), \(\ldots\,\), \(R_N\), such that the inner and outer
radii of \(R_n\) are \(n-1\) km and \(n\) km, respectively. The average number
of road accidents that occur in any one day in \(R_n\) is \(2-n/N\,\),
independently of the number of accidents in any other region.
Each day an observer selects a region at random, with a probability that
is proportional to the area of the region, and records the number of
road accidents, \(X\), that occur in it. Show that, in the long term, the
average number of recorded accidents per day will be
\[
2-\frac16\left(1+\frac1N\right)\left(4-\frac1N\right)\;.
\]
[Note: \(\sum\limits_{n=1}^N n^2 = \frac16 N(N+1)(2N+1) \;\).]
Show also that
\[
\P(X=k) = \frac{\e^{-2}N^{-k-2}}{k!}\sum_{n=1}^N (2n-1)(2N-n)^k\e^{n/N} \;.
\]
Suppose now that \(N=3\) and that, on a particular day, two accidents were recorded.
Show that the probability that \(R_2\) had been selected is
\[
\frac{48}{48 + 45\e^{1/3} +25 \e^{-1/3}}\;.
\]
Four students, one of whom is a mathematician, take turns at washing up over a long period of time. The number of plates broken by any student in this time obeys a Poisson distribution, the probability of any given student breaking \(n\) plates being \(\e^{-\lambda} \lambda^n/n!\) for some fixed constant \(\lambda\), independent of the number of breakages by other students.
Given that five plates are broken, find the probability that three or more were broken by the mathematician.
In a lottery, any one of \(N\) numbers, where \(N\) is large,
is chosen at random and independently for each player by
machine. Each week there are \(2N\) players
and one winning number is drawn. Write down an
exact expression for the probability that there are
three or fewer winners in a week, given that you hold
a winning ticket that week. Using the fact that
$$
{\biggl( 1 - {a \over n} \biggr) ^n \approx \e^{-a}}$$
for \(n\) much larger than \(a\), or otherwise, show that this probability
is approximately \({2 \over 3}\) .
Discuss briefly whether
this probability would increase or decrease
if the numbers were chosen by the players.
Show that the expected number of winners in a week,
given that you hold a winning ticket that week, is
\( 3-N^{-1}\).
In the basic version of Horizons (H1) the player has a maximum of \(n\) turns, where \(n \ge 1\). At each turn, she has a probability \(p\) of success, where \(0 < p < 1\). If her first success is at the \(r\)th turn, where \(1 \le r \le n\), she collects \(r\) pounds and then withdraws from the game. Otherwise, her winnings are nil.
Show that in H1, her expected winnings are
$$
p^{-1}\left[1+nq^{n+1}-(n+1)q^n\right]\quad\hbox{pounds},
$$
where \(q=1-p\).
The rules of H2 are the same as those of H1, except that \(n\) is randomly selected from a Poisson distribution with parameter \(\lambda\). If \(n=0\) her winnings are nil. Otherwise she plays H1 with the selected \(n\).
Show that in H2, her expected winnings are
$$
{1 \over p}{\left(1-{\e^{-{\lambda}p}}\right)}
-{{\lambda}q}{\e^{-{\lambda}p}}
\quad\hbox{pounds}.
$$
The staff of Catastrophe College are paid a salary of \(A\) pounds per year.
With a Teaching Assessment Exercise impending it is decided to try to lower the student failure rate by offering each lecturer an alternative salary of \(B/(1+X)\) pounds, where \(X\) is the number of his or her students who fail the end of year examination. Dr Doom has \(N\) students, each with independent probability \(p\) of failure. Show that she should accept the new salary scheme if
$$A(N+1)p < B(1-(1-p)^{N+1}).$$
Under what circumstances could \(X\), for Dr Doom, be modelled by a Poisson random variable?
What would Dr Doom's expected salary be under this model?
\begin{align*}
&& \E[\text{salary}] &= B\sum_{k=0}^N \frac{1}{1+k}\binom{N}{k}p^k(1-p)^{N-k} \\
\\
&& (q+x)^N &= \sum_{k=0}^N \binom{N}{k}x^kq^{N-k} \\
\Rightarrow && \int_0^p(q+x)^N \d x &= \sum_{k=0}^N \binom{N}{k} \frac{p^{k+1}}{k+1}q^{N-k} \\
&& \frac{(q+p)^{N+1}-q^{N+1}}{N+1} &= \frac{p}{B} \E[\text{salary}] \\
\Rightarrow && \E[\text{salary}] &= B\frac{1-q^{N+1}}{p(N+1)}
\end{align*}
Therefore if \(Ap(N+1) < B(1-(1-p)^{N+1})\) the expected value of the new salary is higher. (Whether or not the new salary is worth it in a risk adjusted sense is for the birds).
We could model \(X\) by a Poisson random variable if \(N\) is large and \(Np = \lambda \) is small. Suppose \(X \approx Po(\lambda)\) then \begin{align*}
\E \left [\frac{B}{1+X} \right] &= B\sum_{k=0}^\infty \frac{1}{1+k}\frac{e^{-\lambda}\lambda^k}{k!} \\
&= \frac{B}{\lambda} \sum_{k=0}^\infty e^{-\lambda} \frac{\lambda^{k+1}}{(k+1)!} \\
&= \frac{B}{\lambda}e^{-\lambda}(e^{\lambda}-1) \\
&= \frac{B(1-e^{-\lambda})}{\lambda} = B \frac{1-e^{-Np}}{Np}
\end{align*}
Traffic enters a tunnel which is 9600 metres long, and in which overtaking
is impossible. The number of vehicles
which enter in any given time is governed by the Poisson distribution with
mean 6 cars per minute. All vehicles travel
at a constant speed until forced to slow down on catching up with a
slower vehicle ahead. I enter the tunnel travelling at 30
m\(\,\)s\(^{-1}\)
and all the other traffic is travelling at 32 m\(\,\)s\(^{-1}\). What is
the expected number of vehicles in
the queue behind me when I leave the tunnel?
Assuming again that I travel at 30 m\(\,\)s\(^{-1}\), but that all the other
vehicles are independently equally likely to be travelling at 30 m\(\,\)s\(^{-1}\)
or 32 m\(\,\)s\(^{-1}\), find the probability that
exactly two
vehicles enter the tunnel within 20 seconds of my doing so
and catch me up before I leave it.
Find also the probability that there are exactly two vehicles
queuing behind me when I leave the tunnel.
\noindent [Ignore the lengths of the vehicles.]
Whenever I go cycling I start with my bike in good working order.
However if all is well at time \(t\), the probability that I get a
puncture in the small interval \((t,t+\delta t)\) is \(\alpha\,\delta t.\)
How many punctures can I expect to get on a journey during which my
total cycling time is \(T\)?
When I get a puncture I stop immediately to repair it and the probability
that, if I am repairing it at time \(t\), the repair will be completed
in time \((t,t+\delta t)\) is \(\beta\,\delta t.\) If \(p(t)\) is the
probability that I am repairing a puncture at time \(t\), write down
an equation relating \(p(t)\) to \(p(t+\delta t)\), and derive from
this a differential equation relating \(p'(t)\) and \(p(t).\) Show that
\[
p(t)=\frac{\alpha}{\alpha+\beta}(1-\mathrm{e}^{-(\alpha+\beta)t})
\]
satisfies this differential equation with the appropriate initial
condition.
Find an expression, involving \(\alpha,\beta\) and \(T\), for the time
expected to be spent mending punctures during a journey of total time
\(T\). Hence, or otherwise, show that, the fraction of the journey
expected to be spent mending punctures is given approximately by
\[
\quad\frac{\alpha T}{2}\quad\ \mbox{ if }(\alpha+\beta)T\text{ is small, }
\]
and by
\[
\frac{\alpha}{\alpha+\beta}\quad\mbox{ if }(\alpha+\beta)T\text{ is large.}
\]
A scientist is checking a sequence of microscope slides for cancerous
cells, marking each cancerous cell that she detects with a red dye.
The number of cancerous cells on a slide is random and has a Poisson
distribution with mean \(\mu.\) The probability that the scientist
spots any one cancerous cell is \(p\), and is independent of the probability
that she spots any other one.
Show that the number of cancerous cells which she marks on a single
slide has a Poisson distribution of mean \(p\mu.\)
Show that the probability \(Q\) that the second cancerous cell which
she marks is on the \(k\)th slide is given by
\[
Q=\mathrm{e}^{-\mu p(k-1)}\left\{ (1+k\mu p)(1-\mathrm{e}^{-\mu p})-\mu p\right\} .
\]
Fly By Night Airlines run jumbo jets which seat \(N\) passengers. From
long experience they know that a very small proportion \(\epsilon\)
of their passengers fail to turn up. They decide to sell \(N+k\) tickets
for each flight. If \(k\) is very small compared with \(N\) explain
why they might expect
\[
\mathrm{P}(r\mbox{ passengers fail to turn up})=\frac{\lambda^{r}}{r!}\mathrm{e}^{-\lambda}
\]
approximately, with \(\lambda=N\epsilon.\) For the rest of the question
you may assume that the formula holds exactly.
Each ticket sold represents \(\pounds A\) profit, but the airline must
pay each passenger that it cannot fly \(\pounds B\) where \(B>A>0.\)
Explain why, if \(r\) passengers fail to turn up, its profit, in pounds,
is
\[
A(N+k)-B\max(0,k-r),
\]
where \(\max(0,k-r)\) is the larger of \(0\) and \(k-r.\) Write down
the expected profit \(u_{k}\) when \(k=0,1,2\) and \(3.\) Find \(v_{k}=u_{k+1}-u_{k}\)
for general \(k\) and show that \(v_{k}>v_{k+1}.\) Show also that
\[
v_{k}\rightarrow A-B
\]
as \(k\rightarrow\infty.\)
Advise Fly By Night on how to choose \(k\) to maximise its expected
profit \(u_{k}.\)
At the terminus of a bus route, passengers arrive at an average rate
of 4 per minute according to a Poisson process. Each minute, on the
minute, one bus arrives with probability \(\frac{1}{4},\) independently
of the arrival of passengers or previous buses. Just after eight o'clock
there is no-one at the bus stop.
What is the probability that the first bus arrives at \(n\) minutes
past 8?
If the first bus arrives at 8:05, what is the probability that there
are \(m\) people waiting for it?
Each bus can take 25 people and, since it is the terminus, the bus
arrive empty. Explain carefully how you would calculate, to two significant
figures, the probability that when the first bus arrives it is unable
to pick up all the passengers. Your method should need the use of
a calculator and standard tables only. There is no need to carry out
the calculation.
The probability that there are exactly \(n\) misprints in an issue of a newspaper is \(\mathrm{e}^{-\lambda}\lambda^{n}/n!\) where \(\lambda\) is a positive constant. The probability that I spot a particular misprint is \(p\), independent of what happens for other misprints, and \(0 < p < 1.\)
If there are exactly \(m+n\) misprints, what is the probability that I spot exactly \(m\) of them?
Show that, if I spot exactly \(m\) misprints, the probability that I have failed to spot exactly \(n\) misprints is
\[
\frac{(1-p)^{n}\lambda^{n}}{n!}\mathrm{e}^{-(1-p)\lambda}.
\]
\(\,\)
\begin{align*}
\mathbb{P}(\text{failed to spot }n\text{ misprints}|\text{spotted }m\text{ misprints}) &= \frac{\mathbb{P}(\text{failed to spot }n\text{ misprints and spotted }m\text{ misprints}) }{\mathbb{P}(\text{spotted }m\text{ misprints})} \\
&= \frac{\binom{m+n}{n}p^m(1-p)^n e^{-\lambda} \lambda^{m+n}/(n+m)!}{\sum_{k=0}^{\infty} \binom{m+k}{k}p^m(1-p)^k e^{-\lambda} \lambda^{m+k}/(n+k)!} \\
&= \frac{\binom{m+n}{n}(1-p)^n \lambda^{n}/(n+m)!}{\sum_{k=0}^{\infty} \binom{m+k}{k}(1-p)^k \lambda^{k}/(n+k)!} \\
&= \frac{(1-p)^n \lambda^{n}/n!}{\sum_{k=0}^{\infty} (1-p)^k \lambda^{k}/k!} \\
&= \frac{(1-p)^n\lambda^n}{n!} e^{-(1-p)\lambda}
\end{align*}
Alternatively, given the missed misprints and spotted misprints are independent, we can view them as both following \(Po(p\lambda)\) and \(Po((1-p)\lambda)\) and so we obtain exactly this result, without calculation.