Find p from a Bernoulli variance, then use the binomial

Question MM3-317 Simple familiar 5 marks Technology-free

Unit 3 Topic 5: Discrete random variables

The question

The Bernoulli random variable \(X\) has \(P(X=1)=p\), where \(p>\frac{1}{2}\), and \(Var(X)=\frac{2}{9}\).

Let \(Y\) be the number of successes in 4 independent trials, each with the same distribution as \(X\).

  1. (a) Determine the value of \(p\). [2 marks]
  2. (b) Determine the exact value of \(P(Y=3)\). [1 mark]
  3. (c) Determine \(E(Y)\) and \(Var(Y)\). [1 mark]
  4. (d) Determine the exact value of \(P(Y\ge 1)\). [1 mark]

The idea. A Bernoulli variance \(p(1-p)\) gives a quadratic in \(p\) with two roots, and the condition \(p > \frac{1}{2}\) picks one. Four such trials make \(Y \sim \mathrm{Bin}\left(4, \frac{2}{3}\right)\).

Figure for question MM3-317A bar chart of the binomial distribution with n equals 4 and p equals two thirds. The bar for 0 successes is tiny, at one eighty-first, and is marked in blue. The bar for 3 successes is the tallest, at 32 over 81, and is highlighted. A dashed line marks the mean at eight thirds.0.10.20.30.40.501234number of successes in 4 trials

The answer, one mark at a time

  1. Part (a)

    The variance of a Bernoulli variable is \(p(1-p)\). Set it equal to \(\frac{2}{9}\), multiply through by 9 and factorise.

    \[p(1 - p) = \frac{2}{9}\]
    \[9p - 9p^{2} = 2\]
    \[9p^{2} - 9p + 2 = 0\]
    \[(3p - 1)(3p - 2) = 0\]

    forms and factorises the equation [1 mark]

  2. The roots are \(\frac{1}{3}\) and \(\frac{2}{3}\). Only one is bigger than \(\frac{1}{2}\).

    \[p = \frac{1}{3} \quad\text{or}\quad p = \frac{2}{3}\]
    \[p > \frac{1}{2}, \text{ so } p = \frac{2}{3}\]

    selects \(p\) [1 mark]

  3. Part (b)

    Three successes and one failure can happen in \(\binom{4}{3} = 4\) orders. Multiply by the probability of one such order.

    \[Y \sim \mathrm{Bin}\left(4,\, \frac{2}{3}\right)\]
    \[P(Y = 3) = \binom{4}{3}\left(\frac{2}{3}\right)^{3}\left(\frac{1}{3}\right)\]
    \[= 4 \times \frac{8}{27} \times \frac{1}{3}\]
    \[= \frac{32}{81}\]

    determines the probability [1 mark]

  4. Part (c)

    For a binomial variable, the mean is \(np\) and the variance is \(np(1-p)\).

    \[E(Y) = np = 4 \times \frac{2}{3} = \frac{8}{3}\]
    \[\mathrm{Var}(Y) = np(1 - p) = 4 \times \frac{2}{3} \times \frac{1}{3} = \frac{8}{9}\]

    determines the mean and variance [1 mark]

  5. Part (d)

    "At least one" is everything except no successes. No successes means four failures in a row.

    \[P(Y = 0) = \left(\frac{1}{3}\right)^{4} = \frac{1}{81}\]
    \[P(Y \ge 1) = 1 - P(Y = 0)\]
    \[= 1 - \frac{1}{81} = \frac{80}{81}\]

    determines the probability [1 mark]

Answer

(a)\(\displaystyle p = \frac{2}{3}\)
(b)\(\displaystyle P(Y = 3) = \frac{32}{81}\)
(c)\(\displaystyle E(Y) = \frac{8}{3}, \quad \mathrm{Var}(Y) = \frac{8}{9}\)
(d)\(\displaystyle P(Y \ge 1) = \frac{80}{81}\)

Watch for. Both \(\frac{1}{3}\) and \(\frac{2}{3}\) give a variance of \(\frac{2}{9}\), so check the condition \(p > \frac{1}{2}\). In part (b), don't leave out the 4 orders.