Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 (20 points.). Consider a random distribution D over those bins [n] = {1, 2, ..., n}. We define its collision probability to be
Problem 2 (20 points.). Consider a random distribution D over those bins [n] = {1, 2, ..., n}. We define its collision probability to be Pr [a = b] a~D, b~D where a and b are drawn from D independently. Prove that the uniform distribution has the smallest collision probability among all dis- tributions. This is the reason why we only consider uniform distribution over n bins in hash functions. Hint 1. Define a random variable X (depends on D) such that the collision probability is equal to E[X2] then use Var(Y) 2 0 = E(Y2) - E? (Y) 20 = {E(Y2) } 1/2 > E(Y ) Now put Y = [X - E(X) | we get {EX-E(X) |?}1/2 > E X-E(X) | = [E{X-E(X) }21/2 > EX-E(X)| = \\Var(X) 2 EX - E(X)|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started