Combinations and Permutations Flashcards

1
Q

combinations vs permutation?

A

combination is when the order doesn’t matter, permutation order matters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Basic combination formula (method 1):

A

screen capture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Box and fill method for combinations (method 2):

A

screen capture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is a handshake question and what is an example of one?

A

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?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

handshake formula? (this works for all handshake problems)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

more advanced handshake problem example

A

*screen capture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

property of equivalent combinations:

A

“n choose k” = “n choose (n-k)” —> use this when dealing with large combination numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

property of equivalent combinations algebraic problems..

A

screen capture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

another useful property of equivalent combinations

A

screen capture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

fundamental counting principle

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

mutually exclusive and the use of the word “or”

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

choosing “at least” some number of items..

A

typically involves adding options from scenarios

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

combinations with restriction - some items MUST be chosen

A

look at screen capture example

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

combinations with restriction - some items MUST NOT be chosen

A

look at screen capture example

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

when some members of a set must be chosen and some others must not be chosen

A

look at screen capture example

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

two events are collectively exhaustive if..?

A

together, the events represent all of the potential outcomes of a situation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

what is an example of things that are collectively exhaustive and mutually exclusive

A

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

18
Q

what are the mathematical implications of identifying a situation in which two outcomes are both collectively exhaustive and mutually exclusive

A

*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]

19
Q

additional example of collectively exhaustive and mutually exclusive problems:

A

screen capture

20
Q

how to use collectively exhaustive and mutually exclusive trick for problems where you have to choose “at least one”

A

*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.

21
Q

how to handle problems in which the outcomes are dependent on one another

A

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

22
Q

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

A

assigning a variable for the total number to choose from and using the box and fill method - see screen capture

23
Q

basic permutation formula:

A

“n P k” = n Permute k = n!/[(n-k)!]

24
Q

box and fill method for Permutations:

A

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)

25
Q

Permutations when all items are identical:

A

only count number of distinguishable permutations
ex> how many ways are there to arrange the letters S, S, S, S, S?
1 way -> S, S, S, S, S

26
Q

how do you adjust the permutation formula for when there are identical items?

A

number of permutations = n!/[r1!….rj!]
where n = number of items to choose from
r1,..,rj= frequency of repeated items. so if there were two items that were repeated, the first repeated 3 times and second repeated 2 times r1=3, and r2=2

27
Q

Permutations for circular arrangements

A

K items can be arranged in a circle in (k-1)! ways

28
Q

permutation problems: arrangements with restrictions - the anchor method

A

first anchor restricted items into their place, since there are no permutations that can occur with those positions. then fill in the arrangements with permutation formulas after

29
Q

permutation problems: arrangements with restrictions - when some items MUST be together, link them together

A
  • see screen capture example
    when x items MUST be together in an arrangement of y items, treat those x items as one unit. there are now y-x+1 items that can be arranged in (y-x+1)! ways. IN addition, the x items can be arranged in x! ways, generating a total of (x!)(y-x+1)! ways to arrange the y items
30
Q

what principle should be used to calculate the number of possible arrangements when some items CANNOT be next to each other?

A

the principle of collectively exhaustive and mutually exclusive: the total number of arrangements = the total number when A & B are next to each other + the total number when A & B are NOT next to each other – this method is easiest because it is very difficult to determine directly the arrangements when they cannot be next to each other, but easy to determine the total number of arrangements and the number of arrangements when they are next to each other

31
Q

creating codes

A

see screen capture

32
Q

the fundamental counting principle (independed events) for multi digit problems with restrictions

A

how many 3-digit integers have no digits in common? systematically analyze how many choices there are for each digit and multiply the results:
ex above: for the first digit, note that it can be anything from 1-9 (not zero) so there are 9 choices, the next digit can include 0 but must be reduced by one since we already chose a number and it cant be the same as the first digit, so it is also 9, the last digit is 8 since two numbers have already been chosen. so: 998

33
Q

multi digit problems with restrictions and choosing the digits in the order of which is the most restrictive:

A
  • see screenshot
    sometimes choices in later digits will depend on choices made earlier, so it is important to fill in choices for digits according to their restrictiveness
34
Q

multi scenario digit questions:

A

*screen capture
these arise when you have multiple restrictions and begin handling each in order of restiveness but then get to a point where a choice depends on something that was chosen before. in this case we break out the difference scenarios and add the number of arrangements

35
Q

if three or more points can be connected by the same straight line, what does that imply about those three points?

A

they are collinear

36
Q

counting the number of triangles that can be made from a set of points when no three of the points are collinear (meaning no three points would be unable to comprise a triangle)

A

this is a combination problem, since if you forced it to be a permutation problem you would over count the number of triangles since you would say triangle (A, B, C) is distinct from triangle (A, C, B), when they are not distinct.
to figure out how many triangle can be made from a set of n points in a plane (in which no three of the points are collinear) you do “n Choose 3” since 3 points are required to construct a triangle. since there are no restrictions due to collinearity this is just the number of ways to choose 3 points from n points

37
Q

will connecting 3 collinear points with a line produce a triangle?

A

NO, its just a straight line

38
Q

how do you arrive at the number of ways to create triangles from n vertices when three or more of the points are collinear?

A

of possible triangles = (total number of ways to select three points from the full set of points) - ( # of ways to select 3 collinear points)

typically to find the # of ways to select 3 collinear points you simply count them.. see screenshot

39
Q

how to use combinations to come up with the # ways to select three collinear points when counting them is cumbersome

A

see screenshot

40
Q

2 dimensional pathway problem:

see screenshot for problem set up

A

a checkpoint is a point that a traveler MUST pass through to get from their starting point to their destination

*see screenshot for steps to calculate # of possible paths

41
Q

counting 2-dimensional paths when there are no checkpoints between start and end

*see screenshot to understand the form these problems take

A

see screenshot for explanation of how to solve

42
Q

counting 3-dimensional paths

*see screenshot for example

A