Problems

Filters
Clear Filters

8 problems found

2025 Paper 2 Q11
D: 1500.0 B: 1500.0

  1. By considering the sum of a geometric series, or otherwise, show that \[\sum_{r=1}^{\infty} rx^{r-1} = \frac{1}{(1-x)^2} \quad \text{for } |x| < 1.\]
  2. Ali plays a game with a fair \(2k\)-sided die. He rolls the die until the first \(2k\) appears. Ali wins if all the numbers he rolls are even.
    1. Find the probability that Ali wins the game. If Ali wins the game, he earns £1 for each roll, including the final one. If he loses, he earns nothing.
    2. Find Ali's expected earnings from playing the game.
  3. Find a simplified expression for \[1 + 2\binom{n}{1}x + 3\binom{n}{2}x^2 + \ldots + (n+1)x^n,\] where \(n\) is a positive integer.
  4. Zen plays a different game with a fair \(2k\)-sided die. She rolls the die until the first \(2k\) appears, and wins if the numbers rolled are strictly increasing in size. For example, if \(k = 3\), she wins if she rolls 2, 6 or 1, 4, 5, 6, but not if she rolls 1, 4, 2, 6 or 1, 3, 3, 6. If Zen wins the game, she earns £1 for each roll, including the final one. If she loses, she earns nothing. Find Zen's expected earnings from playing the game.
  5. Using the approximation \[\left(1 + \frac{1}{n}\right)^n \approx e \quad \text{for large } n,\] show that, when \(k\) is large, Zen's expected earnings are a little over 35\% more than Ali's expected earnings.


Solution:

  1. Note that, \begin{align*} && \sum_{r = 0}^\infty x^r &= \frac{1}{1-x} && |x| < 1\\ \underbrace{\Rightarrow}_{\frac{\d}{\d x}} && \sum_{r = 0}^\infty rx^{r-1} &= \frac{1}{(1-x)^2} && |x| < 1\\ && \sum_{r = 1}^\infty rx^{r-1} &= \frac{1}{(1-x)^2} && |x| < 1\\ \end{align*}
    1. \begin{align*} && \mathbb{P}(\text{Ali wins in }s\text{ rounds}) &= \left ( \frac{k-1}{2k} \right)^{s-1} \frac{1}{2k} \\ \Rightarrow && \mathbb{P}(\text{Ali wins}) &= \sum_{s=1}^\infty \mathbb{P}(\text{Ali wins in }s\text{ rounds}) \\ &&&=\sum_{s=1}^\infty \left ( \frac{k-1}{2k} \right)^{s-1} \frac{1}{2k} \\ &&&= \frac{1}{2k} \sum_{s=0}^\infty \left ( \frac{k-1}{2k} \right)^{s} \\ &&&= \frac{1}{2k} \frac{1}{1 - \frac{k-1}{2k}} \\ &&&= \frac{1}{2k - (k-1)} \\ &&&= \frac{1}{k+1} \end{align*}
    2. \begin{align*} \mathbb{E}(\text{Ali score}) &= \sum_{s=1}^{\infty} s \mathbb{P}(\text{Ali wins in }s\text{ rounds}) \\ &= \sum_{s=1}^{\infty} s \left ( \frac{k-1}{2k} \right)^{s-1} \frac{1}{2k} \\ &= \frac{1}{2k} \frac{1}{\left (1 - \frac{k-1}{2k} \right)^2} \\ &= \frac{2k}{(k+1)^2} \end{align*}
  2. \begin{align*} && (1+x)^{n} &= \sum_{k=0}^n \binom{n}{k} x^k \\ \Rightarrow && x(1+x)^n &= \sum_{k=0}^n \binom{n}{k} x^{k+1} \\ \Rightarrow && (1+x)^n + nx(1+x)^{n-1} &= \sum_{k=0}^n (k+1)\binom{n}{k} x^k \\ \Rightarrow && (1+x)^{n-1}(1+(n+1)x) &= 1 + 2\binom{n}{1}x + 3\binom{n}{2}x^2 + \ldots + (n+1)x^n \end{align*}
  3. \begin{align*} \mathbb{E}(\text{Zen score}) &= \sum_{s=1}^{2k} s \mathbb{P} \left ( \text{Zen gets }s\text{ numbers in increasing order ending with }2k \right) \\ &= \sum_{s=1}^{2k} s \binom{2k-1}{s-1} \frac{1}{(2k)^s} \\ &= \frac{1}{2k}\sum_{s=0}^{2k-1} (s+1) \binom{2k-1}{s} \frac{1}{(2k)^s} \\ &= \frac{1}{2k} \left ( 1 + \frac{1}{2k} \right)^{2k-2} \left ( 1 + (2k-1+1) \frac{1}{2k} \right) \\ &= \frac{1}{k}\left ( 1 + \frac{1}{2k} \right)^{2k-2} \end{align*}
  4. Therefore as \(k \to \infty\) \begin{align*} \frac{\mathbb{E}(\text{Zen score})}{\mathbb{E}(\text{Ali score}) } &= \frac{1}{k}\left ( 1 + \frac{1}{2k} \right)^{2k-2} \big / \frac{2k}{(k+1)^2} \\ &= \frac{(k+1)^2}{2k^2} \cdot \left ( 1 + \frac{1}{2k} \right)^{2k} \cdot \left ( 1 + \frac{1}{2k} \right)^{-2} \\ &\to \frac12 e \approx 2.7/2 = 1.35 \end{align*} ie Zen's expected earnings are \(\approx 35\%\) more.

