Week 17 (Bonus Probability) Flashcards

1
Q

An urn contains n balls labelled 1, 2, …, n.

Suppose I draw r balls randomly from the urn, replacing each ball before I draw the next one.

What is the probability that all r balls have different numbers?

(Think about this systematically to derive the formula. There are 5 simple steps.)

A

Remember that the first draw has no effect on the probability calculation here.

  1. For the second drawn ball to be different, the probability is (𝒏-1)/𝒏, e.g. if 25 uniquely-labelled balls, 24 of them will be different to the first one drawn
  2. Repeat this pattern for each subsequent draw, noticing that the last draw is the (𝒓-1)th one because the first one is excluded from the probability calculation:
    (𝒏-2)/n, (𝒏-3)/𝒏, …, (𝒏-[𝒓-1])/𝒏
    When we multiply all of these terms together, we have an expression like [(𝒏-1)(𝒏-2)…(𝒏-[r-1])]/𝒏𝒓-1
  3. Multiply by 𝒏/𝒏 to make the denominator 𝒏𝒓 and prepend 𝒏 to the numerator
  4. Probably factor 1/𝒏𝒓 to make it easier to read for a sec - then multiply the remaining term by [(𝒏-𝒓)!/(𝒏-𝒓)!] - but all written out as products - because then the numerator ends up being 𝒏! while the denominator remains (𝒏-𝒓)!
  5. Beautiful! Don’t forget that factored-out 1/𝒏𝒓 - then you’ve got your formula:

𝒏! / 𝒏𝒓(𝒏-𝒓)! ✨

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

An urn contains n balls labelled 1, 2, …, n.

Suppose I draw r balls randomly from the urn, replacing each ball before I draw the next one.

What is the probability that among the balls I draw, I can find two with the same number?

What is the important thing to remember about this question?

A

Important to remember that this means at least two balls were drawn with the same number. Not exactly two!

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

Find the number 3 letter words that can be formed from the letters a, b, c, d, and e in which the letters are allowed to be repeated.

A

The number of letters available is n = 5.

The number of letters in each word is r = 3.

Permutations with repetition: nr

Since there can be the repetition of letters, the possible number of words is, 53 = 125.

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