Docsity

Randomized Algorithms Mid-Term Exam, Spring 2003 - Prof. Mihai Pop, Exams of Biostatistics

Toggle sidebar
bg1
CMSC 858T: Randomized Algorithms, Spring 2003
Mid-Term Exam
Instructions: There are three questions. If you think you have some ideas that deserve partial
credit, please itemize them concisely. Also, if you are unable to solve a problem but can do so
by making some assumptions, please clearly state these assumptions and then proceed. Good
luck!
1. (5points) In this problem, we will view a permutation πof {1,2, . . . , n}as a sequence
of ndistinct numbers π1, π2, . . . , πn, each of which lies in {1,2, . . . , n}. You are given positive
integers nand k≤n. Show that there is a collection Fof permutations of {1,2, . . . , n}, with
the following property:
for any ordered sequence (i1, i2, . . . , ik) of kdistinct elements of the set {1,2, . . . , n},
there is a permutation π∈ F such that πi1< πi2<· · · < πik.
Important Note: The set Fin your solution should have a cardinality of the form f(k)·log n,
for some function f.
2. We will consider tail bounds here.
(a) (2points) For any two random variables Yand Zsuch that Y, Z ∈[0,1], show that
coV ar[Y, Z ]≤E[Y Z]≤(E[Y] + E[Z])/2. (Here, coV ar[Y, Z ] denotes the covariance of
Yand Z.)
(b) (5points) Use part (a) to show that there is a constant c > 0 such that the following
holds.
Suppose X1, X2, . . . , Xnare random variables, each lying in [0,1], such that each Xiis
dependent on at most dof the other Xj. (For instance, if d= 3, then X1may depend
on X2, X4, X7and be independent of the others, X2may depend on X1, X8and be
independent of the others, etc.) Let X=PiXiwith µ=E[X]. Then, for any δ∈(0,1),
Pr[X≤µ(1 −δ)] ≤c·d
µδ2.
3. We are given an undirected graph G= (V, E) with a non-negative weight wigiven for each
vertex i. We want to find a subset Sof Vwith minimum total weight, in such a way that every
edge of Ghas at least one end-point in S.
(a) (3points) Formulate this problem as an ILP, and give its LP relaxation.
(b) (5points) Give a simple deterministic rounding scheme for this LP, to get a 2–approximation
algorithm; justify why the approximation ratio of your algorithm is at most 2.
1

Partial preview of the text

Download Randomized Algorithms Mid-Term Exam, Spring 2003 - Prof. Mihai Pop and more Exams Biostatistics in PDF only on Docsity!

CMSC 858T: Randomized Algorithms, Spring 2003

Mid-Term Exam

Instructions: There are three questions. If you think you have some ideas that deserve partial credit, please itemize them concisely. Also, if you are unable to solve a problem but can do so by making some assumptions, please clearly state these assumptions and then proceed. Good luck!

  1. ( 5 points) In this problem, we will view a permutation π of { 1 , 2 ,... , n} as a sequence of n distinct numbers π 1 , π 2 ,... , πn, each of which lies in { 1 , 2 ,... , n}. You are given positive integers n and k ≤ n. Show that there is a collection F of permutations of { 1 , 2 ,... , n}, with the following property:

for any ordered sequence (i 1 , i 2 ,... , ik) of k distinct elements of the set { 1 , 2 ,... , n}, there is a permutation π ∈ F such that πi 1 < πi 2 < · · · < πik.

Important Note: The set F in your solution should have a cardinality of the form f (k) · log n, for some function f.

  1. We will consider tail bounds here.

(a) ( 2 points) For any two random variables Y and Z such that Y, Z ∈ [0, 1], show that coV ar[Y, Z] ≤ E[Y Z] ≤ (E[Y ] + E[Z])/2. (Here, coV ar[Y, Z] denotes the covariance of Y and Z.)

(b) ( 5 points) Use part (a) to show that there is a constant c > 0 such that the following holds. Suppose X 1 , X 2 ,... , Xn are random variables, each lying in [0, 1], such that each Xi is dependent on at most d of the other Xj. (For instance, if d = 3, then X 1 may depend on X 2 , X 4 , X 7 and be independent of the others, X 2 may depend on X 1 , X 8 and be independent of the others, etc.) Let X =

∑ i Xi^ with^ μ^ =^ E[X]. Then, for any^ δ^ ∈^ (0,^ 1),

Pr[X ≤ μ(1 − δ)] ≤ c · d μδ^2

  1. We are given an undirected graph G = (V, E) with a non-negative weight wi given for each vertex i. We want to find a subset S of V with minimum total weight, in such a way that every edge of G has at least one end-point in S.

(a) ( 3 points) Formulate this problem as an ILP, and give its LP relaxation.

(b) ( 5 points) Give a simple deterministic rounding scheme for this LP, to get a 2–approximation algorithm; justify why the approximation ratio of your algorithm is at most 2.