Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose h: x rightarrow y is an (N, M)-hash function. For any y elementof H, let h^-1(y) = {x:h(x) = y} and denote s_y =

image text in transcribed

Suppose h: x rightarrow y is an (N, M)-hash function. For any y elementof H, let h^-1(y) = {x:h(x) = y} and denote s_y = |h^-1(y)|. Define S = |{{x_1, x_2}: h(x_2) = h(x_2)}|. Note that S counts the number of unordered pairs in x that collide under h. (a) Prove that sigma_y elementof y s_y = N, so the mean of the sy's is bar s = N/M. (b) Prove that S = sigma_y elementof y (s_y 2) = 1/2 sigma_y elementof y s_y^2 - N/2. (c) Prove that sigma_y elementof (s_y - bar s)^2 = 2s + N - N^2/M. (d) Using the result proved in part (c), prove that S greaterthanorequalto 1/2(N^2/M - N). Further, show that equality is attained if and only if s_y = N/M

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

3. What might you have done differently?

Answered: 1 week ago

Question

What is cost plus pricing ?

Answered: 1 week ago

Question

1. What are the types of wastes that reach water bodies ?

Answered: 1 week ago

Question

Which type of soil has more ability to absorb water?

Answered: 1 week ago

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago