(Unashamedly "borrowed" from this year's MIT high school mathematics tournament's combinatorics round - 10 questions, 50 minutes)
A casino offers the following game:
You place a bet, and start with 0 points.
You roll a 100-sided die that has the numbers 0, 1, 2, ..., 98, 99 on it, 100 times.
Each time you roll, if you roll less than or equal to your current score, you gain a point.
After the 100 rolls, you are paid back (your bet multipled by your score divided by 2).
In other words, if you bet $10 and your score is 1, you lose $5; if it is 2, you break even; if it is 3, you gain $5; and so on.
What's the house edge?
does it matter that there are no fair 100 sided dice?Quote: ThatDonGuySince Wiz added a math problem, I thought I would as well - but mine deals with probability.
(Unashamedly "borrowed" from this year's MIT high school mathematics tournament's combinatorics round - 10 questions, 50 minutes)
A casino offers the following game:
You place a bet, and start with 0 points.
You roll a 100-sided die that has the numbers 0, 1, 2, ..., 98, 99 on it, 100 times.
Each time you roll, if you roll less than or equal to your current score, you gain a point.
After the 100 rolls, you are paid back (your bet multipled by your score divided by 2).
In other words, if you bet $10 and your score is 1, you lose $5; if it is 2, you break even; if it is 3, you gain $5; and so on.
What's the house edge?
I used a spreadsheet. I'm not immediately sure how I would solve it without one.
Quote: ThatDonGuy...What's the house edge?
Quote: Wizard$315.14
I used a spreadsheet. I'm not immediately sure how I would solve it without one.
How is that a house edge? O _ O
It’d probably take me a few days to think about even trying to figure out how to solve this problem with pen & paper (pencils suck).
Quote: Wizard$315.14
I used a spreadsheet. I'm not immediately sure how I would solve it without one.
Does that mean the house edge is 68.5% ?
Quote: ThatDonGuy...What's the house edge?
After some algebraic manipulation with pencil and paper, I get an average final score of 1.01^100 - 1. This would be a return of 0.5 *(1.01^100-1) = 0.8524 which means a house edge of 0.1476.
Quote: ChesterDogI guess the average score after the nth roll would be [the average score after the (n-1)th roll] plus [1+ average score after the (n-1)th roll]/100.
After some algebraic manipulation with pencil and paper, I get an average final score of 1.01^100 - 1. This would be a return of 0.5 *(1.01^100-1) = 0.8524 which means a house edge of 0.1476.
Clever!
Amazing to think a high school student gets there in 5 minutes . . .
Quote: RSHow is that a house edge? O _ O
Using a brute force (100x100) spreadsheet I get the same answer. Essentially at each roll I tried to work out the chances of being on each of the scores 0 thru 100. btw - Wizard I get your figure by looking at what happens after 99 rolls.Quote: ChesterDog...a house edge of 0.1476...
Quote: charliepatrickWizard I get your figure by looking at what happens after 99 rolls.
D'oh! You're right.
Quote: ChesterDogI guess the average score after the nth roll would be [the average score after the (n-1)th roll] plus [1+ average score after the (n-1)th roll]/100.
After some algebraic manipulation with pencil and paper, I get an average final score of 1.01^100 - 1. This would be a return of 0.5 *(1.01^100-1) = 0.8524 which means a house edge of 0.1476.
Correct - the expected number of wins is 1.01100 - 1, which results in a house edge of about 14.76%