Find k, the mean, variance and a conditional probability
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.
- (a) Determine the value of \(k\). [1 mark]
- (b) Determine \(E(X)\). [1 mark]
- (c) Determine \(Var(X)\). [2 marks]
- (d) Determine \(P(X\ge E(X))\). [1 mark]
- (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.
The answer, one mark at a time
-
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]
-
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]
-
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]
-
Work out each term in the numerator, then divide.
\[= \frac{4 + 2 + 0 + 4}{10}\]\[= \frac{10}{10} = 1\]determines \(Var(X)\) [1 mark]
-
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]
-
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
Watch for. In part (e), divide by \(P(X \ge 1) = \frac{9}{10}\), not by 1. Answering \(\frac{4}{10}\) ignores the condition.