Ch. 15 Combinations and Permutations Flashcards
Combination Formula
“n choose k”
nCk = n! / [(n-k)! k!]
n = number of items to choose from
k = number of items we’re actually choosing
How to handle “at least” questions - e.g., there are six different fruits at the market and you must select at least two.
Treat each scenario as a mutually exclusive event:
Scenario 1: You select two fruits
Scenario 2: You select three fruits
Scenario 3: You select four fruits
Scenario 4: You select five fruits
Scenario 5: You select six fruits
You must calculate the number of ways of each scenario individually, then add them up b/c they are mutually exclusive (they cannot occur at the same time)
How do you know if a problem is a combination or permutation problem?
Combination = order doesn’t matter (ex: select two out of four coffee types)
Permutation = order matters (ex: select two out of four coffee types and determine which one you’re drinking first then second)
When the order matters, there are two “choices” / two unique arrangements
Dark Roast - French is different from French - Dark Roast
Whereas in a combination, if you choose Dark Roast first, then choose French, or vice versa, it doesn’t matter - both are the same arrangement.
Fundamental counting principle - if two tasks are independent, how many possible ways to perform both tasks together?
If there are m ways to perform task 1 and n ways to perform task 2, there are m x n ways to perform the two tasks together.
Perform task 1 AND task 2.
What does it mean when two tasks are independent?
You can perform them at the same time; one does not depend on the other!
For example, you can select one bread and one meat for your sandwich, and selecting one bread doesn’t stop you from selecting any meat.
In this scenario, you MUTLIPLY to determine total possible combos.
What does it mean when events are mutually exclusive?
They can’t occur at the same time; when one occurs, the other(s) cannot.
If tasks A and B are mutually exclusive and there are x ways to accomplish event A and y ways to accomplish event B, how many ways are there to accomplish A or B?
there are x + y ways to accomplish either one
How to solve if some items MUST be chosen? i.e., there are 10 fruit, you need to pick 5, two apples must be chosen.
Pretend that they’ve ALREADY been chosen & take them out of the equation.
10 fruit, you must pick 5 = 10 C 5
Remove 2 apples = now there’s a pool of 8 to choose from, and you can only select 3 because 2 have already been selected = 8 C 3
How to solve if some items CANNOT be chosen? i.e., there are 10 fruit, you need to pick 5, one pear cannot be chosen.
Eliminate that pear from the main pool (n) - the number of fruits you have to pick is still 5, so keep k = 5.
Initially you had 10 C 5, now it’s 9 C 5 (w/o the pear)
How to solve if some items MUST be chosen & others cannot be chosen?
Do one step at a time:
1. If items must be chosen, pretend they’ve already been chosen & remove from pool & number of choices (reduce n & k)
2. If items cannot be chosen, remove from pool (n) but leave k as is b/c you still have to select the same number of items
What are collectively exhaustive events?
Two+ events are collectively exhaustive if together they represent ALL possible outcomes
If two events, A and B, are both mutually exclusive and collectively exhaustive, what can we do?
All possible outcomes = Number of ways A can occur + Number of ways B can occur
We can play with this formula and do
All possible outcomes - Number of ways A can occur = Number of ways B can occur
(if getting the number of ways B can occur is really time consuming)
What’s an alternative way to solve “at least one” combination problems?
B/c none and at least one are mutually exclusive & collectively exhaustive, we can do,
Total = None + at least one
Total - None = at least one
It’s much easier to calculate total & none, then subtract.
(vs. all of the different “at least one” scenarios: select 1, select 2, select 3, select 4, etc.)
How can you solve a question where some items CANNOT be together in a group? For example, Juan and Maria can each be chosen, but they cannot BOTH be chosen.
Total possible outcomes = Number of configurations where Juan and Maria are chosen together for the group + Number of Configurations where Juan & Maria are NOT chosen together for the group.
Total - Together = Not together
If it’s a 5 person club, and you can choose 3 members, it’s
Total = 5C3
Together = 3C1 (that’s b/c you’ve already chosen 2 members, so you only need one more and you have 3 left to choose from)
Not together = 5C3 - 3C1
How do you solve for the total number of items in the pool (n) when you’re given the number you’re choosing (k) and the total possible outcomes?
Use the box method!
For example, if it’s a combination and k = 2 and the total number of outcomes is 66,
[(n)(n-1)] / 2! = 66 & solve for n.
If permutation, (n)(n-1) = 66