SDSU CS 662 Theory of Parallel Algorithms
Chernoff Bounds

[To Lecture Notes Index]
San Diego State University -- This page last updated March 21, 1996, 1996
----------

Binomial Distribution


Bernoulli Trial
Experiment with only two possible outcomes: success and failure

p = probability of success
q = probability of failure

q + p = 1


X(n) = number of successes during n independent Bernoulli trials

P[ event ] = the probability of event occurring

We have:

Chernoff Bounds

1)

2)


Set and using 2) we get

3)

Example

What is the probability of getting 25 or fewer heads in 100 coin tosses?

p = .5
n = 100
= .5


n
1000.9450.77880078
1000.8400.36787944
1000.7350.10539922
1000.6300.01831564
1000.5250.00193045
1000.4200.00012341
1000.3154.7851E-06
1000.2101.1254E-07
1000.151.6052E-09

Randomized Algorithms

Las Vegas type algorithm
Always generates correct answer
Complexity is measured in expected value or the probability that a certain bound will be exceeded


Monte Carlo type algorithm
The algorithm will make errors but with a small probability
----------