Meowrocket wrote:Eetrab wrote:Bonejunky wrote:Eetrab wrote:Bonejunky wrote:MindlessInsanity wrote:BoneIsHere wrote:Flippin' Jeff.
Flippin' Bones.
Flippin' double post.
Flippin' quotes.
Flappin' incorrect quotes.
Floutin' flautists.
Flippin' Coins.

Suppose that you have $1000 and I am going to flip a fair coin. You choose a bet of x from $0 to $1000. If you win the flip, you will gain a total of 3x (so $1 would bring you up to $1003). If you lose the flip, you will lose x (so $1 would bring you down to $999). I will repeat the coin flip after, and again and again for some large but finite amount of times (you can decide what that means). You may change your bet each time, but it must always be from $0 to your total. You will no longer be able to participate if you go down to $0. How much should you bet for the first flip?
The answer is $333.33, in case you were wondering. You should continue to bet 1/3 of your total wealth each time to maximize your expected value. You can find this by optimizing the function
f: [0,n] --> R defined such that f(x) = .5(ln(1000+3x)+ln(1000-x))
which determines your probabilistic expected outcome on a logarithmic scale. You'll get 1/3 every time.
More generally, we can say that given this situation with a probability P∈[0,1] of winning Wx and a total wealth of n, the amount most efficient to bet is one of the following:
0 (as in the case of P=0), with an expected logarithmic value of ln(n), and thus an expected value of n, or
(n/w)(PW-1+P), with a logarithmic expected value of (hold onto your hats, folks) P*ln(n+n(PW-1+P))+(1-P)*ln(n-(n/w)(PW-1+P)).
You've got to plug in the numbers and calculate them manually to find out. Or maybe not, but I'm far too lazy to waste my time trying to figure out if the second is generally greater than the first outside of P=0. That expression is a nightmare. Anyway, that's your math fact of the day.
~dlgn
EDIT: When my old orchestra was on tour in Europe, we were practicing in a hot room in Vienna and one of our flautists passed out in the middle of rehearsal. So if by "flipping" you mean "passing out in the middle of rehearsal and falling off your chair onto the floor, subsequently causing everyone around you to freak out" then yes, flipping flautists indeed.
I am the whirring thing past the corner. I am the darker patch under the bed. I am the tapping on your window; the extra steps on the sidewalk; the voice whispering your name. I am Stalkerbot, and I am watching you.