# Binomial distribution

## All in One PlaceEverything you need for better grades in university, high school and elementary. | ## Learn with EaseMade in Canada with help for all provincial curriculums, so you can study in confidence. | ## Instant and Unlimited HelpGet the best tips, walkthroughs, and practice questions. |

#### Make math click 🤔 and get better grades! 💯Join for Free

0/3

##### Intros

0/10

##### Examples

###### Lessons

- Identify which of the following experiments below are binomial distributions?

i. A fair die is rolled 4 times. What is the probability of the one coming up 2 times?

ii. A fair coin is flipped until head comes up 7 times. What is the probability that the coin will be flipped 10 times?

iii. 1,000,000 nails are produced in a factory a day. If each nail has a probability of 0.5% of being defective (something being wrong with that nail), then what is the probability that less than 50 nails will be defective in a day?

iv. Roughly 7.5% of Canadians have some form of heart disease. If 100 Canadians are sampled what is the probability that 10 of them will have heart disease?

v. If 5 cards are drawn from a deck, what is the probability that 2 of them will be hearts?

vi. If a fair die is rolled 8 times, what is the probability of getting 2 fours and 3 sixes?

- An urn contains 6 red balls and 4 green balls. A total of 5 balls are drawn; list all the different combinations of red balls that can be drawn in each of the following cases:

i. A total of 3 green balls are drawn

ii. At most 3 red balls are drawn

iii. At least 2 red balls are drawn

iv. Less than 4 red balls are drawn

v. More than 3 green balls are drawn

- A die is rolled 3 times, what is the probability that a four is rolled exactly 2 times?
- A coin is flipped 20 times, what is the probability that the coin comes up heads 15 times?
- Jimmy the Joker is an unfair gambler. He weights a die so it rolls a "6" with 75% chance. He then bets that if he rolls his die 4 times he will roll six exactly 3 times. What is his probability of winning this bet?
- Thomas is packing for a trip and wants to bring some stuffed animals along for comfort. He owns 8 stuffed animals, and will pack each stuffed animals independently of all the others with a probability of 30%. Determine the probability that he takes;

###### Free to Join!

StudyPug is a learning help platform covering math and science from grade 4 all the way to second year university. Our video tutorials, unlimited practice problems, and step-by-step explanations provide you or your child with all the help you need to master concepts. On top of that, it's fun — with achievements, customizable avatars, and awards to keep you motivated.

#### Easily See Your Progress

We track the progress you've made on a topic so you know what you've done. From the course view you can easily see what topics have what and the progress you've made on them. Fill the rings to completely master that section or mouse over the icon to see more details.#### Make Use of Our Learning Aids

#### Earn Achievements as You Learn

Make the most of your time as you use StudyPug to help you achieve your goals. Earn fun little badges the more you watch, practice, and use our service.#### Create and Customize Your Avatar

Play with our fun little avatar builder to create and customize your own avatar on StudyPug. Choose your face, eye colour, hair colour and style, and background. Unlock more options the more you use StudyPug.

###### Topic Notes

###### Table of Contents:

- What is a binomial distribution
- How to do binomial distribution
- When to use binomial distribution
- Binomial distribution examples and solutions
- Example 1
- Example 2
- Example 3
- Example 4

## What is a binomial distribution

A binomial probability distribution is that which can have only two possible outcomes: either a success or a failure. This type of probability distribution is discrete and shows the possible results to occur in a series of finite experiments where the answers are yes or no (did the expected outcome happened? Or did it not?), also referred as success or failure, true or false, and the values of one (for the occurrence to happen) or zero (for the occurence not happening).

Although the binomial distribution definition may sound a bit complicated in comparison with the distributions that we have studied before, it is actually quite simple since the possible outcomes are enclosed in two possible options.

## How to do binomial distribution

The general probability formula of a binomial distribution (which can be sometimes simply referred as the binomial distribution formula), is defined as follows:

Where:

$n$ = number of trials

$x$ = number of successes in $n$ trials

$p$ = probability of success in each trial

$_{n}C_{x} =$ $\large \frac{n!}{x!(n-x)!}$ = number of success outcome

$P(x)$ = probability of getting $x$ successes out of $n$ trials

## When to use binomial distribution

When studying a discrete random variable $x$ and it has a binomial distribution we are looking for the number of successes in a certain amount of trials. In order to be sure that our statistical experiment is based on such a discrete distribution, there are a few conditions it must meet:

- The experiment has a fixed number of trials.And so, the value of $n$ is defined.
- Each trial has only two possible outcomes, the result is either a success or a failure.
- The probability of success for each individual trial is equal.

This last condition is the result of what we call running the trials with replacement, meaning that all of the possible outcomes of the first attempt, are kept for the second, third and nth attempt. No matter how many trials are run, every single one has the same amount and equal possible outcomes, meaning that its probability of success remains the same throughout all of the trials.

In the example problem one on the next section, you will use these three conditions in order to know if each case describes a binomial distribution, or not; therefore, it is important you understand them and remember them since similar conditions will be used in other discrete probability distribution types.

## Binomial distribution examples and solutions

### Example 1

Identify which of the following experiments below are binomial distributions? For this, remember what a binomial distribution must contain:- The experiment has a fixed number of trials. And so, the value of $n$ is defined.
- Each trial has only two possible outcomes, the result is either a success or a failure.
- The probability of success for each individual trial is equal.
- The number of successes you want to obtain in those trials
- The purpose is always focused on the question of if I do a particular number of experiment trials, what is the probability to obtain this certain amount of successes?

Where the first three points are the conditions established in our last section. Therefore, with this in mind, identify the binomial distributions!

1. $\quad$

