A variation of gamblers ruin problem.

  • Thread starter MaxManus
  • Start date
  • Tags
    Variation
In summary: If you have 0, then you have 0 in the next period.If you have 2, then you either have 0 or 4 in the next period.If you have 4, then you either have 0 or 8 in the next period.If you have 8, then you either have 6 or 10 in the next period.If you have 6, then you either have 2 or 10 in the next period.If you have 10, then you have 10 in the next period.
  • #1
MaxManus
277
1

Homework Statement


A gambler has 2$ and wants to have 10$. To get the money he enters a game where a fair coin is tossed. If he bets on the right side he wins doubles his stake and if he bets wrong he loses his stake. The strategy is to bet everythig if he has 5$ or less and just enough to walk away with 10$ if he has more than 5$

The Attempt at a Solution



X(0) = 2$. He start with 3$
P(X(1) = 4) = 1/2
P(X(1) = 0) = 1/2

P(X(2) = 8 l X(1) = 4) = 1/2

Bets 3 $
P(X(3) = 10 l X(2) = 8) = 1/2
P(X(3) = 6 l X(2) = 8) = 1/2But this is probably ot the way to solve it because you can continiue for ever.
The problem is from a markow chain chapter in my statistics book.
 
Last edited:
Physics news on Phys.org
  • #2
what are you trying to do? find the expectation value of the strategy?
 
  • #3
however you could set it up as markov chain, with 5x5 transition matrix as follows, let the 5 states be (0,2,4,8,16)

P(x_j|x_i) =
1 if xi = xj = 16 (walk away), otherwise 0 if xi = 16
0.5 if x_i = x_j-1
0.5 if x_j = 0
0, otherwise
 
  • #4
Sorry, I want to find the probability that the gambler achives 10$ and the expected number of tosses until the gambler either walks away with 10$ or 0 $
 
  • #5
lanedance said:
however you could set it up as markov chain, with 5x5 transition matrix as follows, let the 5 states be (0,2,4,8,16)

P(x_j|x_i) =
1 if xi = xj = 16 (walk away), otherwise 0 if xi = 16
0.5 if x_i = x_j-1
0.5 if x_j = 0
0, otherwise

Thanks, but the states are (0,1,2,3,4,5,6,7,8,9,10), the gambler only bets all when he has 5$ or less.
 
  • #6
ok i get it now, well you i think i have given you enough to come up with the transition matrix for those states
 
  • #7
MaxManus said:
Thanks, but the states are (0,1,2,3,4,5,6,7,8,9,10), the gambler only bets all when he has 5$ or less.

MaxManus, have you drawn out the Markov chain? Not all of those states are possible. You should notice by the fourth or fifth step (depending on how you count steps), you have either won, lost or returned to the initial state of $2? The chain is infinite, but it's a simple form of infinite.
 
Last edited:
  • #8
Thanks I see it now, states are (0,2,4,6,8,10). P = [tex]

\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 \\
.5 & 0 & .5 & 0 & 0 & 0 \\
.5 & 0 & 0 & 0 & .5 & 0 \\ 0 & .5 & 0 & 0 & 0 & .5 \\ 0 & 0 & 0 & .5 & 0 & .5 \\ 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix} [/tex]


First part: Find the probability that the gambler with initial capital 2$ will achieve his aim .

But I'm not sure what to do now.
 
  • #9
well, if you start out in the state P($2=1)=(0,1,0,0,0,0) and contunually play the game this is equivalent to repeated multiplication by P so what is the limit of P^n?
 
  • #10
Thanks, but it seems like I have the wrong P . My P^n converges to [1 0 0 0 0 0;.8 0 0 0 0 .2;.6 0 0 0 0 .4;.4 0 0 0 0 .6;.2 0 0 0 0.8;0 0 0 0 0 1]
where space is next column and ; is next row. Matlab.

Edtit: Sorry, it seems to converge to a the right values. You either end up with 0 or 15 and the more money you start with the more likely you end up with 15.

Thanks againg
 
Last edited:
  • #11
I got P from

when you have 0 you have 0 in the next period
when you have 2 you either have 0 or 4 in the next period
when you have 4 you either have 0 or 8 in the next period
when you have 8 you either have 6 or 10 in the next period
when you have 6 you either have 2 or 10 in the next period.
when you have 10 you have 10 in the next period.
 
  • #12
i think your P is ok, what do you mean by 15?
 

What is the "A variation of gamblers ruin problem"?

The variation of gamblers ruin problem, also known as the "red and black problem", is a mathematical model that studies the probability of a gambler losing all their money in a game of chance. It is a simplified version of the original gamblers ruin problem, where the gambler must choose between two outcomes: winning or losing.

How does the variation of gamblers ruin problem differ from the original?

The main difference between the variation of gamblers ruin problem and the original is that in the variation, there are two possible outcomes for each round of the game, instead of just one. This makes the problem more complex and allows for different strategies to be applied.

What are some real-life applications of the variation of gamblers ruin problem?

The variation of gamblers ruin problem has been used in various fields, including finance and economics, to study the risks involved in investments and the behavior of markets. It is also applicable in areas such as sports betting and casino games.

What are some key concepts to understand in the variation of gamblers ruin problem?

Some key concepts in the variation of gamblers ruin problem include probabilities, expected values, and the notion of "ruin". It is important to understand the different strategies that can be used to minimize the risk of ruin and increase the chances of winning.

Can the variation of gamblers ruin problem be solved analytically?

Yes, the variation of gamblers ruin problem can be solved analytically using mathematical equations and formulas. However, as the problem becomes more complex, it may require the use of computer simulations to obtain accurate results.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
279
  • Calculus and Beyond Homework Help
Replies
2
Views
595
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
374
  • Calculus and Beyond Homework Help
Replies
3
Views
990
  • Calculus and Beyond Homework Help
Replies
7
Views
699
Replies
12
Views
368
  • Calculus and Beyond Homework Help
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
Back
Top