Particle Reach

Medium
Random Walks

Problem

Consider a particle that performs a random walk on the integers starting at position . At each step, the particle moves from position to position with probability , while the probability it moves from to is . If , find the probability the particle ever reaches position

Original Problem Link: Click here

Solution

It is obvious that counting cases is not feasible here. Clearly there are infinitely many cases, with no clear pattern leading to a solvable series summation. Instead, lets deal with conditional probabilities.

To recall,

Step 1: Basic Observations

There is a key observation here. I pose the following question

"If the particle started at position -1, what will be the probability of it ever reaching 0? How about 1?"

Note that, the particle's probability of reaching 0 is the same as that of a particle's probability of reach 1 when it starts at 0. This is because this random walk does not depend on your current position, just relative distances.

Now, what about the second part? Say I denote the probability of particle reaching the position to its just right as . Note that in this case, the

probability of particle reaching 2 steps to the right = P(Particle reaching 1 step right) * P(Particle reaching 1 step right)

How? Positional independence! As stated earlier, in this random walk, the probabilities are independent of your current position! This is essentially the product of 2 independent events, which are

  • Particle Reaching 1 step to the right
  • Particle reaching another step to the right from this new position (making total distance 2)

Thus,

Step 2: Equation Formation and Solution

Now, lets use the law of total probability to form an equation in .

We know,

Here, from the origin, 2 events are possible

  • The particle moves one step right to 1, with probability
  • The particle moves one step left to -1, with probability

Lets denote our event "particle reaching position 1" as Also, would represent the particle moving either left or right. Let be particle moving left. This . Similarly, let be particle moving right. This .

Also, from our discussion earlier, , and . Ofcourse, , and , as given in the question.

Plugging the values and simplifying, we get the equation

Solving, we get

Clearly, .

Thus, the required probability is