UPI Study › Courses › Discrete Mathematics › Free lessons › Lesson 8.2 Free with a free account
The Binomial Probability Formula
Discrete Mathematics · Chapter 8: Binomial Probability, Recurrence Relations, and Generating FunctionsSection 8.2 · lesson 47 of 878 min · free with a free account
Free preview
Create a free account to keep watching
It takes a minute and costs nothing. Your free account unlocks all of Chapter 1 and 3 more lessons of Discrete Mathematics.
Lesson complete
Earn the 4 college credits for Discrete Mathematics
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Solving Binomial Probability Problems →← Binomial Experiments and Their ConditionsNext lesson: Solving Binomial Probability Problems →
In this lesson
Why it has exactly the shape it does - one piece at a time.
- Count the arrangements with exactly k successes
- Find the probability of 1 specific sequence
- Assemble the formula with the addition rule
- Read what each factor contributes
Transcript
Everything said in the video, section by section (1,091 words). Read along, or search it.
Binomial Probability, Recurrence Relations, and Generating Functions
The Binomial Probability Formula
Section eight point one established when an experiment is binomial. This section derives the formula for binomial probabilities. It's one of the most heavily used formulas in discrete probability. And it rests on nothing more than counting, and the multiplication rule for independent events. The goal is to understand exactly why it has the shape it does, one piece at a time.
The Opening Problem
Clean Posts, Wrongly Flagged
An automated moderation system reviews social media posts with a trained classifier, flagging posts that appear to break platform policy. Suppose that on posts known to be fully compliant, it still wrongly flags them at a steady rate of about one in ten. We'll use p equal to zero point one as an illustrative figure. Each post is scored on its own, so whether one clean post gets flagged has no bearing on the next. If a batch of n compliant posts goes through, what's the probability that exactly k of them are wrongly flagged? Section eight point three applies the answer to realistic batch sizes. Here, the goal is the formula itself.
Definitions 8.2.1 and 8.2.2
Bernoulli Trials, Independently Repeated
Two definitions pin the experiment down. A Bernoulli trial has exactly two outcomes, success and failure, with a fixed probability of success, p. And trials are independent if no outcome affects the probability of any other. Then the probability that all of them happen is the product of their individual probabilities. Here, a success is a wrong flag, the outcome being counted, even though it's an error. Let X be the number of successes among n independent trials. X isn't a probability. It's a count, from zero to n. To keep every step explicit, use a small case. Three posts, p of zero point one, and a target of exactly two.
8.2.2 Counting the Arrangements
8 Sequences, 3 With 2 Successes
First, count the arrangements. Each of three trials resolves to success or failure, so there are two cubed, eight outcome sequences. Counting the successes in each, exactly three sequences have precisely two. Success, success, failure. Success, failure, success. And failure, success, success. That count also follows directly. Choosing which two of the three positions hold the successes determines the whole sequence. The number of ways to make that choice is three choose two, which is three. In general, a sequence of n trials with exactly k successes is fixed by choosing the k success positions. That's n choose k.
Worked Example 8.2.B
1 Specific Sequence
Now fix one specific sequence. Success, failure, success. Because the trials are independent, its probability is the product of the three trial probabilities. p, times one minus p, times p. That's p squared times one minus p. With p equal to zero point one, that's zero point one, times zero point nine, times zero point one. Zero point zero zero nine. Check the other two sequences with two successes. Each is also zero point zero zero nine. That's no coincidence. Any product of two factors of p and one factor of one minus p is the same, in whatever order the factors appear.
8.2.3 The Shared Probability
Every k-Success Sequence Weighs the Same
That generalizes directly. Any specific sequence of n independent trials, with k successes and n minus k failures, has probability p to the k, times one minus p to the n minus k. There are k factors of p, and n minus k factors of one minus p. And because multiplication doesn't depend on order, it's the same value for every one of the n choose k sequences, wherever the successes fall.
8.2.4 Assembling the Formula
Add the Sequences - They Can't Overlap
Now assemble the pieces. There are n choose k sequences with exactly k successes, and each has the same probability. The event X equals k is the union of all of those sequences. A single run of n trials produces exactly one outcome sequence. So two different sequences can't both occur. They're mutually exclusive. That means the addition rule applies. The probability of X equals k is the sum of n choose k identical terms. That gives the binomial probability formula. The probability of exactly k successes is n choose k, times p to the k, times one minus p to the n minus k. It holds when all four conditions from section eight point one are met. A fixed n, two outcomes per trial, a constant p, and independence.
Worked Example 8.2.C
Exactly 2 of 3 Posts Flagged
Back to the batch of three posts. The probability that exactly two are wrongly flagged is three choose two, times zero point one squared, times zero point nine. That's three times zero point zero one times zero point nine, which is zero point zero two seven. The whole derivation is a count of arrangements, times the shared probability of any one arrangement. And the addition rule justifies it, because the arrangements can't overlap.
Figure 8.2.1
The Whole Tree, n = 3, p = 0.1
This tree shows all eight possible sequences as paths. A success branch has probability zero point one, and a failure branch zero point nine. Each leaf's probability is the product of the branches on its path. The three highlighted leaves are the sequences with exactly two successes. Each is zero point zero zero nine. Adding them gives zero point zero two seven, matching the formula exactly.
Table 8.2.1
Anatomy of the Formula
This table breaks the formula into its three factors. n choose k counts the sequences with exactly k successes. It comes from counting arrangements. p to the k is the probability contributed by the successful trials, and one minus p to the n minus k by the failed ones. Both come from the multiplication rule for independent trials. Notice how each behaves if k and n minus k swap. n choose k stays the same. The other two factors generally don't. And n choose k is a count, not a probability. It only becomes part of one once it's multiplied by the shared probability.
Takeaways
Count, Multiply, Add
To summarize. Every sequence with exactly k successes among n independent trials has the same probability, wherever the successes fall. That probability is p to the k, times one minus p to the n minus k. n choose k counts those sequences. And the probability of exactly k successes is a sum of that many identical terms, valid because the sequences are mutually exclusive. The formula needs all four conditions at once. A fixed n, two outcomes, a constant p, and independence. Here's something to think about. Three choose one and three choose two are both three. So someone might expect the probability of one success to equal the probability of two. With p equal to zero point one, compute the probability of exactly one success, and compare it with zero point zero two seven. Are they equal? Which factor is responsible for any difference? And is there a special value of p that would make them match?
About Discrete Mathematics at UPI Study
Discrete Mathematics (Math 230) is a self-paced online course of 87 video lessons in 13 chapters, from logic and proof to counting, probability, graph theory and trees. It carries a NCCRS credit recommendation for 4 semester credits.
Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Enroll now → Course details Download the syllabus Every course with PRO →
Why take it here
Why students take Discrete Mathematics with UPI Study
Where the credit goes
Universities that work with NCCRS
Discrete Mathematics carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.
FAQ
Questions students ask us
About The Binomial Probability Formula
What is the binomial probability formula and what does each part mean?
Why does the binomial probability formula include n choose k?
Why can you add the probabilities of the sequences with exactly k successes?
How do you find the probability of exactly 2 successes in 3 trials with p = 0.1?
About the Discrete Mathematics course
How many college credits is Discrete Mathematics?
How much does Discrete Mathematics cost and what is included?
Which universities accept UPI Study credits?
How long does Discrete Mathematics take?
How are the exams done?
How do my credits reach my college?
Ready for the full course? Earn 4 credits in Discrete Mathematics.
87 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.
4 credits · NCCRSEnroll →