TITLE: Probability of Gambler's Ruin with Unequal Gain/Loss
QUESTION [11 upvotes]: I've spent some time reading other questions about Gambler's Ruin, but couldn't find the answer I was looking for. In most questions, it is assumed the Gambler wins \$1 or loses \$1. I'm curious how one could approach the problem with a payoff or loss that is not equal.
For example, what is the probability of ruin on a gambler who starts with \$1000.00 who wins \$41.00 with probability 0.6 and loses \$43.00 with probability 0.4? Is it possible to generalize such a solution?
Cheers,
Josh

REPLY [5 votes]: The following paper treats your question: Gambler’s ruin probability - a general formula by Guy Katriel
In this paper you will find a formula giving the exact probability of ruin for any payoff distribution. This formula
is expressed in terms of the solutions in the complex unit disk of the equation p(z)=1, where p(z) is the generating function of the payoff distribution. In the example you mention 
the function p(z) would be p(z)=0.6*z^41+0.4*z^(-43). The equation p(z)=1 will have
43 solutions in the unit disk of the complex plane (out of 84 solutions in all, since it is equivalent to a polynomial equation of degree 84), and the ruin probability can be 
expressed in terms of these solutions by the formula given in the paper. Finding
these roots will require numerical computation using a mathematical software (for example wolfram alpha will do it).