183 problems found
The four towns \(A,B,C\) and \(D\) are linked by roads \(AB,AC,CB,BD\) and \(CD.\) The probability that any one road will be blocked by snow on the 1st of January is \(p\), independent of what happens to any other \([0 < p < 1]\). Show that the probability that any open route from \(A\) to \(D\) is \(ABCD\) is \[ p^{2}(1-p)^{3}. \] In order to increase the probability that it is possible to get from \(A\) to \(D\) by a sequence of unblocked roads the government proposes either to snow-proof the road \(AB\) (so that it can never be blocked) or to snow-proof the road \(CB.\) Because of the high cost it cannot do both. Which road should it choose (or are both choices equally advantageous)? In fact, \(p=\frac{1}{10}\) and the government decides that it is only worth going ahead if the present probability of \(A\) being cut off from \(D\) is greater than \(\frac{1}{100}.\) Will it go ahead?
A point moves in unit steps on the \(x\)-axis starting from the origin. At each step the point is equally likely to move in the positive or negative direction. The probability that after \(s\) steps it is at one of the points \(x=2,x=3,x=4\) or \(x=5\) is \(\mathrm{P}(s).\) Show that \(\mathrm{P}(5)=\frac{3}{16},\) \(\mathrm{P}(6)=\frac{21}{64}\) and \[ \mathrm{P}(2k)=\binom{2k+1}{k-1}\left(\frac{1}{2}\right)^{2k} \] where \(k\) is a positive integer. Find a similar expression for \(\mathrm{P}(2k+1).\) Determine the values of \(s\) for which \(\mathrm{P}(s)\) has its greatest value.
Solution: After \(5\) steps we can get to: \begin{array}{c|c} x & \text{ways} \\ \hline 5 & 1 \text { - go positive every time}\\ 4 & 0 \\ 3 & \binom{5}{1} \text { - go positive every time but 1} \\ 2 &0 \\ \hline & 6 \end{array} Therefore there are \(\frac{6}{2^5} = \frac{3}{16}\) ways to get to \(\{2,3,4,5\}\) After \(6\) steps we can get to: \begin{array}{c|c} x & \text{ways} \\ \hline 5 & 0 \\ 4 & \binom{6}{1} \text { - go positive every time but 1}\\ 3 & 0 \\ 2 & \binom{6}{2} - \text{ - go positive every time but 2} \\ \hline & 21 \end{array} Therefore there are \(\frac{21}{2^6} = \frac{21}{64}\) ways to get to \(\{2,3,4,5\}\) After \(2k\) steps we can reach \(2\) or \(4\). To get to \(2\) we must take \(k+1\) positive steps and \(k-1\) negative steps, ie \(\binom{2k}{k-1}\). To get to \(4\) we must take \(k+2\) positive steps and \(k-2\) negative steps, ie \(\binom{2k}{k-2}\) Therefore there are \(\binom{2k+1}{k-1}\) routes, ie a probability of \(\frac{1}{2^{2k}} \binom{2k+1}{k-1}\) After \(2k+1\) steps we can reach \(3\) or \(5\). To get to \(3\) we must take \(k+2\) positive steps and \(k-1\) negative steps, ie \(\binom{2k+1}{k-1}\). To get to \(5\) we must take \(k+3\) positive steps and \(k-2\) negative steps, ie \(\binom{2k+1}{k-2}\) Therefore there are \(\binom{2k+2}{k-1}\) routes, ie a probability of \(\frac{1}{2^{2k+1}} \binom{2k+2}{k-1}\) To find the maximum of \(P(s)\) notice that \begin{align*} && \frac{P(2k+1)}{P(2k)} &= \frac12 \frac{\binom{2k+2}{k-1}}{\binom{2k+1}{k-1}} \\ &&&= \frac12 \frac{(2k+2)!(k-1)!(k+2)!}{(2k+1)!(k-1)!(k+3)!} \\ &&&= \frac12 \frac{2k+2}{k+3} = \frac{k+1}{k+3} < 1 \end{align*} So we should only look at the even terms. \begin{align*} && \frac{P(2k+2)}{P(2k)} &= \frac14 \frac{\binom{2k+3}{k}}{\binom{2k+1}{k-1}} \\ &&&= \frac14 \frac{(2k+3)!(k-1)!(k+2)!}{(2k+1)!k!(k+3)!} \\ &&&= \frac14 \frac{(2k+3)(2k+2)}{k(k+3)} \\ &&&= \frac{(2k+3)(k+1)}{2k(k+3)} \geq 1 \\ \Leftrightarrow && (2k+3)(k+1) &\geq 2k(k+3) \\ \Leftrightarrow && 2k^2+5k+3 &\geq 2k^2+6k \\ \Leftrightarrow && 3 &\geq k \\ \end{align*} Therefore the maximum is when \(s = 2\cdot 3\) or \(s = 2\cdot 4\) which we computed earlier to be \(\frac{21}{64}\)
A taxi driver keeps a packet of toffees and a packet of mints in her taxi. From time to time she takes either a toffee (with probability \(p\)) or mint (with probability \(q=1-p\)). At the beginning of the week she has \(n\) toffees and \(m\) mints in the packets. On the \(N\)th occasion that she reaches for a sweet, she discovers (for the first time) that she has run out of that kind of sweet. What is the probability that she was reaching for a toffee?
Solution: \begin{align*} \mathbb{P}(\text{run out reading for toffee on } N\text{th occassion}) &= \binom{N-1}{n}p^nq^{N-1-n}p \end{align*} Since out of the first \(N-1\) times, we need to choose toffee \(n\) times, and then choose it again for the \(N\)th time. Therefore: \begin{align*} \mathbb{P}(\text{reaching for toffee} | \text{run out on }N\text{th occassion}) &= \frac{\mathbb{P}(\text{reaching for toffee and run out on }N\text{th occassion})}{\mathbb{P}(\text{reaching for toffee and run out on }N\text{th occassion}) + \mathbb{P}(\text{reaching for mint and run out on }N\text{th occassion})} \\ &= \frac{ \binom{N-1}{n}p^nq^{N-1-n}p}{ \binom{N-1}{n}p^nq^{N-1-n}p + \binom{N-1}{m}q^mp^{N-1-m}q} \\ &= \frac{ \binom{N-1}{n}}{ \binom{N-1}{n} + \binom{N-1}{m} \l \frac{q}{p} \r^{m+ n+ 2-N}} \end{align*} Some conclusions we can draw from this are: As \(p \to 1, q \to 0\), the probability they were reaching for a Toffee tends to \(1\). (And vice versa). If \(p = q\), then the probability is: \begin{align*} \frac{ \binom{N-1}{n}}{ \binom{N-1}{n} + \binom{N-1}{m} } \end{align*} Since \(n+1 \leq N \leq n+m+1\) where \(n \geq m\) we can notice that: \begin{align*} \text{if } N = m + n + 1 && \binom{m+n+1 - 1}{n} &= \binom{m+n+1 - 1}{m} & \text{ so } \mathbb{P} = \frac12 \\ \text{if } N = n+k && \binom{n+k-1}{n} &< \binom{n+k-1}{m} & \text{ so } \mathbb{P} < \frac12 \\ \end{align*}
The probability that there are exactly \(n\) misprints in an issue of a newspaper is \(\mathrm{e}^{-\lambda}\lambda^{n}/n!\) where \(\lambda\) is a positive constant. The probability that I spot a particular misprint is \(p\), independent of what happens for other misprints, and \(0 < p < 1.\)
Solution:
A set of \(2N+1\) rods consists of one of each length \(1,2,\ldots,2N,2N+1\), where \(N\) is an integer greater than 1. Three different rods are selected from the set. Suppose their lengths are \(a,b\) and \(c\), where \(a > b > c\). Given that \(a\) is even and fixed, show, by considering the possible values of \(b\), that the number of selections in which a triangle can then be formed from the three rods is \[ 1+3+5+\cdots+(a-3), \] where we allow only non-degenerate triangles (i.e. triangles with non-zero area). Similarly obtain the number of selections in which a triangle may be formed when \(a\) takes some fixed odd value. Write down a formula for the number of ways of forming a non-degenerate triangle and verify it for \(N=3\). Hence show that, if three rods are drawn at random without replacement, then the probability that they can form a non-degenerate triangle is \[ \frac{(N-1)(4N+1)}{2(4N^{2}-1)}. \]
Solution: Suppose we have \(a = 2k\), it is necessary (by the triangle inequality) that \(b + c > a\). So the smallest \(b\) can be is \(k+1\), and then \(c\) must be \(k\) (1 choice). Then \(b\) could be \(k+2\) and \(c\) can be \(k+1\), \(k\), \(k-1\) (3 choices). Suppose \(b = k+i\) then \(c\) can be \(k+i-1, \ldots, k-i+1\) which is \(2i-1\) choices. This works until \(b = 2k-1\) and there are \(2(k-1)-1 = 2k-3 = a-3\) choices. Therefore there are \(1 + 3 + 5 + \cdots + (a-3)\) total choices. If \(a = 2k+1\) then, \(b = k+1\) is not possible \(b = k+2\) we have \(a = k+1, k\) (2 choices) \(b = k+3\) we have \(a = k+2, k+1, k, k-1\) (4 choices) \(b = k + i\) we have \(a = k+i-1, \cdots, k-i+2\) (\(2i-2\) choices) This works until \(b = k+k\) with \(2k-2 = a-3\) choices. So \(2 + 4 + \cdots + (a-3)\) If \(a\) is even, we have \(\left ( \frac{a-2}{2} \right)^2\) If \(a\) is odd we have \(\frac{(a-3)(a-1)}{4}\) Therefore the total number is: \begin{align*} C &= \sum_{k=2}^N \left ( \frac{(2k-2)^2}{4} + \frac{(2k+1-3)(2k+1-1)}{4} \right) \\ &= \sum_{k=2}^N \left ( (k-1)^2 + (k-1)k\right) \\ &= \sum_{k=2}^N (2k^2-3k+1) \\ &= \sum_{k=1}^N (2k^2-3k+1) \\ &= \frac{N(N+1)(2N+1)}{3} - \frac{3N(N+1)}{2} + N \\ &= \frac{N((N+1)(4N+2-9)+6)}{6} \\ &= \frac{N(4N+1)(N-1)}{6} \\ \end{align*} When \(N = 3\) we have \(1, 2, \cdots, 7\) sticks, and so \(a = 4\), \(1\) option \(a = 5\), \(2\) options \(a = 6\) \(4\) options \(a = 7\) \(6\) options for a total of \(13\). \(\frac{3 \cdot 13 \cdot 2}{6} = 13\) so this is promising, There are \(\binom{2N+1}{3}\) ways to choose three sticks (in order) and of those our formula tells us how many are valid, therefore \begin{align*} && P &= \frac{ \frac{N(4N+1)(N-1)}{6} }{\frac{(2N+1)2N(2N-1)}{6}} \\ &&&= \frac{(4N+1)(N-1)}{2(4N^2-1)} \end{align*}
A fair coin is thrown \(n\) times. On each throw, 1 point is scored for a head and 1 point is lost for a tail. Let \(S_{n}\) be the points total for the series of \(n\) throws, i.e. \(S_{n}=X_{1}+X_{2}+\cdots+X_{n},\) where \[ X_{j}=\begin{cases} 1 & \text{ if the }j \text{ th throw is a head}\\ -1 & \text{ if the }j\text{ th throw is a tail.} \end{cases} \]
Solution: Notice that \(\mathbb{E}(X_i) = 0, \mathbb{E}(X_i^2) = 1\) and so \(\mathbb{E}(S_n) =0, \textrm{Var}(S_n) = n\).
At any instant the probability that it is safe to cross a busy road is \(0.1\). A toad is waiting to cross this road. Every minute she looks at the road. If it is safe, she will cross; if it is not safe, she will wait for a minute before attempting to cross again. Find the probability that she eventually crosses the road without mishap. Later on, a frog is also trying to cross the same road. He also inspects the traffic at one minute intervals and crosses if it is safe. Being more impatient than the toad, he may also attempt to cross when it is not safe. The probability that he will attempt to cross when it is not safe is \(n/3\) if \(n\leqslant3,\) where \(n\) minutes have elapsed since he firrst inspected the road. If he attempts to cross when it is not safe, he is run over with probability \(0.8,\) but otherwise he reaches the other side safely. Find the probability that he eventually crosses the road without mishap. What is the probability that both reptiles safely cross the road with the frog taking less time than the toad? If the frog has not arrived at the other side 2 minutes after he began his attempt to cross, what is the probability that the frog is run over (at some stage) in his attempt to cross? \textit{[Once moving, the reptiles spend a negligible time on their attempt to cross the road.]}
Solution: Since the toad never crosses when it's not safe, she is certain to cross. (Probability she hasn't crossed after the \(n\)th minute is \(0.9^n \to 0\)). \begin{array}{c|c|c|c|c|c|c|c} \text{will try dangerously} & \text{is safe} & \text{has tried} & \text{tries safely} & \text{tries unsafely} & \text{succeeds} & \text{succeeds unsafely} & \text{fails} \\ \hline 0 & 0.1 & 0 & 0.1 & 0 & 0.1 & 0 & 0\\ \frac13 & 0.1 & 0.1 & 0.09 & 0.27 & 0.144 & 0.054 & 0.216\\ \frac23 & 0.1 & 0.46 & 0.054 & 0.324 & 0.1188 & 0.0648 & 0.2592\\ 1 & 0.1 & 0.838 & 0.0162 & 0.1458 & 0.04536 & 0.02916 & 0.11664\\ \hline & & & & & 0.40816 & 0.14796 & \\ \hline \end{array} So \(\mathbb{P}(\text{frog crosses safely}) = 0.40816\) and \(\mathbb{P}(\text{frog beats toad across}) = 0.14796\). \begin{align*} \mathbb{P}(\text{frog run over} | \text{frog not crossed after 2 minutes}) &= \frac{\mathbb{P}(\text{frog run over and frog not crossed after 2 minutes})}{\mathbb{P}(\text{frog not crossed after 2 minutes})} \\ &= \frac{\mathbb{P}(\text{frog run over within 2 minutes})}{\mathbb{P}(\text{frog not crossed after 2 minutes})} \\ &= \frac{\mathbb{P}(\text{frog run over within 2 minutes})}{1-\mathbb{P}(\text{crossed after 2 minutes})} \\ &= \frac{0.216+0.2592}{1-0.3628} \\ &= 0.7457\ldots \end{align*}
Integers \(n_{1},n_{2},\ldots,n_{r}\) (possibly the same) are chosen independently at random from the integers \(1,2,3,\ldots,m\). Show that the probability that \(\left|n_{1}-n_{2}\right|=k\), where \(1\leqslant k\leqslant m-1\), is \(2(m-k)/m^{2}\) and show that the expectation of \(\left|n_{1}-n_{2}\right|\) is \((m^{2}-1)/(3m)\). Verify, for the case \(m=2\), the result that the expection of \(\left|n_{1}-n_{2}\right|+\left|n_{2}-n_{3}\right|\) is \(2(m^{2}-1)/(3m).\) Write down the expectation, for general \(m\), of \[ \left|n_{1}-n_{2}\right|+\left|n_{2}-n_{3}\right|+\cdots+\left|n_{r-1}-n_{r}\right|. \] Desks in an examination hall are placed a distance \(d\) apart in straight lines. Each invigilator looks after one line of \(m\) desks. When called by a candidate, the invigilator walks to that candidate's desk, and stays there until called again. He or she is equally likely to be called by any of the \(m\) candidates in the line but candidates never call simultaneously or while the invigilator is attending to another call. At the beginning of the examination the invigilator stands by the first desk. Show that the expected distance walked by the invigilator in dealing with \(N+1\) calls is \[ \frac{d(m-1)}{6m}[2N(m+1)+3m]. \]
Each time it rains over the Cabbibo dam, a volume \(V\) of water is deposited, almost instanetaneously, in the reservoir. Each day (midnight to midnight) water flows from the reservoir at a constant rate \(u\) units of volume per day. An engineer, if present, may choose to alter the value of \(u\) at any midnight.
Solution:
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)}. \]
The random variables \(X\) and \(Y\) take integer values \(x\) and \(y\) respectively which are restricted by \(x\geqslant1,\) \(y\geqslant1\) and \(2x+y\leqslant2a\) where \(a\) is an integer greater than 1. The joint probability is given by \[ \mathrm{P}(X=x,Y=y)=c(2x+y), \] where \(c\) is a positive constant, within this region and zero elsewhere. Obtain, in terms of \(x,c\) and \(a,\) the marginal probability \(\mathrm{P}(X=x)\) and show that \[ c=\frac{6}{a(a-1)(8a+5)}. \] Show that when \(y\) is an even number the marginal probability \(\mathrm{P}(Y=y)\) is \[ \frac{3(2a-y)(2a+2+y)}{2a(a-1)(8a+5)} \] and find the corresponding expression when \(y\) is off. Evaluate \(\mathrm{E}(Y)\) in terms of \(a\).
A bag contains 5 white balls, 3 red balls and 2 black balls. In the game of Blackball, a player draws a ball at random from the bag, looks at it and replaces it. If he has drawn a white ball, he scores one point, while for a red ball he scores two points, these scores being added to his total score before he drew the ball. If he has drawn a black ball, the game is over and his final score is zero. After drawing a red or white ball, he can either decide to stop, when his final score for the game is the total so far, or he may elect to draw another ball. The starting score is zero. Juggins' strategy is to continue drawing until either he draws a black ball (when of course he must stop, with final score zero), or until he has drawn three (non-black) balls, when he elects to stop. Find the probability that in any game he achieves a final score of zero by employing this strategy. Find also his expected final score. Muggins has so far scored \(N\) points, and is deciding whether to draw another ball. Find the expected score if another ball is drawn, and suggest a strategy to achieve the greatest possible average final score in each game.
Solution: The probability Juggin's has a non-zero score is the probability he never draws a black ball in his three goes. This is \((1-\frac15)^3 = \frac{64}{125}\). Let's consider the \(\frac{61}{125}\) probability world where he never draws a black ball. In this conditional probability space, he has \(\frac{5}{8}\) chances of pulling out white balls and \(\frac38\) or pulling out red. His expected score per pull is \(\frac58 \cdot 1 + \frac38 \cdot 2 = \frac{11}{8}\). Therefore his expected score in this universe is \(\frac{33}8\) and his expected score is \(\frac{33}{8} \cdot \frac{61}{125} = \frac{2013}{1000} = 2.013\) . The expected score after drawing another ball is \(( N + 1)\frac{5}{10} + (N+2) \frac{3}{10} + 0 \cdot \frac{2}{10} = \frac{8}{10}N + \frac{11}{10}\). A sensible strategy would be to only draw if \(\frac{8}{10}N + \frac{11}{10} > N \Rightarrow N < \frac{11}{2}\), ie keep drawing until \(N \geq 6\) or we bust out. [The expected score for this strategy is: \begin{array}{ccc} \text{score} & \text{route} & \text{count} & \text{prob} \\ \hline 6 & \text{6 1s} & 1 & \left ( \frac12 \right)^6 \\ 6 & \text{4 1s, 1 2} & 5 & 5 \cdot \left ( \frac12 \right)^4 \cdot \frac{3}{10} \\ 6 & \text{2 1s, 2 2s} & 6 & 6 \cdot \left ( \frac12 \right)^2 \cdot \left ( \frac{3}{10} \right)^2 \\ 6 & \text{3 2s} & 1 & 1 \cdot \left ( \frac{3}{10} \right)^3 \\ 7 & \text{5 1s, 1 2} & 1 &\left ( \frac12 \right)^5 \cdot \frac{3}{10} \\ 7 & \text{3 1s, 2 2s} & 4 & 4\cdot \left ( \frac12 \right)^3 \cdot \left ( \frac{3}{10} \right)^2 \\ 7 & \text{1 1, 3 2s} & 3 & 3\cdot \left ( \frac12 \right) \cdot \left ( \frac{3}{10} \right)^3 \\ \end{array} For an expected value of \(\frac{2171}{8000} \cdot 6 + \frac{759}{8000} \cdot 7 = \frac{18\,339}{8000} = 2.29 \quad (3\text{ s.f.})\)]
A coin has probability \(p\) (\(0 < p < 1\)) of showing a head when tossed. Give a careful argument to show that the \(k\)th head in a series of consecutive tosses is achieved after exactly \(n\) tosses with probability \[ \binom{n-1}{k-1}p^{k}(1-p)^{n-k}\qquad(n\geqslant k). \] Given that it took an even number of tosses to achieve exactly \(k-1\) heads, find the probability that exactly \(k\) heads are achieved after an even number of tosses. If this coin is tossed until exactly 3 heads are obtained, what is the probability that exactly 2 of the heads occur on even-numbered tosses?
Solution: We must have a sequence consisting of \(\underbrace{HTT\cdots TH}_{k-1\text{ heads and }n-k\text{ tails}}\underbrace{H}_{k\text{th head}}\). There are \(\binom{n-1}{k-1}\) ways to chose how to place the \(k-1\) heads in the first \(n-1\) flips, and each sequence has probability \(p^{k-1}(1-p)^{n-k}p\) which gives a probability of \(\displaystyle \binom{n-1}{k-1} p^k (1-p)^{n-k}\). Given that it took an even number of tosses to achieve \(k-1\) heads, this is equivalent to the problem of what is the probability that the first head occurs on an even flip, ie \begin{align*} \mathbb{P}(\text{even flip}) &= \mathbb{P}(2\text{nd flip}) +\mathbb{P}(4\text{th flip}) +\mathbb{P}(6\text{th flip}) + \cdots \\ &= (1-p)p + (1-p)^3p + (1-p)^5p + \cdots \\ &= (1-p)p \left ( \sum_{r=0}^\infty (1-p)^{2r}\right) \\ &= \frac{p(1-p)}{1-(1-p)^2} \\ &= \frac{p(1-p)}{2p-p^2} \\ &= \frac{1-p}{2-p} \end{align*} The ways to achieve \(2\) heads on even tosses are \(EEO\), \(EOE\), \(OEE\). The probability of going from \(O\) to \(E\) is the same as the initial probability of an \(O\) flip, etc. Therefore \begin{align*} \mathbb{P}(EEO) &=\left( \frac{1-p}{2-p} \right)^2 \left ( 1- \frac{1-p}{2-p} \right) \\ &= \left( \frac{1-p}{2-p} \right)^2 \left ( \frac{1}{2-p} \right) \\ \mathbb{P}(EOE) &= \left( \frac{1-p}{2-p} \right) \left ( \frac{1}{2-p} \right)^2 \\ \mathbb{P}(OEE) &= \left ( \frac{1}{2-p} \right)^2 \left( \frac{1-p}{2-p} \right)\\ \mathbb{P}(2 \text{ heads on even tosses}) &= \frac{(1-p)^2 + 2(1-p)}{(2-p)^3} \\ &= \frac{(1-p)(2-p)}{(2-p)^3} \\ &= \frac{1-p}{(2-p)^2} \end{align*}
A bus is supposed to stop outside my house every hour on the hour. From long observation I know that a bus will always arrive some time between 10 minutes before and ten minutes after the hour. The probability it arrives at a given instant increases linearly (from zero at 10 minutes before the hour) up to a maximum value at the hour, and then decreases linearly at the same rate after the hour. Obtain the probability density function of \(T\), the time in minutes after the scheduled time at which a bus arrives. If I get up when my alarm clock goes off, I arrive at the bus stop at 7.55am. However, with probability 0.5, I doze for 3 minutes before it rings again. In that case with probability 0.8 I get up then and reach the bus stop at 7.58am, or, with probability 0.2, I sleep a little longer, not reaching the stop until 8.02am. What is the probability that I catch a bus by 8.10am? I buy a louder alarm clock which ensures that I reach the stop at exactly the same time each morning. This clock keeps perfect time, but may be set to an incorrect time. If it is correct, the alarm goes off so that I should reach the stop at 7.55am. After 100 mornings I find that I have had to wait for a bus until after 9am (according to the new clock) on 5 occasions. Is this evidence that the new clock is incorrectly set? {[}The time of arrival of different buses are independent of each other.{]}
Solution: The probability density function will look like a triangle with base \(20\) minutes and therefore height \(\frac{1}{10}\) per minute, ie: \begin{align*} f_T(t) &= \begin{cases} \frac{1}{100}(t+10) & \text{if } -10 \leq t \leq 0 \\ \frac{1}{100}(10-t) & \text{if } 0 \leq t \leq 10 \\ 0 & \text{otherwise} \end{cases} \end{align*} \begin{align*} \mathbb{P}(\text{catch bus}) &=0.5 \mathbb{P}(\text{bus arrives after 7:55})+0.4 \mathbb{P}(\text{bus arrives after 7:58}) + 0.1 \mathbb{P}(\text{bus arrives after 8:02}) \\ &= \frac12 \cdot \left (1 - \frac18 \right) + \frac{2}{5} \cdot \left ( 1 - \frac{4^2}{5^2} \cdot \frac{1}{2} \right) + \frac{1}{10} \cdot \frac{4^2}{5^2} \cdot \frac12 \\ &= \frac{1\,483}{2\,000} \\ &\approx 74\% \end{align*} \begin{align*} \mathbb{P}(\text{catch bus}) &= \mathbb{P}(\text{bus arrives after 7:55}) \mathbb{P}(\text{catch next bus by 9:00}) \\ &= \frac78 + \frac18 \cdot \frac12 \\ &= \frac{15}{16} \end{align*} He should expect to miss \(6.25\) buses, so missing \(5\) seems about right. (Using a binomial calculation, seeing 5 or fewer buses is ~\(40\%\) which isn't suspicious).
A target consists of a disc of unit radius and centre \(O\). A certain marksman never misses the target, and the probability of any given shot hitting the target within a distance \(t\) from \(O\) it \(t^{2}\), where \(0\leqslant t\leqslant1\). The marksman fires \(n\) shots independently. The random variable \(Y\) is the radius of the smallest circle, with centre \(O\), which encloses all the shots. Show that the probability density function of \(Y\) is \(2ny^{2n-1}\) and find the expected area of the circle. The shot which is furthest from \(O\) is rejected. Show that the expected area of the smallest circle, with centre \(O\), which encloses the remaining \((n-1)\) shots is \[ \left(\frac{n-1}{n+1}\right)\pi. \]
Solution: Another way to describe \(Y\) is the maximum distance of any shot from \(O\). Let \(X_i\), \(1 \leq i \leq n\) be the \(n\) shots then, \begin{align*} F_Y(y) &= \mathbb{P}(Y \leq y) \\ &= \mathbb{P}(X_i \leq y \text{ for all } i) \\ &= \prod_{i=1}^n \mathbb{P}(X_i \leq y) \tag{each shot independent}\\ &= \prod_{i=1}^n y^2\\ &= y^{2n} \end{align*} Therefore \(f_Y(y) = \frac{\d}{\d y} (y^{2n}) = 2n y^{2n-1}\). \begin{align*} \mathbb{E}(\pi Y^2) &= \int_0^1\pi y^2 \f_Y(y) \d y \\ &=\pi \int_0^1 2n y^{2n+1} \d y \\ &=\left ( \frac{n}{n+1} \right )\pi \end{align*}. Let \(Z\) be the distance of the second furthest shot, then: \begin{align*} && F_Z(z) &= \mathbb{P}(Z \leq z) \\ &&&= \mathbb{P}(X_i \leq z \text{ for at least } n - 1\text{ different } i) \\ &&&= n\mathbb{P}(X_i \leq z \text{ for all but 1}) + \mathbb{P}(X_i \leq z \text{ for all } i) \\ &&&= n \left ( \prod_{i=1}^{n-1} \mathbb{P}(X_i \leq z) \right) \mathbb{P}(X_n > z) + z^{2n} \\ &&&= nz^{2n-2}(1-z^2) + z^{2n} \\ &&&= nz^{2n-2} -(n-1)z^{2n} \\ \Rightarrow && f_Z(z) &= n(2n-2)z^{2n-3}-2n(n-1)z^{2n-1} \\ \Rightarrow && \mathbb{E}(\pi Z^2) &= \int_0^1 \pi z^2 \left (n(2n-2)z^{2n-3}-2n(n-1)z^{2n-1} \right) \d z \\ &&&= \pi \left ( \frac{n(2n-2)}{2n} - \frac{2n(n-1)}{2n+2}\right) \\ &&&= \left ( \frac{n-1}{n+1} \right) \pi \end{align*}