Discrete Random Variables: Question 7
Syllabus 5.4
In a large batch of memory cards, the probability that a randomly chosen card is defective is , independently of any other card. A quality inspector selects cards one at a time, at random from the batch, and tests them until she finds the first defective card. Let be the number of cards tested up to and including the first defective card found, so that .
(a) State two conditions, in the context of this situation, that must hold for to be modelled by the geometric distribution . [2]
(b) Find . [2]
(c) Find . [3]
(d) State . [1]
Show worked solution Hide worked solution
Worked solution
Part (a): Conditions for a geometric model
For to be modelled by a geometric distribution , the situation must satisfy:
- Each card tested has exactly two possible outcomes, “defective” or “not defective”.
- The probability that a card is defective is constant for every card, here .
- The cards are independent of one another.
- Testing continues one at a time until the first success (the first defective card) occurs.
Any two of these conditions is sufficient for the marks, e.g. “the probability that a card is defective is constant at for every card, and whether one card is defective is independent of any other card.”
Since these hold, .
Part (b): Finding P(X = 5)
Using with , , , the first four cards tested must all be non-defective, and the fifth must be defective:
Compute step by step:
So
(to 3 significant figures).
Part (c): Finding P(X ≤ 3)
"" means the first defective card is found on the 1st, 2nd, or 3rd test. Equivalently, the complement of “all of the first 3 cards are non-defective”:
Compute :
So
(to 3 significant figures).
Check by direct summation: which agrees exactly with the complement calculation.
Part (d): Finding E(X)
For a geometric distribution, :
Final answers
- (a) Any two valid conditions, e.g. constant probability and independence between cards.
- (b)
- (c)
- (d)