Professional Documents
Culture Documents
Problem 4
Problem 4
(3 points possible) Mary and Tom park their cars in an empty parking lot with parking spaces (i.e,
n2 consecutive
space). Mary and Tom pick parking spaces at random. (All pairs of parking spaces are equally likely.) What is the probability that there is at most one empty parking space between them? (Express your answer using standard notation.)
(4*n-6)/(n*(n-1))
(n1)(n2)
Answer:
={(i,j):ij,1i,jn}
, where
(i,j)
and
respectively. We apply the discrete uniform probability law to find the required probability. We are interested in the probability of the event
A={(i,j):|ij|2}.
We first find the cardinality of the set of
. There are
n2
pairs
(i,j)
, but since
is
(i,i)
, the cardinality
n2n=n(n1)
If
n3
, event
2(n1)+2(n2)=4n6
elements. If
n=2
, ,
(1,2)
and
(2,1)
4(2)6=2
. Therefore,
P(A)=4n6n(n1).