Find p from a Bernoulli variance, then use the binomial
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\).
- (a) Determine the value of \(p\). [2 marks]
- (b) Determine the exact value of \(P(Y=3)\). [1 mark]
- (c) Determine \(E(Y)\) and \(Var(Y)\). [1 mark]
- (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)\).
The answer, one mark at a time
-
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]
-
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]
-
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]
-
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]
-
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
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.