• Ei tuloksia

582421 Randomised algorithms (Autumn 2005) Midterm examination, 17 October, 9:00{12:00, lecture hall B123

N/A
N/A
Info
Lataa
Protected

Academic year: 2022

Jaa "582421 Randomised algorithms (Autumn 2005) Midterm examination, 17 October, 9:00{12:00, lecture hall B123"

Copied!
1
0
0

Kokoteksti

(1)

582421 Randomised algorithms (Autumn 2005)

Midterm examination, 17 October, 9:00{12:00, lecture hall B123

In all problems you may assume that n is even etc. as convenient and disregard the eects of rounding.

Maximum score 8 + 8 + 8 = 24.

1. Let X1; : : : ; Xn be independent coin ips. If Xi = Xi+1 = : : : = Xi+k 1, where k 2, we say that there is a streak of length k beginning from i. (If k > 2, then there is also a streak of length j for all 2 j < k.)

(a) Show that the expected number of streaks of length log2n + 1 is 1 o(1).

(b) Show that, for suciently large n, the probability that there is no streak of length at least log2n 2 log2log2 is less than 1=n.

2. Let X1; : : : ; Xn be independent Poisson trials, X =Pn

i=1Xi and = E[X].

(a) Prove that the moment generating function MX of the random variable X satises the upper bound

MX(t) exp (et 1) : (b) Prove that

Pr(X (1 ))

e

(1 )1

for all 0 < < 1.

3. Consider the familiar situation where n balls are distributed independently and uniformly at random into n bins. Suppose now that each bin can hold only two balls. If we attempt to place three or more balls into the same bin, we say that an overow occurs in that bin. Let Z be the number of bins where an overow occurs.

(a) What is E[Z]? Give the exact value and an approximation that holds when (1 1=n)n e 1. (You do not need to analyse the accuracy of the approximation.)

(b) Derive an upper bound for the probability of the event Z < 12E[Z]. It is not important to optimise numerical constants in the bound, but the bound should be of the order of O(e cn) for some c > 0.

(Sama suomeksi kaantopuolella.)

Viittaukset

LIITTYVÄT TIEDOSTOT

Tarkastellaan tuttua tilannetta, jossa n palloa sijoitetaan n lokeroon toisistaan riippumatta siten, että kunkin pallon todennäköisyys tulla kuhunkin lokeroon on sama.. Ajatellaan

Muodosta Markovin ketju, jonka yksikäsitteinen tasapainojakauma on tasainen ja- kauma annetun verkon kaikkien solmupeitteiden joukossa3. Muistathan

Construct a Markov chain that has as its unique stationary distribution the uniform distribution over all the vertex covers of a given graph.. Please remember to ll in the

Each term of a sequence of natural numbers is obtained from the previous term by adding to it its largest digit7. What is the maximal number of successive odd terms in such

hold two stocks. The same applies to institutions of which 47% hold only one stock and 12% two stocks. All in all, only 25% of individuals and 29% of institutions hold at least

Blood samples were drawn at 24:00, 4:00 and 7:00 h to determine the concentrations of plasma glucose, insulin, noradrenaline (NA) and adrenomedullin, markers of

To see what kind of results one might expect to obtain, consider the simplest case where {V (x)} x∈{−N,...,N} d are i.i.d. random variables - say centered Gaus- sians. When the

Amalia has a machine that at a time turns either a black ball into three white balls or a white ball into two black balls. At first, Amalia has three black balls and one