Find k, the mean, variance and a conditional probability

Question MM3-144 Simple familiar 6 marks Technology-free

Unit 3 Topic 5: Discrete random variables

The question

The discrete random variable \(X\) has probability function \(P(X=x)=k(x+1)\), for \(x=0,1,2,3\), where \(k\) is a constant.

  1. (a) Determine the value of \(k\). [1 mark]
  2. (b) Determine \(E(X)\). [1 mark]
  3. (c) Determine \(Var(X)\). [2 marks]
  4. (d) Determine \(P(X\ge E(X))\). [1 mark]
  5. (e) Determine \(P(X=3|X\ge 1)\). [1 mark]

The idea. The probabilities \(k(x + 1)\) must add to 1, which fixes \(k\). For the conditional probability, the condition \(X \ge 1\) becomes the new whole, so divide by its probability.

Figure for question MM3-144A bar chart with heights 0.1, 0.2, 0.3 and 0.4 at x equals 0, 1, 2 and 3, rising in equal steps. A line marks the mean at 2, and the bars at 2 and 3 are highlighted.0.10.20.30.40.50123value of X

The answer, one mark at a time

  1. Part (a)

    Write out each probability, \(k(x + 1)\) for \(x = 0, 1, 2, 3\). They must add to 1.

    \[k(1) + k(2) + k(3) + k(4) = 1\]
    \[10k = 1\]
    \[k = \frac{1}{10}\]

    determines \(k\) [1 mark]

  2. Part (b)

    The probabilities are \(\frac{1}{10}, \frac{2}{10}, \frac{3}{10}, \frac{4}{10}\). Multiply each value by its probability and add.

    \[E(X) = \frac{0(1) + 1(2) + 2(3) + 3(4)}{10}\]
    \[E(X) = \frac{0 + 2 + 6 + 12}{10} = \frac{20}{10} = 2\]

    determines \(E(X)\) [1 mark]

  3. Part (c)

    Weight each squared distance from the mean of 2 by its probability.

    \[\mathrm{Var}(X)\]
    \[= \frac{\begin{gathered}1(0 - 2)^{2} + 2(1 - 2)^{2}\\ + 3(2 - 2)^{2} + 4(3 - 2)^{2}\end{gathered}}{10}\]

    uses the variance formula [1 mark]

  4. Work out each term in the numerator, then divide.

    \[= \frac{4 + 2 + 0 + 4}{10}\]
    \[= \frac{10}{10} = 1\]

    determines \(Var(X)\) [1 mark]

  5. Part (d)

    Since \(E(X) = 2\), you need \(P(X \ge 2)\): add the probabilities for 2 and 3.

    \[P(X \ge E(X)) = P(X \ge 2)\]
    \[= \frac{3}{10} + \frac{4}{10} = \frac{7}{10}\]

    determines the probability [1 mark]

  6. Part (e)

    Use \(P(A \mid B) = \frac{P(A \cap B)}{P(B)}\). Find \(P(X \ge 1)\) first. If \(X = 3\) then \(X \ge 1\) already, so the top is just \(P(X = 3)\).

    \[P(X \ge 1) = 1 - \frac{1}{10} = \frac{9}{10}\]
    \[P(X = 3 \mid X \ge 1) = \frac{P(X = 3)}{P(X \ge 1)}\]
    \[= \frac{4}{10} \div \frac{9}{10} = \frac{4}{9}\]

    determines the conditional probability [1 mark]

Answer

(a)\(\displaystyle k = \frac{1}{10}\)
(b)\(\displaystyle E(X) = 2\)
(c)\(\displaystyle \mathrm{Var}(X) = 1\)
(d)\(\displaystyle P(X \ge E(X)) = \frac{7}{10}\)
(e)\(\displaystyle P(X = 3 \mid X \ge 1) = \frac{4}{9}\)

Watch for. In part (e), divide by \(P(X \ge 1) = \frac{9}{10}\), not by 1. Answering \(\frac{4}{10}\) ignores the condition.