Problems

Filters
Clear Filters

3 problems found

2017 Paper 2 Q12
D: 1600.0 B: 1563.6

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.

  1. 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.
  2. 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.
  3. Given that Adam and Eve start fishing at the same time, find the probability that the first fish is caught by Adam.
  4. 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.]


Solution:

  1. \(\,\) \begin{align*} && \mathbb{P}(X+Y=r) &= \sum_{k=0}^r \mathbb{P}(X = k, Y = r-k) \\ &&&= \sum_{k=0}^r \mathbb{P}(X = k)\mathbb{P}( Y = r-k) \\ &&&= \sum_{k=0}^r \frac{e^{-\lambda T} (\lambda T)^k}{k!}\frac{e^{-\mu T} (\mu T)^{r-k}}{(r-k)!}\\ &&&= \frac{e^{-(\mu+\lambda)T}}{r!}\sum_{k=0}^r \binom{r}{k}(\lambda T)^k (\mu T)^{r-k}\\ &&&= \frac{e^{-(\mu+\lambda)T}((\mu+\lambda)T)^r}{r!} \end{align*} Therefore \(X+Y \sim Po \left ( (\mu+\lambda)T \right)\)
  2. \(\,\) \begin{align*} && \mathbb{P}(X = r | X+Y = k) &= \frac{\mathbb{P}(X=r, Y = k-r)}{\mathbb{P}(X+Y=k)} \\ &&&= \frac{\frac{e^{-\lambda T} (\lambda T)^r}{r!}\frac{e^{-\mu T} (\mu T)^{k-r}}{(k-r)!}}{\frac{e^{-(\mu+\lambda)T}((\mu+\lambda)T)^k}{k!}} \\ &&&= \binom{k}{r} \left ( \frac{\lambda}{\lambda + \mu} \right)^r \left ( \frac{\mu}{\lambda + \mu} \right)^{k-r} \end{align*} Therefore \(X|X+Y=k \sim B(k, \frac{\lambda}{\lambda + \mu})\)
  3. \(P(X=1|X+Y = 1) = \frac{\lambda}{\lambda + \mu}\)
  4. 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}\)

2013 Paper 2 Q12
D: 1600.0 B: 1484.0

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*}

  1. 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\,. \]
  2. 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)\,\)?


Solution:

  1. \begin{align*} \mathbb{E}(X) &= \sum_{r=1}^\infty r \mathbb{P}(X = r) \\ &= \sum_{j=1}^{\infty} (2j-1)\mathbb{P}(U=2j-1) \\ &= \sum_{j=1}^{\infty}(2j-1) \frac{e^{-\lambda} \lambda^{2j-1}}{(2j-1)!} \\ &= \sum_{j=1}^{\infty} e^{-\lambda} \frac{\lambda^{2j-1}}{(2j-2)!} \\ &= \lambda e^{-\lambda} \sum_{j=1}^{\infty} \frac{\lambda^{2j-2}}{(2j-2)!} \\ &= \lambda e^{-\lambda} \alpha \end{align*} Since \(\mathbb{E}(X+Y) = \lambda, \mathbb{E}(Y) = \lambda(1-e^{-\lambda}\alpha) = \lambda(e^{-\lambda}(\alpha+\beta) - e^{-\lambda}\alpha) = \lambda e^{-\lambda} \beta\). Alternatively, as \(\beta + \alpha = e^{\lambda}\), \(\mathbb{E}(X) = \frac{\lambda \alpha}{\alpha+\beta}, \mathbb{E}(Y) = \frac{\lambda \beta}{\alpha+\beta}\)
  2. \begin{align*} \textrm{Var}(X) &= \mathbb{E}(X^2) - [\mathbb{E}(X) ]^2 \\ &= \sum_{odd} r^2 \mathbb{P}(U = r) - \left [ \mathbb{E}(X) \right]^2 \\ &= \sum_{odd} (r(r-1)+r)\frac{e^{-\lambda}\lambda^r}{r!} - \frac{\lambda^2 \alpha^2}{(\alpha+\beta)^2} \\ &= \sum_{odd} \frac{e^{-\lambda}\lambda^r}{(r-2)!}+\sum_{odd} \frac{e^{-\lambda}\lambda^r}{(r-1)!} - \frac{\lambda^2 \alpha^2}{(\alpha+\beta)^2} \\ &= e^{-\lambda}\lambda^2 \beta + e^{-\lambda}\lambda \alpha - \frac{\lambda^2 \alpha^2}{(\alpha+\beta)^2} \\ &= \frac{\lambda \alpha + \lambda^2 \beta}{\alpha+\beta}- \frac{\lambda^2 \alpha^2}{(\alpha+\beta)^2} \end{align*} Similarly, \begin{align*} \textrm{Var}(Y) &= \mathbb{E}(Y^2) - [\mathbb{E}(Y) ]^2 \\ &= \sum_{even} r^2 \mathbb{P}(U = r) - \left [ \mathbb{E}(Y) \right]^2 \\ &= \sum_{even} (r(r-1)+r)\frac{e^{-\lambda}\lambda^r}{r!} - \frac{\lambda^2 \beta^2}{(\alpha+\beta)^2} \\ &= e^{-\lambda}\lambda^2\alpha + e^{-\lambda}\lambda \beta - \frac{\lambda^2 \beta^2}{(\alpha+\beta)^2} \\ &= \frac{\lambda \beta + \lambda^2 \alpha}{\alpha+\beta}- \frac{\lambda^2 \beta^2}{(\alpha+\beta)^2} \end{align*} Since \(\textrm{Var}(X+Y) = \textrm{Var}(U) = \lambda\), we are interested in solving: \begin{align*} \lambda &= \frac{\lambda \alpha + \lambda^2 \beta}{\alpha+\beta}- \frac{\lambda^2 \alpha^2}{(\alpha+\beta)^2} + \frac{\lambda \beta + \lambda^2 \alpha}{\alpha+\beta}- \frac{\lambda^2 \beta^2}{(\alpha+\beta)^2} \\ &= \frac{\lambda(\alpha+\beta) + \lambda^2(\alpha+\beta)}{\alpha+\beta} - \frac{\lambda^2(\alpha^2+\beta^2)}{(\alpha+\beta)^2} \\ &= \lambda + \lambda^2 \frac{(\alpha+\beta)^2 - (\alpha^2+\beta^2)}{(\alpha+\beta)^2} \\ &= \lambda + \lambda^2 \frac{2\alpha\beta}{(\alpha+\beta)^2} \end{align*} which is clearly not possible if \(\lambda \neq 0\)

