UPI Study › Courses › Discrete Mathematics › Free lessons › Lesson 5.8 Free with a free account
Probability of Combination Events
Discrete Mathematics · Chapter 5: Counting Methods and Basic ProbabilitySection 5.8 · lesson 34 of 877 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: Random Variables in Discrete Probability →← Combinations and Unordered SelectionsNext lesson: Random Variables in Discrete Probability →
In this lesson
Counting subsets on top and bottom of a probability.
- Apply a 4-step method for combination probabilities
- Count selections drawn from separate groups
- Compute partial-match lottery probabilities
- See 1 calculation behind different-looking problems
Transcript
Everything said in the video, section by section (1,014 words). Read along, or search it.
Counting Methods and Basic Probability
Probability of Combination Events
This section closes chapter five by joining two ideas already built. Classical probability, and combinations. Whenever a selection is made without regard to order, and every selection is equally likely, a probability comes down to counting subsets, on top and on bottom. We'll work through three of the most common settings. Card hands, committees, and lottery draws.
The Opening Problem
Random, Order-Independent Samples
Software systems draw random, order-independent samples all the time. An audit tool selects a handful of transactions to review, out of a much larger log. A testing framework samples a subset of user accounts, for a staged rollout. Whenever every such selection is equally likely, the classical probability formula from section five point one applies directly. The probability of an event is the size of the event, over the size of the sample space. And computing it means counting subsets, which is exactly what the combination formula from section five point seven does. Here it's written C of n comma r.
The General Method
The Same 4 Steps Every Time
Using combinations inside a probability calculation follows the same four steps every time. First, identify the sample space, the set of all equally likely, order-independent selections. Second, identify the event, the subset of those selections that satisfy the condition you care about. Third, count both, using combinations. And fourth, divide. The combination formula itself isn't re-derived here. Section five point seven is taken as given.
Worked Example 1
A 5-Card Hand, All Hearts
First, a card hand. Five cards are dealt at random from a standard fifty-two card deck. What's the probability that all five are hearts? The sample space is every possible five-card hand, all equally likely. Order doesn't matter in a hand, so its size is C of fifty-two, five. That's two million, five hundred ninety-eight thousand, nine hundred sixty hands. The event is the hands using only hearts. There are thirteen hearts, and a favorable hand chooses all five cards from just those thirteen. That's C of thirteen, five, which is one thousand two hundred eighty-seven. Dividing gives about zero point zero zero zero four nine five. Roughly a five hundredths of a percent chance.
Figure 1
Only the Hearts Row Can Supply the Hand
Here's the whole deck, laid out as four rows of thirteen ranks. An all-hearts hand can only be assembled from the thirteen highlighted cards, in the hearts row. That's exactly why the favorable count chooses five from thirteen, and not five from fifty-two.
Worked Example 2
A Committee From 2 Groups
Many selections draw from more than one group at once. A committee might come partly from one pool of people, and partly from another, with a set number from each. Here's an example. A five-person committee is chosen at random from eight engineers and five designers, thirteen people in all. What's the probability it has exactly three engineers, and two designers? The sample space is every five-person committee from thirteen. That's C of thirteen, five, one thousand two hundred eighty-seven. A favorable committee chooses three of the eight engineers, in C of eight, three, fifty-six ways. And independently, two of the five designers, in C of five, two, ten ways. Each engineer choice pairs with each designer choice, so multiply. That's five hundred sixty favorable committees. So the probability is five hundred sixty over one thousand two hundred eighty-seven, about zero point four three five one. Roughly forty-three and a half percent.
Checking in Code
Both Examples, Built-In comb()
Python's built-in comb function checks both examples. C of thirteen, five, over C of fifty-two, five, rounds to zero point zero zero zero four nine five. And C of eight, three, times C of five, two, over C of thirteen, five, rounds to zero point four three five one. Both match the hand calculations.
Worked Example 3
Matching Exactly 4 Lottery Numbers
A lottery draw splits a pool of numbers the same way a committee splits a pool of people. The numbers that were drawn, and the numbers that weren't. Here's the problem. A lottery draws six numbers from forty-nine. A player buys one ticket of six numbers, chosen in advance. What's the probability of matching exactly four? The sample space is every set of six numbers from forty-nine. That's C of forty-nine, six, which is thirteen million, nine hundred eighty-three thousand, eight hundred sixteen. Now split the forty-nine into the six drawn and the forty-three not drawn. A ticket with exactly four matches has four of the drawn numbers, and two of the others. Both parts are required, since the ticket has exactly six numbers. That's C of six, four, fifteen, times C of forty-three, two, nine hundred three. So there are thirteen thousand five hundred forty-five favorable tickets, for a probability of about zero point zero zero zero nine six nine. And the jackpot is a special case. Matching all six means choosing all six drawn numbers, and none of the others. That's exactly one ticket, out of nearly fourteen million.
The Same Pattern, 3 Settings
People, Numbers - One Calculation
Notice the structure across all three settings. The card hand chose all five cards from a single thirteen-card suit. The committee split a pool of thirteen people into eight and five, chose from each part, and multiplied. The lottery split a pool of forty-nine numbers into six and forty-three, chose from each part, and multiplied in exactly the same way. The problems look unrelated on the surface. One is about people, the other about numbers. But they're the same calculation, applied to different labels.
Takeaways
Split, Choose, Multiply, Divide
To summarize. Using combinations in a probability always follows the same pattern. Identify the sample space and the event, count each with combinations, and divide. When a selection draws a required number from each of several groups, multiply the separate combination counts. Any valid choice from one group pairs with any from another. Committees and lottery partial matches use the identical split and multiply technique. And a jackpot is the special case where every drawn item is matched. Here's something to think about. A student solves the all-hearts example with permutations throughout, top and bottom. The answer matches exactly. They conclude it doesn't matter which you use, as long as you're consistent. Is that right in general? Why did the permutations cancel in the card example? And for the committee, would eight P three times five P two, over thirteen P five, still give zero point four three five one? What's different?
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 Probability of Combination Events
What are the steps for finding a probability with combinations?
How do you find the probability of drawing a required number from each of several groups?
How do you calculate the probability of matching exactly 4 numbers in a 6-of-49 lottery?
Can I use permutations instead of combinations in a probability problem?
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 →