Homework 6 Optional Problems
Recall that a set
of hash functions (mapping the elements of a universe to the buckets is universal if for every distinct , the probability that and collide, assuming that the hash function is chosen uniformly at random from , is at most . In this problem you will prove that a collision probability of is essentially the best possible. Precisely, suppose that is a family of hash functions mapping to , as above. Show that there must be a pair of distinct elements such that, if is chosen uniformly at random from , then
ANSWER: Let
- Let us fix a hash function
. - Let
. - Given
= number of buckets.
Then, the number of distinct
It can be shown that the summation is minimized when all
Suppose
Taking expectation of
By the Pigeon hole Principle, we get: There exists
Leave a comment