1
$\begingroup$

A bag has red, blue, and green balls. The probabilities of randomly grabbing a red, blue, and green ball from the bag (with replacement) are $r$, $b$, and $g$ respectively. I randomly grab $n$ balls from the bag. What's the probability that at least 2 out of the $n$ balls are blue given that one of them is blue?

Here is what I have tried.

Let $ A \rightarrow\text{ The event in which at least 2 out of the $n$ balls are blue.} \\ B \rightarrow\text{ The event in which at least 1 out of the $n$ balls is blue.} $

$ P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{P(A)}{P(B)} \\ P(B) = 1 - (1 - b)^n $

As you see, I got $P(B)$ from subtracting out a complement probability. However, how do I get $P(A)$?

  • 0
    I think given what P(B) is, it's assumed that it's with replacement or from an infinite bag.2012-12-10

2 Answers 2

2

We need to assume that we are grabbing with replacement, which doesn't sound much like grabbing. The probability of $A$ is $1$ minus the probability of $0$ or $1$ blues.

You already found the probability of $0$ blues. For $1$ blue exactly, the probability is $\dbinom{n}{1}b(1-b)^{n-1}$. More generally, the probability of exactly $k$ blues is $\dbinom{n}{k}b^k(1-b)^{n-k}$ (binomial distribution).

1

Simply subtract both the probability that no balls are blue and the probability that exactly one ball is blue from 1.

$P(A) = 1 - (1-b)^n - n b^1 (1-b)^{n-1}$

  • 0
    Oh, sorry, I meant to type that n. Thanks.2012-12-10