**Bernoulli Trials and Binomial Distribution** are explained here in a brief manner.Â Bernoulli trial is also said to be a binomial trial. In the case of the Bernoulli trial, there are only two possible outcomes but in the case of the binomial distribution, we get the number of successes in a sequence of independent experiments.Â Both the topics are described under probability and statistics, in Mathematics.

**Bernoulli Trials**

Many random experiments that we carry have only two outcomes that are either failure or success. For example,Â a product can be defective or non-defective, etc. These types of independent trials which have only two possible outcomes are known as Bernoulli trials. For the trials to be categorized as Bernoulli trials it must satisfy these conditions:

- A number of trials should be finite.
- The trials must be independent.
- Each trial should have exactly two outcomes: success or failure.
- The probability of success or failure remains does not change for each trial.

**Example of Bernoulli Trials**

Eight balls are drawn from a bag containing 10 white and 10 black balls. Predict whether the trials are Bernoulli trials if the ball drawn is replaced and not replaced.

**Solution:**

**(a) **For the** first** case, when a ball is drawn with replacement, the probability of success (say, white ball) is p=10/20=1/2Â which is same for all eight trials (draws). Hence, the trial involvingÂ drawing of balls with replacements are said to be Bernoulli trials.

**(b)**For the **second** case, when a ball is drawn without replacement, the probability of success (say, white ball) varies with the number of trials. For example for the first trial, probability of success, p=10/20Â for second trial, probability of success, p=9/19 Â which is not equal the first trial. Hence, the trials involving drawing of balls without replacements are not Bernoulli trials.

Binomial Distribution

Binomial Distribution

Consider three Bernoulli trials for tossing a coin. Let obtaining head, stand for success, S and tails for failure, F. There are three ways in which we can have one success in three trials, {SFF, FSF, FFS}. Similarly, two successes and one failure will have three ways. The general formula can be seen as ^{n}C_{r}. Where â€˜nâ€™ stands for the number of trials and â€˜râ€™ stands for number of success or failures.

The number of success for above cases can take four values 0,1,2,3.

Let â€˜**a**â€™ denote the probability of success and â€˜**b**â€™ denote the probability of failure. Random variable X denoting success can be given as:

P(X=0) = P(FFF) = P(F) Ã— P(F) Ã— P(F)

= bÂ Ã— bÂ Ã— b=b^{3}

And;

P(X=1) = P(SFF, FSF, FFS)

= P(S)Â Ã— P(F)Â Ã— P(F) + P(F) Ã— P(S)Â Ã— P(F) + P(F)Â Ã— P(F)Â Ã— P(S)

= aÂ Ã— bÂ Ã— b + bÂ Ã— aÂ Ã— b + bÂ Ã— bÂ Ã— a =3ab^{2}

And;

P(X=2) = P(SSF, SFS, FSS)

=P(S) Ã— P(S)Â Ã— P(F) + P(S)Â Ã— P(F)Â Ã— P(S) + P(F)Â Ã— P(S)Â Ã— P(S)

= aÂ Ã— aÂ Ã— b + bÂ Ã— aÂ Ã— b + bÂ Ã— bÂ Ã— a=3a^{2}b

And;

P(X=3) = P(SSS, SSS, SSS) = P(S)Â Ã— P(S)Â Ã— P(S)

= aÂ Ã— aÂ Ã— a = a^{3}

And;

The probability distribution is given as:

X |
0 |
1 |
2 |
3 |

P(X) | b^{3} |
3ab^{2} |
3a^{2}b |
a^{3} |

We can relate it with binomial expansion of (a + b)^{3}Â for determining probability of 0,1,2,3 successes.

As, (a + b)^{3}=a^{3}+3ab^{2}+3a^{2}b+b^{3}

For n trials, number of ways for x successes, S and (n-x)Â failures, FÂ can be given as:

^{n}C_{x}=n!/(n-x)!(x)!

In each way, the probability of Â xÂ success and (n-x)Â failures:

P(S)Â Ã—Â P(S) Ã—…..Â Ã— P(S)Â Ã— P(F)Â Ã— …..Â Ã— P(F)Â Ã— P(F)=a^{x} b^{(n-x)}

Thus the probability of x successes in n-Bernoulli trials:

\(\small \frac{n!}{(n-x)!x!} \times a^{x}\; b^{(n-x)} = \; ^{n}C_{x} \; a_{x}b^{(n-x)}\)

Hence, P(x)Â successes can be given by Â (x+1)^{th}Â term in the binomial expansion of Â (a + b)^{x}

Probability distribution for above can be given as,

Â X( 0, 1, 2, 3….x), P(X) =Â ^{n}C_{0} a^{0} b^{n}

=^{n}C_{1} a^{1} b^{n-1}

=^{n}C_{2} a^{2} b^{n-2}

=^{n}C_{3} a^{3} b^{n-3}

=^{n}C_{x} a^{x} b^{n-x}

The above probability distribution is known as binomial distribution.

Apart from binomial, there are certain distributions such as cumulative frequency distribution, Weibull distribution, beta distribution, etc. which you will learn in the probability distribution.

**Example of Binomial Distribution**

If a fair coin is tossed 8 times, find the probability of:

(1) Exactly 5 heads

(2) At least 5 heads.

**Solution:**

**(a) **The repeatedÂ tossing of the coin is an example of a Bernoulli trial. According to the problem:

Number of trials: n=8

Probability of head: Â a= 1/2Â and henceÂ the probability of tail, b =1/2

For exactly five heads:

Â x=5, P(x=5) =Â ^{8}C_{5} a^{5} b^{8-5}Â = 8!/3!5! Ã— (1/2)^{5} Ã— (1/2)^{3}

= 8!/3!5! Ã— (1/2)^{8} 7/32

= 219/256

**(b)Â **For at least five heads,

Â x â‰¥ 5, P(x â‰¥ 5) = P(x = 5) + P(x = 6) + P(x = 7) + P(x=8)

And;

=^{8}C_{5} a^{5} b^{8-5}**Â +Â **^{8}C_{6} a^{6} b^{8-6Â }+Â ^{8}C_{7} a^{7} b^{8-7Â }**+Â **^{8}C_{8} a^{8} b^{8-8}

And;

\(= \frac{8!}{3!.5!}. \left ( \frac{1}{2} \right )^{5}.\left ( \frac{1}{2} \right )^{3} + \frac{8!}{2!.6!}. \left ( \frac{1}{2} \right )^{6} . \left ( \frac{1}{2} \right )^{2} + \frac{8!}{1!.7!} \left ( \frac{1}{2} \right )^{7}.\left ( \frac{1}{2} \right )^{1} + \frac{8!}{0!.8!}\left ( \frac{1}{2} \right )^{8}. \left ( \frac{1}{2} \right )^{0}\)

= 7/32 + 7/64 + 1/32 + 1/256 = 93/256

Download BYJU’S app and get personalised videos to understand the mathematical concepts, with a new method of learning.