Probability, mean and variance from a table

Question MM3-126 Simple familiar 4 marks Technology-free

Unit 3 Topic 5: Discrete random variables

The question

The discrete random variable \(X\) has the probability distribution shown.

\(x\)123
\(P(X=x)\)0.20.50.3
  1. (a) Determine \(P(X\ge 2)\). [1 mark]
  2. (b) Determine \(E(X)\). [1 mark]
  3. (c) Determine \(Var(X)\). [2 marks]

The idea. Each value counts in proportion to its probability. The mean weights the values; the variance weights the squared distances from that mean.

Figure for question MM3-126A bar chart with bars of height 0.2, 0.5 and 0.3 at x equals 1, 2 and 3. The bars at 2 and 3 are highlighted. A dashed line marks the mean at 2.1.0.20.40.6123value of X
The highlighted bars add to \(P(X \ge 2) = 0.8\).

The answer, one mark at a time

  1. Part (a)

    \(X \ge 2\) means \(X = 2\) or \(X = 3\). Add those two probabilities.

    \[P(X \ge 2) = P(X = 2) + P(X = 3)\]
    \[P(X \ge 2) = 0.5 + 0.3 = 0.8\]

    determines the probability [1 mark]

  2. Part (b)

    Multiply each value by its probability and add.

    \[E(X) = \sum x \, P(X = x)\]
    \[E(X) = 1(0.2) + 2(0.5) + 3(0.3)\]
    \[E(X) = 0.2 + 1 + 0.9 = 2.1\]

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

  3. Part (c)

    Find how far each value is from the mean of 2.1, square it, and weight it by its probability.

    \[\mathrm{Var}(X) = \sum (x - \mu)^{2} P(X = x)\]
    \[= 0.2(1 - 2.1)^{2} + 0.5(2 - 2.1)^{2}\]
    \[\quad + 0.3(3 - 2.1)^{2}\]

    uses the variance formula [1 mark]

  4. Square each distance, multiply, then add the three terms.

    \[= 0.2(1.21) + 0.5(0.01) + 0.3(0.81)\]
    \[= 0.242 + 0.005 + 0.243\]
    \[= 0.49\]

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

Answer

(a)\(\displaystyle P(X \ge 2) = 0.8\)
(b)\(\displaystyle E(X) = 2.1\)
(c)\(\displaystyle \mathrm{Var}(X) = 0.49\)

Watch for. Square the distance before you multiply by the probability. \(0.2(1 - 2.1)^{2}\) is \(0.242\), not \((0.2 \times -1.1)^{2}\).