Problems

Filters
Clear Filters

183 problems found

2007 Paper 2 Q12
D: 1600.0 B: 1484.0

I have two identical dice. When I throw either one of them, the probability of it showing a 6 is \(p\) and the probability of it not showing a 6 is \(q\), where \(p+q=1\). As an experiment to determine \(p\), I throw the dice simultaneously until at least one die shows a 6. If both dice show a six on this throw, I stop. If just one die shows a six, I throw the other die until it shows a 6 and then stop.

  1. Show that the probability that I stop after \(r\) throws is \(pq^{r-1}(2-q^{r-1}-q^r)\), and find an expression for the expected number of throws. [{\bf Note:} You may use the result $\ds \sum_{r=0}^\infty rx^r = x(1-x)^{-2}\(.]
  2. In a large number of such experiments, the mean number of throws was \)m\(. Find an estimate for \)p\( in terms of \)m$.


Solution:

  1. \(\,\) \begin{align*} \mathbb{P}(\text{stop after r}) &= \mathbb{P}(\text{both stop at r}) + 2\mathbb{P}(\text{first stops before r second stops at r})\\ &= (q^2)^{r-1} p^2 + 2\cdot q^{r-1} p\cdot(1-q^{r-1}) \\ &= q^{r-1}p\left (2-2q^{r-1}+pq^{r-1} \right) \\ &= q^{r-1}p\left (2-q^{r-1}(1+p+q-p) \right) \\ &= q^{r-1}p\left (2-q^{r-1}-q^r\right) \\ \end{align*} \begin{align*} \E[\text{throws}] &= \sum_{r=1}^{\infty} r \mathbb{P}(\text{stop after r}) \\ &= \sum_{r=1}^{\infty} r q^{r-1}p\left (2-q^{r-1}-q^r\right) \\ &= \sum_{r=1}^{\infty} 2r q^{r-1}p-\sum_{r=1}^{\infty}r pq^{2r-2}-\sum_{r=1}^{\infty}r q^{2r-1}p \\ &=2p \sum_{r=1}^{\infty} r q^{r-1}-pq^{-2}\sum_{r=1}^{\infty}r q^{2r}-pq^{-1}\sum_{r=1}^{\infty}r q^{2r} \\ &= 2p(1-q)^{-2} - pq^{-2}q^2(1-q^2)^{-2}-pq^{-1}q^2(1-q^2)^{-2} \\ &= 2pp^{-2} -p(1+q)(1-q^2)^{-2} \\ &= 2p^{-1}-p(1+q)(1+q)^{-2}p^{-2} \\ &= 2p^{-1}-p^{-1}(1+q)^{-1} \\ &= \frac{2(1+q)-1}{p(1+q)} \\ &= \frac{1+2q}{p(1+q)} \\ &= \frac{3-2p}{p(2-p)} \end{align*}
  2. \(\,\) \begin{align*} && m &= \frac{3-2p}{p(2-p)} \\ \Rightarrow && 2mp-mp^2 &= 3-2p \\ \Rightarrow && 0 &= mp^2-(2m+2)p + 3 \\ \Rightarrow && p &= \frac{2m+2 \pm \sqrt{(2m+2)^2-12m}}{2m} \\ &&&= \frac{m+1- \sqrt{m^2-m + 1}}{m} \\ \end{align*} If we are looking for an approximation, we could say \(p^2 \approx 0\) and \(p \approx \frac{3}{2(m+1)}\)

2007 Paper 2 Q13
D: 1600.0 B: 1669.0

Given that \(0 < r < n\) and \(r\) is much smaller than \(n\), show that \(\dfrac {n-r}n \approx \e^{-r/n}\). There are \(k\) guests at a party. Assuming that there are exactly 365 days in the year, and that the birthday of any guest is equally likely to fall on any of these days, show that the probability that there are at least two guests with the same birthday is approximately \(1-\e^{-k(k-1)/730}\). Using the approximation \( \frac{253}{365} \approx \ln 2\), find the smallest value of \(k\) such that the probability that at least two guests share the same birthday is at least \(\frac12\). How many guests must there be at the party for the probability that at least one guest has the same birthday as the host to be at least \(\frac12\)?


