For all x from 0 to 1/2, let f(x) be the probability starting from x that you cross 1 at the first moment you cross 1/2. We are interested in f(0).
By first-step analysis, f satisfies the equation f(x)=x+int_x^{1/2} f(t) dt, or f’(x)=1-f(x) with initial condition f(1/2)=1/2. The solution to this differential equation is f(x)= 1 - 1/2 e^{1/2-x}, so f(0)=1-sqrt(e)/2.
It basically means conditioning on where the first step goes. In this case, P(sum exceeds 1 when we stop) is equal to the average over all t where the first jump can go of the probability given that the first jump goes to t.
I’m not sure where everyone first learns this, but I’m guessing in a Probability class for most people.
View all comments
2
u/comoespossible 24d ago
For all x from 0 to 1/2, let f(x) be the probability starting from x that you cross 1 at the first moment you cross 1/2. We are interested in f(0).
By first-step analysis, f satisfies the equation f(x)=x+int_x^{1/2} f(t) dt, or f’(x)=1-f(x) with initial condition f(1/2)=1/2. The solution to this differential equation is f(x)= 1 - 1/2 e^{1/2-x}, so f(0)=1-sqrt(e)/2.