LightMySky

The Binomial Distribution

Count successes in a fixed number of independent trials that each have the same probability. The number of arrangements times the probability of one arrangement gives each term.

Start learning thisNo account needed. Progress saves in this browser.

What a learner can do afterwards

  • Check the four conditions before choosing a binomial model
  • Calculate probabilities for an exact success count and related events
  • Explain dependence in multiple draws without replacement from a mixed finite population

1 · Read

You used the product rule to count lunches and distributions to describe payouts. Now let X count wins in a book of 10 coconut-shy goes. Assume the results are independent and every go has win probability 0.2. A binomial model describes this count. It needs fixed trials, success or not on each trial, constant success probability and independence. Knowing the success count beforehand is not a condition.

WWWMMMMMMM
W means win and M means miss. This is one ordered result with three wins among ten goes.

Check the four conditions separately. Trials may have several physical outcomes grouped as success or not, such as six or not-six on a die. Resetting a stall does not prove constant probability or independence: learning, fatigue or different players may change its chances. A calculation can return a number when conditions fail. Check whether it is an exact model or a useful approximation.

fixed trial countsuccess or notconstant pindependent results

For n independent trials, let p be the success probability and r the success count. One ordered result has probability p^r × (1-p)^(n-r). In our book, WWWMMMMMMM has probability 0.2³ × 0.8⁷ = 0.0016777216. Every order with three wins uses the same factors, so it has the same probability. Independence allows multiplication; constant p makes the factors match.

0.2³ = 0.0080.8⁷ = 0.2097152product = 0.0016777216
This gives one arrangement's probability. Exactly three wins can occur in many arrangements.
Try it together

Choose the three winning positions. Ordered selections give 10 × 9 × 8 = 720. Each set appears in 3 × 2 × 1 = 6 orders, so there are 720/6 = 120 arrangements. For any success count, divide ordered selections by the orderings of the selected positions. Choosing successes also fixes failures. The arrangements cannot occur together, so add their equal probabilities: P(X = 3) = 120 × 0.0016777216 = 0.201326592.

720 ordered selections÷ 6 orders per set120 arrangements

Count distinct arrangements, then multiply by the probability of one arrangement.

A drum holds 20 tickets, including 5 winners. Draw three uniformly without replacement. The second win chance is 4/19 after a win but 5/19 after a miss, showing dependence. Before seeing earlier results, each draw still has marginal win probability 5/20. Returning each ticket and mixing thoroughly before a fresh uniform draw gives independent draws with the same win probability.

first draw: 5/20after win: 4/19after miss: 5/19

Write X ~ B(n,p) for this binomial count. C(n,r), read 'n choose r', counts sets of r positions among n. Then P(X = r) = C(n,r) × p^r × (1-p)^(n-r). C(n,0) = C(n,n) = 1. Multiply the count by one arrangement's probability; adding the count to a probability does not total the alternatives. Define success first: when counting misses, p must be the miss probability.

Equal marginal probabilities do not prove independence. Toss one fair coin and copy its result into six positions. Each entry has head probability 0.5, but learning one entry reveals every other entry. The head count is only 0 or 6, unlike B(6,0.5). Independence requires earlier results to leave the probabilities of later results unchanged.

HHHHHHor TTTTTThead count: 6 or 0

There is one all-success arrangement and one no-success arrangement. Their probabilities are p^n and (1-p)^n. At least one success is the complement of no successes, so P(X ≥ 1) = 1 - (1-p)^n. With n = 1, the complete distribution is P(X = 0) = 1-p and P(X = 1) = p.

no successes: (1-p)^ncomplementat least one: 1-(1-p)^n

Arrangement counts are symmetric because selecting successes also selects the remaining failures. Consecutive counts have ratio C(n,r+1)/C(n,r) = (n-r)/(r+1), so they rise while this ratio exceeds 1. For even n, the middle count r = n/2 is largest; for odd n, the two middle counts tie. This is about arrangement counts, not necessarily the most likely count when p differs from 0.5.

r = 01r = 16r = 215r = 320

For six trials, the remaining counts mirror these: 15, 6, 1. The middle count is largest.

Multiple uniform draws without replacement from a mixed finite population are dependent. A binomial can approximate the count when the sample is small relative to the population; check accuracy for the event needed. Exceptions include a single draw, which gives B(1,p), and all-success or all-nonsuccess populations, whose counts match B(n,1) or B(n,0).

Check fixed trials, two outcome categories, constant p and independence. Multiply the arrangement count by p^r(1-p)^(n-r). Draws without replacement from a mixed population are dependent.

Lesson, practice questions and flashcards written for Marble.

Supplementary readings, questions and flashcards written for Marble. Linked videos by Khan Academy: Binomial probability example, Free throw binomial probability distribution, and Binompdf and binomcdf functions.

More to read

Choose the category before choosing p

A success is the outcome category you decide to count. It need not mean winning a prize. If you roll a fair die and count sixes, success means six and p = 1/6. If you count not-sixes, success means any other face and p = 5/6.

The die has six physical outcomes, but either count groups them into two categories. A binomial model also needs a fixed number of trials, independence and the same probability for the counted category on every trial.

