COMP 2711H: Lecture 34

Date: 2024-11-18 17:57:54

Reviewed:

Topic / Chapter:

summary

❓Questions

Notes

Problems
  • Problem 1: expectation of the sum

    • toss two fair dice. what is the expected value of the sum?
    • each pair: w/ same probability
    • you can manually compute, but...
    • : no. on the 0th die
      • (no independence needed)
  • Problem 2: no. of heads

    • w/ biased coin with head on chance
    • what is expectation of heads after flipping it times?
      • then
      • 👨‍🏫: correct, but ugly!
    • simply: use indicator r.v.
    • 👨‍🏫 lesson: life is easier w/ linearity of expectation
  • Problem 3: fair coin toss

    • a game w/ fair coin
    • keep flipping until you get
    • no. of flips
    • 👨‍🏫: what is ?
      • intuitively: 2
      • proof: let
  • Problem 4: biased coin toss until...

    • w/ chance of success:
  • Problem 5: hat-trade

    • people in party, with a hat
    • each person : leaves w/ hat
    • what is: expected no. fo people w/ their own hat?
      • 👨‍🏫 hard to compute!
    • let : sum of i.r.v.
      • 👨‍🏫 so simple!
  • Problem 6 (IMO 1987)

    • let be no. of permutations of w/ exactly fixed points
    • prove
      • divide both sides by , and it's a probabilities problem!
        • , where : no. of fixed points
          • shown from problem 1
  • Problem 7: coupon collector

    • types of coupons, buying a coupon every day
      • type: u.a.r.
    • let : no. of days of buying coupons
      • what is ?
    • finding it from
      • you can do so with
        • 👨‍🏫 but painful...
    • let : no. of steps to get from -th to -th new type
      • let
      • (constant)
      • as:
        • chance of getting a new type:
      • as:
        • chance of getting a new type:
      • takes time!
  • Problem 8: USA MTS

    • mathematical talent sets
    • play a game: pot starting at H100 to the pot
    • if it's tails: pot becomes 0 and get a strike
      • 3 strikes: loss
    • before each flip: you can claim the pot
    • suppose optimal play, what is expected value of earnings?
      • initially (no. of chances remaining)
    • flip the coin: if expected value of earning > money in the pot