next up previous
Next: About this document

 COS 341, September 22, 1997

Handout Number 3

The Dating Problem and the Lottery Problem

Probability

A probability space tex2html_wrap_inline134 is a pair (A, p) where A is a finite set, and tex2html_wrap_inline140 is a function such that tex2html_wrap_inline142 . An event T is a subset of A. The probability for T to occur is defined as tex2html_wrap_inline150 .

The notion of probability space is used to model a random process, in which A is the set of all possible configurations, and configuration a is the realized configuration with probability p(a). We restrict A to be a finite set for simplicity (in general A could be infinite). The notion of event models a boolean predicate that is of interest.

The Dating Problem

In the Dating Problem with parameters n,k, the probability space is tex2html_wrap_inline164 , where A is the set of all permutations of tex2html_wrap_inline168 , and p(a)=1/|A| for all tex2html_wrap_inline172 . It is easy to see that a permutation tex2html_wrap_inline174 is in T if and only if the following conditions are satisfied:

C1: tex2html_wrap_inline178 ; C2: Let tex2html_wrap_inline180 where tex2html_wrap_inline182 , then the minimum of tex2html_wrap_inline184 is among the first k of these numbers.

Let tex2html_wrap_inline188 denote the set of all a's satisfying C1, C2 with j being the j in C2. Then T is the disjoint union of such tex2html_wrap_inline188 . By the Addition Principle, we have

equation63

We assert that for each tex2html_wrap_inline182 ,

equation66

To see this, note that tex2html_wrap_inline188 is itself the disjoint union of tex2html_wrap_inline204 , where tex2html_wrap_inline206 consists of tex2html_wrap_inline208 with the minimum of tex2html_wrap_inline210 occurring at tex2html_wrap_inline212 . Now each element of tex2html_wrap_inline206 can be specified by first choosing an (n-j)-permuation of tex2html_wrap_inline218 (to fix tex2html_wrap_inline220 ), and then a (j-2)-permutation of the set tex2html_wrap_inline224 minus its minimum element (to fix tex2html_wrap_inline226 ). Therefore, by the Multiplication Principle, we have

eqnarray80

This proves (2). (Alternatively, one can argue that it is equally likely for a random a with tex2html_wrap_inline180 to have the minimum of tex2html_wrap_inline184 to occur at s for any tex2html_wrap_inline236 . Since there are (n-1)! a's with tex2html_wrap_inline180 , the number of such permutations with the minimum occurring in the first k locations is equal to tex2html_wrap_inline246 .)

It follows from (1) and (2) that

eqnarray89

Since |A|=n!, this means

equation97

This completes the analysis of the probability of success under the strategy used with parameters n,k.

For example, if n=8, k=4,

displaymath128

Lottery

We considered in class a simplified version of California Lottery. Let tex2html_wrap_inline254 . The probability space is tex2html_wrap_inline164 , where A is the set of all 6-combinations of S, and p is uniform on A (i.e., p(a)=1/|A| for all tex2html_wrap_inline172 ). Assume that you have picked a particular 6-combination tex2html_wrap_inline274 . When the lottery drawing is to be done, the event T corresponding to your winning 5 dollars is the set of all 6-combinations that intersects tex2html_wrap_inline282 in exactly three elements. (If the intersection is larger than 3, you win more than 5 dollars.) What is p(T)?

Clearly, p(T)=|T|/|A|. As tex2html_wrap_inline292 , we only need to calculate |T|. For each subset tex2html_wrap_inline296 of size 3, let tex2html_wrap_inline300 be the set of all 6-combinations of S that have J as their intersection with I. Then by the Addition Principle,

displaymath129

As each tex2html_wrap_inline310 , we have tex2html_wrap_inline312 . Thus,

displaymath130




next up previous
Next: About this document

Andrew Yao
Thu Sep 18 22:59:40 EDT 1997