Write X ~ B(n,p), where X is the success count. Its possible counts run from 0 to n. With just one trial, the distribution has two entries: P(X = 0) = 1-p and P(X = 1) = p.

A constant-looking setup does not establish every assumption. A player may learn or tire during repeated attempts. Decide what the model assumes before using its probabilities.

One order or every matching order?

Suppose four independent trials each have success probability 0.6. The exact order success, nonsuccess, nonsuccess, success has probability 0.6 × 0.4 × 0.4 × 0.6 = 0.0576. Every position was specified, so this is the whole answer for that exact order.

Exactly two successes includes several orders. Select two success positions: 4 × 3 gives 12 ordered selections. Each pair appears twice, so there are six distinct arrangements. Each has probability 0.0576. Add their probabilities by multiplying: 6 × 0.0576 = 0.3456.

In general, C(n,r) counts the possible sets of success positions. The exact-count probability is C(n,r) × p^r × (1-p)^(n-r).

Some questions are shorter through a complement. At least one success includes everything except no successes. Calculate (1-p)^n for no successes and subtract it from 1.

What earlier results tell you

A jar has 12 counters, including 4 red counters. Draw two uniformly without replacement. After a red first draw, the next red chance is 3/11. After a nonred first draw, it is 4/11. Knowing the first result changes the chance assigned to the second result. The draws are dependent.

Before either result is known, each draw has marginal red probability 4/12. Equal marginal probabilities therefore do not prove independence. Returning the counter and mixing thoroughly before a fresh uniform draw restores independent draws with the same red probability.

Without replacement, a small sample from a much larger population may have a useful binomial approximation. Its suitability depends on the event and the accuracy required.

Some counts are constant. If every counter is red, the red count in n draws is always n, matching B(n,1). If none is red, it is always zero, matching B(n,0). A single draw also gives a binomial count, B(1,p).

Explore more

2 · Watch

3 · Play

You counted lunches with the product rule. At the coconut shy, a book buys 10 goes and X counts the wins.

Which assumptions allow a binomial model for X?

  • Resetting the stall proves that the results are independent and the chance stays fixed

    Resetting keeps the physical setup alike, but a player's learning or fatigue could still change the chance. Independence and constant probability need separate checks.

  • Each go is win or miss, with win probability 0.2, and the ten results are independent (The answer)

    The book fixes ten trials. These assumptions supply the two categories, constant probability and independence.

  • The book's total number of wins is known before any of its ten goes are played

    Knowing the count beforehand is not a binomial condition. X is the count being modelled.

For this book, assume independent results and win probability 0.2 on every go.

Take the exact order shown. W means win and M means miss.

What is the probability of this ordered result?

WWWMMMMMMM
  • 0.2³ × 0.8⁷ = 0.0016777216 (The answer)

    Multiply three win probabilities and seven miss probabilities. Independence allows this product.

  • 0.2 × 3 + 0.8 × 7 = 6.2

    This sum is above 1, so it cannot be the probability of the specified result. The ten required outcomes contribute factors to multiply.

  • 0.2³ = 0.008

    This includes the three wins but omits the seven required misses. Include their seven factors of 0.8.

Every order with three wins has the same probability because it uses the same factors.

To count arrangements, first select three different winning positions in order from the ten positions.

How many ordered selections are there?

  • 10 + 9 + 8 = 27

    All three selections must be made. The product rule multiplies the option counts at these successive stages.

  • 10 × 10 × 10 = 1000

    A position cannot be selected twice. Each selection leaves one fewer available position.

  • 10 × 9 × 8 = 720 (The answer)

    There are ten choices, then nine, then eight. Multiplying gives 720 ordered selections.

Different selection orders can still name the same set of winning positions.

Dee treats all 720 selections as distinct arrangements. Selecting positions 2, 5 and 9 in a different order still names the same winning positions.

How many selection orders name each set of three positions?

2,5,92,9,55,2,95,9,29,2,59,5,2
  • Six, from 3 × 2 × 1 (The answer)

    Each set appears six times in 720. Divide by six to obtain 120 distinct arrangements.

  • Three, because the set has three positions

    Each of the three possible first positions leaves two next choices. That gives 3 × 2 × 1 = 6 orders.

  • Ten, because the book has ten goes

    Only the three selected positions are being reordered. Their six orders do not depend on the seven unselected positions.

There are 720/6 = 120 arrangements with exactly three wins.

One arrangement has probability 0.0016777216. There are 120 arrangements, and a book can have only one of these orders.

What is P(X = 3)?

  • 120 + 0.0016777216

    The count is not another probability to add. Add 120 copies of the arrangement probability by multiplying.

  • 0.0016777216 / 120

    The event includes all 120 arrangements. Dividing would make it less likely than one of its arrangements.

  • 120 × 0.0016777216 = 0.201326592 (The answer)

    The alternatives have equal probabilities, so multiply one probability by their count. The result is about 20.13%.

This is the chance of exactly three wins, not at least three wins.

You counted winning-position sets and combined their probabilities to find the chance of three wins in one book.

  • Check fixed trials, two outcome categories, constant probability and independence
  • For one order, multiply the success and nonsuccess probabilities
  • Divide ordered selections by the orderings of each selected set
  • Multiply the distinct arrangement count by one arrangement's probability

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Where this leads

Then practise

30 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Start learning this