Solution: Given \(0 < r \ll n\), then \(\frac{r}{n}\) is small and so, \(e^x \approx 1+x\), therefore: \(\displaystyle e^{-r/n} \approx 1 - \frac{r}{n} = \frac{n-r}{n}\). Line everyone in the room up in some order. The first person is always going to have a birthday we haven't seen before. The probability the second person has a new birthday is \(\displaystyle 1 - \frac{1}{365}\) since they can't be born on the same day as the first person. The third person has a \(\displaystyle 1 - \frac{2}{365}\) probability of having a birthday we've not seen before, since they can't share a birthday with either of the first two people. Similarly the \(k\)th person has a \(\displaystyle 1 - \frac{k-1}{365}\) chance of having a unique birthday. \begin{align*} \prod_{i=1}^k \mathbb{P}(\text{the } i \text{th person has a new birthday}) &= \prod_{i=1}^k \l 1 - \frac{i-1}{365}\r \\ &\approx \prod_{i=1}^k \exp \l -\frac{i-1}{365}\r \\ &= \exp\l - \sum_{i=1}^k\frac{i-1}{365}\r \\ &= \exp\l - \frac{k(k-1)}{2\cdot365}\r \\ &= e^{-k(k-1)/730} \end{align*} But this the probability no-one shares a birthday, so the answer we are looking for is \(1-\) this, ie \(1 - e^{-k(k-1)/730}\) Suppose \(1 - e^{-k(k-1)/730} = \frac12\), then \begin{align*} && 1 - e^{-k(k-1)/730} &= \frac12 \\ \Rightarrow && e^{-k(k-1)/730} &= \frac12 \\ \Rightarrow && -k(k-1)/730 &= -\ln 2 \\ \Rightarrow && k(k-1)/730 &\approx \frac{253}{365} \\ \Rightarrow && k(k-1) &\approx 506 \end{align*} Therefore since \(22 \cdot 23 = 506\), we should expect the number to be approximately \(23\). Since \(e^{-r/n} > \frac{n-r}{n}\) we should expect this to be an overestimate, therefore \(23\) should suffice.

2007 Paper 2 Q14
D: 1600.0 B: 1484.0

The random variable \(X\) has a continuous probability density function \(\f(x)\) given by \begin{equation*} \f(x) = \begin{cases} 0 & \text{for } x \le 1 \\ \ln x & \text{for } 1\le x \le k\\ \ln k & \text{for } k\le x \le 2k\\ a-bx & \text{for } 2k \le x \le 4k \\ 0 & \text{for } x\ge 4k \end{cases} \end{equation*} where \(k\), \(a\) and \(b\) are constants.

  1. Sketch the graph of \(y=\f(x)\).
  2. Determine \(a\) and \(b\) in terms of \(k\) and find the numerical values of \(k\), \(a\) and \(b\).
  3. Find the median value of \(X\).


Solution:

  1. TikZ diagram
  2. Since \(f(x)\) is continuous, \(a -bx\) joins \((2k, \ln k)\) and \((4k ,0)\). ie it has a gradient of \(\frac{-\ln k}{2k}\) and is zero at \(4k\), hence \(\displaystyle b = -\frac{\ln k}{2k}, a = 2\ln k\). The \(3\) sections have areas \(\int_1^k \ln x \d x = k \ln k -k +1\), \(k \ln k, k \ln k\). Therefore \begin{align*} &&1&= 3k\ln k - k +1 \\ \Rightarrow &&0 &= k(3\ln k - 1) \\ \Rightarrow &&\ln k &= \frac13 \\ \Rightarrow &&k &= e^{1/3} \\ && a &= \frac23 \\ && b&= -\frac16e^{-1/3} \end{align*}
  3. Clearly \(1 > k \ln k > \frac{1}{3}\), therefore the median must lie between \(k\) and \(2k\). So we need, \(\frac12\) to be the area of the rectangle + the triangle, ie: \begin{align*} && \frac12 &= k \ln k + (2k-M) \ln k \\ &&&= \frac13 k + \frac13 (2k - M) \\ \Rightarrow && M &= 3k - \frac32 \\ \Rightarrow && M &= 3e^{1/3} - \frac32 \end{align*}

2007 Paper 3 Q13
D: 1700.0 B: 1500.0

A frog jumps towards a large pond. Each jump takes the frog either \(1\,\)m or \(2\,\)m nearer to the pond. The probability of a \(1\,\)m jump is \(p\) and the probability of a \(2\,\)m jump is \(q\), where \(p+q=1\), the occurence of long and short jumps being independent.

  1. Let \(p_n(j)\) be the probability that the frog, starting at a point \((n-\frac12)\,\)m away from the edge of the pond, lands in the pond for the first time on its \(j\)th jump. Show that \(p_2(2)=p\).
  2. Let \(u_n\) be the expected number of jumps, starting at a point \((n-\frac12)\,\)m away from the edge of the pond, required to land in the pond for the first time. Write down the value of \(u_1\). By finding first the relevant values of \(p_n(m)\), calculate \(u_2\) and show that $u_3= 3-2q+q^2\(.
  3. Given that \)u_n\( can be expressed in the form \)u_n= A(-q)^{n-1} +B +Cn$, where \(A\), \(B\) and \(C\) are constants (independent of \(n\)), show that \(C= (1+q)^{-1}\) and find \(A\) and \(B\) in terms of \(q\). Hence show that, for large \(n\), \(u_n \approx \dfrac n{p+2q}\) and explain carefully why this result is to be expected.

2006 Paper 1 Q12
D: 1500.0 B: 1499.3

