Let's analyze the problem step-by-step.
Given:
- Probability a person carries the gene: ( p = 0.4 )
- We want to find information about the number of people tested until 2 people with the gene are detected.
Part (a)
What is the probability that 4 or more people will have to be tested until 2 of them with the gene are detected?
This is a Negative Binomial distribution problem.
- The Negative Binomial random variable ( X ) counts the number of trials needed to get ( r ) successes.
- Here, ( r = 2 ) (we want 2 people with the gene).
- Probability of success on each trial ( p = 0.4 ).
- We want ( P(X \geq 4) ).
Step 1: Understand ( X )
- ( X ) = number of people tested until 2 with the gene are found.
- ( X ) can take values ( r, r+1, r+2, \ldots ), so ( X \geq 2 ).
Step 2: Calculate ( P(X \geq 4) )
[
P(X \geq 4) = 1 - P(X \leq 3)
]
We need ( P(X = 2) + P(X = 3) ).
Step 3: Negative Binomial PMF
[
P(X = k) = \binom{k-1}{r-1} p^r (1-p)^{k-r}
]
For ( r=2 ):
[
P(X = k) = \binom{k-1}{1} p^2 (1-p)^{k-2}
]
Calculate ( P(X=2) ):
[
P(X=2) = \binom{1}{1} (0.4)^2 (0.6)^0 = 1 \times 0.16 \times 1 = 0.16
]
Calculate ( P(X=3) ):
[
P(X=3) = \binom{2}{1} (0.4)^2 (0.6)^1 = 2 \times 0.16 \times 0.6 = 2 \times 0.096 = 0.192
]
Step 4: Sum and subtract
[
P(X \leq 3) = P(X=2) + P(X=3) = 0.16 + 0.192 = 0.352
]
[
P(X \geq 4) = 1 - 0.352 = 0.648
]
Answer (a):
[
\boxed{0.648}
]
Part (b)
How many people are expected to be tested until 2 of them with the gene are detected?
For a Negative Binomial distribution with parameters ( r ) and ( p ), the expected value is:
[
E(X) = \frac{r}{p}
]
Here:
[
E(X) = \frac{2}{0.4} = 5
]
Answer (b):
[
\boxed{5}
]
Summary:
- (a) ( P(X \geq 4) = 0.648 )
- (b) ( E(X) = 5 ) people expected to be tested until 2 with the gene are found.