The binomial (or Bernoulli) distribution

An experiment can be modeled with a binomial distribution whenever:

A binomial random variable will give the number of successes when having happened a certain number of experiments.

It turns out to be useful to analyze the number of times that 'heads' is obtained when flipping a coin $n$ times.

The binomial distribution is usually represented by $B (n,p)$, with:

So if we want to study the binomial distribution that models $10$ flips of a coin (in which the 'heads' and 'tails' are equally probable) we have:

$$\displaystyle B\Big(10, \frac{1}{2}\Big)$$

The probability function of the binomial distribution is:

$$p(X=k)=\binom{n}{k}p^k\cdot q^{n-k}$$

The combinatorial number is defined:

$$\displaystyle \binom{n}{k}= \frac{n!}{k!(n-k)!}$$

Calculate the probability of obtaining $8$ 'heads' when flipping a coin ten times.

Distribution $\displaystyle B\Big(10, \frac{1}{2}\Big)$

number of experiments: $n=10$

number of successful results: $k=8$

probability of each success and each defeat: $\displaystyle p=q=1/2$

$$p(X=8)=\binom{10}{8} \Big(\frac{1}{2}\Big)^8 \Big(\frac{1}{2}\Big)^2 = 0.044$$

what can be interpreted as the product of the possible combinations of $8$ 'heads' and $2$ 'tails' times the probability of extracting $8$ 'heads' times the probability of extracting $2$ 'tails'.

The average of a binomial distribution is:

$$\mu= n \cdot p$$

The variance is:

$$\sigma^2= n \cdot p \cdot q= n \cdot p \cdot (1-p)$$

The standard deviation is:

$$\sigma = \sqrt{n\cdot p \cdot q}$$

Practice exercises