2015 Paper 3 Q12
D: 1700.0 B: 1500.0

A 6-sided fair die has the numbers 1, 2, 3, 4, 5, 6 on its faces. The die is thrown \(n\) times, the outcome (the number on the top face) of each throw being independent of the outcome of any other throw. The random variable \(S_n\) is the sum of the outcomes.

  1. The random variable~\(R_n\) is the remainder when \(S_n\) is divided by 6. Write down the probability generating function, \(\G(x)\), of \(R_1\) and show that the probability generating function of \(R_2\) is also \(\G(x)\). Use a generating function to find the probability that \(S_n\) is divisible by 6.
  2. The random variable \(T_n\) is the remainder when \(S_n\) is divided by 5. Write down the probability generating function, \(\G_1(x)\), of \(T_1\) and show that \(\G_2(x)\), the probability generating function of \(T_2\), is given by \[ {\rm G}_2(x) = \tfrac 1 {36} (x^2 +7y) \] where \(y= 1+x+x^2+x^3+x^4\,\). Obtain the probability generating function of \(T_n\) and hence show that the probability that \(S_n\) is divisible by \(5\) is \[ \frac15\left(1- \frac1 {6^n}\right) \] if \(n\) is not divisible by 5. What is the corresponding probability if \(n\) is divisible by 5?


Solution:

  1. \(G(x) = \frac{1}{6} (1 + x + x^2 + x^3 + x^4 + x^5)\) The pgf for \(R_2\) is: \begin{align*} \frac1{36}x^2 + \frac{2}{36}x^3 + \frac{3}{36}x^4 + \frac{4}{36}x^5 + \frac{5}{36} +\\ \quad \quad + \frac{6}{36}x^1 + \frac{5}{36}x^2 + \frac4{36}x^3 + \frac3{36}x^4 + \frac{2}{36}x^5 + \frac{1}{36} \\ = \frac{1}{6}(1 + x + x^2 + x^3 + x^4 + x^5) = G(x) \end{align*} Since rolling the dice twice is the same as rolling the dice once, rolling the dice \(n\) times will be the same as rolling it once, ie the pgf for \(R_n\) will be \(G(x)\) and the probability \(S_n\) is divisible by \(6\) is \(\frac16\)
  2. \(G_1(x) = \frac{1}{6} + \frac{1}{3}x^1 + \frac{1}{6}x^2 + \frac16x^3+ \frac16x^4 = \frac16(1 + 2x+x^2+x^3+x^4)\). If \(G_n\) is the probability generating function for \(T_n\) then we can obtain \(G_n\) by multiplying \(G_{n-1}\) by \(G(x)\) and replacing any terms of order higher than \(5\) with their remainder on division by \(5\). (Or equivalently, working over \(\mathbb{R}[x]/(x^5-1)\). If \(y = 1 + x + x^2 + x^3 + x^4\) then: \begin{align*} xy &= x + x^2 + x^3 + x^4 +x^5 \\ &= x + x^2 + x^3 + x^4 + 1 \\ &= y \\ \\ y^2 &= (1 + x+x^2 + x^3+x^4)^2 \\ &= 1 + 2x + 3x^2 + 4x^3+5x^4+4x^5+3x^6 + 2x^7 + x^8 \\ &= (1+4) + (2+3)x+(3+2)x^2 + (4+1)x^3 + 5x^4 \\ &= 5y \end{align*} \begin{align*} \frac{1}{36}(y+x)(y+x) &= \frac1{36}(y^2 + 2xy + x^2) \\ &= \frac1{36}(5y + 2y + x^2 ) \\ &= \frac1{36}(7y + x^2) \end{align*} Similarly, \begin{align*} G_n(x) &= \l\frac{1}{6}(x+y) \r^n \\ &= \frac1{6^n} \l \sum_{i=0}^n \binom{n}{i} y^ix^{n-i} \r \\ &= \frac1{6^n} \l \sum_{i=1}^n \binom{n}{i} y^i + x^n \r \\ &= \frac1{6^n} \l \sum_{i=1}^n \binom{n}{i} 5^{i-1}y + x^n \r \\ &= \frac1{6^n} \l \frac{1}{5}y((5+1)^n-1) + x^n \r \\ &= \frac1{6^n} \l \frac{1}{5}y(6^n-1) + x^n \r \\ \end{align*} Therefore if \(n \not \equiv 0 \pmod{5}\), we can find the probability of \(T_n = 0\) by looking at the constant coefficient, ie plugging in \(x = 0\), which is: \[\frac1{6^n} \l \frac{1}{5}(6^n-1) \r = \frac{1}{5} \l 1- \frac{1}{6^n} \r \] When \(n \equiv 0 \pmod{5}\) we can also find the constant coefficient by plugging in \(x = 0\), which is: \[\frac1{6^n} \l \frac{1}{5}(6^n-1) + 1 \r = \frac{1}{5} \l 1+ \frac{4}{6^n} \r \]
Note: this whole question can be considered a "roots-of-unity" filter in disguise. Our computations in \(\mathbb{R}[x]/(x^5 - 1)\) are the same as computations using \(\omega\), in fact \(\mathbb{R}[x]/(x^5 - 1) \cong \mathbb{R}[\omega]\) where \(\omega\) is a primitive \(5\)th root of unity

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)}\)

