The ** binomial probability distribution** is a

- Success, or
- Failure

For such scenarios, we'll define the *discrete random variable* \(X\) as the *"number of successes in \(n\) trials"*.

A biased coin has probability of flipping heads \(p=0.6\). The coin is flipped \(20\) times. What is the probability of flipping heads exactly \(4\) times ?

This is a typical scenario in which we would use the *binomial distribution function*. Indeed we can see that:

- an experiment is being repeated \(20\) times, that's \(20\) trials
- for each trial there are two possible outcomes: success (flipping heads) or failure (flipping tails)
- each trial is independent of the previous (whatever we get on one flip has no effect on what we get on the next flip).

Given a discrete random variable \(X\) that follows a binomial distribution, the probability of \(r\) successes within \(n\) trials is given by: \[P\begin{pmatrix}X = r \end{pmatrix} = \begin{pmatrix} n \\ r \end{pmatrix}p^rq^{n-r}\] where \(p\) is the probability of a success and \(q = 1-p\) is the probability of a failure.

To indicate that a discrete random variable \(X\) follows a *binomial distribution*, for \(n\) trials and for which the *probability of success* is \(p\), we write:
\[X \sim B\begin{pmatrix}n,p\end{pmatrix}\]

In this ** tutorial**, we

A bag contains \(10\) marbles, \(6\) of which are blue and \(4\) are red. An experiment consists of picking a marble (at random) from the bag, making a note of its color and putting it back in the bag. This experiment is repeated \(5\) times.

What is the probability of picking exactly \(3\) blue marbles?

Since the marble is put back in the bag at the end of each trial, the outcome of each pick is independent of the previous. There are only two possible outcomes:

- picking a blue (success)
- not picking a blue (failure)

- picking a blue (success), \(p = \frac{6}{10} = 0.6\)
- not picking a blue (failure), \(p = \frac{4}{10} = 0.4\)

- Charlotte and Clara are planning a 7 day trip to Falkenberg, Sweden. The probability that it rains on any one of those days is 0.3 What is the probability that it rains during exactly 3 of those 7 days?
- A factory produces bolts that are then sold to car manufacterers. The manufacturing process is such that 1 in 50 chance that their machine produces a faulty bolt (that they can’t sell) and given that the production of each bolt doesn’t affect the production of any other bolt, what is the probability of there being exactly five faulty bolts if they manufacture 200 of them?
- 8 students sit a highly advanced mathematics test. The probability that a student scores above 80% is 0.1. What is the probability that exactly 4 of the 8 students score higher than \(80 \%\) ?
- James likes to play darts. When he plays, on each throw there is a \(20 \%\) chance that he hits a bullseye. He throws 10 darts in a row. What is the probability that he hits exactly 8 bullseyes?
- The process with which a famous smartphone company has its phones manufactured is such such that the probability of a phone being faulty is 0.03. In an hour 100 phones are manufactured. What is the probability that exactly 4 of those phones are faulty?

Scan this QR-Code with your phone/tablet and view this page on your preferred device.

**Subscribe Now** and view all of our **playlists & tutorials**.