Find the probability of encounter between two flies on the plane (similar to gambler's ruin problem).












0












$begingroup$


Two flies sits on the plane. First one sits at $(0,0)$ and the second one at $(0,8)$, where first coordinate indicates time and second indicates location. Then, they start to move randomly and independently. First one goes $1$up with probability $frac13$ or $1$down with probability $frac23$. Second one goes $1$up with probability $frac34$ or $1$down with probability $frac14$. If a distance between them equals to $12$ - flies fly away. Find the probability of encounter and the average time to encounter or to fly out.



I know that I have to find a proper difference equation. It's a similar exercise to gambler's ruin, but now there are "$2$ people instead of $1$" and I have to find difference equation depending on distance.



My guess is: $psi_k=frac13psi_{k+1}+frac23psi_{k-1}$ for the first one and $psi_k=frac34psi_{k+1}+frac14psi_{k-1}$ for the second one, then I just compare them. Or do I calculate them independently with different boundary values?



Any help will be much appreciated.










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Try to write down an equation for the distance between the two flies...
    $endgroup$
    – Fabian
    Nov 24 '18 at 12:34
















0












$begingroup$


Two flies sits on the plane. First one sits at $(0,0)$ and the second one at $(0,8)$, where first coordinate indicates time and second indicates location. Then, they start to move randomly and independently. First one goes $1$up with probability $frac13$ or $1$down with probability $frac23$. Second one goes $1$up with probability $frac34$ or $1$down with probability $frac14$. If a distance between them equals to $12$ - flies fly away. Find the probability of encounter and the average time to encounter or to fly out.



I know that I have to find a proper difference equation. It's a similar exercise to gambler's ruin, but now there are "$2$ people instead of $1$" and I have to find difference equation depending on distance.



My guess is: $psi_k=frac13psi_{k+1}+frac23psi_{k-1}$ for the first one and $psi_k=frac34psi_{k+1}+frac14psi_{k-1}$ for the second one, then I just compare them. Or do I calculate them independently with different boundary values?



Any help will be much appreciated.










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    Try to write down an equation for the distance between the two flies...
    $endgroup$
    – Fabian
    Nov 24 '18 at 12:34














0












0








0





$begingroup$


Two flies sits on the plane. First one sits at $(0,0)$ and the second one at $(0,8)$, where first coordinate indicates time and second indicates location. Then, they start to move randomly and independently. First one goes $1$up with probability $frac13$ or $1$down with probability $frac23$. Second one goes $1$up with probability $frac34$ or $1$down with probability $frac14$. If a distance between them equals to $12$ - flies fly away. Find the probability of encounter and the average time to encounter or to fly out.



I know that I have to find a proper difference equation. It's a similar exercise to gambler's ruin, but now there are "$2$ people instead of $1$" and I have to find difference equation depending on distance.



My guess is: $psi_k=frac13psi_{k+1}+frac23psi_{k-1}$ for the first one and $psi_k=frac34psi_{k+1}+frac14psi_{k-1}$ for the second one, then I just compare them. Or do I calculate them independently with different boundary values?



Any help will be much appreciated.










share|cite|improve this question









$endgroup$




Two flies sits on the plane. First one sits at $(0,0)$ and the second one at $(0,8)$, where first coordinate indicates time and second indicates location. Then, they start to move randomly and independently. First one goes $1$up with probability $frac13$ or $1$down with probability $frac23$. Second one goes $1$up with probability $frac34$ or $1$down with probability $frac14$. If a distance between them equals to $12$ - flies fly away. Find the probability of encounter and the average time to encounter or to fly out.



I know that I have to find a proper difference equation. It's a similar exercise to gambler's ruin, but now there are "$2$ people instead of $1$" and I have to find difference equation depending on distance.



My guess is: $psi_k=frac13psi_{k+1}+frac23psi_{k-1}$ for the first one and $psi_k=frac34psi_{k+1}+frac14psi_{k-1}$ for the second one, then I just compare them. Or do I calculate them independently with different boundary values?



Any help will be much appreciated.







probability-theory stochastic-processes recurrence-relations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 24 '18 at 12:11









MacAbraMacAbra

16619




16619








  • 1




    $begingroup$
    Try to write down an equation for the distance between the two flies...
    $endgroup$
    – Fabian
    Nov 24 '18 at 12:34














  • 1




    $begingroup$
    Try to write down an equation for the distance between the two flies...
    $endgroup$
    – Fabian
    Nov 24 '18 at 12:34








1




1




$begingroup$
Try to write down an equation for the distance between the two flies...
$endgroup$
– Fabian
Nov 24 '18 at 12:34




$begingroup$
Try to write down an equation for the distance between the two flies...
$endgroup$
– Fabian
Nov 24 '18 at 12:34










1 Answer
1






active

oldest

votes


















0












$begingroup$

Construct a Markov chain $(X_n)_{n in mathbb{N}_0}$ that models the distance between the two flies. The chain has the possible states ${0,2,4,6,8,10,12}$. (We just say that once the chain has reached either $0$ or $12$, it stays there.) What are the transition probabilities?



Now let $p_i := P((X_n) text{ reaches } 0 text{ before } 12 | X_0 = i)$ for $i in {0,2,4,6,8,10,12}$. (You are looking for the value of $p_8$.) What are the values of $p_0$ and $p_{12}$? Do first step analysis to relate the other $p_i$'s to each other to get a system of linear equations that you can solve.






share|cite|improve this answer









$endgroup$













    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3011482%2ffind-the-probability-of-encounter-between-two-flies-on-the-plane-similar-to-gam%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









    0












    $begingroup$

    Construct a Markov chain $(X_n)_{n in mathbb{N}_0}$ that models the distance between the two flies. The chain has the possible states ${0,2,4,6,8,10,12}$. (We just say that once the chain has reached either $0$ or $12$, it stays there.) What are the transition probabilities?



    Now let $p_i := P((X_n) text{ reaches } 0 text{ before } 12 | X_0 = i)$ for $i in {0,2,4,6,8,10,12}$. (You are looking for the value of $p_8$.) What are the values of $p_0$ and $p_{12}$? Do first step analysis to relate the other $p_i$'s to each other to get a system of linear equations that you can solve.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      Construct a Markov chain $(X_n)_{n in mathbb{N}_0}$ that models the distance between the two flies. The chain has the possible states ${0,2,4,6,8,10,12}$. (We just say that once the chain has reached either $0$ or $12$, it stays there.) What are the transition probabilities?



      Now let $p_i := P((X_n) text{ reaches } 0 text{ before } 12 | X_0 = i)$ for $i in {0,2,4,6,8,10,12}$. (You are looking for the value of $p_8$.) What are the values of $p_0$ and $p_{12}$? Do first step analysis to relate the other $p_i$'s to each other to get a system of linear equations that you can solve.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Construct a Markov chain $(X_n)_{n in mathbb{N}_0}$ that models the distance between the two flies. The chain has the possible states ${0,2,4,6,8,10,12}$. (We just say that once the chain has reached either $0$ or $12$, it stays there.) What are the transition probabilities?



        Now let $p_i := P((X_n) text{ reaches } 0 text{ before } 12 | X_0 = i)$ for $i in {0,2,4,6,8,10,12}$. (You are looking for the value of $p_8$.) What are the values of $p_0$ and $p_{12}$? Do first step analysis to relate the other $p_i$'s to each other to get a system of linear equations that you can solve.






        share|cite|improve this answer









        $endgroup$



        Construct a Markov chain $(X_n)_{n in mathbb{N}_0}$ that models the distance between the two flies. The chain has the possible states ${0,2,4,6,8,10,12}$. (We just say that once the chain has reached either $0$ or $12$, it stays there.) What are the transition probabilities?



        Now let $p_i := P((X_n) text{ reaches } 0 text{ before } 12 | X_0 = i)$ for $i in {0,2,4,6,8,10,12}$. (You are looking for the value of $p_8$.) What are the values of $p_0$ and $p_{12}$? Do first step analysis to relate the other $p_i$'s to each other to get a system of linear equations that you can solve.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 24 '18 at 17:12









        Tki DenebTki Deneb

        29210




        29210






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3011482%2ffind-the-probability-of-encounter-between-two-flies-on-the-plane-similar-to-gam%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents