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.

No 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

به انگلیسی
step 1 of 6

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?

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

Jobs that lean on this skill. Follow one to see everything it is built on.

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.

Spotted a problem on this page? Tell us
The Binomial Distribution · Mathematics, ages 16 to 17 · LightMySky