Week 5 - Advanced Counting Flashcards

1
Q

d. The difference between a permutation and a combination?

A

d. The difference between a permutation and a combination is that in a permutation the set of objects which position (or order) is important.

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

Ordered partitions ? And the formula for when you have 5 items that need to have 3 go in bucket a, 2 go in bucket b and 1 go in bucket c

A

where a set S is broken up into different “unique” cells that when added up equal the cardinality of set S can equal to. I.e. Set s into [a1,a2,a3]

n!/(a1a2..ak)

n!/(3!2!1!)

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

Unordered partition? And the formula?

A

Where a set S is broken up into different similar cells and when added up equal to the cardinality of set S.

m = n!/(a1*a1*a2*a2)
n = m/2!*2! 

m being the ordered partition, and n being the unordered partition. (unordered is always smaller since 1,2,3 is the same as 3,2,1)

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

Whats the formula for a permutation with repetition?

A

n^r, where n is the number of things to choose from, and we choose r of them

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

Whats the formula for a permutation with no repetition?

A

n!/(n-r)!. Think of a race where position matters, but there can’t be any repetition.

ii. where n is the number of things to choose from, and we choose r of them

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

Whats the formula for a Combination with no repetition?

A

n!/(r!*(n-r)!) an example could be lotteries

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

Whats the formula for a combination with repetition?

A

C(n+r-1, r) = (n+r-1)!/[r!(n-r)!], =[( think of ice cream being scooped out

Where n is the number of things to choose from, and we choose r of them

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

How many ways are there to place k differently labeled balls at most one per box, into n labeled boxes?

A

Order matters, no repetition.

n!/(n-r)!

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

How many ways are there to place k identical (unlabeled) balls at most one per box, into n labeled boxes?

A

order doesn’t matter, no repetition

n!/(r!*(n-r)!)

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

How many ways are there to place k unlabeled balls, into n labeled boxes?

A

order doesn’t matter, repetition

C(n+r-1, r)

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

Whats the difference between a regular set and a multi set?

A

A multi-set can contain duplicate elements

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

vii. How many ways are there to rearrange the letters of a given word?

A

n! (if no repeats), if repeats then (n!/k!), where k! is repeat

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

When you have n objects of k types, with n(i) objects of type I, then the number of arrangements is:

A

C(n, n1) * C(n-n1, n2)

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

c. Number of ways to arrange a multi-set when we know the different types:

A

: n!/(n1!n2!n3!..nk!)

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

If A and B are not disjoint, we get the simplest form of the Inclusion-Exclusion Principle:

(2) |A∪B| = ?

A

= |A| + |B| - |A∩B|.

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

“How many ways are there to place one labeled ball,

with ten possible labels, into each of seven labeled boxes?”

A

n^r or 10^7

17
Q

Whats the formula for lining up r items with n items, when r items can’t be adjacent?

A

C(n+1, r)