Oxtown and Camville are connected by three roads, which are at risk of being blocked by flooding. On two of the three roads there are two sections which may be blocked. On the third road there is only one section which may be blocked. The probability that each section is blocked is \(p\). Each section is blocked independently of the other four sections. Show that the probability that Oxtown is cut off from Camville is \(p^3 \l 2-p \r^2\). I want to travel from Oxtown to Camville. I choose one of the three roads at random and find that my road is not blocked. Find the probability that I would not have reached Camville if I had chosen either of the other two roads. You should factorise your answer as fully as possible. Comment briefly on the value of this probability in the limit \(p\to1\).

2006 Paper 1 Q14
D: 1500.0 B: 1502.6

  1. A bag of sweets contains one red sweet and \(n\) blue sweets. I take a sweet from the bag, note its colour, return it to the bag, then shake the bag. I repeat this until the sweet I take is the red one. Find an expression for the probability that I take the red sweet on the \(r\)th attempt. What value of \(n\) maximises this probability?
  2. Instead, I take sweets from the bag, without replacing them in the bag, until I take the red sweet. Find an expression for the probability that I take the red sweet on the \(r\)th attempt. What value of \(n\) maximises this probability?


Solution:

  1. This is the probability of having the sequence \(\underbrace{BB\cdots B}_{r-1 \text{ times}}R\) which has probability \(\displaystyle \left ( \frac{n}{n+1} \right)^{r-1}\frac{1}{n+1}\). Maximising this, is equivalent to maximising \(\log\) of it, ie \begin{align*} && y &= (r-1) \ln n - r \ln (n+1) \\ \Rightarrow && \frac{\d y}{\d n} &= \frac{r-1}{n} - \frac{r}{n+1} \\ &&&= \frac{(r-1)(n+1)-rn}{n(n+1)} \\ &&&= \frac{r-n-1}{n(n+1)} \end{align*} Therefore this is maximised when \(n = r-1\)

2006 Paper 2 Q12
D: 1600.0 B: 1516.0

A cricket team has only three bowlers, Arthur, Betty and Cuba, each of whom bowls 30 balls in any match. Past performance reveals that, on average, Arthur takes one wicket for every 36 balls bowled, Betty takes one wicket for every 25 balls bowled, and Cuba takes one wicket for every 41 balls bowled.

  1. In one match, the team took exactly one wicket, but the name of the bowler was not recorded. Using a binomial model, find the probability that Arthur was the bowler.
  2. Show that the average number of wickets taken by the team in a match is approximately 3. Give with brief justification a suitable model for the number of wickets taken by the team in a match and show that the probability of the team taking at least five wickets in a given match is approximately \(\frac15\). [You may use the approximation \(\e^3 = 20\).]


Solution:

  1. \(\,\) \begin{align*} && \mathbb{P}(\text{Arthur took wicket and exactly one wicket}) &= \binom{30}{1} \frac{1}{36} \left ( \frac{35}{36} \right)^{29} \binom{30}{0} \left ( \frac{24}{25} \right)^{30} \binom{30}{0} \left ( \frac{40}{41} \right)^{30}\\ &&&= \frac{30 \cdot 35^{29} \cdot 24^{30} \cdot 40^{30}}{36^{30} \cdot 25^{30} \cdot {41}^{30}}\\ &&&= \frac{1}{35} N\\ && \mathbb{P}(\text{B took wicket and exactly one wicket}) &= \binom{30}{0}\left ( \frac{35}{36} \right)^{30} \binom{30}{1} \frac{1}{25} \left ( \frac{24}{25} \right)^{29} \binom{30}{0} \left ( \frac{40}{41} \right)^{30}\\ &&&= \frac{1}{24} N \\ && \mathbb{P}(\text{C took wicket and exactly one wicket}) &= \binom{30}{0}\left ( \frac{35}{36} \right)^{30} \binom{30}{0}\left ( \frac{24}{25} \right)^{30} \binom{30}{1} \frac{1}{41} \left ( \frac{40}{41} \right)^{29}\\ &&&= \frac{1}{40} N \\ && \mathbb{P}(\text{Arthur took wicket} | \text{exactly one wicket}) &= \frac{ \mathbb{P}(\text{Arthur took wicket and exactly one wicket}) }{ \mathbb{P}(\text{exactly one wicket}) } \\ &&&= \frac{ \frac{1}{35} N}{\frac1{35} N + \frac{1}{24}N + \frac{1}{40} N} \\ &&&= \frac{3}{10} \end{align*} Alternatively, we could look at: \begin{align*} && \mathbb{P}(X_A = 1 | X_A + X_B + X_C =1) &= \frac{\mathbb{P}(X_A = 1, X_B = 0,X_C = 0)}{\mathbb{P}(X_A = 1, X_B = 0,X_C = 0)+\mathbb{P}(X_A = 0, X_B = 1,X_C = 0)+\mathbb{P}(X_A = 0, X_B = 0,X_C = 1)} \\ &&&= \frac{\frac{\mathbb{P}(X_A = 1)}{\mathbb{P}(X_A=0)}}{\frac{\mathbb{P}(X_A = 1)}{\mathbb{P}(X_A=0)}+\frac{\mathbb{P}(X_B = 1)}{\mathbb{P}(X_B=0)}+\frac{\mathbb{P}(X_C = 1)}{\mathbb{P}(X_C=0)}} \end{align*} and we can calculate these relatively likelihoods in a similar way to above.
  2. \(\,\) \begin{align*} && \mathbb{E}(\text{number of wickets}) &= \mathbb{E} \left ( \sum_{i=1}^{90} \mathbb{1}_{i\text{th ball is a wicket}} \right) \\ &&&= \sum_{i=1}^{90} \mathbb{E} \left (\mathbb{1}_{i\text{th ball is a wicket}} \right) \\ &&&= 30 \cdot \frac{1}{36} + 30 \cdot \frac{1}{25} + 30 \cdot \frac{1}{41} \\ &&&\approx 1 + 1 + 1 = 3 \end{align*} We might model the number of wickets taken as \(Po(\lambda)\), where \(\lambda\) is the average number of wickets taken. We can think of this roughly as the Poisson approximation to the binomial where \(N\) is large and \(Np\) is small. Assuming we use \(Po(3)\) we have \begin{align*} && \mathbb{P}(\text{at least 5 wickets}) &= 1-\mathbb{P}(\text{4 or fewer wickets}) \\ &&&= 1- e^{-3} \left (1 + \frac{3}{1} + \frac{3^2}{2} + \frac{3^3}{6} + \frac{3^4}{24} \right) \\ &&&= 1 - \frac{1}{20} \left ( 1 + 3 + \frac{9}{2} + \frac{9}{2} + \frac{27}{8} \right) \\ &&&= 1 - \frac{1}{20} \left (13 + 3\tfrac38 \right) \\ &&&\approx 1 - \frac{16}{20} = \frac15 \end{align*}

2006 Paper 2 Q13
D: 1600.0 B: 1516.0

I know that ice-creams come in \(n\) different sizes, but I don't know what the sizes are. I am offered one of each in succession, in random order. I am certainly going to choose one - the bigger the better - but I am not allowed more than one. My strategy is to reject the first ice-cream I am offered and choose the first one thereafter that is bigger than the first one I was offered; if the first ice-cream offered is in fact the biggest one, then I have to put up with the last one, however small. Let \(\P_n(k)\) be the probability that I choose the \(k\)th biggest ice-cream, where \(k=1\) is the biggest and \(k=n\) is the smallest.

  1. Show that \(\P_4(1) = \frac{11}{24}\) and find \(\P_4(2)\), \(\P_4(3)\) and \(\P_4(4)\).
  2. Find an expression for \(\P_n(1)\).

2006 Paper 3 Q12
D: 1700.0 B: 1500.0

Fifty times a year, 1024 tourists disembark from a cruise liner at a port. From there they must travel to the city centre either by bus or by taxi. Tourists are equally likely to be directed to the bus station or to the taxi rank. Each bus of the bus company holds 32 passengers, and the company currently runs 15 buses. The company makes a profit of \(\pounds\)1 for each passenger carried. It carries as many passengers as it can, with any excess being (eventually) transported by taxi. Show that the largest annual licence fee, in pounds, that the company should consider paying to be allowed to run an extra bus is approximately \[ 1600 \Phi(2) - \frac{800}{\sqrt{2\pi}}\big(1- \e^{-2}\big)\,, \] where \(\displaystyle \Phi(x) =\dfrac1{\sqrt{2\pi}} \int_{-\infty}^x \e^{-\frac12t^2}\d t\,\). You should not consider continuity corrections.


Solution: The the number of people being directed towards the buses (each cruise) is \(X \sim B(1024, \tfrac12) \approx N(512, 256) \approx 16Z + 512\). Therefore without an extra bus, the expected profit is \(\mathbb{E}[\min(X, 15 \times 32)]\). With the extra bus, the extra profit is \(\mathbb{E}[\min(X, 16 \times 32)]\), therefore the expected extra profit is: \(\mathbb{E}[\min(X, 16 \times 32)]-\mathbb{E}[\min(X, 15 \times 32)] = \mathbb{E}[\min(X, 16 \times 32)-\min(X, 15 \times 32)] \) \begin{align*} \text{Expected extra profit} &= \mathbb{E}[\min(X, 16 \times 32)-\min(X, 15 \times 32)] \\ &= \mathbb{E}[\min(16Z+512, 16 \times 32)-\min(16Z+512, 15 \times 32)] \\ &= 16\mathbb{E}[\min(Z+32, 32)-\min(Z+32, 30)] \\ &=16\int_{-\infty}^{\infty} \left (\min(Z+32, 32)-\min(Z+32, 30) \right)p_Z(z) \d z \\ &= 16 \left ( \int_{-2}^{0} (z+32-30) p_Z(z) \d z + \int_0^\infty (32-30)p_Z(z) \d z \right) \\ &= 16 \left ( \int_{-2}^{0} (z+2) p_Z(z) \d z + \int_0^\infty 2p_Z(z) \d z \right) \\ &= 16 \left ( \int_{-2}^{0} zp_Z(z) \d z + 2\int_{-2}^\infty p_Z(z) \d z \right) \\ &= 16 \left ( \int_{-2}^{0} z \frac{1}{\sqrt{2\pi}} e^{-\frac12 z^2} \d z + 2(1-\Phi(2)) \right) \\ &= 32(1-\Phi(2)) + \frac{16}{\sqrt{2\pi}} \left [ -e^{-\frac12z^2} \right]_{-2}^0 \\ &= 32(1-\Phi(2)) - \frac{16}{\sqrt{2\pi}} \left ( 1-e^{-2}\right) \end{align*} Across \(50\) different runs, this profit is \[ 1600(1-\Phi(2)) - \frac{800}{\sqrt{2\pi}} \left ( 1-e^{-2}\right) \]

