13 problems found
Each of the independent random variables \(X_1, X_2, \ldots, X_n\) has the probability density function \(\mathrm{f}(x) = \frac{1}{2}\sin x\) for \(0 \leqslant x \leqslant \pi\) (and zero otherwise). Let \(Y\) be the random variable whose value is the maximum of the values of \(X_1, X_2, \ldots, X_n\).
The random variable \(X\) has probability density function \[\mathrm{f}(x) = \begin{cases} kx^n(1-x) & 0 \leqslant x \leqslant 1\,,\\ 0 & \text{otherwise}\,,\end{cases}\] where \(n\) is an integer greater than 1.
Solution:
The continuous random variable \(X\) has probability density function \[ f(x) = \begin{cases} \lambda e^{-\lambda x} & \text{for } x \geqslant 0, \\ 0 & \text{otherwise,} \end{cases} \] where \(\lambda\) is a positive constant. The random variable \(Y\) is the greatest integer less than or equal to \(X\), and \(Z = X - Y\).
Solution:
The continuous random variable \(X\) is uniformly distributed on \([a,b]\) where \(0 < a < b\).
A continuous random variable \(X\) has a triangular distribution, which means that it has a probability density function of the form \[ \f(x) = \begin{cases} \g(x) & \text{for \(a< x \le c\)} \\ \h(x) & \text{for \(c\le x < b\)} \\ 0 & \text{otherwise,} \end{cases} \] where \(\g(x)\) is an increasing linear function with \(\g(a)=0\), \(\h(x)\) is a decreasing linear function with \(\h(b) =0\), and \(\g(c)=\h(c)\). Show that \(\g(x) = \dfrac{2(x-a)}{(b-a)(c-a)}\) and find a similar expression for \(\h(x)\).
Solution: Since \(\int f(x) \, dx = 1\), and \(f(x)\) is a triangle with base \(b-a\), it must have height \(\frac{2}{b-a}\) in order to have the desired area. Since \(g(a) = 0, g(c) = \frac{2}{b-a}\), \(g(x) = A(x-a)\) and \(\frac{2}{b-a} = A (c-a) \Rightarrow g(x) = \frac{2(x-a)}{(b-a)(c-a)}\) as required. Similarly, \(h(x) = B(x-b)\) and \(\frac{2}{b-a} = B(c-b) \Rightarrow h(x) = \frac{2(b-x)}{(b-a)(b-c)}\) The mean of the distribution will be: \begin{align*} \int_a^b xf(x) \, dx &= \int_a^c xg(x) \, dx + \int_c^b xh(x) \, dx \\ &= \frac{2}{(b-a)(c-a)} \int_a^c x(x-a) dx + \frac{2}{(b-a)(b-c)} \int_c^b x(b-x) \, dx \\ &= \frac{2}{(b-a)} \l \frac{1}{c-a} \left [ \frac{x^3}{3} - a\frac{x^2}{2} \right ]_a^c + \frac{1}{b-c} \left [ b\frac{x^2}{2} - \frac{x^3}{3} \right ]_c^b\r \\ &= \frac{2}{(b-a)} \l \frac{1}{c-a} \l \frac{c^3}{3} - a\frac{c^2}{2} - \frac{a^3}{3} + \frac{a^3}{2} \r + \frac{1}{b-c} \l \frac{b^3}{2} - \frac{b^3}{3} - \frac{bc^2}{2} + \frac{c^3}{3} \r \r \\ &= \frac{2}{(b-a)} \l \l \frac{c^2+ac+a^2}{3} - \frac{a(a+c)}{2} \r +\l \frac{b(b+c)}{2} - \frac{b^2+bc+c^2}{3} \r\r \\ &= \frac{2}{(b-a)} \l \frac{2c^2+2ac+2a^2}{6} - \frac{3a^2+3ac}{6} + \frac{3b^2+3bc}{6} - \frac{2b^2+2bc+2c^2}{6} \r \\ &= \frac{2}{(b-a)} \l \frac{-a^2+b^2-ac+bc}{6} \r \\ &= \frac{a+b+c}{3} \\ \end{align*} The median \(M\) satisfies: \begin{align*} && \int_a^M f(x) \, dx &= \frac12 \\ \end{align*} The left hand triangle will have area: \(\frac{c-a}{b-a}\) which will be \(\geq \frac12\) if \(c \geq \frac{a+b}{2}\). In this case we need \begin{align*} && \frac{(M-a)^2}{(b-a)(c-a)} &= \frac12 \\ \Rightarrow && M &= a + \sqrt{\frac12 (b-a)(c-a)} \end{align*} Otherwise, we need: \begin{align*} && \frac{(b-M)^2}{(b-a)(b-c)} &= \frac12 \\ \Rightarrow && M &= b - \sqrt{\frac12 (b-a)(b-c)} \end{align*} These are consistent, if \(c = \frac{b+a}{2}\)
Sketch the graph of \[ y= \dfrac1 { x \ln x} \text{ for \(x>0\), \(x\ne1\)}.\] You may assume that \(x\ln x \to 0\) as \(x\to 0\). The continuous random variable \(X\) has probability density function \[ \f(x) = \begin{cases} \dfrac \lambda {x\ln x}& \text{for \(a\le x \le b\)}\;, \\[3mm] \ \ \ 0 & \text{otherwise }, \end{cases} \] where \(a\), \(b\) and \(\lambda\) are suitably chosen constants.
Solution:
The random variable \(X\) can take the value \(X=-1\), and also any value in the range \(0\le X <\infty\,\). The distribution of \(X\) is given by \[ \P(X=-1) =m \,, \ \ \ \ \ \ \ \P(0\le X\le x) = k(1-\e^{-x})\,, \] for any non-negative number \(x\), where \(k\) and \(m\) are constants, and \(m <\frac12\,\).
Solution:
The life times of a large batch of electric light bulbs are independently and identically distributed. The probability that the life time, \(T\) hours, of a given light bulb is greater than \(t\) hours is given by \[ \P(T>t) \; = \; \frac{1}{(1+kt)^\alpha}\;, \] where \(\alpha\) and \(k\) are constants, and \(\alpha >1\). Find the median \(M\) and the mean \(m\) of \(T\) in terms of \(\alpha\) and \(k\). Nine randomly selected bulbs are switched on simultaneously and are left until all have failed. The fifth failure occurs at 1000 hours and the mean life time of all the bulbs is found to be 2400 hours. Show that \(\alpha\approx2\) and find the approximate value of \(k\). Hence estimate the probability that, if a randomly selected bulb is found to last \(M\) hours, it will last a further \(m-M\) hours.
Solution: The median \(M\) is the value such that \begin{align*} && \frac12 &= \mathbb{P}(T > M) \\ &&&= \frac1{(1+kM)^\alpha} \\ \Rightarrow && 2 &= (1+kM)^{\alpha} \\ \Rightarrow && M &= \frac{2^{1/\alpha}-1}{k} \end{align*} The distribution of \(T\) is \(f_T(t) = \frac{k \alpha}{(1+kt)^{\alpha+1}}\) and so \begin{align*} && m &= \int_0^\infty t f_T(t) \d t \\ &&&= \int_0^\infty \frac{tk \alpha}{(1+kt)^{\alpha+1}} \d t \\ &&&= \int_0^\infty \frac{\alpha+tk \alpha-\alpha}{(1+kt)^{\alpha+1}} \d t \\ &&&= \alpha \int_0^\infty (1+kt)^{-\alpha} \d t - \alpha \int_0^\infty (1+kt)^{-(\alpha+1)} \d t \\ &&&= \alpha \left [ -\frac1{k(\alpha-1)}(1+kt)^{-\alpha+1}\right]_0^\infty- \alpha \left [ -\frac1{k\alpha}(1+kt)^{-\alpha}\right]_0^\infty \\ &&&= \frac{\alpha}{k(\alpha-1)} - \frac{1}{k} \\ &&&= \frac{1}{k(\alpha-1)} \end{align*} \begin{align*} && \frac{2^{1/\alpha}-1}{k} &= 1000 \\ && \frac{1}{k(\alpha-1)} &= 2400 \\ \Rightarrow && \frac{\alpha-1}{2^{1/\alpha}-1} &\approx 2.4 \\ && \frac{2-1}{\sqrt2-1} &= \sqrt{2}+1 \approx 2.4 \\ \Rightarrow && \alpha &\approx 2 \\ && k &= \frac{1}{2400} \end{align*} \begin{align*} && \mathbb{P}(T > m | T > M) &= \frac{\mathbb{P}(T > m)}{\mathbb{P}(T > M)} \\ &&&= \frac{2}{(1+km)^{\alpha}} \\ &&&= \frac{2}{(1 + \frac{1}{\alpha-1})^\alpha} \\ &&&\approx \frac{2}{4} =\frac12 \end{align*}
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:
When he sets out on a drive Mr Toad selects a speed \(V\) kilometres per minute where \(V\) is a random variable with probability density \[ \alpha v^{-2}\mathrm{e}^{-\alpha v^{-1}} \] and \(\alpha\) is a strictly positive constant. He then drives at constant speed, regardless of other drivers, road conditions and the Highway Code. The traffic lights at the Wild Wood cross-roads change from red to green when Mr Toad is exactly 1 kilometre away in his journey towards them. If the traffic light is green for \(g\) minutes, then red for \(r\) minutes, then green for \(g\) minutes, and so on, show that the probability that he passes them after \(n(g+r)\) minutes but before \(n(g+r)+g\) minutes, where \(n\) is a positive integer, is \[ \mathrm{e}^{-\alpha n(g+r)}-\mathrm{e}^{-\alpha\left(n(g+r)\right)+g}. \] Find the probability \(\mathrm{P}(\alpha)\) that he passes the traffic lights when they are green. Show that \(\mathrm{P}(\alpha)\rightarrow1\) as \(\alpha\rightarrow\infty\) and, by noting that \((\mathrm{e}^{x}-1)/x\rightarrow1\) as \(x\rightarrow0\), or otherwise, show that \[ \mathrm{P}(\alpha)\rightarrow\frac{g}{r+g}\quad\mbox{ as }\alpha\rightarrow0. \] {[}NB: the traffic light show only green and red - not amber.{]}
The prevailing winds blow in a constant southerly direction from an enchanted castle. Each year, according to an ancient tradition, a princess releases 96 magic seeds from the castle, which are carried south by the wind before falling to rest. South of the castle lies one league of grassy parkland, then one league of lake, then one league of farmland, and finally the sea. If a seed falls on land it will immediately grow into a fever tree. (Fever trees do not grow in water). Seeds are blown independently of each other. The random variable \(L\) is the distance in leagues south of the castle at which a seed falls to rest (either on land or water). It is known that the probability density function \(\mathrm{f}\) of \(L\) is given by \[ \mathrm{f}(x)=\begin{cases} \frac{1}{2}-\frac{1}{8}x & \mbox{ for }0\leqslant x\leqslant4,\\ 0 & \mbox{ otherwise.} \end{cases} \] What is the mean number of fever trees which begin to grow each year?
Solution: \begin{align*} \mathbb{P}(\text{fever tree grows}) &= \mathbb{P}(0 \leq L \leq 1) + \mathbb{P}(2 \leq L \leq 3) \\ &= \int_0^1 \frac12 -\frac18 x \d x + \int_2^3 \frac12 - \frac18 x \d x \\ &= \left [\frac12 x - \frac1{16}x^2 \right]_0^1+ \left [\frac12 x - \frac1{16}x^2 \right]_2^3 \\ &= \frac12 - \frac1{16}+\frac32-\frac9{16} - 1 + \frac{4}{16} \\ &= \frac58 \end{align*} The expected number of fever trees is just \(96 \cdot \frac58 = 60\).