September 24th, 2013, 2:45 am
A gambler starts with an initial fortune of i dollars. On each successive game, the gambler wins $1 with probability p, 0<p<1, or loss $1 with probability q=1-p. He will stop if he either accumulates N dollars or loses all his money. What is the probability that he will end up with N dollars?Assume at certain stage, the gambler gets n dollar, then it is easy to prove that when p is not equal to q, (q/p)^n is a martingale. Assume the probability to get N dollar is X, then(q/p)^i=X*(q/p)^N+(1-X)*(q/p)^0 Equation (1)So, X = [1- (q/p)^i]/[1 - (q/p)^N].Can we use Equation (1) to solve X?Also if p = q, can we use the martingale approach?Thank you in advance.