2005 Paper 1 Q12
D: 1500.0 B: 1529.8

  1. The probability that a hobbit smokes a pipe is 0.7 and the probability that a hobbit wears a hat is 0.4. The probability that a hobbit smokes a pipe but does not wear a hat is \(p\). Determine the range of values of \(p\) consistent with this information.
  2. The probability that a wizard wears a hat is 0.7; the probability that a wizard wears a cloak is 0.8; and the probability that a wizard wears a ring is 0.4. The probability that a wizard does not wear a hat, does not wear a cloak and does not wear a ring is 0.05. The probability that a wizard wears a hat, a cloak and also a ring is 0.1. Determine the probability that a wizard wears exactly two of a hat, a cloak, and a ring. The probability that a wizard wears a hat but not a ring, given that he wears a cloak, is \(q\). Determine the range of values of \(q\) consistent with this information.


Solution:

  1. \(\,\)
    TikZ diagram
    The overlap can be at most 0.4, which would mean \(p =0.7-0.4 = 0.3\) It must be at least 0.1, which would mean \(p =0.7-0.1 = 0.6\) so \(0.3 \leq p \leq 0.6\)
  2. TikZ diagram
    Notice that: \begin{align*} && 1 &= 0.05 + 0.7 -(hc+hr+0.1) + \\ &&&\quad\quad 0.8 - (hc+cr + 0.1) + \\ &&&\quad \quad \quad 0.4 - (hr+cr+0.1) +\\ &&&\quad \quad \quad \quad hc+hr+cr+0.1 \\ && &= 0.05 +0.7+0.8+0.4 - (hc+hr+cr)-2\cdot 0.1 \\ \Rightarrow && hc+hr+cr &=0.05 +0.7 + 0.8 + 0.4 - 0.2-1 \\ \Rightarrow && \mathbb{P}(\text{exactly 2}) &= 0.75 \end{align*} Notice \(q = \frac{hc}{0.8}\) Notice that we must have: \(hc, hr cr \geq 0\) as well as \(hc+hr+cr = 0.75\) \begin{align*} && \mathbb{P}(\text{only hat}) &= 0.7 -(hc+hr+0.1) \geq 0 \\ \Rightarrow && hc+hr & \leq 0.6 \\ && \mathbb{P}(\text{only cloak}) &= 0.8 - (hc+cr + 0.1)\geq 0 \\ \Rightarrow &&hc+cr & \leq 0.7 \\ && \mathbb{P}(\text{only ring}) &= 0.4 - (hr+cr+0.1) \geq 0 \\ \Rightarrow && hc+hr & \leq 0.3 \\ \end{align*} To find the minimum for \(hc\) we want to maximise \(hr+cr = 0.3\), so \(hc = 0.75 - 0.3 = 0.45\). To find the maximum for \(hc\) we want to minimise \(hr\) and \(cr\) \(cr \leq 0.7 - hc\) and \(hr \leq 0.6 - hc\) so \(0.75 \leq hc + (0.6 - hc) + (0.7 - hc) = 1.3-hc\) so \(hc \leq 1.3 - 0.75 = 0.55\) Therefore the range for \(q\) is \(\frac{.45}{.8}\) to \(\frac{.55}{.8}\) or \(\frac9{16} \leq q \leq \frac{11}{16}\)

2005 Paper 1 Q13
D: 1500.0 B: 1516.0

