Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Statistics

4.3 Binomial Distribution (Optional)

Statistics4.3 Binomial Distribution (Optional)

There are three characteristics of a binomial experiment:

  1. There are a fixed number of trials. Think of trials as repetitions of an experiment. The letter n denotes the number of trials.
  2. There are only two possible outcomes, called success and failure, for each trial. The outcome that we are measuring is defined as a success, while the other outcome is defined as a failure. The letter p denotes the probability of a success on one trial, and q denotes the probability of a failure on one trial. p + q = 1.
  3. The n trials are independent and are repeated using identical conditions. Because the n trials are independent, the outcome of one trial does not help in predicting the outcome of another trial. Another way of saying this is that for each individual trial, the probability, p, of a success and probability, q, of a failure remain the same. Let us look at several examples of a binomial experiment.

    Example 1: Toss a fair coin once and record the result.

    This is a binomial experiment since it meets all three characteristics. The number of trials n = 1. There are only two outcomes, a head or a tail, of each trial. We can define a head as a success if we are measuring number of heads. For a fair coin, the probabilities of getting head or tail are both .5. So, p = q − .5. Both p and q remain the same from trial to trial. This experiment is also called a Bernoulli trial, named after Jacob Bernoulli who, in the late 1600s, studied such trials extensively. Any experiment that has characteristics two and three and where n = 1 is called a Bernoulli trial. A binomial experiment takes place when the number of successes is counted in one or more Bernoulli trials.

    Example 2: Randomly guess a multiple choice question has A, B, C and D four options.

    This is a binomial experiment since it meets all three characteristics. The number of trials n = 1. There are only two outcomes, guess correctly or guess wrong, of each trial. We can define guess correctly as a success. For a random guess (you have no clue at all), the probability of guessing correct should be 1 4 1 4 because there are four options and only one option is correct. So, and p= 1 4 p= 1 4 and q=1p=1 1 4 = 3 4 q=1p=1 1 4 = 3 4 . Both p and q remain the same from trial to trial. This experiment is also a Bernoulli trial. It meets the characteristics two and three and n = 1.

    Example 3: Toss a fair coin five times and record the result.

    This is a binomial experiment since it meets all three characteristics. The number of trials n = 5. There are only two outcomes, head or tail, of each trial. If we define head as a success, then p = q = 0.5. Both p and q remain the same for each trial. Since n = 5, this experiment is not a Bernoulli trial although it meets the characteristics two and three.

    Example 4: Randomly guess 10 multiple choice questions in an exam. Each question has A, B, C and D four options.

    This is a binomial experiment since it meets all three characteristics. The number of trials n = 10. There are only two outcomes, guess correctly or guess wrong, of each trial. We can define guess correctly as a success. As we explained in example 2, p= 1 4 p= 1 4 and q=1p=1 1 4 = 3 4 q=1p=1 1 4 = 3 4 . Both p and q remain the same for each guess. Since n = 10, this experiment is not a Bernoulli trial.

    The next two experiments are not binomial experiments.

    Example 5: Randomly select two balls from a jar with five red balls and five blue balls without replacement. This means we select the first ball, and then without returning the selected ball into the jar, we will select the second ball.

    This is not a binomial experiment since the third characteristic is not met. The number of trials n = 2. There are only two outcomes, a red ball or a blue ball, of each trial. If we define selecting a red ball as a success, then selecting a blue ball is a failure. The probability of getting the first ball red is 5 10 5 10 since there are five red balls out of 10 balls. So, p= 5 10 p= 5 10 and  q=1p=1 5 10 = 5 10  q=1p=1 5 10 = 5 10 . However, p and q do not remain the same for the second trial. If the first ball selected is red, then the probability of getting the second ball red is 4 9 4 9 since there are only four red balls out of nine balls. But if the first ball selected is blue, then the probability of getting the second ball red is 5 9 5 9 since there are still five red balls out of nine balls.

    Example 6: Toss a fair coin until a head appears.

    This is not a binomial experiment since the first characteristic is not met. The number of trials n is not fixed. n could be 1 if a head appears from the first toss. n could be 2 if the first toss is a tail and the second toss is a head. So on and so forth.

    More examples of binomial and non-binomial experiments will be discussed in this section later.

The outcomes of a binomial experiment fit a binomial probability distribution. The random variable X = the number of successes obtained in the n independent trials.

There are shortcut formulas for calculating mean μ, variance σ2, and standard deviation σ of a binomial probability distribution. The formulas are given as below. The deriving of these formulas will not be discussed in this book.

μ=np, σ 2 =npq,σ= npq . μ=np, σ 2 =npq,σ= npq .

Here n is the number of trials, p is the probability of a success, and q is the probability of a failure.

Example 4.8

At ABC High School, the withdrawal rate from an elementary physics course is 30 percent for any given term. This implies that, for any given term, 70 percent of the students stay in the class for the entire term. The random variable X = the number of students who withdraw from the randomly selected elementary physics class. Since we are measuring the number of students who withdrew, a success is defined as an individual who withdrew.

Try It 4.8

The state health board is concerned about the amount of fruit available in school lunches. Forty-eight percent of schools in the state offer fruit in their lunches every day. This implies that 52 percent do not. What would a success be in this case?

Example 4.9

Suppose you play a game that you can only either win or lose. The probability that you win any game is 55 percent, and the probability that you lose is 45 percent. Each game you play is independent. If you play the game 20 times, write the function that describes the probability that you win 15 of the 20 times. Here, if you define X as the number of wins, then X takes on the values 0, 1, 2, 3, . . ., 20. The probability of a success is p = 0.55. The probability of a failure is q = .45. The number of trials is n = 20. The probability question can be stated mathematically as P(x = 15). If you define X as the number of losses, then a success is defined as a loss and a failure is defined as a win. A success does not necessarily represent a good outcome. It is simply the outcome that you are measuring. X still takes on the values of 0, 1, 2, 3, . . ., 20. The probability of a success is p=.45 p=.45 . The probability of a failure is q=.55 q=.55 .

Try It 4.9

A trainer is teaching a dolphin to do tricks. The probability that the dolphin successfully performs the trick is 35 percent, and the probability that the dolphin does not successfully perform the trick is 65 percent. Out of 20 attempts, you want to find the probability that the dolphin succeeds 12 times. State the probability question mathematically.

Example 4.10

Problem

A fair coin is flipped 15 times. Each flip is independent. What is the probability of getting more than 10 heads? Let X = the number of heads in 15 flips of the fair coin. X takes on the values 0, 1, 2, 3, . . ., 15. Since the coin is fair, p = .5 and q = .5. The number of trials n = 15. State the probability question mathematically.

Try It 4.10

A fair, six-sided die is rolled 10 times. Each roll is independent. You want to find the probability of rolling a one more than three times. State the probability question mathematically.

Example 4.11

Approximately 70 percent of statistics students do their homework in time for it to be collected and graded. Each student does homework independently. In a statistics class of 50 students, what is the probability that at least 40 will do their homework on time? Students are selected randomly.

Problem

a. This is a binomial problem because there is only a success or a ________, there are a fixed number of trials, and the probability of a success is .70 for each trial.

Problem

b. If we are interested in the number of students who do their homework on time, then how do we define X?

Problem

c. What values does x take on?

Problem

d. What is a failure, in words?

Problem

e. If p + q = 1, then what is q?

Problem

f. The words at least translate as what kind of inequality for the probability question P(x ____ 40)?

Try It 4.11

Sixty-five percent of people pass the state driver’s exam on the first try. A group of 50 individuals who have taken the driver’s exam is randomly selected. Give two reasons why this is a binomial problem.

Notation for the Binomial: B = Binomial Probability Distribution Function

X ~ B(n, p)

Read this as X is a random variable with a binomial distribution. The parameters are n and p: n = number of trials, p = probability of a success on each trial.

Example 4.12

It has been stated that about 41 percent of adult workers have a high school diploma but do not pursue any further education. If 20 adult workers are randomly selected, find the probability that at most 12 of them have a high school diploma but do not pursue any further education. How many adult workers do you expect to have a high school diploma but do not pursue any further education?

Let X = the number of workers who have a high school diploma but do not pursue any further education.

X takes on the values 0, 1, 2, . . ., 20 where n = 20, p = .41, and q = 1 – .41 = .59. X ~ B(20, .41)

Find P(x ≤ 12). There is a formula to define the probability of a binomial distribution P(x). We can use the formula to find P(x12) P(x12) . But the calculation is tedious and time consuming, and people usually use a graphing calculator, software, or binomial table to get the answer. Use a graphing calculator, you can get P(x12)=.9738 P(x12)=.9738 . The instruction of TI-83, 83+, 84, 84+ is given below.

Using the TI-83, 83+, 84, 84+ Calculator

Go into 2nd DISTR. The syntax for the instructions are as follows:

To calculate the probability of a value P(x=value) P(x=value) : use binompdf(n, p, number). Here binompdf represents binomial probability density function. It is used to find the probability that a binomial random variable is equal to an exact value. n is the number of trials, p is the probability of a success, and number is the value. If number is left out, which means use binompdf(n, p), then all the probabilities P( x=0 ),P( x=1 ),,P( x=n ) P( x=0 ),P( x=1 ),,P( x=n ) will be calculated.

To calculate the cumulative probability P(xvalue) P(xvalue) : use binomcdf(n, p, number). Here binomcdf represents binomial cumulative distribution function. It is used to determine the probability of at most type of problem, the probability that a binomial random variable is less than or equal to a value. n is the number of trials, p is the probability of a success, and number is the value. If number is left out, all the cumulative probabilities P( x0 ),P( x1 ),,P( xn ) P( x0 ),P( x1 ),,P( xn ) will be calculated.

To calculate the cumulative probability P(xvalue) P(xvalue) : use 1 - binomcdf(n, p, number). n is the number of trials, p is the probability of a success, and number is the value. TI calculators do not have a built-in function to find the probability that a binomial random variable is greater than a value. However, we can use the fact that P( x>value )=1P( xvalue ) P( x>value )=1P( xvalue ) to find the answer.

