Combinatorics, counting, probability theory Flashcards

1
Q

What is the multiplication Principle?

A

If n1 ways of doing T1 and n2 –||– T2.
Then n1*n2 ways of preforming both together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • n elements
  • Choose r elements
    What is a list of ordered elements with repetitions called? and what is the formula?
A

Sequence and n^r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • n elements
  • Choose r elements
    What is a list of ordered elements without repetitions called? and what is the formula?
A

Permutation and the formula is n!/(n-r)!

We can also write nPr which is translated to: “Number of permutations of n objects taken r at a time”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • n elements
  • Choose r elements
    What is a list of unordered elements with repetitions called? and what is the formula?
A

Multiset and the formula is (n+r-1 /r) (Not a division, but a vector)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • n elements
  • Choose r elements
    What is a list of ordered elements without repetitions called? and what is the formula?
A

Set and the formula is n!/r! * (n-r)!
Can also be written as (n r) as a vector which means “Number of combinations of n objects taken r at a time” or “n-choose-r”

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

How many different 5-card hands can you choose from a normal deck of 52 cards?

A

This is a set and we have n=52 elements and we have to choose r=5 cards. Then it’s 52-choose-5 or (52 5) or 52! / 5! 47! =
52
51504948 / 5432*1 = 2,598,960

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

What is the formula for a Distinguishable premutation?
For a collection of n objects where the first object appears k1 times the next k2 times and so on:

A

n! / k1! * k2! kt!

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

What is the Distinguishable premutation for Mississippi?

A

Formula: n! / k1! * k2! kt! = 11! / 1!4!4!*2! = 34,650

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

What is the possible number of outcomes when rolling 3 indistinguishable dice?

A

We have a 3-element multiset, with n=6 (because we can roll from 1-6) and r=3.
from the formula (n+r-1 over r) = 8!/3! * 5! =
876/321 =56

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

What defines the pigeonhole principle?

A

If m pigeons are put into n pigeonholes for m>n, then at least on pigeonhole contains at least two pigeons.

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

Probability Theory:
When all events are equally likely what formula can you use?

A

We can use the following |E| / |A| =
|number of outcomes in E| / |Total number of outcomes|

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

What is the probability of drawing 3 kings from a deck of cards when drawing 3 cards?

A

Here E is the 4 kings in the deck so E =4 and our A is all the possible ways for us to pick 3 out of the 52 cards. 52-choose-3. So the probability is P(E) = 4 / 52-choose-3 = 4/22100 = 1/5525

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

The three different set operations:
Union, Intersection, Complement:
What does the three operations do on a an event E and F.

A

The union of E (union) F = {a in A | a (in) E or a (in) F}

The intersection of E (interest) F = {a (in) A | a (in) E and a (in) F}

The Complement of E (skrives E^c) = {a (in) A | a (not in) E}

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

If we want to find the precent of an event E, how can we find it?

A

P(E) = 1 - P(E)

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

If we want to find the percentage of the union between to events E (union) F, how do we find it?

A

P(E (union) F) = P(E) + P(F) - P(E (intersection) F)

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

Probability of rolling odd number(E) or prime number(F) (With a fair dice)

A

E = {1,3,5} P(E) = 3/6
F ={2,3,5} P(F) = 3/6
E (union) F = {1,2,3,5} P(E (union) F) 4/6
E (intersection) F = {3,5} P(E (intersection) F) = 1/3

2/3 = 1/2 + 1/2 - 1/3

17
Q
A