The random variable \(X\) has mean \(\mu\) and standard deviation \(\sigma\). The distribution of \(X\) is symmetrical about \(\mu\) and satisfies: \[\P \l X \le \mu + \sigma \r = a \mbox{ and } \P \l X \le \mu + \tfrac{1}{ 2}\sigma \r = b\,,\] where \(a\) and \(b\) are fixed numbers. Do not assume that \(X\) is Normally distributed.

  1. Determine expressions (in terms of \(a\) and \(b\)) for \[ \P \l \mu-\tfrac12 \sigma \le X \le \mu + \sigma \r \mbox{ and } \P \l X \le \mu +\tfrac12 \sigma \; \vert \; X \ge \mu - \tfrac12 \sigma \r.\]
  2. My local supermarket sells cartons of skimmed milk and cartons of full-fat milk: \(60\%\) of the cartons it sells contain skimmed milk, and the rest contain full-fat milk. The volume of skimmed milk in a carton is modelled by \(X\) ml, with \(\mu = 500\) and \(\sigma =10\,\). The volume of full-fat milk in a carton is modelled by \(X\) ml, with \(\mu = 495\) and \(\sigma = 10\,\).
    1. Today, I bought one carton of milk, chosen at random, from this supermarket. When I get home, I find that it contains less than 505 ml. Determine an expression (in terms of \(a\) and \(b\)) for the probability that this carton of milk contains more than 500 ml.
    2. Over the years, I have bought a very large number of cartons of milk, all chosen at random, from this supermarket. \(70\%\) of the cartons I have bought have contained at most 505 ml of milk. Of all the cartons that have contained at least 495 ml of milk, one third of them have contained full-fat milk. Use this information to estimate the values of \(a\) and \(b\).


Solution:

  1. \(\,\) \begin{align*} && \mathbb{P}\left (\mu - \tfrac12 \sigma \leq X \right) &= \mathbb{P}\left (X \leq \mu + \tfrac12 \sigma \right) \tag{by symmetry} \\ &&&= b \\ \Rightarrow && \mathbb{P} \left (\mu - \tfrac12 \sigma \leq X \leq \mu + \sigma \right) &= a - (1-b) = a+b - 1\\ \\ && \mathbb{P} \left ( X \le \mu +\tfrac12 \sigma \vert X \ge \mu - \tfrac12 \sigma \right ) &= \frac{ \mathbb{P} \left (\mu - \tfrac12 \sigma \leq X \leq \mu + \tfrac12 \sigma \right)}{\mathbb{P} \left ( X \ge \mu - \tfrac12 \sigma \right )} \\ &&&= \frac{b-(1-b)}{1-(1-b)} \\ &&&= \frac{2b-1}{b} \end{align*}
    1. Let \(Y\) be the volume of milk in the carton I bring home, we are interested in: \begin{align*} && \mathbb{P}(Y \geq 500 | Y \leq 505) &= \frac{\mathbb{P}(500 \leq Y \leq 505)}{\mathbb{P}(Y \leq 505)} \\ &&&=\frac{\mathbb{P}(500 \leq Y \leq 505|\text{skimmed})\mathbb{P}(\text{skimmed})+\mathbb{P}(500 \leq Y \leq 505|\text{full fat})\mathbb{P}(\text{full fat})}{\mathbb{P}(Y \leq 505|\text{skimmed})\mathbb{P}(\text{skimmed})+\mathbb{P}(Y \leq 505|\text{full fat})\mathbb{P}(\text{full fat})} \\ &&&= \frac{\frac35 \cdot \mathbb{P}(\mu \leq X \leq \mu + \tfrac12 \sigma) + \frac25 \cdot \mathbb{P}(\mu+\tfrac12 \sigma \leq X \leq \mu +\sigma)}{\frac35 \cdot \mathbb{P}(X \leq \mu + \tfrac12 \sigma) + \frac25 \cdot \mathbb{P}(X \leq \mu +\sigma)} \\ &&&= \frac{\frac35 \cdot(b-\tfrac12) + \frac25 \cdot (a-b)}{\frac35 \cdot b + \frac25 \cdot a} \\ &&&= \frac{b+2a-\frac32}{3b+2a} \\ &&&= \frac{4a+2b-3}{4a+6b} \end{align*}
    2. \(70\%\) of cartons have contained at most 505 ml, so: \begin{align*} && \tfrac7{10} &= \mathbb{P}(Y \leq 505) \\ &&&= \mathbb{P}(Y \leq 505 | \text{ skimmed}) \mathbb{P}(\text{skimmed}) + \mathbb{P}(Y \leq 505 | \text{ full fat}) \mathbb{P}(\text{full fat}) \\ &&&= \mathbb{P}(X \leq \mu + \tfrac12 \sigma) \cdot \tfrac35 + \mathbb{P}(X\leq \mu + \sigma ) \cdot \tfrac25 \\ \Rightarrow && 7 &= 6b+ 4a \end{align*} \(\tfrac13\) of cartons containing 495 ml contained full fat milk: \begin{align*} && \tfrac13 &= \mathbb{P}(\text{full fat} | Y \geq 495) \\ &&&= \frac{\mathbb{P}(\text{full fat and} Y \geq 495) }{\mathbb{P}(Y \geq 495)} \\ &&&= \frac{\mathbb{P}(X \geq \mu)\frac25}{\mathbb{P}(X \geq \mu)\cdot \frac25+\mathbb{P}(X \geq \mu-\tfrac12 \sigma)\cdot \frac35} \\ &&&= \frac{\frac15}{\frac12 \cdot \frac25 + b\frac35}\\ &&&= \frac{1}{1+ 3b }\\ \Rightarrow && 3b+1 &= 3 \\ \Rightarrow && b &= \frac23 \\ && a &= \frac34 \end{align*}