For this problem: After you are in 2nd DISTR, arrow down to binomcdf. Press ENTER. Enter 20,.41,12). The result is P(x ≤ 12) = .9738.

NOTE

If you want to find P(x = 12), use the pdf (binompdf). If you want to find P(x > 12), use 1 − binomcdf(20,.41,12).

The probability that at most 12 workers have a high school diploma but do not pursue any further education is .9738.

The graph of X ~ B(20, .41) is as follows.

This is a probability distribution histogram, graphing X ~ B(20, .41)

The previous graph is called a probability distribution histogram. It is made of a series of vertical bars. The x-axis of each bar is the value of X = the number of workers who have only a high school diploma, and the height of that bar is the probability of that value occurring.

The number of adult workers that you expect to have a high school diploma but not pursue any further education is the mean, μ = np = (20)(.41) = 8.2.

The formula for the variance is σ2 = npq. The standard deviation is σ = npq npq .
σ = ( 20 )( .41 )( .59 ) ( 20 )( .41 )( .59 ) = 2.20.

The following is the interpretation of the mean μ=8.2 μ=8.2 and standard deviation σ=2.20 σ=2.20 :

If you randomly select 20 adult workers, and do that over and over, you expect around eight adult workers out of 20 to have a high school diploma but do not pursue any further education on average. And you expect that to vary by about two workers on average.

Try It 4.12

About 32 percent of students participate in a community volunteer program outside of school. If 30 students are selected at random, find the probability that at most 14 of them participate in a community volunteer program outside of school. Use the TI-83+ or TI-84 calculator to find the answer.

Example 4.13

Problem

A store releases a 560-page art supply catalog. Eight of the pages feature signature artists. Suppose we randomly sample 100 pages. Let X = the number of pages that feature signature artists.

  1. What values does x take on?
  2. What is the probability distribution? Find the following probabilities:
    1. the probability that two pages feature signature artists
    2. the probability that at most six pages feature signature artists
    3. the probability that more than three pages feature signature artists
  3. Using the formulas, calculate the (i) mean and (ii) standard deviation.

Try It 4.13

According to a poll, 60 percent of American adults prefer saving over spending. Let X = the number of American adults out of a random sample of 50 who prefer saving to spending.

  1. What is the probability distribution for X?
  2. Use your calculator to find the following probabilities:
    1. The probability that 25 adults in the sample prefer saving over spending
    2. The probability that at most 20 adults prefer saving
    3. The probability that more than 30 adults prefer saving
  3. Using the formulas, calculate the (i) mean and (ii) standard deviation of X.

Example 4.14

The lifetime risk of developing a specific disease is about 1 in 78 (1.28 percent). Suppose we randomly sample 200 people. Let X = the number of people who will develop the disease.

Problem

  1. What is the probability distribution for X?
  2. Using the formulas, calculate the (i) mean and (ii) standard deviation of X.
  3. Use your calculator to find the probability that at most eight people develop the disease.
  4. Is it more likely that five or six people will develop the disease? Justify your answer numerically.

Try It 4.14

During the 2013 regular basketball season, a player had the highest field goal completion rate in the league. This player scored with 61.3 percent of his shots. Suppose you choose a random sample of 80 shots made by this player during the 2013 season. Let X = the number of shots that scored points.

  1. What is the probability distribution for X?
  2. Using the formulas, calculate the (i) mean and (ii) standard deviation of X.
  3. Use your calculator to find the probability that this player scored with 60 of these shots.
  4. Find the probability that this player scored with more than 50 of these shots.

Example 4.15

The following example illustrates a problem that is not binomial. It violates the condition of independence. ABC High School has a student advisory committee made up of 10 staff members and six students. The committee wishes to choose a chairperson and a recorder. What is the probability that the chairperson and recorder are both students? The names of all committee members are put into a box, and two names are drawn without replacement. The first name drawn determines the chairperson and the second name the recorder. There are two trials. However, the trials are not independent because the outcome of the first trial affects the outcome of the second trial. The probability of a student on the first draw is 6 16 6 16 because there are six students out of 16 members (10 staff members + six students). If the first draw selects a student, then the probability of a student on the second draw is 5 16 5 16 because there are only five students out of 15 members. If the first draw selects a staff member, then the probability of a student on the second draw is 6 15 6 15 because there are still six students out of 15 members. The probability of drawing a student's name changes for each of the trials and, therefore, violates the condition of independence.

Try It 4.15

A lacrosse team is selecting a captain. The names of all the seniors are put into a hat, and the first three that are drawn will be the captains. The names are not replaced once they are drawn (one person cannot be two captains). You want to see if the captains all play the same position. State whether this problem is binomial or not and state why.

Order a print copy

As an Amazon Associate we earn from qualifying purchases.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute Texas Education Agency (TEA). The original material is available at: https://www.texasgateway.org/book/tea-statistics . Changes were made to the original material, including updates to art, structure, and other content updates.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/statistics/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/statistics/pages/1-introduction
Citation information

© Jan 23, 2024 Texas Education Agency (TEA). The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.