22 problems found
A random variable \(X\) has the probability density function \[ \mathrm{f}(x)=\begin{cases} \lambda\mathrm{e}^{-\lambda x} & x\geqslant0,\\ 0 & x<0. \end{cases} \] Show that $${\rm P}(X>s+t\,\vert X>t) = {\rm P}(X>s).$$ The time it takes an assistant to serve a customer in a certain shop is a random variable with the above distribution and the times for different customers are independent. If, when I enter the shop, the only two assistants are serving one customer each, what is the probability that these customers are both still being served at time \(t\) after I arrive? One of the assistants finishes serving his customer and immediately starts serving me. What is the probability that I am still being served when the other customer has finished being served?
Solution: \begin{align*} && \mathbb{P}(X > t) &= \int_t^{\infty} \lambda e^{-\lambda x} \d x\\ &&&= \left[ -e^{-\lambda x} \right]_t^\infty \\ &&&= e^{-\lambda t}\\ \\ && \mathbb{P}(X > s + t | X > t) &= \frac{\mathbb{P}(X > s + t)}{\mathbb{P}(X > t)} \\ &&&= \frac{e^{-(s+t)\lambda}}{e^{-t\lambda}} \\ &&&= e^{-s\lambda} = \mathbb{P}(X > s) \end{align*} The probability both are still being served (independently) is \(\mathbb{P}(X > t)^2 = e^{-2\lambda t}\). The probability is exactly \(\frac12\). The property we proved in the first part of the questions shows the distribution is memoryless, ie we are both experiencing samples from the same distribution. Therefore we are equally likely to finish first.
Let \(X\) and \(Y\) be independent standard normal random variables: the probability density function, \(\f\), of each is therefore given by \[ \f(x)=\left(2\pi\right)^{-\frac{1}{2}}\e^{-\frac{1}{2}x^{2}}. \]
Solution:
An industrial process produces rectangular plates of mean length \(\mu_{1}\) and mean breadth \(\mu_{2}\). The length and breadth vary independently with non-zero standard deviations \(\sigma_{1}\) and \(\sigma_{2}\) respectively. Find the means and standard deviations of the perimeter and of the area of the plates. Show that the perimeter and area are not independent.
Solution: Let \(L \sim N(\mu_1, \sigma_1^2)\), \(B \sim N(\mu_2, \sigma_2)^2\), so \begin{align*} && \mathbb{E}(\text{perimeter}) &= \E(2(L+B)) \\ &&&= 2\E[L]+2\E[B] \\ &&&= 2(\mu_1+\mu_2) \\ &&\var[\text{perimeter}] &= \E\left [ (2(L+B))^2 \right] - \left ( \E[2(L+B)] \right)^2 \\ &&&= 4\E[L^2+2LB+B^2] - 4(\mu_1+\mu_2)^2 \\ &&&= 4(\sigma_1^2+\mu_1^2+2\mu_1\mu_2+\sigma_2^2+\mu_2^2) - 4(\mu_1+\mu_2)^2\\ &&&= 4(\sigma_1^2+\sigma_2^2) \\ &&\text{sd}[\text{perimeter}] &= 2\sqrt{\sigma_1^2+\sigma_2^2} \\ \\ && \E[\text{area}] &= \E[LB] \\ &&&= \E[L]\E[B] \\ &&&= \mu_1\mu_2 \\ && \var[\text{area}] &= \E[(LB)^2] - \left (\E[LB] \right)^2 \\ &&&= \E[L^2]\E[B^2]-\mu_1^2\mu_2^2 \\ &&&= (\mu_1^2+\sigma_1^2)(\mu_2^2+\sigma_2^2) -\mu_1^2\mu_2^2 \\ &&&= \sigma_1^2\mu_2^2 + \sigma_2^2\mu_1^2 + \sigma_1^2\sigma_2^2\\ && \text{sd}(\text{area}) &= \sqrt{\sigma_1^2\mu_2^2 + \sigma_2^2\mu_1^2 + \sigma_1^2\sigma_2^2} \\ \\ && \E[\text{perimeter} \cdot \text{area}] &= \E[2(L+B)LB] \\ &&&= 2\E[L^2]\E[B] + 2\E[L]\E[B^2] \\ &&&= 2(\sigma_1^2+\mu_1^2)\mu_2 + 2(\sigma_2^2+\mu_2^2)\mu_1 \\ && \E[\text{perimeter}] \E[\text{area}] &= 2(\mu_1+\mu_2) \cdot \mu_1\mu_2 \end{align*} Since the latter does not depend on \(\sigma_i\) but the former does they cannot be equal in general, therefore they cannot be independent. [See also STEP 2006 Paper 3 Q14]
Each of my \(n\) students has to hand in an essay to me. Let \(T_{i}\) be the time at which the \(i\)th essay is handed in and suppose that \(T_{1},T_{2},\ldots,T_{n}\) are independent, each with probability density function \(\lambda\mathrm{e}^{-\lambda t}\) (\(t\geqslant0\)). Let \(T\) be the time I receive the first essay to be handed in and let \(U\) be the time I receive the last one.
Solution:
The time taken for me to set an acceptable examination question it \(T\) hours. The distribution of \(T\) is a truncated normal distribution with probability density \(\f\) where \[ \mathrm{f}(t)=\begin{cases} \dfrac{1}{k\sigma\sqrt{2\pi}}\exp\left(-\dfrac{1}{2}\left(\dfrac{t-\sigma}{\sigma}\right)^{2}\right) & \mbox{ for }t\geqslant0\\ 0 & \mbox{ for }t<0. \end{cases} \] Sketch the graph of \(\f(t)\). Show that \(k\) is approximately \(0.841\) and obtain the mean of \(T\) as a multiple of \(\sigma\). Over a period of years, I find that the mean setting time is 3 hours.
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*}
An unbiased twelve-sided die has its faces marked \(A,A,A,B,B,B,B,B,B,B,B,B.\) In a series of throws of the die the first \(M\) throws show \(A,\) the next \(N\) throws show \(B\) and the \((M+N+1)\)th throw shows \(A\). Write down the probability that \(M=m\) and \(N=n\), where \(m\geqslant0\) and \(n\geqslant1.\) Find
Solution: \begin{align*} \mathbb{P}(M = m, N = n) &= \left ( \frac{3}{12} \right)^m \left ( \frac{9}{12} \right)^n \frac{3}{12} \\ &= \frac{3^n}{4^{m+n+1}} \end{align*}