2005 Paper 1 Q14
D: 1516.0 B: 1513.9

The random variable \(X\) can take the value \(X=-1\), and also any value in the range \(0\le X <\infty\,\). The distribution of \(X\) is given by \[ \P(X=-1) =m \,, \ \ \ \ \ \ \ \P(0\le X\le x) = k(1-\e^{-x})\,, \] for any non-negative number \(x\), where \(k\) and \(m\) are constants, and \(m <\frac12\,\).

  1. Find \(k\) in terms of \(m\).
  2. Show that \(\E(X)= 1-2m\,\).
  3. Find, in terms of \(m\), \(\var (X)\) and the median value of \(X\).
  4. Given that \[ \int_0^\infty y^2 \e^{-y^2} \d y = \tfrac14 \sqrt{ \pi}\;,\] find \(\E\big(\vert X \vert^{\frac12}\big)\,\) in terms of \(m\).


Solution:

  1. We must have the total probability summing to \(1\), therefore \(1 =m + k\) (as \(x \to \infty\)) therefore \(k = 1-m\).
  2. \(\,\) \begin{align*} && \E[X] &= \mathbb{P}(X=-1) \cdot (-1) + \int_0^{\infty} kx e^{-x} \d x \\ &&&= -m + (1-m) = 1-2m \end{align*}
  3. \(\,\) \begin{align*} && \var[X] &= \E[X^2]-\E[X]^2 \\ &&&= \mathbb{P}(X=-1)\cdot(-1)^2 + (1-m)\int_0^{\infty} x^2e^{-x} \d x - (1-2m)^2 \\ &&&= m + (1-m)(1+1^2) - (1-2m)^2 \\ &&&= 3-4m - 1+4m -4m^2 \\ &&&= 2(1-m^2) \end{align*} To find the median \(q\), we need \begin{align*} && \frac12 &= \mathbb{P}(X \leq q) \\ &&&= m + (1-m)(1-e^{-q}) \\ \Rightarrow && e^{-q} &= 1-\frac{\frac12-m}{1-m} \\ &&&= \frac{1-m - \frac12+m}{1-m} \\ &&&= \frac{1}{2(1-m)} \\ \Rightarrow && q &= \ln 2(1-m) \end{align*}
  4. \(\,\) \begin{align*} && \E\left [|X|^{\frac12}\right] &= \mathbb{P}(X=-1) \cdot 1 + \int_0^{\infty} \sqrt{x} (1-m)e^{-x} \d x \\ &&&= m + (1-m)\int_0^\infty \sqrt{x} e^{-x} \d x \\ u^2 = x, \d x = 2u \d u : &&&= m + (1-m) \int_{u=0}^{u=\infty} u e^{-u^2} \cdot 2u \d u \\ &&&= m + 2(1-m) \int_0^{\infty} u^2 e^{-u^2} \d u \\ &&&= m + (1-m)\frac{\sqrt{\pi}}2 \end{align*}

2005 Paper 3 Q13
D: 1700.0 B: 1487.7

A pack of cards consists of \(n+1\) cards, which are printed with the integers from \(0\) to \(n\). A~game consists of drawing cards repeatedly at random from the pack until the card printed with 0 is drawn, at which point the game ends. After each draw, the player receives \(\pounds 1\) if the card drawn shows any of the integers from \(1\) to \(w\) inclusive but receives nothing if the card drawn shows any of the integers from \(w+1\) to \(n\) inclusive.

  1. In one version of the game, each card drawn is replaced immediately and randomly in the pack. Explain clearly why the probability that the player wins a total of exactly \(\pounds 3\) is equal to the probability of the following event occurring: out of the first four cards drawn which show numbers in the range \(0\) to \(w\), the numbers on the first three are non-zero and the number on the fourth is zero. Hence show that the probability that the player wins a total of exactly \(\pounds 3\) is equal to \(\displaystyle \frac{w^3}{(w+1)^4}\). Write down the probability that the player wins a total of exactly \(\pounds r\) and hence find the expected total win.
  2. In another version of the game, each card drawn is removed from the pack. Show that the expected total win in this version is half of the expected total win in the other version.

2004 Paper 1 Q12
D: 1500.0 B: 1529.3