1989 Paper 1 Q14
D: 1516.0 B: 1453.5

The prevailing winds blow in a constant southerly direction from an enchanted castle. Each year, according to an ancient tradition, a princess releases 96 magic seeds from the castle, which are carried south by the wind before falling to rest. South of the castle lies one league of grassy parkland, then one league of lake, then one league of farmland, and finally the sea. If a seed falls on land it will immediately grow into a fever tree. (Fever trees do not grow in water). Seeds are blown independently of each other. The random variable \(L\) is the distance in leagues south of the castle at which a seed falls to rest (either on land or water). It is known that the probability density function \(\mathrm{f}\) of \(L\) is given by \[ \mathrm{f}(x)=\begin{cases} \frac{1}{2}-\frac{1}{8}x & \mbox{ for }0\leqslant x\leqslant4,\\ 0 & \mbox{ otherwise.} \end{cases} \] What is the mean number of fever trees which begin to grow each year?

  1. The random variable \(Y\) is defined as the distance in leagues south of the castle at which a new fever tree grows from a seed carried by the wind. Sketch the probability density function of \(Y\), and find the mean of \(Y\).
  2. One year messengers bring the king the news that 23 new fever trees have grown in the farmland. The wind never varies, and so the king suspects that the ancient tradition have not been followed properly. Is he justified in his suspicions?


Solution: \begin{align*} \mathbb{P}(\text{fever tree grows}) &= \mathbb{P}(0 \leq L \leq 1) + \mathbb{P}(2 \leq L \leq 3) \\ &= \int_0^1 \frac12 -\frac18 x \d x + \int_2^3 \frac12 - \frac18 x \d x \\ &= \left [\frac12 x - \frac1{16}x^2 \right]_0^1+ \left [\frac12 x - \frac1{16}x^2 \right]_2^3 \\ &= \frac12 - \frac1{16}+\frac32-\frac9{16} - 1 + \frac{4}{16} \\ &= \frac58 \end{align*} The expected number of fever trees is just \(96 \cdot \frac58 = 60\).

  1. \(f_Y(t)\) must match the distribution for \(L\), but limited to the points we care about, therefore it should be: $f_Y(t) = \begin{cases} ( \frac45 - \frac15t ) & \text{if } t \in [0,1]\cup[2,3] \\ 0 & \text{otherwise} \end{cases}$
    TikZ diagram
    \begin{align*} \mathbb{E}(Y) &= \frac12 \cdot \frac15 (4 - \frac12)+\frac52 \cdot (1 - \frac15 (4 - \frac12)) \\ &= \frac12 \cdot \frac7{10} + \frac52 \cdot \frac3{10} \\ &= \frac{22}{20} \\ &= \frac{11}{10} \end{align*}
  2. Given the seeds are blown independently and the wind hasn't changed, it is reasonable to model the number of fever trees as \(B(96, \frac{5}{8})\), it is also acceptable to approximate this using a Normal distribution, ie \(N(60, 22.5)\), \(23\) is \(\frac{23-60}{\sqrt{22.5}}\) is a very negative number, so he should be extremely suspicious.