12 problems found
A bag contains three coins. The probabilities of their showing heads when tossed are \(p_1\), \(p_2\) and \(p_3\).
Solution:
Four children, \(A\), \(B\), \(C\) and \(D\), are playing a version of the game `pass the parcel'. They stand in a circle, so that \(ABCDA\) is the clockwise order. Each time a whistle is blown, the child holding the parcel is supposed to pass the parcel immediately exactly one place clockwise. In fact each child, independently of any other past event, passes the parcel clockwise with probability \(\frac{1}{4}\), passes it anticlockwise with probability \(\frac{1}{4}\) and fails to pass it at all with probability \(\frac{1}{2}\). At the start of the game, child \(A\) is holding the parcel. The probability that child \(A\) is holding the parcel just after the whistle has been blown for the \(n\)th time is \(A_n\), and \(B_n\), \(C_n\) and \(D_n\) are defined similarly.
Solution:
I have a sliced loaf which initially contains \(n\) slices of bread. Each time I finish setting a STEP question, I make myself a snack: either toast, using one slice of bread; or a sandwich, using two slices of bread. I make toast with probability \(p\) and I make a sandwich with probability \(q\), where \(p+q=1\), unless there is only one slice left in which case I must, of course, make toast. Let \(s_r\) (\(1 \le r \le n\)) be the probability that the \(r\)th slice of bread is the second of two slices used to make a sandwich and let \(t_r\) (\(1 \le r \le n\)) be the probability that the \(r\)th slice of bread is used to make toast. What is the value of \(s_1\)? Explain why the following equations hold: \begin{align*} \phantom{\hspace{2cm} (2\le r \le n-1)} t_r &= (s_{r-1}+ t_{r-1})\,p \hspace{2cm} (2\le r \le n-1)\,; \\ \phantom{\hspace{1.53cm} (2\le r \le n) } s_r &= 1- (s_{r-1} + t_{r-1}) \hspace{1.53cm} ( 2\le r \le n )\,. \end{align*} Hence, or otherwise, show that \(s_{r} = q(1-s_{r-1})\) for \(2\le r\le n-1\). Show further that \[ \phantom{\hspace{2.7cm} (1\le r\le n)\,,} s_r = \frac{q+(-q)^r}{1+q} \hspace{2.7cm} (1\le r\le n-1)\,, \, \hspace{0.14cm} \] and find the corresponding expression for \(t_r\). Find also expressions for \(s_n\) and \(t_n\) in terms of \(q\).
Solution: The \(1\)st slice of bread can only be the first slice in a sandwich or a slice of toast. Therefore \(s_1 = 0\) \begin{align*} && t_r &= \underbrace{s_{r-1}}_{r-1\text{th is the end of a sandwich}} \cdot \underbrace{p}_{\text{and we make toast}} + \underbrace{t_{r-1}}_{r-1\text{th is toast}} \cdot \underbrace{p}_{\text{and we make toast}} \\ &&&= (s_{r-1}+t_{r-1})p \\ \\ && s_r &= 1-\mathbb{P}(\text{previous slice is not the first of a sandwich}) \\ &&&= 1-(s_{r-1} + t_{r-1}) \\ \\ \Rightarrow && s_r &= 1 - \frac{t_r}{p} \\ \Rightarrow && t_r &= p - ps_r \\ \Rightarrow && s_r &= 1 - s_{r-1} - (p-ps_{r-1}) \\ &&&= 1 -p -(1-p)s_{r-1} \\ &&&= q(1-s_{r-1}) \end{align*} Therefore since \(s_r + qs_{r-1} = q\) we should look for a solution of the form \(s_r = A(-q)^r + B\). The particular solution will have \((1+q)B = q \Rightarrow B = \frac{q}{1+q}\), the initial condition will have \(s_1 = \frac{q}{1+q} +A(-q) = 0 \Rightarrow q = \frac{1}{1+q}\), so we must have \begin{align*} && s_r &= \frac{q+(-q)^r}{1+q}\\ \Rightarrow && t_r &= p(1-s_r) \\ &&&= p \frac{1+q-q-(-q)^r}{1+q} \\ &&&= \frac{(1-q)(1-(-q)^r)}{1+q} \\ && s_n &= 1-\frac{q+(-q)^{n-1}}{1+q} - \frac{p(1-(-q)^{n-1})}{1+q} \\ &&&= 1-\frac{1+(1-p)(-q)^{n-1}}{1+q}\\ &&&= 1-\frac{1-(-q)^n}{1+q}\\ &&&= \frac{q+(-q)^n}{1+q}\\ && t_n &=1-s_n \\ &&&=\frac{1-(-q)^n}{1+q} \end{align*}
Four players \(A\), \(B\), \(C\) and \(D\) play a coin-tossing game with a fair coin. Each player chooses a sequence of heads and tails, as follows: Player A: HHT; Player B: THH; Player C: TTH; Player D: HTT. The coin is then tossed until one of these sequences occurs, in which case the corresponding player is the winner.
Solution:
A modern villa has complicated lighting controls. In order for the light in the swimming pool to be on, a particular switch in the hallway must be on and a particular switch in the kitchen must be on. There are four identical switches in the hallway and four identical switches in the kitchen. Guests cannot tell whether the switches are on or off, or what they control. Each Monday morning a guest arrives, and the switches in the hallway are either all on or all off. The probability that they are all on is \(p\) and the probability that they are all off is \(1-p\). The switches in the kitchen are each on or off, independently, with probability \(\frac12\).
Solution:
Xavier and Younis are playing a match. The match consists of a series of games and each game consists of three points. Xavier has probability \(p\) and Younis has probability \(1-p\) of winning the first point of any game. In the second and third points of each game, the player who won the previous point has probability \(p\) and the player who lost the previous point has probability \(1-p\) of winning the point. If a player wins two consecutive points in a single game, the match ends and that player has won; otherwise the match continues with another game.
Solution:
Rosalind wants to join the Stepney Chess Club. In order to be accepted, she must play a challenge match consisting of several games against Pardeep (the Club champion) and Quentin (the Club secretary), in which she must win at least one game against each of Pardeep and Quentin. From past experience, she knows that the probability of her winning a single game against Pardeep is \(p\) and the probability of her winning a single game against Quentin is \(q\), where \(0 < p < q < 1\).
Solution:
Prove that, for any real numbers \(x\) and \(y\), \(x^2+y^2\ge2xy\,\).
Satellites are launched using two different types of rocket: the Andover and the Basingstoke. The Andover has four engines and the Basingstoke has six. Each engine has a probability~\(p\) of failing during any given launch. After the launch, the rockets are retrieved and repaired by replacing some or all of the engines. The cost of replacing each engine is \(K\). For the Andover, if more than one engine fails, all four engines are replaced. Otherwise, only the failed engine (if there is one) is replaced. Show that the expected repair cost for a single launch using the Andover is \[ 4Kp(1+q+q^2-2q^3) \ \ \ \ \ \ \ \ \ \ \ \ \ (q=1-p) \tag{*} \] For the Basingstoke, if more than two engines fail, all six engines are replaced. Otherwise only the failed engines (if there are any) are replaced. Find, in a form similar to \((*)\), the expected repair cost for a single launch using the Basingstoke. Find the values of \(p\) for which the expected repair cost for the Andover is \(\frac23\) of the expected repair cost for the Basingstoke.
Bag \(P\) and bag \(Q\) each contain \(n\) counters, where \(n\ge2\). The counters are identical in shape and size, but coloured either black or white. First, \(k\) counters (\(0\le k\le n\)) are drawn at random from bag \(P\) and placed in bag \(Q\). Then, \(k\) counters are drawn at random from bag \(Q\) and placed in bag \(P\).
Solution:
Four students, Arthur, Bertha, Chandra and Delilah, exchange gossip. When Arthur hears a rumour, he tells it to one of the other three without saying who told it to him. He decides whom to tell by choosing at random amongst the other three, omitting the ones that he knows have already heard the rumour. When Bertha, Chandra or Delilah hear a rumour, they behave in exactly the same way (even if they have already heard it themselves). The rumour stops being passed round when it is heard by a student who knows that the other three have already heard it. Arthur starts a rumour and tells it to Chandra. By means of a tree diagram, or otherwise, show that the probability that Arthur rehears it is \(3/4\). Find also the probability that Bertha hears it twice and the probability that Chandra hears it twice.
Solution: Without loss of generality, \(C\) will tell \(B\) about the rumour. If \(B\) tells \(D\) then \(D\) can either tell \(A\) or \(C\) at which point either \(A\) is told or the rumour stops spreading.
A pack of \(2n\) (where \(n\geqslant4\)) cards consists of two each of \(n\) different sorts. If four cards are drawn from the pack without replacement show that the probability that no pairs of identical cards have been drawn is \[ \frac{4(n-2)(n-3)}{(2n-1)(2n-3)}. \] Find the probability that exactly one pair of identical cards is included in the four. If \(k\) cards are drawn without replacement and \(2 < k < 2n,\) find an expression for the probability that there are exactly \(r\) pairs of identical cards included when \(r < \frac{1}{2}k.\) For even values of \(k\) show that the probability that the drawn cards consist of \(\frac{1}{2}k\) pairs is \[ \frac{1\times3\times5\times\cdots\times(k-1)}{(2n-1)(2n-3)\cdots(2n-k+1)}. \]