In a certain factory, microchips are made by two machines. Machine A makes a proportion \(\lambda\) of the chips, where \(0 < \lambda < 1\), and machine B makes the rest. A proportion \(p\) of the chips made by machine A are perfect, and a proportion \(q\) of those made by machine B are perfect, where \(0 < p < 1\) and \(0 < q < 1\). The chips are sorted into two groups: group 1 contains those that are perfect and group 2 contains those that are imperfect. In a large random sample taken from group 1, it is found that \(\frac 2 5\) were made by machine A. Show that \(\lambda\) can estimated as \[ {2q \over 3p + 2q}\;. \] Subsequently, it is discovered that the sorting process is faulty: there is a probability of \(\frac 14\) that a perfect chip is assigned to group 2 and a probability of \(\frac 14\) that an imperfect chip is assigned to group 1. Taking into account this additional information, obtain a new estimate of \(\lambda\,\).


Solution: \begin{align*} && \frac25 &= \frac{\lambda p}{\lambda p + (1-\lambda) q} \\ \Rightarrow && 2(1-\lambda)q &= 3\lambda p \\ \Rightarrow && \lambda(3p+2q) &= 2q \\ \Rightarrow && \lambda &= \frac{2q}{3p+2q} \end{align*} \begin{align*} && \frac25 &= \frac{\lambda (p + \frac14(1-p))}{\lambda (p + \frac14(1-p))+(1-\lambda) (q + \frac14(1-q))} \\ &&&= \frac{\lambda(\frac34p + \frac14)}{\lambda(\frac34p + \frac14)+(1-\lambda)(\frac34q + \frac14)} \\ \Rightarrow && \lambda &= \frac{2(\frac34q+\frac14)}{3(\frac34p + \frac14)+2(\frac34q+\frac14)} \\ &&&= \frac{\frac32q + \frac12}{\frac94p + \frac32q + \frac54} \\ &&&= \frac{6q+2}{9p+6q+5} \end{align*}

2004 Paper 1 Q13
D: 1500.0 B: 1458.1

  1. Three real numbers are drawn independently from the continuous rectangular distribution on \([ 0, 1 ]\,\). The random variable \(X\) is the maximum of the three numbers. Show that the probability that \(X \le 0.8\) is \(0.512\,\), and calculate the expectation of \(X\).
  2. \(N\) real numbers are drawn independently from a continuous rectangular distribution on \([ 0, a ]\,\). The random variable \(X\) is the maximum of the \(N\) numbers. A hypothesis test with a significance level of 5\% is carried out using the value, \(x\), of \(X \). The null hypothesis is that \(a=1\) and the alternative hypothesis is that \(a<1 \,\). The form of the test is such that \(H_0\) is rejected if \(x < c\,\), for some chosen number \(c\,\). Using the approximation \(2^{10} \approx 10^3\,\), determine the smallest integer value of \(N\) such that if \(x \le 0.8\) the null hypothesis will be rejected. With this value of \(N\), write down the probability that the null hypothesis is rejected if \(a = 0.8\,\), and find the probability that the null hypothesis is rejected if \(a = 0.9\,\).


Solution: \begin{align*} \P(X \leq 0.8) &= \P(X_1 \leq 0.8,X_2 \leq 0.8,X_3 \leq 0.8) \\ &= 0.8^3 \\ &= 0.512 \end{align*} \begin{align*} && \P(X < c) &= c^3 \\ \Rightarrow && f_X(x) &= 3x^2 \\ \Rightarrow && \E[X] &= \int_0^1 x \cdot (3x^2) \, dx \\ && &= \left [ \frac{3}{4}x^4 \right]_0^1 \\ &&&= \frac{3}{4} \end{align*} \(X\) is distributed the maximum of \(N\) numbers on \([0,a]\). \begin{align*} H_0 : & x= 1 \\ H_1 : & x < 1 \end{align*} \begin{align*} &&\P(X < c) &= c^N \\ &&&= \frac1{20} \\ \Rightarrow && N &= -\frac{\log(20)}{\log(c)} \end{align*} where \(c = 0.8\), we have \begin{align*} N &= \frac{\log(20)}{\log(5/4)} \\ &= \frac{\log(5)+\log(4)}{\log(5)-\log(4)} \\ &= \frac{ \frac{\log(5)}{\log(4)}+1}{\frac{\log(5)}{\log(4)} - 1} \end{align*} \begin{align*} && 2^{10} &\approx 10^{3} \\ && 10\log(2) &\approx 3 (\log(5) + \log(2)) \\ && 7\log(2) &\approx 3 \log(5) \\ && \frac{\log(5)}{2\log(2)} &\approx \frac{7}{6} \end{align*} \begin{align*} &= \frac{ \frac{\log(5)}{\log(4)}+1}{\frac{\log(5)}{\log(4)} - 1} &= \frac{\frac{7}{6} + 1}{\frac{7}{6} -1} \\ &= 13 \end{align*} Since \(2^{10} > 10^3\) then \(N=14\) is the value we seek. \(\P(X < 0.8 | a= 0.8) = 1\) \(\P(X < 0.8 | a= 0.9, N=14) = \frac{8^{14}}{9^{14}}\)