28 problems found
A multiple-choice test consists of five questions. For each question, \(n\) answers are given (\(n\ge2\)) only one of which is correct and candidates either attempt the question by choosing one of the \(n\) given answers or do not attempt it. For each question attempted, candidates receive two marks for the correct answer and lose one mark for an incorrect answer. No marks are gained or lost for questions that are not attempted. The pass mark is five. Candidates A, B and C don't understand any of the questions so, for any question which they attempt, they each choose one of the \(n\) given answers at random, independently of their choices for any other question.
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*}
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:
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:
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.
Solution:
The twins Anna and Bella share a computer and never sign their e-mails. When I e-mail them, only the twin currently online responds. The probability that it is Anna who is online is \(p\) and she answers each question I ask her truthfully with probability \(a\), independently of all her other answers, even if a question is repeated. The probability that it is Bella who is online is~\(q\), where \(q=1-p\), and she answers each question truthfully with probability \(b\), independently of all her other answers, even if a question is repeated.
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*}
A densely populated circular island is divided into \(N\) concentric regions \(R_1\), \(R_2\), \(\ldots\,\), \(R_N\), such that the inner and outer radii of \(R_n\) are \(n-1\) km and \(n\) km, respectively. The average number of road accidents that occur in any one day in \(R_n\) is \(2-n/N\,\), independently of the number of accidents in any other region. Each day an observer selects a region at random, with a probability that is proportional to the area of the region, and records the number of road accidents, \(X\), that occur in it. Show that, in the long term, the average number of recorded accidents per day will be \[ 2-\frac16\left(1+\frac1N\right)\left(4-\frac1N\right)\;. \] [Note: \(\sum\limits_{n=1}^N n^2 = \frac16 N(N+1)(2N+1) \;\).] Show also that \[ \P(X=k) = \frac{\e^{-2}N^{-k-2}}{k!}\sum_{n=1}^N (2n-1)(2N-n)^k\e^{n/N} \;. \] Suppose now that \(N=3\) and that, on a particular day, two accidents were recorded. Show that the probability that \(R_2\) had been selected is \[ \frac{48}{48 + 45\e^{1/3} +25 \e^{-1/3}}\;. \]
Solution: The area of \(R_n\) is \(\pi(n^2 - (n-1)^2) = (2n-1)\pi\). The area of the whole region is \(\pi N^2\). \begin{align*} && \E[X] &= \E[\E[X | \text{choose region }n]] \\ &&&= \sum_{n=1}^N \left (2 - \frac{n}{N} \right) \cdot \frac{(2n-1)\pi}{N^2 \pi} \\ &&&= \sum_{n=1}^N \left (2\cdot \frac{(2n-1)\pi}{N^2 \pi} - \frac{n}{N}\cdot \frac{(2n-1)\pi}{N^2 \pi} \right) \\ &&&= 2 - \frac{1}{N^3} \sum_{n=1}^N (2n^2-n) \\ &&&= 2 - \frac{1}{N^3} \left (\frac{2N(N+1)(2N+1)}{6} - \frac{N(N+1)}{2} \right) \\ &&&= 2 - \frac{N+1}{6N^2} \left (2(2N+1)-3 \right) \\ &&&= 2 - \frac{N+1}{6N^2} (4N - 1) \\ &&&= 2 - \frac16 \left (1 + \frac1N \right) \left (4 - \frac1N \right) \end{align*} Modelling each region as \(Po(2 - n/N)\) we have \begin{align*} \mathbb{P}(X = k ) &= \sum_{n=1}^N \exp(-2 + n/N) \frac{(2-n/N)^k}{k!} \frac{2n-1}{N^2} \\ &= \frac{e^{-2}N^{-k-2}}{k!} \sum_{n=1}^N e^{n/N} (2N-n)^k(2n-1) \end{align*} as desired. Supposing \(N=3\) and two accidents then \begin{align*} \mathbb{P}(R_2 | X = 2) &= \frac{\frac{3}{9} e^{-4/3}\frac{(\frac43)^2}{2!}}{\mathbb{P}(X=2)} \\ &= \frac{\frac{3}{9} e^{-4/3} \frac{(\frac43)^2}{2!}}{\frac{1}{9} e^{-5/3} \frac{(\frac53)^2}{2!} + \frac{3}{9} e^{-4/3} \frac{(\frac43)^2}{2!} + \frac{5}{9} e^{-2/3} \frac{(\frac33)^2}{2!}} \\ &= \frac{3 \cdot 16}{25e^{-1/3} + 3 \cdot 16 + 5 \cdot 9e^{1/3}} \\ &= \frac{48}{25e^{-1/3} + 48 + 45e^{1/3}} \end{align*} as required.
Every person carries two genes which can each be either of type \(A\) or of type \(B\). It is known that \(81\%\) of the population are \(AA\) (i.e. both genes are of type \(A\)), \(18\%\) are \(AB\) (i.e. there is one gene of type \(A\) and one of type \(B\)) and \(1\%\) are \(BB\). A child inherits one gene from each of its parents. If one parent is \(AA\), the child inherits a gene of type \(A\) from that parent; if the parent is \(BB\), the child inherits a gene of type \(B\) from that parent; if the parent is \(AB\), the inherited gene is equally likely to be \(A\) or \(B\).
When I throw a dart at a target, the probability that it lands a distance \(X\) from the centre is a random variable with density function \[ \mathrm{f}(x)=\begin{cases} 2x & \text{ if }0\leqslant x\leqslant1;\\ 0 & \text{ otherwise.} \end{cases} \] I score points according to the position of the dart as follows: %
It is known that there are three manufacturers \(A, B, C,\) who can produce micro chip MB666. The probability that a randomly selected MB666 is produced by \(A\) is \(2p\), and the corresponding probabilities for \(B\) and \(C\) are \(p\) and \(1 - 3p\), respectively, where \({{0} \le p \le {1 \over 3}}.\) It is also known that \(70\%\) of MB666 micro chips from \(A\) are sound and that the corresponding percentages for \(B\) and \(C\) are \(80\%\) and \(90\%\), respectively. Find in terms of \(p\), the conditional probability, \(\P(A {\vert} S)\), that if a randomly selected MB666 chip is found to be sound then it came from \(A\), and also the conditional probability, \(\P(C {\vert} S)\), that if it is sound then it came from \(C\). A quality inspector took a random sample of one MB666 micro chip and found it to be sound. She then traced its place of manufacture to be \(A\), and so estimated \(p\) by calculating the value of \(p\) that corresponds to the greatest value of \(\P(A {\vert} S)\). A second quality inspector also a took random sample of one MB666 chip and found it to be sound. Later he traced its place of manufacture to be \(C\) and so estimated \(p\) by applying the procedure of his colleague to \(\P(C {\vert} S)\). Determine the values of the two estimates and comment briefly on the results obtained.
The cakes in our canteen each contain exactly four currants, each currant being randomly placed in the cake. I take a proportion \(X\) of a cake where \(X\) is a random variable with density function \[{\mathrm f}(x)=Ax\] for \(0\leqslant x\leqslant 1\) where \(A\) is a constant.
I have a bag initially containing \(r\) red fruit pastilles (my favourites) and \(b\) fruit pastilles of other colours. From time to time I shake the bag thoroughly and remove a pastille at random. (It may be assumed that all pastilles have an equal chance of being selected.) If the pastille is red I eat it but otherwise I replace it in the bag. After \(n\) such drawings, I find that I have only eaten one pastille. Show that the probability that I ate it on my last drawing is \[\frac{(r+b-1)^{n-1}}{(r+b)^{n}-(r+b-1)^{n}}.\]
The diagnostic test AL has a probability 0.9 of giving a positive result when applied to a person suffering from the rare disease mathematitis. It also has a probability 1/11 of giving a false positive result when applied to a non-sufferer. It is known that only \(1\%\) of the population suffer from the disease. Given that the test AL is positive when applied to Frankie, who is chosen at random from the population, what is the probability that Frankie is a sufferer? In an attempt to identify sufferers more accurately, a second diagnostic test STEP is given to those for whom the test AL gave a positive result. The probablility of STEP giving a positive result on a sufferer is 0.9, and the probability that it gives a false positive result on a non-sufferer is \(p\). Half of those for whom AL was positive and on whom STEP then also gives a positive result are sufferers. Find \(p\).
Solution: \begin{align*} \mathbb{P}(M | P_{AL}) &= \frac{\mathbb{P}(M \cap P_{AL})}{\mathbb{P}(P_{AL})} \\ &= \frac{\frac{1}{100} \frac{9}{10}}{\frac{1}{100} \frac{9}{10} + \frac{99}{100} \frac{1}{11}} \\ &= \frac{\frac{9}{10}}{\frac{9}{10} + \frac{9}{1}} \\ &= \frac{9}{99} = \frac{1}{11} \\ \end{align*} \begin{align*} && \frac12 &= \mathbb{P}(M | P_{STEP}, P_{AL}) \\ &&&= \frac{\frac{1}{100} \frac{9}{10} \frac{9}{10}}{\frac{1}{100} \frac{9}{10} \frac{9}{10} + \frac{99}{100} \frac{1}{11}p} \\ &&&= \frac{81}{81+900p} \\ \Rightarrow && p &= \frac{81}{900} = \frac{9}{100} \end{align*} Therefore \(p = 9\%\)
Mr Blond returns to his flat to find it in complete darkness. He knows that this means that one of four assassins Mr 1, Mr 2, Mr 3 or Mr 4 has set a trap for him. His trained instinct tells him that the probability that Mr \(i\) has set the trap is \(i/10\). His knowledge of their habits tells him that Mr \(i\) uses a deadly trained silent anaconda with probability \((i+1)/10\), a bomb with probability \(i/10\) and a vicious attack canary with probability \((9-2i)/10\) \([i=1,2,3,4]\). He now listens carefully and, hearing no singing, concludes correctly that no canary is involved. If he switches on the light and the trap is a bomb he has probability \(1/2\) of being killed but if the trap is an anaconda he has probability \(2/3\) of survival. If he does not switch on the light and the trap is a bomb he is certain to survive but, if the trap is an anaconda, he has a probability \(1/2\) of being killed. His professional pride means that he must enter the flat. Advise Mr Blond, giving reasons for your advice.
Solution: \begin{array}{c|c|c|c} & A & B & C \\ \hline 1 & \frac{1}{10} \cdot \frac{2}{10} & \frac{1}{10} \cdot \frac{1}{10} & \frac{1}{10} \cdot \frac{7}{10} \\ 2 & \frac{2}{10} \cdot \frac{3}{10} &\frac{2}{10} \cdot \frac{2}{10} &\frac{2}{10} \cdot \frac{5}{10} \\ 3 & \frac{3}{10} \cdot \frac{4}{10} &\frac{3}{10} \cdot \frac{3}{10} &\frac{3}{10} \cdot \frac{3}{10} \\ 4 & \frac{4}{10} \cdot \frac{5}{10} &\frac{4}{10} \cdot \frac{4}{10} &\frac{4}{10} \cdot \frac{1}{10} \\ \hline & \frac{2+6+12+20}{100} & \frac{1 + 4 + 9 + 16}{100} & \frac{7 + 10 + 9 + 4}{100} \end{array} Therefore \(\mathbb{P}(A) = \frac{4}{10}, \mathbb{P}(B) = \frac{3}{10}, \mathbb{P}(C) = \frac{3}{10}\), in particular, \begin{align*} \mathbb{P}(A | \text{not }C) &= \frac{4}{7} \\ \mathbb{P}(B | \text{not }C) &= \frac{3}{7} \\ \end{align*} If he switches the light on, his probability of survival is \(\frac47 \cdot \frac23 + \frac37 \cdot \frac12 = \frac{25}{42}\), if he doesn't his probability is \(\frac12 \cdot \frac47 +\frac37= \frac{5}{7} = \frac{30}{42}\) therefore he shouldn't switch the light on.