Calculating probability of 2 people reaching together The Next CEO of Stack OverflowExact Probability of Collision of Two Independent Random Walkers After N StepsExact Probability of Collision of Two Independent Random Walkers After N StepsIndependent, Uniform, Random Variable:The probability of a drunk person/random walkProbability 2 Random Walkers Will Meet (1D)Result of a $2D$ random walk with position dependent probabilities of stepResult of a $2D$ random walk with position dependent probabilitiesProbability - A drunk man walking along the axisProbability of reaching a pathcalculating probability of drunk man walking on a lineDrunken man walking on an axis
How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?
How to safely derail a train during transit?
Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables
What is the purpose of the Evocation wizard's Potent Cantrip feature?
Is HostGator storing my password in plaintext?
Why is there a PLL in CPU?
Why here is plural "We went to the movies last night."
Science fiction (dystopian) short story set after WWIII
How to write the block matrix in LaTex?
Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?
Where to find order of arguments for default functions
How to write papers efficiently when English isn't my first language?
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
Can the Reverse Gravity spell affect the Meteor Swarm spell?
Unreliable Magic - Is it worth it?
Need some help with wall behind rangetop
Is a stroke of luck acceptable after a series of unfavorable events?
How do scammers retract money, while you can’t?
How to use tikz in fbox?
Can a single photon have an energy density?
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
Why did we only see the N-1 starfighters in one film?
What can we do to stop prior company from asking us questions?
Too much space between section and text in a twocolumn document
Calculating probability of 2 people reaching together
The Next CEO of Stack OverflowExact Probability of Collision of Two Independent Random Walkers After N StepsExact Probability of Collision of Two Independent Random Walkers After N StepsIndependent, Uniform, Random Variable:The probability of a drunk person/random walkProbability 2 Random Walkers Will Meet (1D)Result of a $2D$ random walk with position dependent probabilities of stepResult of a $2D$ random walk with position dependent probabilitiesProbability - A drunk man walking along the axisProbability of reaching a pathcalculating probability of drunk man walking on a lineDrunken man walking on an axis
$begingroup$
How do I solve given problem? Or how do I approach this question?
Two drunks start out together at the origin, each having equal probability of making a step to the left or right along the $x$ axis. Find the probability that they meet again after $N$ steps. It is understood that the men make their steps simultaneously. (It may be helpful to consider their relative motion.)
probability probability-theory probability-distributions
$endgroup$
add a comment |
$begingroup$
How do I solve given problem? Or how do I approach this question?
Two drunks start out together at the origin, each having equal probability of making a step to the left or right along the $x$ axis. Find the probability that they meet again after $N$ steps. It is understood that the men make their steps simultaneously. (It may be helpful to consider their relative motion.)
probability probability-theory probability-distributions
$endgroup$
$begingroup$
Possible duplicate of Exact Probability of Collision of Two Independent Random Walkers After N Steps
$endgroup$
– Yanior Weg
yesterday
add a comment |
$begingroup$
How do I solve given problem? Or how do I approach this question?
Two drunks start out together at the origin, each having equal probability of making a step to the left or right along the $x$ axis. Find the probability that they meet again after $N$ steps. It is understood that the men make their steps simultaneously. (It may be helpful to consider their relative motion.)
probability probability-theory probability-distributions
$endgroup$
How do I solve given problem? Or how do I approach this question?
Two drunks start out together at the origin, each having equal probability of making a step to the left or right along the $x$ axis. Find the probability that they meet again after $N$ steps. It is understood that the men make their steps simultaneously. (It may be helpful to consider their relative motion.)
probability probability-theory probability-distributions
probability probability-theory probability-distributions
edited 2 days ago
Matti P.
2,2811514
2,2811514
asked Mar 26 at 4:31
Abhi7731756Abhi7731756
74
74
$begingroup$
Possible duplicate of Exact Probability of Collision of Two Independent Random Walkers After N Steps
$endgroup$
– Yanior Weg
yesterday
add a comment |
$begingroup$
Possible duplicate of Exact Probability of Collision of Two Independent Random Walkers After N Steps
$endgroup$
– Yanior Weg
yesterday
$begingroup$
Possible duplicate of Exact Probability of Collision of Two Independent Random Walkers After N Steps
$endgroup$
– Yanior Weg
yesterday
$begingroup$
Possible duplicate of Exact Probability of Collision of Two Independent Random Walkers After N Steps
$endgroup$
– Yanior Weg
yesterday
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Suppose $X_n$ is the coordinate of the first man after $n$ steps, and $Y$ - of the second one. Suppose $Z_n = X_n - Y_n$. Then your problem is equivalent to finding $P(Z_N = 0)$.
We see, that $$Z_n - Z_n-1 = begincases 2 & quad text with probability frac14 text (the probability that the first one makes a step right and the other a step left) \ 0 & quad text with probability frac12 text (the probability that they move in the same direction) \ -2 & quad text with probability frac14 text (the probability that the first one makes a step left and the other a step right) endcases$$
And each step is assumed to be made independently.
Suppose $N_1$ is the number of the occurrences of the first case, $N_2$ - of the second case, and $N_3$ - of the third case. Then, in case $Z_N = 0$ we have $N = N_1 + N_2 + N_3$ and $N_1 = N_3$. There are $C_N^N_2C_N - N_2^fracN - N_22$ such configurations for any fixed $N_2$, such that $N equiv N_2 (textmod 2)$ (and $0$ otherwise). And the probability of each of them is $frac12^N_2frac14^N - N_2 = frac12^2N - N_2$. Thus, we have $$P(Z_N = 0) = begincases fracSigma_i = 0^fracN2 C_N^2iC_N - 2i^fracN2 - i4^N - i & quad N text is even \ fracSigma_i = 0^fracN-12 C_N^2i+1C_N - 2i-1^fracN-12 - i2^2N - 2i - 1 & quad N text is oddendcases$$
That is your answer.
$endgroup$
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
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%2f3162716%2fcalculating-probability-of-2-people-reaching-together%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Suppose $X_n$ is the coordinate of the first man after $n$ steps, and $Y$ - of the second one. Suppose $Z_n = X_n - Y_n$. Then your problem is equivalent to finding $P(Z_N = 0)$.
We see, that $$Z_n - Z_n-1 = begincases 2 & quad text with probability frac14 text (the probability that the first one makes a step right and the other a step left) \ 0 & quad text with probability frac12 text (the probability that they move in the same direction) \ -2 & quad text with probability frac14 text (the probability that the first one makes a step left and the other a step right) endcases$$
And each step is assumed to be made independently.
Suppose $N_1$ is the number of the occurrences of the first case, $N_2$ - of the second case, and $N_3$ - of the third case. Then, in case $Z_N = 0$ we have $N = N_1 + N_2 + N_3$ and $N_1 = N_3$. There are $C_N^N_2C_N - N_2^fracN - N_22$ such configurations for any fixed $N_2$, such that $N equiv N_2 (textmod 2)$ (and $0$ otherwise). And the probability of each of them is $frac12^N_2frac14^N - N_2 = frac12^2N - N_2$. Thus, we have $$P(Z_N = 0) = begincases fracSigma_i = 0^fracN2 C_N^2iC_N - 2i^fracN2 - i4^N - i & quad N text is even \ fracSigma_i = 0^fracN-12 C_N^2i+1C_N - 2i-1^fracN-12 - i2^2N - 2i - 1 & quad N text is oddendcases$$
That is your answer.
$endgroup$
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
add a comment |
$begingroup$
Suppose $X_n$ is the coordinate of the first man after $n$ steps, and $Y$ - of the second one. Suppose $Z_n = X_n - Y_n$. Then your problem is equivalent to finding $P(Z_N = 0)$.
We see, that $$Z_n - Z_n-1 = begincases 2 & quad text with probability frac14 text (the probability that the first one makes a step right and the other a step left) \ 0 & quad text with probability frac12 text (the probability that they move in the same direction) \ -2 & quad text with probability frac14 text (the probability that the first one makes a step left and the other a step right) endcases$$
And each step is assumed to be made independently.
Suppose $N_1$ is the number of the occurrences of the first case, $N_2$ - of the second case, and $N_3$ - of the third case. Then, in case $Z_N = 0$ we have $N = N_1 + N_2 + N_3$ and $N_1 = N_3$. There are $C_N^N_2C_N - N_2^fracN - N_22$ such configurations for any fixed $N_2$, such that $N equiv N_2 (textmod 2)$ (and $0$ otherwise). And the probability of each of them is $frac12^N_2frac14^N - N_2 = frac12^2N - N_2$. Thus, we have $$P(Z_N = 0) = begincases fracSigma_i = 0^fracN2 C_N^2iC_N - 2i^fracN2 - i4^N - i & quad N text is even \ fracSigma_i = 0^fracN-12 C_N^2i+1C_N - 2i-1^fracN-12 - i2^2N - 2i - 1 & quad N text is oddendcases$$
That is your answer.
$endgroup$
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
add a comment |
$begingroup$
Suppose $X_n$ is the coordinate of the first man after $n$ steps, and $Y$ - of the second one. Suppose $Z_n = X_n - Y_n$. Then your problem is equivalent to finding $P(Z_N = 0)$.
We see, that $$Z_n - Z_n-1 = begincases 2 & quad text with probability frac14 text (the probability that the first one makes a step right and the other a step left) \ 0 & quad text with probability frac12 text (the probability that they move in the same direction) \ -2 & quad text with probability frac14 text (the probability that the first one makes a step left and the other a step right) endcases$$
And each step is assumed to be made independently.
Suppose $N_1$ is the number of the occurrences of the first case, $N_2$ - of the second case, and $N_3$ - of the third case. Then, in case $Z_N = 0$ we have $N = N_1 + N_2 + N_3$ and $N_1 = N_3$. There are $C_N^N_2C_N - N_2^fracN - N_22$ such configurations for any fixed $N_2$, such that $N equiv N_2 (textmod 2)$ (and $0$ otherwise). And the probability of each of them is $frac12^N_2frac14^N - N_2 = frac12^2N - N_2$. Thus, we have $$P(Z_N = 0) = begincases fracSigma_i = 0^fracN2 C_N^2iC_N - 2i^fracN2 - i4^N - i & quad N text is even \ fracSigma_i = 0^fracN-12 C_N^2i+1C_N - 2i-1^fracN-12 - i2^2N - 2i - 1 & quad N text is oddendcases$$
That is your answer.
$endgroup$
Suppose $X_n$ is the coordinate of the first man after $n$ steps, and $Y$ - of the second one. Suppose $Z_n = X_n - Y_n$. Then your problem is equivalent to finding $P(Z_N = 0)$.
We see, that $$Z_n - Z_n-1 = begincases 2 & quad text with probability frac14 text (the probability that the first one makes a step right and the other a step left) \ 0 & quad text with probability frac12 text (the probability that they move in the same direction) \ -2 & quad text with probability frac14 text (the probability that the first one makes a step left and the other a step right) endcases$$
And each step is assumed to be made independently.
Suppose $N_1$ is the number of the occurrences of the first case, $N_2$ - of the second case, and $N_3$ - of the third case. Then, in case $Z_N = 0$ we have $N = N_1 + N_2 + N_3$ and $N_1 = N_3$. There are $C_N^N_2C_N - N_2^fracN - N_22$ such configurations for any fixed $N_2$, such that $N equiv N_2 (textmod 2)$ (and $0$ otherwise). And the probability of each of them is $frac12^N_2frac14^N - N_2 = frac12^2N - N_2$. Thus, we have $$P(Z_N = 0) = begincases fracSigma_i = 0^fracN2 C_N^2iC_N - 2i^fracN2 - i4^N - i & quad N text is even \ fracSigma_i = 0^fracN-12 C_N^2i+1C_N - 2i-1^fracN-12 - i2^2N - 2i - 1 & quad N text is oddendcases$$
That is your answer.
edited yesterday
answered 2 days ago
Yanior WegYanior Weg
2,78211346
2,78211346
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
add a comment |
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
Shouldn't $N_1=N_3 as oppose to N_1=N_2$?
$endgroup$
– Abhi7731756
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
$begingroup$
@Abhi7731756, yes, it should. $N_1 = N_2$ was a typo.
$endgroup$
– Yanior Weg
yesterday
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%2f3162716%2fcalculating-probability-of-2-people-reaching-together%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$
Possible duplicate of Exact Probability of Collision of Two Independent Random Walkers After N Steps
$endgroup$
– Yanior Weg
yesterday