71 problems found
Solution:
In this question, you may use without proof the results \[\sum_{r=0}^{n} \binom{n}{r} = 2^n \quad \text{and} \quad \sum_{r=0}^{n} r\binom{n}{r} = n\,2^{n-1}.\]
Show that \[\sum_{k=1}^{\infty} \frac{k+1}{k!}\, x^k = (x+1)\mathrm{e}^x - 1\,.\] In the remainder of this question, \(n\) is a fixed positive integer.
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\).
The random variable \(X\) has the probability density function on the interval \([0, 1]\): $$f(x) = \begin{cases} nx^{n-1} & 0 \leq x \leq 1, \\ 0 & \text{elsewhere}, \end{cases}$$ where \(n\) is an integer greater than 1.
Solution:
A bag contains three coins. The probabilities of their showing heads when tossed are \(p_1\), \(p_2\) and \(p_3\).
Solution:
A random process generates, independently, \(n\) numbers each of which is drawn from a uniform (rectangular) distribution on the interval 0 to 1. The random variable \(Y_k\) is defined to be the \(k\)th smallest number (so there are \(k-1\) smaller numbers).
Solution:
The random variable \(X\) takes only non-negative integer values and has probability generating function \(\G(t)\). Show that \[ \P(X = 0 \text{ or } 2 \text{ or } 4 \text { or } 6 \ \ldots ) = \frac{1}{2}\big(\G\left(1\right)+\G\left(-1\right)\big). \] You are now given that \(X\) has a Poisson distribution with mean \(\lambda\). Show that \[ \G(t) = \e^{-\lambda(1-t)} \,. \]
Solution: \begin{align*} &&G_X(t) &= \mathbb{E}(t^N) \\ &&&= \sum_{k=0}^{\infty} \mathbb{P}(X = k) t^k \\ \Rightarrow && G_X(1) &= \sum_{k=0}^{\infty} \mathbb{P}(X = k) \\ \Rightarrow && G_X(-1) &= \sum_{k=0}^{\infty} (-1)^k\mathbb{P}(X = k) \\ \Rightarrow && \frac12 (G_X(1) + G_X(-1) &= \sum_{k=0}^{\infty} \frac12 (1 + (-1)^k) \mathbb{P}(X = k) \\ &&&= \sum_{k=0}^{\infty} \mathbb{P}(X =2k) \end{align*}
The random variable \(X\) has mean \(\mu\) and variance \(\sigma^2\), and the function \({\rm V}\) is defined, for \(-\infty < x < \infty\), by \[ {\rm V}(x) = \E \big( (X-x)^2\big) . \] Express \({\rm V}(x)\) in terms of \(x\), \( \mu\) and \(\sigma\). The random variable \(Y\) is defined by \(Y={\rm V}(X)\). Show that \[ \E(Y) = 2 \sigma^2 %\text{ \ \ and \ \ } %\Var(Y) = \E(X-\mu)^4 -\sigma^4 . \tag{\(*\)} \] Now suppose that \(X\) is uniformly distributed on the interval \(0\le x \le1\,\). Find \({\rm V}(x)\,\). Find also the probability density function of \(Y\!\) and use it to verify that \((*)\) holds in this case.
Solution: \begin{align*} {\rm V}(x) &= \E \big( (X-x)^2\big) \\ &= \E \l X^2 - 2xX + x^2\r \\ &= \E [ X^2 ]- 2x\E[X] + x^2 \\ &= \sigma^2+\mu^2 - 2x\mu + x^2 \\ &= \sigma^2 + (\mu - x)^2 \end{align*} \begin{align*} \E[Y] &= \E[\sigma^2 + (\mu - X)^2] \\ &= \sigma^2 + \E[(\mu - X)^2]\\ &= \sigma^2 + \sigma^2 \\ &= 2\sigma^2 \end{align*} If \(X \sim U(0,1)\) then \(V(x) = \frac{1}{12} + (\frac12 - x)^2\). \begin{align*} \P(Y \leq y) &= \P(\frac1{12} + (\frac12 - X)^2 \leq y) \\ &= \P((\frac12 -X)^2 \leq y - \frac1{12}) \\ &= \P(|\frac12 -X| \leq \sqrt{y - \frac1{12}}) \\ &= \begin{cases} 1 & \text{if } y - \frac1{12} > \frac14 \\ 2 \sqrt{y - \frac1{12}} & \text{if } \frac14 > y - \frac1{12} > 0 \\ \end{cases} \\ &= \begin{cases} 1 & \text{if } y> \frac13 \\ \sqrt{4y - \frac1{3}} & \text{if } \frac13 > y > \frac1{12} \\ \end{cases} \end{align*} Therefore $f_Y(y) = \begin{cases} \frac{2}{\sqrt{4y-\frac{1}{3}}} & \text{if } \frac1{12} < y < \frac13 \\ 0 & \text{otherwise} \end{cases}$ \begin{align*} \E[Y] &= \int_{1/12}^{1/3} \frac{2x}{\sqrt{4x-\frac13}} \, dx \\ &= 2\int_{u = 0}^{u=1} \frac{\frac{1}{4}u +\frac1{12}}{\sqrt{u}} \,\frac{1}{4} du \tag{\(u = 4x - \frac13, \frac{du}{dx} = 4\)}\\ &= \frac{1}{2 \cdot 12}\int_{u = 0}^{u=1} 3\sqrt{u} +\frac{1}{\sqrt{u}} \, du \\ &= \frac{1}{2 \cdot 12} \left [2 u^{3/2} + 2u^{1/2} \right ]_0^1 \\ &= \frac{1}{2 \cdot 12} \cdot 4 \\ &= \frac{2}{12} \end{align*} as required
Given a random variable \(X\) with mean \(\mu\) and standard deviation \(\sigma\), we define the kurtosis, \(\kappa\), of \(X\) by \[ \kappa = \frac{ \E\big((X-\mu)^4\big)}{\sigma^4} -3 \,. \] Show that the random variable \(X-a\), where \(a\) is a constant, has the same kurtosis as \(X\).
Solution: \begin{align*} &&\kappa_{X-a} &= \frac{\mathbb{E}\left(\left(X-a-(\mu-a)\right)^4\right)}{\sigma_{X-a}^4}-3 \\ &&&= \frac{\mathbb{E}\left(\left(X-\mu\right)^4\right)}{\sigma_X^4}-3\\ &&&= \kappa_X \end{align*}
The maximum height \(X\) of flood water each year on a certain river is a random variable with probability density function \(\f\) given by \[ \f(x) = \begin{cases} \lambda \e^{-\lambda x} & \text{for \(x\ge0\)}\,, \\ 0 & \text{otherwise,} \end{cases} \] where \(\lambda\) is a positive constant. It costs \(ky\) pounds each year to prepare for flood water of height \(y\) or less, where \(k\) is a positive constant and \(y\ge0\). If \(X \le y\) no further costs are incurred but if \(X> y\) the additional cost of flood damage is \(a(X - y )\) pounds where \(a\) is a positive constant.
Solution:
Each of the two independent random variables \(X\) and \(Y\) is uniformly distributed on the interval~\([0,1]\).
Solution:
A game in a casino is played with a fair coin and an unbiased cubical die whose faces are labelled \(1, 1, 1, 2, 2\) and \(3.\) In each round of the game, the die is rolled once and the coin is tossed once. The outcome of the round is a random variable \(X\). The value, \(x\), of \(X\) is determined as follows. If the result of the toss is heads then \(x= \vert ks -1\vert\), and if the result of the toss is tails then \(x=\vert k-s\vert\), where \(s\) is the number on the die and \(k\) is a given number. Show that \(\mathbb{E}(X^2) = k +13(k-1)^2 /6\). Given that both \(\mathbb{E}(X^2)\) and \(\mathbb{E}(X)\) are positive integers, and that \(k\) is a single-digit positive integer, determine the value of \(k\), and write down the probability distribution of \(X\). A gambler pays \(\pounds 1\) to play the game, which consists of two rounds. The gambler is paid:
Solution: \begin{align*} && \mathbb{E}(X^2) &= \frac12 \left (\frac16 \left ( 3(k -1)^2+2(2k-1)^2+(3k-1)^2 \right) +\frac16 \left ( 3(k -1)^2+2(k-2)^2+(k-3)^2 \right) \right) \\ &&&= \frac12 \left (\frac16 \left (20k^2-20k+6 \right) + \frac16 \left ( 6k^2-20k+20\right) \right) \\ &&&= \frac1{12} \left (26k^2-40k+ 26\right) \\ &&&= \frac{13}{6} (k^2+1) - \frac{10}{3}k \\ &&&= \frac{13}{6}(k-1)^2+k \end{align*} Since \(k\) a single digit positive number and \(\mathbb{E}(X^2)\) is an integer, \(6 \mid k-1 \Rightarrow k = 1, 7\). \begin{align*} \mathbb{E}(X | k=1) &= \frac12 \left (\frac16 \left ( 2+2 \right) +\frac16 \left ( 2+2 \right) \right) = \frac23 \not \in \mathbb{Z}\\ \mathbb{E}(X | k=7) &= \frac12 \left (\frac16 \left ( 3\cdot6+2\cdot13+20 \right) +\frac16 \left ( 3\cdot6+2\cdot5+4 \right) \right) = 8 \end{align*} Therefore \(k = 7\) The probability distribution is \begin{align*} && \mathbb{P}(X=4) = \frac1{12} \\ && \mathbb{P}(X=5) = \frac1{6} \\ && \mathbb{P}(X=6) = \frac12 \\ && \mathbb{P}(X=13) = \frac1{6} \\ && \mathbb{P}(X=20)= \frac1{12} \\ \end{align*} The only ways to score more than \(25\) are: \(20+6, 20+13, 20+20, 13+13\) The only ways to score exactly \(25\) are \(20+5\) \begin{align*} \mathbb{P}(>25) &= \frac1{12} \cdot\left(2\cdot \frac12+2\cdot\frac16+\frac1{12}\right) + \frac{1}{6^2} \\ &= \frac{7}{48} \\ \mathbb{P}(=25) &= \frac{2}{12 \cdot 6} = \frac{1}{36} \\ \\ \mathbb{E}(\text{payout}) &= \frac{7}{48}w + \frac{1}{36} = \frac{21w+4}{144} \end{align*} The casino needs \(\frac{21w+4}{144} < 1 \Rightarrow 21w< 140 \Rightarrow w < \frac{20}{3}\)