In: Advanced Math
There are n types of coupons. We collect coupons one-by-one. Each coupon collected is of type i with probability pi P , and independent of other coupons. Assume that n i=1 pi = 1. Suppose in total k coupons are collected. Define Ai to be the event that there is at least one type i coupon among those collected for i = 1, 2, · · · , n.
(a) Compute P(Ai)
(b) For any i 6= j, find P(Ai ∪ Aj )
(c) Compute P(Ai |Aj ), hint: use formula about P(A ∪ B) = . . .
(a) Since Ai is the event that there is atleast one
type i coupon among those collected, hence
Aic is the event that there is no
type i coupon among those collected.
The probability that the first coupon collected is not of type i is
1-pi.
The probability that the second coupon collected is not of type i
is 1-pi.
......................................
The probability that the kth coupon collected is not of
type i is 1-pi.
Since the event of collecting a coupon at the jth
(j=1,2,....k) time is independent of the other collections,
hence
P(Aic) =
(1-pi).(1-pi)....(1-pi) =
(1-pi)k
Thus, P(Ai) = 1 - P(Aic) =
1 - (1-pi)k
(b) For any i not equal j, Ai
Aj is the event that there is atleast one type i coupon
or atleast one type j coupon among those
collected. Thus, (Ai
Aj)c = Aic
Ajc is the event that there is neither a type
i coupon nor a type j coupon among those collected.
The probability that the coupon collected at the
tth(t=1,2,...k) time is either of type i or of type j is
pi+pj (mutually exclusive
events).
Thus, the probability that the coupon collected at the
tth(t=1,2,..k) time is neither of type i nor of type j
is 1-pi-pj.
Thus,
The probability that the first coupon collected is
neither of type i nor of type j is
1-pi-pj.
The probability that the second coupon collected is
neither of type i nor of type j is
1-pi-pj.
..................................................................................................
The probability that the kth coupon
collected is neither of type i nor of type j is
1-pi-pj.
Since the event of collecting a coupon at the jth
(j=1,2,....k) time is independent of the other collections,
hence,
P((Ai
Aj)c) =
(1-pi-pj).(1-pi-pj)....(1-pi-pj)
= (1-pi-pj)k.
Thus, P(Ai
Aj) = 1 - P((Ai
Aj)c) = 1 -
(1-pi-pj)k.
(c) For i not equal j, P(Ai
Aj) = P(Ai)+P(Aj)-P(Ai
Aj) = 1- (1-pi)k + 1 -
(1-pj)k - 1 +
(1-pi-pj)k = 1 -
{(1-pi)k+(1-pj)k-(1-pi-pj)k}
Thus,
P(Ai | Aj) = P(Ai
Aj) / P(Aj) = ( 1 -
{(1-pi)k+(1-pj)k-(1-pi-pj)k}
) / ( 1 - (1-pj)k )
Hence, P(Ai | Aj) = ( 1 -
{(1-pi)k+(1-pj)k-(1-pi-pj)k}
) / ( 1 - (1-pj)k ).