3 problems found
In this question, you may assume that \(\displaystyle \int_0^\infty \!\!\! \e^{-x^2/2} \d x = \sqrt{\tfrac12 \pi}\,\). The number of supermarkets situated in any given region can be modelled by a Poisson random variable, where the mean is \(k\) times the area of the given region. Find the probability that there are no supermarkets within a circle of radius \(y\). The random variable \(Y\) denotes the distance between a randomly chosen point in the region and the nearest supermarket. Write down \(\P(Y < y)\) and hence show that the probability density function of \(Y\) is \(\displaystyle 2\pi y k \e^{-\pi k y^2}\) for \(y\ge0\). Find \(\E(Y)\) and show that \(\var(Y) = \dfrac{4-\pi}{4\pi k}\).
Solution: A circle radius \(y\) has a number of supermarkets \(X\) where \(X \sim Po(k \pi y^2)\). \[ \mathbb{P}(X = 0) = e^{-k\pi y^2} \frac{1}{0!} = e^{-k\pi y^2} \] The probability \(\mathbb{P}(Y < y) = 1-\mathbb{P}(Y \geq y) = 1-e^{-k\pi y^2}\), and in particular \(f_Y(y) = 2k\pi y e^{-k\pi y^2}\) (by differentiating). \begin{align*} && \mathbb{E}(Y) &= \int_0^\infty yf_Y(y) \d y \\ &&&= \int_0^\infty 2\pi y^2 k e^{-\pi k y^2} \d y \\ \sigma^2 = \frac{1}{2k\pi}:&&&= \pi k \sqrt{2 \pi}\sigma \int_{-\infty}^\infty \frac{1}{\sqrt{2 \pi} \sigma }y^2 e^{-\frac12 \cdot 2\pi k y^2} \d y \\ &&&=\pi k \sqrt{2 \pi}\sigma \mathbb{E}\left (N(0, \sigma^2)^2 \right) \\ &&&= \pi k \sqrt{2 \pi}\sigma\sigma^2 \\ &&&= \pi k \sqrt{2 \pi} \frac{1}{(2k\pi)^{3/2}} \\ &&&= \frac{1}{2\sqrt{k}} \end{align*} \begin{align*} && \mathbb{E}(Y^2) &= \int_0^\infty y^2f_Y(y) \d y \\ &&&= \int_0^\infty 2\pi y^3 k e^{-\pi k y^2} \d y \\ &&&= \int_0^{\infty}y^2 2y \pi k e^{-\pi k y^2} \d y \\ \\ &&&= \left [-y^2 e^{-\pi k y^2}\right]_0^{\infty}+\int_0^\infty 2ye^{-\pi k y^2} \d y \\ &&&= \left [-\frac{1}{\pi k}e^{-\pi k y^2} \right]_0^{\infty} \\ &&&= \frac{1}{\pi k} \\ \Rightarrow && \textrm{Var}(Y) &= \mathbb{E}(Y^2) - \left [ \mathbb{E}(Y)\right]^2 \\ &&&= \frac{1}{\pi k} - \frac{1}{4k} \\ &&&= \frac{4 - \pi}{4\pi k} \end{align*}
A continuous random variable \(X\) has probability density function given by \[ \f(x) = \begin{cases} 0 & \mbox{for } x<0 \\ k\e^{-2 x^2} & \mbox{for } 0\le x< \infty \;,\\ \end{cases} \] where \(k\) is a constant.
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: