Exact Probability of Collision of Two Independent Random Walkers After N Steps The Next CEO of Stack OverflowThe random walk of two drunksModelling the meeting of two random walksCalculating probability of 2 people reaching togetherRandom Walk - If $m$ is odd, probability of no equalization in the last $m$ steps in path of length $2m$ is 1/2The random walk of two drunksProbability 2 Random Walkers Will Meet (1D)Random walk on a finite square grid: probability of given position after 15 or 3600 movesStability of a dimer on a square grid after $n$ random stepsMeeting probability of two bankers: uniform distribution puzzleProbability of two people passing through same point on random walk2 1D random walkers separated by a distance d will meet at or before time t.Probability that ants meet after $8$ stepsCalculating probability of 2 people reaching together
What is the value of α and β in a triangle?
Would a completely good Muggle be able to use a wand?
What was the first Unix version to run on a microcomputer?
Recycling old answers
Unreliable Magic - Is it worth it?
Is there a way to save my career from absolute disaster?
Why isn't the Mueller report being released completely and unredacted?
Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?
Can a Bladesinger Wizard use Bladesong with a Hand Crossbow?
Beveled cylinder cutout
Is it okay to majorly distort historical facts while writing a fiction story?
Easy to read palindrome checker
Won the lottery - how do I keep the money?
Where do students learn to solve polynomial equations these days?
Why does standard notation not preserve intervals (visually)
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Why do remote US companies require working in the US?
Why didn't Khan get resurrected in the Genesis Explosion?
How many extra stops do monopods offer for tele photographs?
What connection does MS Office have to Netscape Navigator?
How did people program for Consoles with multiple CPUs?
Math-accent symbol over parentheses enclosing accented symbol (amsmath)
Is wanting to ask what to write an indication that you need to change your story?
What flight has the highest ratio of time difference to flight time?
Exact Probability of Collision of Two Independent Random Walkers After N Steps
The Next CEO of Stack OverflowThe random walk of two drunksModelling the meeting of two random walksCalculating probability of 2 people reaching togetherRandom Walk - If $m$ is odd, probability of no equalization in the last $m$ steps in path of length $2m$ is 1/2The random walk of two drunksProbability 2 Random Walkers Will Meet (1D)Random walk on a finite square grid: probability of given position after 15 or 3600 movesStability of a dimer on a square grid after $n$ random stepsMeeting probability of two bankers: uniform distribution puzzleProbability of two people passing through same point on random walk2 1D random walkers separated by a distance d will meet at or before time t.Probability that ants meet after $8$ stepsCalculating probability of 2 people reaching together
$begingroup$
Two drunks start together at the origin at $t=0$ and every second they move with equal probability either to the right or to the left, each drunk independently from the other. What is the probability that after $N$ seconds they meet again?
I may be on something but I don't know how to write this sum in a close form:
beginequation
sum_n=0^[N/2]fracN!n!n!(N-2n)!frac12^N+2n
endequation
Any hints?
probability random-walk
$endgroup$
add a comment |
$begingroup$
Two drunks start together at the origin at $t=0$ and every second they move with equal probability either to the right or to the left, each drunk independently from the other. What is the probability that after $N$ seconds they meet again?
I may be on something but I don't know how to write this sum in a close form:
beginequation
sum_n=0^[N/2]fracN!n!n!(N-2n)!frac12^N+2n
endequation
Any hints?
probability random-walk
$endgroup$
$begingroup$
This feels like it's equivalent to a random walk by one particle. If you write their positions as $x_t$ and $y_t$ and denote the distance between them by $d_t=x_t-y_t$ then $d_0=0$ and at each stage, $d_t+1$ is either $d_t$ (probability $1/2$), $d_t-2$ (probability $1/4$) or $d_t+2$ (probability $1/4$).
$endgroup$
– Chris Taylor
Mar 8 '12 at 22:47
$begingroup$
Yes, it is just what I thought and following that idea I found the summation above. Can you rewrite it in a nicer form?
$endgroup$
– quark1245
Mar 8 '12 at 22:52
$begingroup$
The no. of left movement should be same for both persons.Hence the probability is $1overN$, since N is no. of distinct left movements.
$endgroup$
– quartz
Mar 8 '12 at 23:02
add a comment |
$begingroup$
Two drunks start together at the origin at $t=0$ and every second they move with equal probability either to the right or to the left, each drunk independently from the other. What is the probability that after $N$ seconds they meet again?
I may be on something but I don't know how to write this sum in a close form:
beginequation
sum_n=0^[N/2]fracN!n!n!(N-2n)!frac12^N+2n
endequation
Any hints?
probability random-walk
$endgroup$
Two drunks start together at the origin at $t=0$ and every second they move with equal probability either to the right or to the left, each drunk independently from the other. What is the probability that after $N$ seconds they meet again?
I may be on something but I don't know how to write this sum in a close form:
beginequation
sum_n=0^[N/2]fracN!n!n!(N-2n)!frac12^N+2n
endequation
Any hints?
probability random-walk
probability random-walk
edited Mar 27 at 17:03
Royi
3,62012354
3,62012354
asked Mar 8 '12 at 22:42
quark1245quark1245
5111818
5111818
$begingroup$
This feels like it's equivalent to a random walk by one particle. If you write their positions as $x_t$ and $y_t$ and denote the distance between them by $d_t=x_t-y_t$ then $d_0=0$ and at each stage, $d_t+1$ is either $d_t$ (probability $1/2$), $d_t-2$ (probability $1/4$) or $d_t+2$ (probability $1/4$).
$endgroup$
– Chris Taylor
Mar 8 '12 at 22:47
$begingroup$
Yes, it is just what I thought and following that idea I found the summation above. Can you rewrite it in a nicer form?
$endgroup$
– quark1245
Mar 8 '12 at 22:52
$begingroup$
The no. of left movement should be same for both persons.Hence the probability is $1overN$, since N is no. of distinct left movements.
$endgroup$
– quartz
Mar 8 '12 at 23:02
add a comment |
$begingroup$
This feels like it's equivalent to a random walk by one particle. If you write their positions as $x_t$ and $y_t$ and denote the distance between them by $d_t=x_t-y_t$ then $d_0=0$ and at each stage, $d_t+1$ is either $d_t$ (probability $1/2$), $d_t-2$ (probability $1/4$) or $d_t+2$ (probability $1/4$).
$endgroup$
– Chris Taylor
Mar 8 '12 at 22:47
$begingroup$
Yes, it is just what I thought and following that idea I found the summation above. Can you rewrite it in a nicer form?
$endgroup$
– quark1245
Mar 8 '12 at 22:52
$begingroup$
The no. of left movement should be same for both persons.Hence the probability is $1overN$, since N is no. of distinct left movements.
$endgroup$
– quartz
Mar 8 '12 at 23:02
$begingroup$
This feels like it's equivalent to a random walk by one particle. If you write their positions as $x_t$ and $y_t$ and denote the distance between them by $d_t=x_t-y_t$ then $d_0=0$ and at each stage, $d_t+1$ is either $d_t$ (probability $1/2$), $d_t-2$ (probability $1/4$) or $d_t+2$ (probability $1/4$).
$endgroup$
– Chris Taylor
Mar 8 '12 at 22:47
$begingroup$
This feels like it's equivalent to a random walk by one particle. If you write their positions as $x_t$ and $y_t$ and denote the distance between them by $d_t=x_t-y_t$ then $d_0=0$ and at each stage, $d_t+1$ is either $d_t$ (probability $1/2$), $d_t-2$ (probability $1/4$) or $d_t+2$ (probability $1/4$).
$endgroup$
– Chris Taylor
Mar 8 '12 at 22:47
$begingroup$
Yes, it is just what I thought and following that idea I found the summation above. Can you rewrite it in a nicer form?
$endgroup$
– quark1245
Mar 8 '12 at 22:52
$begingroup$
Yes, it is just what I thought and following that idea I found the summation above. Can you rewrite it in a nicer form?
$endgroup$
– quark1245
Mar 8 '12 at 22:52
$begingroup$
The no. of left movement should be same for both persons.Hence the probability is $1overN$, since N is no. of distinct left movements.
$endgroup$
– quartz
Mar 8 '12 at 23:02
$begingroup$
The no. of left movement should be same for both persons.Hence the probability is $1overN$, since N is no. of distinct left movements.
$endgroup$
– quartz
Mar 8 '12 at 23:02
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
Here are two hints:
First hint : We look at how the second drunk moves relatively to the first drunk. If $A_n$ and $B_n$ are the positions of respectively the first drunk and of the second drunk at time $n$, then you can prove that $(A_n - B_n)$ is a random walk, and you are now interested in its return time at $0$.
What is the transition process of this new random walk? Can you express it with a simpler random walk (hint : simple random walk)?
Second hint : This second hint is independent from the first. Now, let us try to find a combinatorial answer. Fiw the time $n$. Let us denote by $L_1$ the left move of the first drunk until time $n$, by $R_1$ its right moves, by $L_2$ the left moves of the second drunk, and by $R_2$ the right moves of the later. The sequence of moves untile time $n$ can be describe by two sequences, say:
$$L_1 L_1 R_1 L_1 R_1 R_1 R_1 cdots L_1$$
$$L_2 R_2 R_2 L_2 L_2 L_2 R_2 cdots L_2$$
Say what it means for the two drunks to be at the same place at time $n$. In particlar, what condition on (number of $L_1$ + number of $R_2$) is equivalent to this event?
$endgroup$
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
add a comment |
$begingroup$
As @Chris Taylor mentioned, it is equivalent of having one walker with the following PDF for the each step:
$$ pleft ( x right ) = left{beginmatrix
-1 & frac14 \
0 & frac12 \
1 & frac14
endmatrixright. $$
Now we have to calculate the probability of him to get back to the origin.
The trick is understand that given he did $ k $ steps to the right he must do $ k $ steps to the left the rest of the steps are standing still.
Moreover, $ k $ is limited up to half of the steps, $ N $, namely, $ k leq left lfloor fracN2 right rfloor $.
Defining $ S_N = x_1 + x_2 + cdots + x_N $ and calculating $ pleft ( S_N = 0 right ) $ which is the probability of being at the origin at the $ N $ step yields:
$$ pleft ( S_N = 0 right ) = sum_k = 0^left lfloor fracN2 right rfloor left (frac14 right )^k left (frac14 right )^k left ( frac12 right )^N - 2k binomNkbinomN - kk $$
The logic is, we sum all over the possibilities of routes of the length $ N $ with the same number of right and left turns (Hence choosing $ k $ steps of $ N $ steps and then $ k $ of $ N - k $ left steps).
Another point of view is looking at the route of the 2 walkers as a binary chain.
Each of them creates a chain of length $ N $.
We want the two chains to have the same number of $ 1 $ in them.
If walker A made a chain with length $ N $ which includes $ k $ times $ 1 $ walker B must have a chain of length $ N $ with exactly $ k $ times $ 1 $ which there are $ binomNk $ options.
Walker A also has the number of options to have a chain with $ k $ times $ 1 $.
The total number of chains is $ 2^N $.
Which yields:
$$ pleft ( S_N = 0 right ) = 2^-2N sum_k = 0^N binomNk^2 = fracbinom2NN2^2N $$
Which give us a nice identity.
$endgroup$
add a comment |
$begingroup$
Disclaimer: This is, so far, one of my most downvoted answers on the site. Needless to say, it is perfectly correct, and it answers the question. The downvotes might be due to some extra-mathematical reasons. Happy reading!
Hint: characteristic functions.
The relative movement $X$ in one step has characteristic function $varphi$ where $varphi(t)=mathrm E(mathrm e^mathrm itX)=frac12+frac14mathrm e^mathrm it+frac14mathrm e^-mathrm it$ hence $varphi(t)=frac12(1+cos t)=cos^2left(fract2right)$. The relative position $S_N$ after $N$ steps has characteristic function $varphi(t)^N=cos^2Nleft(fract2right)$.
The probability that the two walkers meet at time $N$ is $p_N=mathrm P(S_N=0)=intlimits_0^2pimathrm E(mathrm e^mathrm itS_N)fracmathrm dt2pi$ hence $p_N=intlimits_0^2picos^2Nleft(fract2right)fracmathrm dt2pi=frac2piintlimits_0^pi/2cos^2N(t)mathrm dt$.
Finally, $p_N=frac2pi W_N$, where $W_N$ is a Wallis integral, whose value is well known.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f118046%2fexact-probability-of-collision-of-two-independent-random-walkers-after-n-steps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Here are two hints:
First hint : We look at how the second drunk moves relatively to the first drunk. If $A_n$ and $B_n$ are the positions of respectively the first drunk and of the second drunk at time $n$, then you can prove that $(A_n - B_n)$ is a random walk, and you are now interested in its return time at $0$.
What is the transition process of this new random walk? Can you express it with a simpler random walk (hint : simple random walk)?
Second hint : This second hint is independent from the first. Now, let us try to find a combinatorial answer. Fiw the time $n$. Let us denote by $L_1$ the left move of the first drunk until time $n$, by $R_1$ its right moves, by $L_2$ the left moves of the second drunk, and by $R_2$ the right moves of the later. The sequence of moves untile time $n$ can be describe by two sequences, say:
$$L_1 L_1 R_1 L_1 R_1 R_1 R_1 cdots L_1$$
$$L_2 R_2 R_2 L_2 L_2 L_2 R_2 cdots L_2$$
Say what it means for the two drunks to be at the same place at time $n$. In particlar, what condition on (number of $L_1$ + number of $R_2$) is equivalent to this event?
$endgroup$
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
add a comment |
$begingroup$
Here are two hints:
First hint : We look at how the second drunk moves relatively to the first drunk. If $A_n$ and $B_n$ are the positions of respectively the first drunk and of the second drunk at time $n$, then you can prove that $(A_n - B_n)$ is a random walk, and you are now interested in its return time at $0$.
What is the transition process of this new random walk? Can you express it with a simpler random walk (hint : simple random walk)?
Second hint : This second hint is independent from the first. Now, let us try to find a combinatorial answer. Fiw the time $n$. Let us denote by $L_1$ the left move of the first drunk until time $n$, by $R_1$ its right moves, by $L_2$ the left moves of the second drunk, and by $R_2$ the right moves of the later. The sequence of moves untile time $n$ can be describe by two sequences, say:
$$L_1 L_1 R_1 L_1 R_1 R_1 R_1 cdots L_1$$
$$L_2 R_2 R_2 L_2 L_2 L_2 R_2 cdots L_2$$
Say what it means for the two drunks to be at the same place at time $n$. In particlar, what condition on (number of $L_1$ + number of $R_2$) is equivalent to this event?
$endgroup$
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
add a comment |
$begingroup$
Here are two hints:
First hint : We look at how the second drunk moves relatively to the first drunk. If $A_n$ and $B_n$ are the positions of respectively the first drunk and of the second drunk at time $n$, then you can prove that $(A_n - B_n)$ is a random walk, and you are now interested in its return time at $0$.
What is the transition process of this new random walk? Can you express it with a simpler random walk (hint : simple random walk)?
Second hint : This second hint is independent from the first. Now, let us try to find a combinatorial answer. Fiw the time $n$. Let us denote by $L_1$ the left move of the first drunk until time $n$, by $R_1$ its right moves, by $L_2$ the left moves of the second drunk, and by $R_2$ the right moves of the later. The sequence of moves untile time $n$ can be describe by two sequences, say:
$$L_1 L_1 R_1 L_1 R_1 R_1 R_1 cdots L_1$$
$$L_2 R_2 R_2 L_2 L_2 L_2 R_2 cdots L_2$$
Say what it means for the two drunks to be at the same place at time $n$. In particlar, what condition on (number of $L_1$ + number of $R_2$) is equivalent to this event?
$endgroup$
Here are two hints:
First hint : We look at how the second drunk moves relatively to the first drunk. If $A_n$ and $B_n$ are the positions of respectively the first drunk and of the second drunk at time $n$, then you can prove that $(A_n - B_n)$ is a random walk, and you are now interested in its return time at $0$.
What is the transition process of this new random walk? Can you express it with a simpler random walk (hint : simple random walk)?
Second hint : This second hint is independent from the first. Now, let us try to find a combinatorial answer. Fiw the time $n$. Let us denote by $L_1$ the left move of the first drunk until time $n$, by $R_1$ its right moves, by $L_2$ the left moves of the second drunk, and by $R_2$ the right moves of the later. The sequence of moves untile time $n$ can be describe by two sequences, say:
$$L_1 L_1 R_1 L_1 R_1 R_1 R_1 cdots L_1$$
$$L_2 R_2 R_2 L_2 L_2 L_2 R_2 cdots L_2$$
Say what it means for the two drunks to be at the same place at time $n$. In particlar, what condition on (number of $L_1$ + number of $R_2$) is equivalent to this event?
answered Mar 8 '12 at 22:59
D. ThomineD. Thomine
7,7991538
7,7991538
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
add a comment |
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
About your second hint: the condition we need is that the number of left moves is equal for the two drunks, or that the number of left moves of the first + the number of right moves of the second is equal to N. The number of all possible walks is $4^N$. Call $n$ the number of left moves of the first drunk. We can choose these $n$ moves in $(N,,,, n)$ ways. The number of left moves of the second drunk must be $n$ too and so the probability is $sum_n=0^N=(N ,,,, n)^2/4^N$, that is $4^-N(2N,,,, N)$. Is this right? Thanks
$endgroup$
– quark1245
Mar 8 '12 at 23:30
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
$begingroup$
This is right, but there is a slightly shorter reasoning. Both path are entirely determined by the data of the $N$ left moves of the firsts + right moves of the second, so there is $(2N N)$ good paths, among the $4^N$ possible paths.
$endgroup$
– D. Thomine
Mar 8 '12 at 23:38
add a comment |
$begingroup$
As @Chris Taylor mentioned, it is equivalent of having one walker with the following PDF for the each step:
$$ pleft ( x right ) = left{beginmatrix
-1 & frac14 \
0 & frac12 \
1 & frac14
endmatrixright. $$
Now we have to calculate the probability of him to get back to the origin.
The trick is understand that given he did $ k $ steps to the right he must do $ k $ steps to the left the rest of the steps are standing still.
Moreover, $ k $ is limited up to half of the steps, $ N $, namely, $ k leq left lfloor fracN2 right rfloor $.
Defining $ S_N = x_1 + x_2 + cdots + x_N $ and calculating $ pleft ( S_N = 0 right ) $ which is the probability of being at the origin at the $ N $ step yields:
$$ pleft ( S_N = 0 right ) = sum_k = 0^left lfloor fracN2 right rfloor left (frac14 right )^k left (frac14 right )^k left ( frac12 right )^N - 2k binomNkbinomN - kk $$
The logic is, we sum all over the possibilities of routes of the length $ N $ with the same number of right and left turns (Hence choosing $ k $ steps of $ N $ steps and then $ k $ of $ N - k $ left steps).
Another point of view is looking at the route of the 2 walkers as a binary chain.
Each of them creates a chain of length $ N $.
We want the two chains to have the same number of $ 1 $ in them.
If walker A made a chain with length $ N $ which includes $ k $ times $ 1 $ walker B must have a chain of length $ N $ with exactly $ k $ times $ 1 $ which there are $ binomNk $ options.
Walker A also has the number of options to have a chain with $ k $ times $ 1 $.
The total number of chains is $ 2^N $.
Which yields:
$$ pleft ( S_N = 0 right ) = 2^-2N sum_k = 0^N binomNk^2 = fracbinom2NN2^2N $$
Which give us a nice identity.
$endgroup$
add a comment |
$begingroup$
As @Chris Taylor mentioned, it is equivalent of having one walker with the following PDF for the each step:
$$ pleft ( x right ) = left{beginmatrix
-1 & frac14 \
0 & frac12 \
1 & frac14
endmatrixright. $$
Now we have to calculate the probability of him to get back to the origin.
The trick is understand that given he did $ k $ steps to the right he must do $ k $ steps to the left the rest of the steps are standing still.
Moreover, $ k $ is limited up to half of the steps, $ N $, namely, $ k leq left lfloor fracN2 right rfloor $.
Defining $ S_N = x_1 + x_2 + cdots + x_N $ and calculating $ pleft ( S_N = 0 right ) $ which is the probability of being at the origin at the $ N $ step yields:
$$ pleft ( S_N = 0 right ) = sum_k = 0^left lfloor fracN2 right rfloor left (frac14 right )^k left (frac14 right )^k left ( frac12 right )^N - 2k binomNkbinomN - kk $$
The logic is, we sum all over the possibilities of routes of the length $ N $ with the same number of right and left turns (Hence choosing $ k $ steps of $ N $ steps and then $ k $ of $ N - k $ left steps).
Another point of view is looking at the route of the 2 walkers as a binary chain.
Each of them creates a chain of length $ N $.
We want the two chains to have the same number of $ 1 $ in them.
If walker A made a chain with length $ N $ which includes $ k $ times $ 1 $ walker B must have a chain of length $ N $ with exactly $ k $ times $ 1 $ which there are $ binomNk $ options.
Walker A also has the number of options to have a chain with $ k $ times $ 1 $.
The total number of chains is $ 2^N $.
Which yields:
$$ pleft ( S_N = 0 right ) = 2^-2N sum_k = 0^N binomNk^2 = fracbinom2NN2^2N $$
Which give us a nice identity.
$endgroup$
add a comment |
$begingroup$
As @Chris Taylor mentioned, it is equivalent of having one walker with the following PDF for the each step:
$$ pleft ( x right ) = left{beginmatrix
-1 & frac14 \
0 & frac12 \
1 & frac14
endmatrixright. $$
Now we have to calculate the probability of him to get back to the origin.
The trick is understand that given he did $ k $ steps to the right he must do $ k $ steps to the left the rest of the steps are standing still.
Moreover, $ k $ is limited up to half of the steps, $ N $, namely, $ k leq left lfloor fracN2 right rfloor $.
Defining $ S_N = x_1 + x_2 + cdots + x_N $ and calculating $ pleft ( S_N = 0 right ) $ which is the probability of being at the origin at the $ N $ step yields:
$$ pleft ( S_N = 0 right ) = sum_k = 0^left lfloor fracN2 right rfloor left (frac14 right )^k left (frac14 right )^k left ( frac12 right )^N - 2k binomNkbinomN - kk $$
The logic is, we sum all over the possibilities of routes of the length $ N $ with the same number of right and left turns (Hence choosing $ k $ steps of $ N $ steps and then $ k $ of $ N - k $ left steps).
Another point of view is looking at the route of the 2 walkers as a binary chain.
Each of them creates a chain of length $ N $.
We want the two chains to have the same number of $ 1 $ in them.
If walker A made a chain with length $ N $ which includes $ k $ times $ 1 $ walker B must have a chain of length $ N $ with exactly $ k $ times $ 1 $ which there are $ binomNk $ options.
Walker A also has the number of options to have a chain with $ k $ times $ 1 $.
The total number of chains is $ 2^N $.
Which yields:
$$ pleft ( S_N = 0 right ) = 2^-2N sum_k = 0^N binomNk^2 = fracbinom2NN2^2N $$
Which give us a nice identity.
$endgroup$
As @Chris Taylor mentioned, it is equivalent of having one walker with the following PDF for the each step:
$$ pleft ( x right ) = left{beginmatrix
-1 & frac14 \
0 & frac12 \
1 & frac14
endmatrixright. $$
Now we have to calculate the probability of him to get back to the origin.
The trick is understand that given he did $ k $ steps to the right he must do $ k $ steps to the left the rest of the steps are standing still.
Moreover, $ k $ is limited up to half of the steps, $ N $, namely, $ k leq left lfloor fracN2 right rfloor $.
Defining $ S_N = x_1 + x_2 + cdots + x_N $ and calculating $ pleft ( S_N = 0 right ) $ which is the probability of being at the origin at the $ N $ step yields:
$$ pleft ( S_N = 0 right ) = sum_k = 0^left lfloor fracN2 right rfloor left (frac14 right )^k left (frac14 right )^k left ( frac12 right )^N - 2k binomNkbinomN - kk $$
The logic is, we sum all over the possibilities of routes of the length $ N $ with the same number of right and left turns (Hence choosing $ k $ steps of $ N $ steps and then $ k $ of $ N - k $ left steps).
Another point of view is looking at the route of the 2 walkers as a binary chain.
Each of them creates a chain of length $ N $.
We want the two chains to have the same number of $ 1 $ in them.
If walker A made a chain with length $ N $ which includes $ k $ times $ 1 $ walker B must have a chain of length $ N $ with exactly $ k $ times $ 1 $ which there are $ binomNk $ options.
Walker A also has the number of options to have a chain with $ k $ times $ 1 $.
The total number of chains is $ 2^N $.
Which yields:
$$ pleft ( S_N = 0 right ) = 2^-2N sum_k = 0^N binomNk^2 = fracbinom2NN2^2N $$
Which give us a nice identity.
edited Nov 2 '12 at 7:39
answered Oct 30 '12 at 19:45
RoyiRoyi
3,62012354
3,62012354
add a comment |
add a comment |
$begingroup$
Disclaimer: This is, so far, one of my most downvoted answers on the site. Needless to say, it is perfectly correct, and it answers the question. The downvotes might be due to some extra-mathematical reasons. Happy reading!
Hint: characteristic functions.
The relative movement $X$ in one step has characteristic function $varphi$ where $varphi(t)=mathrm E(mathrm e^mathrm itX)=frac12+frac14mathrm e^mathrm it+frac14mathrm e^-mathrm it$ hence $varphi(t)=frac12(1+cos t)=cos^2left(fract2right)$. The relative position $S_N$ after $N$ steps has characteristic function $varphi(t)^N=cos^2Nleft(fract2right)$.
The probability that the two walkers meet at time $N$ is $p_N=mathrm P(S_N=0)=intlimits_0^2pimathrm E(mathrm e^mathrm itS_N)fracmathrm dt2pi$ hence $p_N=intlimits_0^2picos^2Nleft(fract2right)fracmathrm dt2pi=frac2piintlimits_0^pi/2cos^2N(t)mathrm dt$.
Finally, $p_N=frac2pi W_N$, where $W_N$ is a Wallis integral, whose value is well known.
$endgroup$
add a comment |
$begingroup$
Disclaimer: This is, so far, one of my most downvoted answers on the site. Needless to say, it is perfectly correct, and it answers the question. The downvotes might be due to some extra-mathematical reasons. Happy reading!
Hint: characteristic functions.
The relative movement $X$ in one step has characteristic function $varphi$ where $varphi(t)=mathrm E(mathrm e^mathrm itX)=frac12+frac14mathrm e^mathrm it+frac14mathrm e^-mathrm it$ hence $varphi(t)=frac12(1+cos t)=cos^2left(fract2right)$. The relative position $S_N$ after $N$ steps has characteristic function $varphi(t)^N=cos^2Nleft(fract2right)$.
The probability that the two walkers meet at time $N$ is $p_N=mathrm P(S_N=0)=intlimits_0^2pimathrm E(mathrm e^mathrm itS_N)fracmathrm dt2pi$ hence $p_N=intlimits_0^2picos^2Nleft(fract2right)fracmathrm dt2pi=frac2piintlimits_0^pi/2cos^2N(t)mathrm dt$.
Finally, $p_N=frac2pi W_N$, where $W_N$ is a Wallis integral, whose value is well known.
$endgroup$
add a comment |
$begingroup$
Disclaimer: This is, so far, one of my most downvoted answers on the site. Needless to say, it is perfectly correct, and it answers the question. The downvotes might be due to some extra-mathematical reasons. Happy reading!
Hint: characteristic functions.
The relative movement $X$ in one step has characteristic function $varphi$ where $varphi(t)=mathrm E(mathrm e^mathrm itX)=frac12+frac14mathrm e^mathrm it+frac14mathrm e^-mathrm it$ hence $varphi(t)=frac12(1+cos t)=cos^2left(fract2right)$. The relative position $S_N$ after $N$ steps has characteristic function $varphi(t)^N=cos^2Nleft(fract2right)$.
The probability that the two walkers meet at time $N$ is $p_N=mathrm P(S_N=0)=intlimits_0^2pimathrm E(mathrm e^mathrm itS_N)fracmathrm dt2pi$ hence $p_N=intlimits_0^2picos^2Nleft(fract2right)fracmathrm dt2pi=frac2piintlimits_0^pi/2cos^2N(t)mathrm dt$.
Finally, $p_N=frac2pi W_N$, where $W_N$ is a Wallis integral, whose value is well known.
$endgroup$
Disclaimer: This is, so far, one of my most downvoted answers on the site. Needless to say, it is perfectly correct, and it answers the question. The downvotes might be due to some extra-mathematical reasons. Happy reading!
Hint: characteristic functions.
The relative movement $X$ in one step has characteristic function $varphi$ where $varphi(t)=mathrm E(mathrm e^mathrm itX)=frac12+frac14mathrm e^mathrm it+frac14mathrm e^-mathrm it$ hence $varphi(t)=frac12(1+cos t)=cos^2left(fract2right)$. The relative position $S_N$ after $N$ steps has characteristic function $varphi(t)^N=cos^2Nleft(fract2right)$.
The probability that the two walkers meet at time $N$ is $p_N=mathrm P(S_N=0)=intlimits_0^2pimathrm E(mathrm e^mathrm itS_N)fracmathrm dt2pi$ hence $p_N=intlimits_0^2picos^2Nleft(fract2right)fracmathrm dt2pi=frac2piintlimits_0^pi/2cos^2N(t)mathrm dt$.
Finally, $p_N=frac2pi W_N$, where $W_N$ is a Wallis integral, whose value is well known.
edited Oct 31 '16 at 13:18
answered Mar 8 '12 at 23:52
DidDid
249k23226466
249k23226466
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f118046%2fexact-probability-of-collision-of-two-independent-random-walkers-after-n-steps%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
This feels like it's equivalent to a random walk by one particle. If you write their positions as $x_t$ and $y_t$ and denote the distance between them by $d_t=x_t-y_t$ then $d_0=0$ and at each stage, $d_t+1$ is either $d_t$ (probability $1/2$), $d_t-2$ (probability $1/4$) or $d_t+2$ (probability $1/4$).
$endgroup$
– Chris Taylor
Mar 8 '12 at 22:47
$begingroup$
Yes, it is just what I thought and following that idea I found the summation above. Can you rewrite it in a nicer form?
$endgroup$
– quark1245
Mar 8 '12 at 22:52
$begingroup$
The no. of left movement should be same for both persons.Hence the probability is $1overN$, since N is no. of distinct left movements.
$endgroup$
– quartz
Mar 8 '12 at 23:02