

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Discrete Structures, Randomized Algorithm, Exercises, Exam Paper
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Xi. Use two different methods to derive bounds on the probability that X > (1 + )(2n) for any fixed :
(a) Figure out how to reduce this to a question involving just the sum of independent Bernoulli (i.e. indicator) variables, allowing you to apply the Chernoff bound we already know. (b) Use the method of the in-class Chernoff bound analysis to derive ab initio an upper bound for deviation of sums of geometric random variables.
(a) Based on MR Exercise 4.2. Consider the transpose permutation: writing i as the concatenation of two n/2-bit strings ai and bi, we want to route aibi to biai. Show the bit fixing strategy takes Ω(
N ) steps on this permutation. (b) MR 4.9. Consider the following randomized variant of the bit fixing algorithm. Each packet randomly orders the bit positions in the label of its source and then corrects the mismatched bits in that order. Show that there is a permutation for which with high probability that algorithm uses 2Ω(n)^ steps to route. An inequality that might be helpful: (n
k
)k ≤
n k
(en
k
)k .
(a) Show there is a k = Ω(log n/ log log n) such that bin 1 has k balls with probability at least 1/
n. You may want to use the inequality from problem 3. (b) Argue that conditioning on the first bin not having k balls only increases the prob- ability that the second bin does, and so on. Conclude that with high probability, some bin has Ω(log n/ log log n) balls.
(a) A function f is said to be convex if for any x, y, and 0 ≤ λ ≤ 1, f (λx+ (1 − λ)y) ≤ λf (x) + (1 − λ)f (y). Show that f (x) = etx^ is convex for any t > 0 (you can use the fact that etx^ has positive second derivative everywhere). What if t ≤ 0? (b) Let Z be a random variable that takes values in the interval [0, 1] and let p = E[Z]. Define the Bernoulli random variable X such that Pr[X = 1] = p. Show that for any convex f , E[f (Z)] ≤ E[f (X)]. (c) Let Y 1 ,... , Yn be independent identical distributed random variables over [0, 1] and define Y =
Yi. Derive Chernoff-type upper and lower tail bounds for the random variable Y. In particular, show that for δ ≤ 1,
Pr[Y − E[Y ] > δ] ≤ exp(−δ^2 / 2 n).
Ii be the number of empty bins. Define p = E[Xi] = (1 − 1 /n)n and let X i′ be n mutually independent Bernoulli random variables that are 1 with probability p. Note that Y =
X i′ has the binomial distribution with parameters n and p.