86 problems found
I play a game which has repeated rounds. Before the first round, my score is \(0\). Each round can have three outcomes:
Solution:
Each day, I have to take \(k\) different types of medicine, one tablet of each. The tablets are identical in appearance. When I go on holiday for \(n\) days, I put \(n\) tablets of each type in a container and on each day of the holiday I select \(k\) tablets at random from the container.
Solution:
Fire extinguishers may become faulty at any time after manufacture and are tested annually on the anniversary of manufacture. The time \(T\) years after manufacture until a fire extinguisher becomes faulty is modelled by the continuous probability density function \[ f(t) = \begin{cases} \frac{2t}{(1+t^2)^2}& \text{for \(t\ge0\)}\,,\\[4mm] \ \ \ \ 0& \text{otherwise}. \end{cases} \] A faulty fire extinguisher will fail an annual test with probability \(p\), in which case it is destroyed immediately. A non-faulty fire extinguisher will always pass the test. All of the annual tests are independent. Show that the probability that a randomly chosen fire extinguisher will be destroyed exactly three years after its manufacture is \(p(5p^2-13p +9)/10\). Find the probability that a randomly chosen fire extinguisher that was destroyed exactly three years after its manufacture was faulty 18 months after its manufacture.
Solution: The probability it becomes faulty in each year is: \begin{align*} \mathbb{P}(\text{faulty in Y}1) &= \int_0^1 \frac{2t}{(1+t^2)^2} \, dt \\ &= \left [ -\frac{1}{(1+t^2)} \right]_0^1 \\ &= 1 - \frac{1}{2} = \frac{1}{2} \\ \mathbb{P}(\text{faulty in Y}2) &= \frac{1}{2} - \frac{1}{5} = \frac{3}{10} \\ \mathbb{P}(\text{faulty in Y}3) &= \frac{1}{5} - \frac{1}{10} = \frac{1}{10} \end{align*} The probability of failing for the first time after exactly \(3\) years is: \begin{align*} \mathbb{P}(\text{faulty in Y1, }PPF) &+ \mathbb{P}(\text{faulty in Y2, }PF) + + \mathbb{P}(\text{faulty in Y3, }F) \\ &= \frac12 (1-p)^2p + \frac3{10}(1-p)p + \frac1{10}p \\ &= \frac{p}{10} \l 5(1-p)^2 + 3(1-p) + 1 \r \\ &= \frac{p}{10} \l 5 - 10p + 5p^2 + 3 -3p +1 \r \\ &= \frac{p}{10} \l 9 - 13p + 5p^2 \r \end{align*} as required. The probability that a randomly chosen fire extinguisher that was destroyed exactly three years after its manufacture was faulty 18 months after its manufacture is: \begin{align*} \mathbb{P}(\text{faulty 18 months after} | \text{fails after 3 tries}) &= \frac{\mathbb{P}(\text{faulty 18 months after and fails after 3 tries})}{\mathbb{P}(\text{fails after exactly 3 tries})} \end{align*} We can compute \(\mathbb{P}(\text{faulty 18 months after and fails after 3 tries})\) by looking at \(2\) cases, fails between \(12\) months and \(18\) years, and between \(0\) years and \(1\) year. \begin{align*} \mathbb{P}(\text{faulty between 1y and 18m}) &= \int_{1}^{\frac32} \frac{2t}{(1+t^2)^2} \, dt \\ &= \left [ -\frac{1}{(1+t^2)} \right]_{1}^{\frac32} \\ &= \frac12 - \frac{4}{13} = \frac{5}{26} \\ \end{align*} So the probability is: \begin{align*} \mathbb{P} &= \frac{\frac{5}{26}(1-p)p + \frac12(1-p)^2p}{\frac{p}{10} \l 9 - 13p + 5p^2 \r} \\ &= \frac{\frac{25}{13}(1-p) + 5(1-p)^2}{9 - 13p + 5p^2} \\ &= \frac{5}{13} \frac{(1-p)\l 5 + 13(1-p) \r}{9 - 13p + 5p^2} \\ &= \frac{5}{13} \frac{(1-p)\l 18 - 13p \r}{9 - 13p + 5p^2} \\ \end{align*}
I am selling raffle tickets for \(\pounds1\) per ticket. In the queue for tickets, there are \(m\) people each with a single \(\pounds1\) coin and \(n\) people each with a single \(\pounds2\) coin. Each person in the queue wants to buy a single raffle ticket and each arrangement of people in the queue is equally likely to occur. Initially, I have no coins and a large supply of tickets. I stop selling tickets if I cannot give the required change.
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:
In the High Court of Farnia, the outcome of each case is determined by three judges: the ass, the beaver and the centaur. Each judge decides its verdict independently. Being simple creatures, they make their decisions entirely at random. Past verdicts show that the ass gives a guilty verdict with probability \(p\), the beaver gives a guilty verdict with probability \(p/3\) and the centaur gives a guilty verdict with probability \(p^2\). Let \(X\) be the number of guilty verdicts given by the three judges in a case. Given that \(\E(X)= 4/3\), find the value of \(p\). The probability that a defendant brought to trial is guilty is \(t\). The King pronounces that the defendant is guilty if at least two of the judges give a guilty verdict; otherwise, he pronounces the defendant not guilty. Find the value of \(t\) such that the probability that the King pronounces correctly is \(1/2\).
Solution: \begin{align*} && \mathbb{E}(X) &= p + \frac{p}{3} + p^2 = \frac43p+p^2 \\ \Rightarrow && \frac43 &= \frac43p+p^2 \\ \Rightarrow && 0 &= 3p^2+4p-4 \\ &&&= (3p-2)(p+2) \\ \Rightarrow && p &= \frac23, -2 \end{align*} Since \(p \in [0,1]\) we must have \(p = \frac23\). \begin{align*} && \mathbb{P}(\text{correct verdict}) &= t p+ (1-t) (1-p) \\ &&&= t(2p-1)+(1-p)\\ \Rightarrow && \frac12 &= t(2p-1)+(1-p) \\ \Rightarrow && t &= \frac{\frac12-(1-p)}{2p-1} \\ &&&= \frac{2p-1}{2(2p-1)} = \frac12 \end{align*} (so it doesn't depend at all on what the judges are doing, the only way to be fair is if the trials happen at random!)
A bag contains eleven small discs, which are identical except that six of the discs are blank and five of the discs are numbered, using the numbers 1, 2, 3, 4 and 5. The bag is shaken, and four discs are taken one at a time without replacement. Calculate the probability that:
Solution: There are many ways to do the counting in each question, possibly the clearest way is to always consider the order in which discs are taken, although all methods should work equally well. For some examples Bayes rule also offers a fast solution.
The discrete random variable \(X\) has a Poisson distribution with mean \(\lambda\).
Solution: Let \(X \sim Po(\lambda)\), then
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.
Solution:
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\).
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.
Solution: 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}\)
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.
Solution:
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.
Solution: