Intro

This lecture will review everything you learned in probabaility

Coupon collecting.

Stable Marriage

Problem:

Proof by proposal algorithm:

Time Analysis:

Stability Analysis

Average case analysis

Deviations from Expectation

Sometimes expectation isn't enough. Want to study deviations--probability and magnitude of deviation from expectation.

Example: balls in bins:

Pr[k balls in bin 1]

= $\displaystyle \binom{n}{k}$(1/n)k(1 - 1/n)n - k

   

 

$\displaystyle \le$$\displaystyle \binom{n}{k}$(1/n)k

   

 

$\displaystyle \le$$\displaystyle \left(\vphantom{\frac{ne}{k}}\right.$$\displaystyle {\frac{ne}{k}}$$\displaystyle \left.\vphantom{\frac{ne}{k}}\right)^{k}_{}$(1/n)k

   

 

= $\displaystyle \left(\vphantom{\frac{e}{k}}\right.$$\displaystyle {\frac{e}{k}}$$\displaystyle \left.\vphantom{\frac{e}{k}}\right)^{k}_{}$

   

·       What is probability any bin is over k? 1/n union bound.

·       Now can bound expected max:

o      With probability 1 - 1/n, max is O(ln n/lnln n).

o      With probability 1/n, max is bigger, but at most n

o      So, expected max O(ln n/lnln n)

·       Typical approach: small expectation as small ``common case'' plus large ``rare case''

Example: coupon collection/stable marriage.

Tail Bounds--Markov Inequality

At other times, don't want to get down and dirty with problem. So have developed set of bounding techniques that are basically problem independent.

Markov inequality.

Application: ZPP = RP $ \cap$coRP.

On flip side, not very strong: balls in bins Pr[ > ln n]$ \le$1/ln n.

Can make much stronger by generalizing: Pr[h(Y) > t]$ \le$E[h(Y)]/t for any positive h.