Exploring the binomial process
We start our exploration of the binomial process by looking at the probability of a certain number of successes s for a given number of trials n and probability of success p. Imagine we have two binomial trials, there are four possible outcomes, as shown below, namely SS, SF, FS, and FF, where SF means success followed by failure, etc.
Gliffy Diagram  


These outcomes have probabilities p^{2}, p(1p), (1p)p and (1p)^{2} respectively. The binomial process considers each success to be identical and therefore does not differentiate between the two events SF and FS: they are both just one success in two trials. The probability of one success in two trials is then just 2p(1p): the 2 in this equation is the number of different paths that result in 1 success in 2 trials.
Now imagine that we have three trials:
Gliffy Diagram  


The eight outcomes are: SSS, SSF, SFS, SFF, FSS, FSF, FFS, and FFF. There is thus 1 event producing 3 'successes', 3 events producing 2 successes, 3 events producing 1 success and 1 event producing no successes for three trials.
The binomial distribution equation
In general, the number of ways that we can get s successes from n trials can be calculated directly using the binomial coefficient _{n}C_{s}, which is given by:
LaTeX Math Inline  


We can check this is right, by choosing n =3, (remembering that 0! = 1) then:
LaTeX Math Inline  


LaTeX Math Inline  


LaTeX Math Inline  


LaTeX Math Inline  


which match the number of combinations we have already calculated. Each of the ways of getting s successes in n trials has the same probability, namely p^{s}(1p)^{ns}, so the probability of observing x successes in n trial is given by:
LaTeX Math Inline  


which is the probability mass function of the Binomial(p,n) distribution. In other words, the number of successes s one will observe in n trials, where each trial has the same probability of success is given by:
s = Binomial(p,n)
Examples of the Binomial
The four figures below show the distribution for a number of different p's (probabilities) and n's (trials).
The first figure above shows the number of tails (here called success (s)) if we toss a coin five times could be 0, 1, 2, 3, 4 or 5 with the probabilities displayed on the yaxes. The figure to the right shows the same situation, but now with 40 tosses. The most likely outcome is 20 tails , but it could be as low as 10 or as high as 30. Note that this figure looks somewhat like a bellshaped Normal distribution.