This experiment describes a binomial distribution because you can have two outcomes, either is a one, or is not a one coming from the die, providing the bases for what is a success and what is a failure in this case. Then, it asks you about the probability of obtaining two successes in two out of the four total trials. Therefore, this experiment has all the characteristics of a binomial distribution.
**A fair die is rolled 4 times. What is the probability of the one coming up 2 times?**2. $\quad$

The question of this experiment is focussed on finding how many times you will need to flip a coin in order to obtain 7 successes. Therefore, there is a lack of determined trials to obtain the results we want and so, this experiment is not a binomial distribution. Notice though, that most of the elements of the binomial distribution are there, except for a kind of reversed question, this is because this is an example of a negative binomial distribution, we will talk about these in a later lesson.
**A fair coin is flipped until head comes up 7 times. What is the probability that the coin will be flipped 10 times?**3. $\quad$

In here we have 1,000,000 trials, with a specific probability of those trials to be either a success or a failure and then the final question asks about the probability to obtain a certain amount of successes. Therefore, this seems to contain all of the characteristics of a binomial distribution example.
**1,000,000 nails are produced in a factory a day. If each nail has a probability of 0.5% of being defective (something being wrong with that nail), then what is the probability that less than 50 nails will be defective in a day?**4. $\quad$

Definitely a binomial distribution experiment since it asks if I do a particular number of experiment trials, what is the probability to obtain this certain amount of successes?
**Roughly 7.5% of Canadians have some form of heart disease. If 100 Canadians are sampled what is the probability that 10 of them will have heart disease?**5. $\quad$

This is a non-binomial distribution experiment because each time a card is drawn, the probability of a success changes.
**If 5 cards are drawn from a deck, what is the probability that 2 of them will be hearts?**6. $\quad$

This is a non-binomial experiment since there are more possible outcomes than two well defined as either success or failure. In other words, this experiment is trying to focus in two different types of successes instead of either success or failure.
**If a fair die is rolled 8 times, what is the probability of getting 2 fours and 3 sixes?**### Example 2

A die is rolled 3 times, what is the probability that a four is rolled exactly 2 times? On this case we have that: $n=3, x=2$, and $p= \frac{1}{6}$. Therefore, using the binomial probability distribution formula from equation 1 we compute:And so, the probability of rolling a four exactly twice during 3 attempts is 0.06944.

### Example 3

A coin is flipped 20 times, what is the probability that the coin comes up heads 15 times?On this case we have that: $n=20, x=15$, and $p= \frac{1}{2}$. Therefore, we compute:

And so, the probability of obtaining heads 15 times during the experiment where a coin is flipped for 20 times is approximately P(15) = 0.148.

### Example 4

Thomas is packing for a trip and wants to bring some stuffed animals along for comfort. He owns 8 stuffed animals, and will pack each stuffed animal independently of all the others with a probability of 30%. Determine the probability that he takes;- 0 stuffed animals along with him.

For this scenario we have that: $n=8, x=0$, and $p = \frac{3}{10}$ = 0.3 or 30%.

- 1 stuffed animal with him

For this scenario we have that: $n=8, x=1$, and p = \fra{3}{10} = 0.3 or 30%.

- at most two animals along with him

For this scenario we have that: $n = 8, x \leq 2$, and $p = \frac{3}{10} =$ 0.3 or 30%.

On this case we have to add the probabilities of Thomas packing 0, 1 and 2 stuffed animals.

We already have the first two numbers, therefore we calculate the probability of him taking two stuffed animals with him:

And now we add all of the probabilities mentioned to obtain our final result:

- at most 5 animals along with him

For this scenario we have that: $n = 8, x \leq 5$, and $\, p = \frac{3}{10} =$ 0.3 or 30%.

On this case we have to add the probabilities of Thomas packing 0, 1 and 2, 3, 4 and 5 stuffed animals.

We already have the first three numbers, therefore we calculate the probability of him taking 3, 4 and 5 stuffed animals with him:

And now we add all of the probabilities mentioned to obtain our final result:

- at least 6 animals along with him

For this scenario we have that: $n=8, x \geq 6$, and $\, p = \frac{3}{10}$= 0.3 or 30%.

If we think about it, the probability of Thomas taking at least 6 animals with him must be the addition of the probability of him taking 6, 7 and 8 animals:

We could do all that extensive calculation, OR, we could notice that this should be the same as the difference between the 100% probability of Thomas taking from zero to all of his stuffed animals, and the probability we just calculated of him taking 5 stuffed animals at the most. And so, we follow through with this second approach, since the probability that Thomas brings with him from 0 to 8 stuffed animals, is the 100% which is equivalent to a value of 1, we have that:

The topic of the binomial distribution is extensive, so, on our next lessons you will continue to see subtopics of this same discrete probability distribution. For example, our next lesson will expand the topic to include the definitions for the mean and the standard deviation of binomial distribution along with some examples, where you will see that the calculation of the mean of a binomial distribution is so simple, yet it has a deep meaning tied to expectation; later, we will have a complete lesson dedicated to a negative binomial distribution example.

Thus, all is left to say is: get ready and see you in the next one!

$P(x)={_n}C_x \;P^x(1-p)^{n-x}$

$\cdot$ binomialpdf $(n,p,x)$

$\cdot$ binomialcdf $(n,p,x)$

*$n$: number of trials*

$x$: number of success in n trials

$p$: probability of success in each trial

$P(x)$: probability of getting $x$ successes (out of $n$ trials)$x$: number of success in n trials

$p$: probability of success in each trial

$P(x)$: probability of getting $x$ successes (out of $n$ trials)

$\cdot$ binomialpdf $(n,p,x)$

$\cdot$ binomialcdf $(n,p,x)$

###### Basic Concepts

2

videos

remaining today

remaining today

5

practice questions

remaining today

remaining today