Find two unknown probabilities from the mean

Question MM3-038 Complex familiar 5 marks Technology-free

Unit 3 Topic 5: Discrete random variables

The question

The discrete random variable \(X\) has the probability distribution shown, where \(a\) and \(b\) are constants.

\(x\)1234
\(P(X=x)\)\(a\)0.3\(b\)0.1

Given that \(E(X)=2.2\), determine the values of \(a\) and \(b\), and \(Var(X)\).

The idea. Two unknowns need two equations. One comes from the probabilities adding to 1, the other from the given mean.

Figure for question MM3-038A bar chart with heights 0.3 at x equals 1, 2 and 3 and 0.1 at x equals 4. The bars at 1 and 3, the unknowns a and b, are highlighted. A blue line marks the given mean at 2.2.0.10.20.30.41234value of X
Both unknowns come out as \(0.3\), which balances the distribution at \(2.2\).

The answer, one mark at a time

  1. The probabilities must add to 1. That gives your first equation.

    \[a + 0.3 + b + 0.1 = 1\]
    \[a + b = 0.6\]

    uses the sum of the probabilities [1 mark]

  2. Write \(E(X)\) with the letters in it and set it equal to \(2.2\).

    \[1(a) + 2(0.3) + 3(b) + 4(0.1) = 2.2\]
    \[a + 0.6 + 3b + 0.4 = 2.2\]
    \[a + 3b = 1.2\]

    uses \(E(X)\) to form a second equation [1 mark]

  3. Subtract the first equation from the second to remove \(a\). Then put \(b\) back in.

    \[(a + 3b) - (a + b) = 1.2 - 0.6\]
    \[2b = 0.6\]
    \[b = 0.3\]
    \[a = 0.6 - 0.3 = 0.3\]

    solves for \(a\) and \(b\) [1 mark]

  4. With the table complete, find each value's distance from \(2.2\), square it, and weight it by its probability.

    \[\mathrm{Var}(X) = \sum (x - \mu)^{2} P(X = x)\]
    \[= 0.3(1 - 2.2)^{2} + 0.3(2 - 2.2)^{2}\]
    \[\quad + 0.3(3 - 2.2)^{2} + 0.1(4 - 2.2)^{2}\]
    \[= 0.3(1.2)^{2} + 0.3(0.2)^{2}\]
    \[+ 0.3(0.8)^{2} + 0.1(1.8)^{2}\]

    uses the variance formula [1 mark]

  5. Work out each term and add.

    \[= 0.3(1.44) + 0.3(0.04)\]
    \[+ 0.3(0.64) + 0.1(3.24)\]
    \[= 0.432 + 0.012 + 0.192 + 0.324\]
    \[= 0.96\]

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

Answer

\(\displaystyle a = 0.3, \quad b = 0.3, \quad \mathrm{Var}(X) = 0.96\)

Watch for. Use the mean \(2.2\) in the variance, not the middle of the values. You can check with \(E(X^{2}) - \mu^{2} = 5.8 - 4.84 = 0.96\).