Chp 3 Notes: Combinatorics Flashcards

1
Q

What is the outcome space?

A

the set of possible outcomes denoted by Ω

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

What are sets?

A

Unordered collections of elements whose elements cannot appear multiple times in the set.

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

How can sets be represented?

A
  1. by listing its elements within braces
    * A = {1,2,3}
  2. by specifying the precise conditions for an element to be in the set
    * Z+= {x : x is a positive integer}
  3. As a combination of sets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are events?

A

Subsets of Ω (the outcome space) are called events

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

What is the complement of an event?

A

The complement of an event A is the set of outcomes that are in Ω but not in A. The complement of the set A is denoted Ac

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

What is a tuple?

A
  • ex. (H,H,T)
  • order matters and the same element can appear multiple times in a tuple, but not in a set
  • cannot be expressed as products of individual sets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the size of a set?

A
  • the number of elements in it
  • denoted by | A |
  • ex. | { H, T} | = 2, |∅| = 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

To see an example of this notation, suppose there is a group of n concert-goers, each of whom is selecting a band T-shirt. The available colors are red, yellow, and black. How many possible outcomes are there?

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

Suppose there are four children—Alice, Bill, Christie, and Doug—at an animal shelter, checking out the current pool of n dogs. Each child writes down the name of the dog he or she likes most. How many possible outcomes are there?

A
  • a sampling with replacement problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Suppose there are four children—Alice, Bill, Christie, and Doug—at an animal shelter, checking out the current pool of n dogs. Now suppose that these same children are actually picking out dogs. First Alice chooses a dog to adopt, then Bill chooses a dog to adopt, and so on. How many outcomes are there now?

A

In this situation, Alice has n choices, but Bill has only n−1 choices, Christie has n−2 choices, and Doug has n − 3 choices. So there are n(n − 1)(n − 2)(n − 3) possible outcomes.

  • a sampling without replacement problem
  • use permutation formula
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many ways are there to order (shuffle) a deck of 52 cards?

A
  • each ordering is called a permutation
  • Well, the result is a 52-tuple, drawn from a set of size 52, in which no card is repeated. Therefore, the number of permutations is 52 · 51 · 50 · · · 1, which is called 52 factorial and denoted as 52!. More generally, the number of permutations of n elements is n factorial or n!.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When do we use factorial?

A

when we want to know how many permutations (ways to order) a set

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

What is the permutation formula and when do we use it?

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

What is the combinatorial function? When do we use it?

A
  • C( n, k) or n! / (k! (n-k)!)
  • when order doesn’t matter because it removes the overcounting after counting tuples (edit from the permutation function)
  • also when order is fixed (b/c it’s fixed, we shouldn’t overcount for different permutaitons)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do we derive the solution to this question:

how many subsets of size k does a set of n elements have?

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

Snow White is off to pick strawberries and asks three of the dwarfs (chosen from the seven: Dopey, Grumpy, Doc, Happy, Bashful, Sneezy, Sleepy) to join her. How many possible groups are there?

A
17
Q

how many strings in {0, 1} 10 contain exactly four 1s?

A
18
Q

You walk into a candy store and notice that there are five types of candy. Your mother allows you to pick exactly three pieces of candy, of whichever type(s) you want. How many ways are there to do this?

A