2003 Paper 3 Q14
D: 1700.0 B: 1599.8

Write down the probability generating function for the score on a standard, fair six-faced die whose faces are labelled \(1, 2, 3, 4, 5, 6\). Hence show that the probability generating function for the sum of the scores on two standard, fair six-faced dice, rolled independently, can be written as \[ \frac1{36} t^2 \l 1 + t \r^2 \l 1 - t + t^2 \r^2 \l 1 + t + t^2 \r^2 \;. \] Write down, in factorised form, the probability generating functions for the scores on two fair six-faced dice whose faces are labelled with the numbers \(1, 2, 2, 3, 3, 4\) and \(1, 3, 4, 5, 6, 8,\) and hence show that when these dice are rolled independently, the probability of any given sum of the scores is the same as for the two standard fair six-faced dice. Standard, fair four-faced dice are tetrahedra whose faces are labelled \(1, 2, 3, 4,\) the score being taken from the face which is not visible after throwing, and each score being equally likely. Find all the ways in which two fair four-faced dice can have their faces labelled with positive integers if the probability of any given sum of the scores is to be the same as for the two standard fair four-faced dice.

2000 Paper 3 Q13
D: 1700.0 B: 1516.0

A set of \(n\) dice is rolled repeatedly. For each die the probability of showing a six is \(p\). Show that the probability that the first of the dice to show a six does so on the \(r\)th roll is $$q^{n r } ( q^{-n} - 1 )$$ where \(q = 1 - p\). Determine, and simplify, an expression for the probability generating function for this distribution, in terms of \(q\) and \(n\). The first of the dice to show a six does so on the \(R\)th roll. Find the expected value of \(R\) and show that, in the case \(n = 2\), \(p=1/6\), this value is \(36/11\). Show that the probability that the last of the dice to show a six does so on the \(r\)th roll is \[ \big(1-q^r\big)^n-\big(1-q^{r-1}\big)^n. \] Find, for the case \(n = 2\), the probability generating function. The last of the dice to show a six does so on the \(S\)th roll. Find the expected value of \(S\) and evaluate this when \(p=1/6\).

