UPI Study › Courses › Discrete Mathematics › Free lessons › Lesson 5.7 Free with a free account
Combinations and Unordered Selections
Discrete Mathematics · Chapter 5: Counting Methods and Basic ProbabilitySection 5.7 · lesson 33 of 879 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: Probability of Combination Events →← Circular PermutationsNext lesson: Probability of Combination Events →
In this lesson
Choosing r from n when order carries no information.
- Derive the combination formula from permutations
- Count unordered selections
- Decide between a permutation and a combination
- Generate combination counts with Pascal's Triangle
Transcript
Everything said in the video, section by section (1,203 words). Read along, or search it.
Counting Methods and Basic Probability
Combinations and Unordered Selections
Permutations count selections where order matters. This section builds the tool for selections where order carries no information at all. They're called combinations. We'll derive the formula directly from permutations, contrast the two tools side by side, and see a triangle of numbers that generates combination counts by simple addition.
The Opening Problem
Same Pool, Same 3 - Different Answers
A company's IT department needs to choose three employees, from a pool of ten IT staff, to receive elevated admin privileges. Does it matter which of the three is chosen first? No. Once they're selected, they either have admin access or they don't. There's no first, second, or third admin. But suppose instead the department were filling three different roles from that same pool. Primary admin, backup admin, and audit reviewer. Now order matters enormously. Being primary admin is a different outcome from being backup admin. Same ten people, same request for three of them. Yet two very different counting answers, depending on whether the three roles can be told apart. n P r, from section five point four, counts the ordered kind. This section supplies n C r, for the unordered kind.
5.7.1 When Order Stops Mattering
12 Ordered Pairs, 6 Selections
Take the small set A, B, C, D, and ask how many ways two letters can be selected. If order matters, that's four P two, four times three, which is twelve ordered pairs. They're all listed on the first line. But if order doesn't matter, A B and B A are the same selection, just written differently. Then the twelve ordered pairs collapse into only six unordered pairs. Every unordered pair accounts for exactly two ordered pairs. The pair A, B covers both A B and B A. And six times two is twelve, confirming nothing was lost or double-counted. That pattern, dividing the ordered count by the number of ways each group could be internally arranged, is exactly what the combination formula generalizes.
5.7.2 Deriving the Formula
Divide Out the Internal Orders
Every unordered selection of r items can itself be arranged in r factorial different orders. So the number of ordered selections, n P r, must equal the number of unordered selections, n C r, times the r factorial orderings each one produces. Solve for n C r. It's n P r divided by r factorial. And substituting n factorial over n minus r factorial for n P r gives the combination formula. n C r equals n factorial, over r factorial times n minus r factorial. That counts the ways to select r items from n distinct items, for r from zero to n, when order doesn't matter. Each such unordered selection is called a combination.
Worked Examples 5.7.1 and 5.7.2
Groups and Reading Lists
First, the admin privilege group. How many distinct three-person groups can be formed from ten IT staff, all receiving identical privileges? That's ten C three. Ten times nine times eight, over three times two times one. Seven hundred twenty over six, or one hundred twenty groups. Next, a student must choose four books to read this summer, from a required list of nine, with no distinction in which is read first. That's nine C four. Nine times eight times seven times six, which is three thousand twenty-four, over four factorial, twenty-four. That's one hundred twenty-six distinct sets of books.
5.7.3 Side by Side
Exactly 3! Times as Many
Now back to the opening, with exact numbers. Choosing three people from ten, for identical admin privileges, is ten C three, one hundred twenty. Choosing three from the same ten, to fill three distinct roles, is ten P three. Ten times nine times eight, which is seven hundred twenty. That's exactly six times as many. And six is three factorial, the number of ways any chosen trio could be assigned to the three distinct roles.
Table 5.7.1
Permutations Versus Combinations
This table lays the two tools side by side. A permutation asks how many ordered sequences of r items can be formed from n. A combination asks how many ways r items can be selected from n, ignoring order. The formulas differ by exactly one factor, r factorial, in the denominator. The real-world cue for a permutation is distinct roles, ranks, or ordered positions, where swapping two choices changes the outcome. For a combination, it's a group, a set, or a subset, with no internal distinction. Swapping two choices changes nothing. And they're related directly. Each unordered group of r items corresponds to exactly r factorial ordered sequences.
Worked Example 5.7.3
Diagnose, Then Solve
A photography club has twelve members. It wants to do two things. First, select four members to feature in a gallery, with no ranking among them. The four aren't ranked or distinguished, so that's a combination. Twelve C four is twelve times eleven times ten times nine, eleven thousand eight hundred eighty, over twenty-four. That's four hundred ninety-five ways. Second, select a president, vice-president, secretary, and treasurer. The four roles are distinct, so that's a permutation. Twelve P four, eleven thousand eight hundred eighty ways. As a check, eleven thousand eight hundred eighty, over four hundred ninety-five, is twenty-four. That's four factorial, the ways any four chosen members could fill the four roles.
5.7.4 Pascal's Rule
Include X, or Exclude It
The formula isn't the only way to find combination counts. They also satisfy an addition pattern called Pascal's rule. n C r equals n minus one C r minus one, plus n minus one C r. There's a direct counting explanation. Fix one particular item, call it X. Every r-item selection either includes X, or excludes it, never both. If X is included, the other r minus one items come from the remaining n minus one items. If X is excluded, all r items come from the remaining n minus one. The two cases are mutually exclusive, and together they cover every selection exactly once. So by the addition rule, they sum to n C r.
Figure 5.7.1
Pascal's Triangle, Rows 0 to 6
Arrange the combination counts row by row, for n equal to zero, one, two, and so on. That gives Pascal's triangle. Row n lists n C zero, through n C n. And every interior entry is the sum of the two entries diagonally above it. The highlighted entries show the rule in action. Four C one, which is four, plus four C two, which is six, gives ten. And that's five C two. The triangle is convenient for small n, generating combination counts with simple addition instead of factorials. But it gets impractical quickly. Finding ten C three, by building ten full rows by hand, would take far longer than the direct formula.
Takeaways
Does a Swap Change Anything?
To summarize. n C r, equal to n factorial over r factorial times n minus r factorial, counts the ways to choose r items from n when order doesn't matter. It comes from dividing n P r by r factorial, the number of orders each unordered group could be arranged in. The reliable test is whether swapping two chosen items makes a meaningfully different outcome. If yes, use n P r. If no, use n C r. And Pascal's triangle generates combination counts by addition, though it's impractical by hand for large n. Here's something to think about. A pizza with three toppings chosen from eight is a combination. There's no first topping. But a three-digit code using three different digits, entered in order, is a permutation. What specifically about the code introduces order? Try to state, in one sentence, a test you could apply to any choose r from n scenario, before doing any arithmetic.
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 Combinations and Unordered Selections
How do you derive the combination formula from permutations?
How do you decide whether to use a permutation or a combination?
How many ways can you choose 4 books from a list of 9 if order doesn't matter?
How does Pascal's Triangle give combination counts?
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 →