Problems

Filters
Clear Filters

1 problem found

2009 Paper 2 Q12
D: 1600.0 B: 1496.6

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.

  1. Sketch the graph of \(\f(x)\).
  2. Find the value of \(k\).
  3. Determine \(\E(X)\) and \(\var(X)\).
  4. Use statistical tables to find, to three significant figures, the median value of \(X\).


Solution:

  1. \par
    TikZ diagram
  2. Let \(Y \sim N(0,\frac14)\), then: \begin{align*} &&\int_0^\infty \frac{1}{\sqrt{2 \pi \cdot \frac14}} e^{-2x^2} \, dx &= \frac12\\ \Rightarrow && \int_0^\infty e^{-2x^2} &= \frac{\sqrt{\pi}}{2 \sqrt{2}} \\ \Rightarrow && k &= \boxed{\frac{2\sqrt{2}}{\sqrt{\pi}}} \end{align*}
  3. \begin{align*} \mathbb{E}[X] &= \int_0^\infty x f(x) \, dx \\ &= \frac{2\sqrt{2}}{\sqrt{\pi}}\int_0^\infty x e^{-2x^2}\, dx \\ &= \frac{2\sqrt{2}}{\sqrt{\pi}} \left [-\frac{1}{4}e^{-2x^2} \right]_0^\infty \\ &= \frac{1}{\sqrt{2\pi}} \\ \end{align*} In order to calculate \(\mathbb{E}(X^2)\) it is useful to consider the related computation \(\mathbb{E}(Y^2)\). In fact, by symmetry, these will be the same values. Therefore \(\mathbb{E}(X^2) = \mathbb{E}(Y^2) = \mathrm{Var}(Y) = \frac{1}{4}\) (since \(\mathbb{E}(Y) = 0\)). Therefore \(\mathrm{Var}(Y) = \mathbb{E}(Y^2) - \mathbb{E}(Y)^2 = \frac14 - \frac{1}{2\pi}\)
  4. \begin{align*} && \mathbb{P}(X < x) &= \frac12 \\ \Leftrightarrow && 2\mathbb{P}(0 \leq Y < x) &= \frac12 \\ \Leftrightarrow && 2\l \mathbb{P}(Y < x) - \frac12 \r &= \frac12 \\ \Leftrightarrow && \mathbb{P}(Y < x)&= \frac34 \\ \Leftrightarrow && \mathbb{P}(\frac{Y-0}{1/2} < \frac{x}{1/2})&= \frac34 \\ \Leftrightarrow && \mathbb{P}(Z < \frac{x}{1/2})&= \frac34 \\ \Leftrightarrow && \Phi(2x)&= \frac34 \\ \Leftrightarrow && 2x &= 0.6744895\cdots \\ \Leftrightarrow && x &= 0.3372\cdots \\ \Leftrightarrow && &= 0.337 \, (3 \text{sf}) \\ \end{align*}