Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

Say you went to the race track every day and bet on 3 horse races. You are very good at what you do and are able to pick the correct horse 55% of the time. The amount you wager on each race is 5% of your current bankroll which you calculate after each race. Each time you win a race by picking the correct horse you add 5% to your bankroll. Each time you are incorrect you lose 5.5% of your bankroll.

The question is if you have a starting bankroll of $5000 how long would it take to turn that intial $5000 into 1 million dollars and how do I figure that out.

Second question is do the order of wins and lossess matter.

nflguy

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Hi nflguy;

There is a chance of going broke. What happens then? Does the player get more money or is the game over?

Second question is do the order of wins and lossess matter.

I do not believe that the order counts.

*Last edited by bobbym (2013-02-12 15:40:02)*

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

You would keep adjusting your bankroll after each result so there would be no way to go broke.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

That answer is fine if we were discussing continuous values. But we are talking about discrete values. There is a smallest unit of currency. After 232 straight losses you would have less than a penny. Essentially you are broke.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

but isn't 232 losses virtually impossible, it is worse odds than a coin landing heads 232 times in a row.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Virtually impossible and really impossible are not the same thing. It does not have to be 232 in a row. It just has to be 232 more losers than winners. Yes, it is a longshot but it changes the problem.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.** **A number by itself is useful, but it is far more useful to know how accurate or certain that number is.**

Offline

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

Ok so if you have a starting bankroll of $5000 how long would it take to turn that intial $5000 into 1 million dollars AND what are the chances you end up going bankrupt if you dont reach the goal. OR you can say that if you go bankrupt you are allowed to replinish the starting $5000 again.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Hi;

You have to be careful how you a phrase a problem. The smallest difference in rules can turn a solvable problem into one that can not be solved.

With the replenish rule you are taking the problem out of the realm of mathematics and into the realm of programming.

With the going broke-game over option there might be a solution using Markov chains. This is a little optimistic at this point but I am hoping.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

Ok then the going broke option it is. I have heard of Markov chains and monte carlo but I honestly have no idea how to input the data into them for this problem.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Hi;

$5000 into 1 million dollars AND what are the chances you end up going bankrupt if you dont reach the goal.

One more thing now. "Chances," refers to a probability, but your original question wanted how long. Which do you require?

Also, you want the loss to cost 5.5% and the win to only gain 5% ?

*Last edited by bobbym (2013-02-13 10:03:39)*

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Hi;

I have gone with your original idea that you can not run out of money because it simplified the problem.

I am getting an expected number of 1930 plays.

*Last edited by bobbym (2013-02-14 07:55:59)*

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

Thanks Bobby can you teach me how you did this?

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Hi;

I am not very confident in the answer myself.

It will take another week before I am confident in the result. So far, all I can say is it matches some simulations I did.

It uses a recurrence relation.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

**nflguy****Member**- Registered: 2013-01-31
- Posts: 18

ok in the meantime I will read up on recurrence relation

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 104,355

Look it up on google and stay clear of wikipedia. They are no good unless you already know the subject.

Come back if you have any question on a recurrence or difference equation as they are also called.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**

Offline

Pages: **1**