# Chernoff’s bound

If you have some randomness in your life, chances are that you want to try Chernoff’s bound. The most common way to understand randomness is a 2-step combo: find the average behavior, and show that the reality is unlikely to differ too much from the expectation (via Chernoff’s bound or its cousins).

My favorite form of Chernoff’s bound is: for independent binary random variables, and , and , then

Note that are not necessarily identically distributed, they just have to be independent. In practice, we often care about significant deviation from the mean, so is typically larger than .

In the standard applications, the stochastic system has size and an event of interest, , has expectation . The probability that *any* one event deviates significantly is inverse polynomial in the *size of the whole system*

This is important since the total number of events is polynomial in for many settings. By simple Union Bound,

So the chance of any deviation in any event is small!