Professional Documents
Culture Documents
The exam
onsists of ve problems, ea
h being worth four points, so that the total
number of points is 20. 10 points are required to pass the exam.
Deadline, for returning the solutions, is Thursday, May 30. It
an be
handed in to Lotta Fernstrom (room 1403 at Matematiskt Centrum, her oÆ
e hours on
May 30 are 9.00-12.30 and 13.00-15.00), or you
an send it to me dire
tly at address
Olle Haggstrom, Institut Mittag-Leer, Auravagen 17, 182 60 Djursholm (poststampel
avgor!). For other rules
on
erning this exam, see
http://www.math.
halmers.se/~olleh/randomiserade algoritmer.html
2. Ehrenfest's urn model. Fix an integer k, and imagine two urns, ea
h
ontaining
a number of balls, in su
h a way that the total number of balls in the two urns
is k. At ea
h integer time, we pi
k one ball at random (ea
h with probability 1 ) k
and move it to the other urn1. If X denotes the number of balls in the rst urn,
n
then (X0 ; X1 ; : : :) forms a Markov
hain with state spa
e f0; : : : ; kg.
(a) Write down the transition matrix of this Markov
hain.
(b) Show that the Markov
hain is reversible with stationary distribution =
(0 ; : : : ; ) given by
k
k!
= 2 k
for i = 0; : : : ; k :
i
i!(k i)!
(
) Show that the same distribution (known as the binomial distribution) also
arises as the distribution of a binomial (k; 21 ) random variable, as dened in
Example 1.3 of \Finite Markov
hains and algorithmi
appli
ations".
(d) Can you give an intuitive explanation for why Ehrenfests's urn model and
Example 1.3 give rise to the same distribution?
1
There are various interpretations of this model. Ehrenfest's original intention was to model diusion
of mole
ules between the two halves of a gas
ontainer.
1
3. Suppose that we have a nite set S with n elements (n large), and an integer-
valued fun
tion f : S ! N whose minimum we want to nd.
(a) Find a temperature T > 0 small enough so that for all T < T , the Boltzmann
ome within total variation distan
e " from the target distribution , is at most
G
Ck3 log(" 1 ). Here k is the number of verti
es in the graph, and C is a
onstant
(not depending on k or on ").
Use this result to show that there exists a randomized polynomial time approx-
imation s
heme for
ounting the number of feasible hard-
ore
ongurations of
su
h graphs.