6.1 The basics of counting Flashcards

1
Q

When to use the product rule

A

If there are n1 ways to do the first task AND for each of these ways, there are n2 wayes to do the second task. Then there are n1n2 ways to do the procedure

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

How many functions are there from a set with m elements to a set with n elements

A

n^m

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

When to use the sum rule

A

If a task can be done either in one of n1 ways or in one of n2 ways ( none of n1 is the same as n2) then there are n1+n2 ways to do the task

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

When to use the subtraction rule

A

If a task can be done in either n1 ways or n2 ways then the number of ways to do the task is n1 + n2 minus the common number of ways
| A1 ∪ A2 | = |A1| + |A2| - |A1 ∩ A2|

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