1999 Paper 1 Q12
D: 1500.0 B: 1516.0

  1. Prove that if \(x>0\) then \(x+x^{-1}\ge2.\;\) I have a pair of six-faced dice, each with faces numbered from 1 to 6. The probability of throwing \(i\) with the first die is \(q_{i}\) and the probability of throwing \(j\) with the second die is \(r_{j}\) (\(1\le i,j \le 6\)). The two dice are thrown independently and the sum noted. By considering the probabilities of throwing 2, 12 and 7, show the sums \(2, 3, \dots, 12\) are not equally likely.
  2. The first die described above is thrown twice and the two numbers on the die noted. Is it possible to find values of \(q_{j}\) so that the probability that the numbers are the same is less than \(1/36\)?


Solution:

  1. Notice that if \(x > 0\) we must have \begin{align*} && \left ( \sqrt{x} - \frac{1}{\sqrt{x}} \right)^2 &\geq 0 \\ \Leftrightarrow && x - 2 + x^{-1} & \geq 0 \\ \Leftrightarrow && x + x^{-1} & \geq 2 \end{align*} Let \(S\) be the sum, and assume all probabilities are equal \begin{align*} && \mathbb{P}(S = 2) &= q_1 r_1 \\ && \mathbb{P}(S = 12) &= q_6 r_6 \\ && \mathbb{P}(S = 7) &= \sum_{i=1}^6 q_i r_{7-i} \\ \Rightarrow && q_1r_1 &= q_6r_6 \\ \Rightarrow && q_1r_6+q_6r_1 &\leq q_1r_1 \\ \Rightarrow && \frac{r_6}{r_1} + \frac{q_6}{q_1} &\leq 1 \\ \Rightarrow && q_1r_6+q_6r_1 &\leq q_6r_6 \\ \Rightarrow && \frac{q_1}{q_6} + \frac{r_1}{r_6} &\leq 1 \\ \Rightarrow && \frac{r_6}{r_1} + \frac{q_6}{q_1}+\frac{q_1}{q_6} + \frac{r_1}{r_6} &\leq 2\\ \text{but} && \frac{r_6}{r_1} + \frac{q_6}{q_1}+\frac{q_1}{q_6} + \frac{r_1}{r_6} &\geq 4 \end{align*} Since we have a contradiction they cannot all be equal.
  2. We would like \(\displaystyle \sum q_i^2 \leq 1/36\) (subject to \(\displaystyle \sum q_i = 1\), clearly this cannot be true since: \begin{align*} && 1 &= \left ( \sum_{i=1}^6 q_i \right)^2 \\ &&&= \sum_{i=1}^6 q_i^2 + \sum_{i \neq j} 2q_i q_j \\ &&&\leq \sum_{i=1}^6 q_i^2 + 5\sum_{i=1}^6 q_i^2 \\ &&&=6 \sum_{i=1}^6 q_i^2 \\ \Rightarrow && \sum_{i=1}^6 q_i^2 &\geq 1/6 > 1/36 \end{align*} [For a weaker solution to the last part, notice that the largest value of \(q_i\) is \(\geq 1/6\) and therefore \(q_{max}^2 \geq 1/36\), but if equality holds then the other values must also be non-zero, and therefore the inequality cannot hold]

1994 Paper 2 Q12
D: 1600.0 B: 1499.3

Calamity Jane sits down to play the game of craps with Buffalo Bill. In this game she rolls two fair dice. If, on the first throw, the sum of the dice is \(2,3\) or \(12\) she loses, while if it is \(7\) or \(11\) she wins. Otherwise Calamity continues to roll the dice until either the first sum is repeated, in which case she wins, or the sum is \(7\), in which case she loses. Find the probability that she wins on the first throw. Given that she throws more than once, show that the probability that she wins on the \(n\)th throw is \[ \frac{1}{48}\left(\frac{3}{4}\right)^{n-2}+\frac{1}{27}\left(\frac{13}{18}\right)^{n-2}+\frac{25}{432}\left(\frac{25}{36}\right)^{n-2}. \] Given that she throws more than \(m\) times, where \(m>1,\) what is the probability that she wins on the \(n\)th throw?

1993 Paper 1 Q1
D: 1484.0 B: 1516.0

I have two dice whose faces are all painted different colours. I number the faces of one of them \(1,2,2,3,3,6\) and the other \(1,3,3,4,5,6.\) I can now throw a total of 3 in two different ways using the two number \(2\)'s on the first die once each. Show that there are seven different ways of throwing a total of 6. I now renumber the dice (again only using integers in the range 1 to 6) with the results shown in the following table \noindent

Total shown by the two dice23456789101112
Different ways of obtaining the total02114386560
\par
Find how I have numbered the dice explaining your reasoning. {[}You will only get high marks if the examiner can follow your argument.{]}