随机算法 (Spring 2013)/Problem Set 1
Problem 1
- Suppose that you are given a coin for which the probability of HEADS, say
, is unknown. How can you use this coin to generate unbiased (i.e., ) coin-flips? Give a scheme for which the expected number of flips of the biased coin for extracting one unbiased coin-flip is no more than .
Problem 2
We start with
At each round, we uniformly pick 2 free hands and let them hold together.
- After how many rounds, there are no free hands left?
- What is the expected number of cycles made by people holding hands with each other (one person with left hand holding right hand is also counted as a cycle), when there are no free hands left?
(Hint: Consider how to count the number of cycles using indicator random variables.)
Problem 3
For any
Give an analysis to lower bound the probability that a single iteration of Karger's Random Contraction algorithm returns an
Problem 4
Freivalds' Theorem - Let
be an matrix such that . For a uniformly random , .
- Let
Schwartz-Zippel Theorem - Let
be a multivariate polynomial of degree over a field such that . Fix any finite set , and let be chosen uniformly and independently at random from . Then
- Let
Prove that Schwartz-Zippel Theorem implies Freivalds Theorem.