Combinations and Permutations Flashcards
combinations vs permutation?
combination is when the order doesn’t matter, permutation order matters
Basic combination formula (method 1):
screen capture
Box and fill method for combinations (method 2):
screen capture
what is a handshake question and what is an example of one?
any counting question that asks us to determine the number of ways to connect any two members of a group while also meeting any restrictions that may exist
ex 1: in a room with 15 people, each person shakes hands with exactly four other people. how many handshakes occurred?
handshake formula? (this works for all handshake problems)
for a handshake question involving n entities, where each entity is connected to k other entities, the total number of possible connections is (n* k)/2
ex: in a room with 20 people, each person shakes hands once with every other person - how many handshakes were there?
n=20 since there are 20 people, and k=19 since each single person will be connected (shake hands with) 19 OTHER people
(nk)/2 = (2019)/2 = 190
more advanced handshake problem example
*screen capture
property of equivalent combinations:
“n choose k” = “n choose (n-k)” —> use this when dealing with large combination numbers
property of equivalent combinations algebraic problems..
screen capture
another useful property of equivalent combinations
screen capture
fundamental counting principle
if there are m ways to perform task 1 and n ways to perform task 2, and the tasks are independent, then there are m*n ways to perform both of the tasks together
mutually exclusive and the use of the word “or”
events are mutually exclusive when they cannot occur together. if there x ways to accomplish event A and y ways to accomplish event B and if A and B are mutually exclusive, then there are x+y ways to accomplish A or B
choosing “at least” some number of items..
typically involves adding options from scenarios
combinations with restriction - some items MUST be chosen
look at screen capture example
combinations with restriction - some items MUST NOT be chosen
look at screen capture example
when some members of a set must be chosen and some others must not be chosen
look at screen capture example
two events are collectively exhaustive if..?
together, the events represent all of the potential outcomes of a situation
what is an example of things that are collectively exhaustive and mutually exclusive
a light switch being on and off - mutually exclusive since if the switch is on it cant be off, and collectively exhaustive since on and off represent all of the potential states of the lightbulb
what are the mathematical implications of identifying a situation in which two outcomes are both collectively exhaustive and mutually exclusive
*look at screen capture for example
the total number of ways in which the two scenarios can occur = [the number of ways in which A can occur] + [the number of ways in which B can occur]
additional example of collectively exhaustive and mutually exclusive problems:
screen capture
how to use collectively exhaustive and mutually exclusive trick for problems where you have to choose “at least one”
*see screen capture
at least one means one or greater, with the alternative being none. this represent a set of outcomes that are mutually exclusive and collectively exhaustive.
how to handle problems in which the outcomes are dependent on one another
each sequential choice will have lower numbers of n in “n choose k” because they will be removed from the pool - see the following screenshot
how to find the number of people in a group when you are given the number of people to choose and the number of ways the group can be chosen
assigning a variable for the total number to choose from and using the box and fill method - see screen capture
basic permutation formula:
“n P k” = n Permute k = n!/[(n-k)!]
box and fill method for Permutations:
same as for combinations except you don’t divide by the factorial of the number you are choosing (k) it is instead the product of n(n-1)…*(n-k+1)