10 names in a hat — odds that no one picks themself?












0












$begingroup$


I have an annual tradition where 10 names are placed in a hat, and those same 10 members randomly select one at a time. If anyone selects their own name, the entire process restarts.



What are the odds that all 10 people select a name that is NOT themself?










share|cite|improve this question









$endgroup$












  • $begingroup$
    google.com/url?sa=t&source=web&rct=j&url=http://….
    $endgroup$
    – Oscar Lanzi
    Nov 18 '18 at 18:51










  • $begingroup$
    This is a derangement problem. Did you mean probability rather than odds?
    $endgroup$
    – N. F. Taussig
    Nov 18 '18 at 19:20










  • $begingroup$
    Yes, I suppose probability would be the correct term here. Given the conditions described above, how would that be calculated?
    $endgroup$
    – CDutton
    Nov 19 '18 at 19:13
















0












$begingroup$


I have an annual tradition where 10 names are placed in a hat, and those same 10 members randomly select one at a time. If anyone selects their own name, the entire process restarts.



What are the odds that all 10 people select a name that is NOT themself?










share|cite|improve this question









$endgroup$












  • $begingroup$
    google.com/url?sa=t&source=web&rct=j&url=http://….
    $endgroup$
    – Oscar Lanzi
    Nov 18 '18 at 18:51










  • $begingroup$
    This is a derangement problem. Did you mean probability rather than odds?
    $endgroup$
    – N. F. Taussig
    Nov 18 '18 at 19:20










  • $begingroup$
    Yes, I suppose probability would be the correct term here. Given the conditions described above, how would that be calculated?
    $endgroup$
    – CDutton
    Nov 19 '18 at 19:13














0












0








0


1



$begingroup$


I have an annual tradition where 10 names are placed in a hat, and those same 10 members randomly select one at a time. If anyone selects their own name, the entire process restarts.



What are the odds that all 10 people select a name that is NOT themself?










share|cite|improve this question









$endgroup$




I have an annual tradition where 10 names are placed in a hat, and those same 10 members randomly select one at a time. If anyone selects their own name, the entire process restarts.



What are the odds that all 10 people select a name that is NOT themself?







probability conditional-probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 18 '18 at 18:49









CDuttonCDutton

1




1












  • $begingroup$
    google.com/url?sa=t&source=web&rct=j&url=http://….
    $endgroup$
    – Oscar Lanzi
    Nov 18 '18 at 18:51










  • $begingroup$
    This is a derangement problem. Did you mean probability rather than odds?
    $endgroup$
    – N. F. Taussig
    Nov 18 '18 at 19:20










  • $begingroup$
    Yes, I suppose probability would be the correct term here. Given the conditions described above, how would that be calculated?
    $endgroup$
    – CDutton
    Nov 19 '18 at 19:13


















  • $begingroup$
    google.com/url?sa=t&source=web&rct=j&url=http://….
    $endgroup$
    – Oscar Lanzi
    Nov 18 '18 at 18:51










  • $begingroup$
    This is a derangement problem. Did you mean probability rather than odds?
    $endgroup$
    – N. F. Taussig
    Nov 18 '18 at 19:20










  • $begingroup$
    Yes, I suppose probability would be the correct term here. Given the conditions described above, how would that be calculated?
    $endgroup$
    – CDutton
    Nov 19 '18 at 19:13
















$begingroup$
google.com/url?sa=t&source=web&rct=j&url=http://….
$endgroup$
– Oscar Lanzi
Nov 18 '18 at 18:51




$begingroup$
google.com/url?sa=t&source=web&rct=j&url=http://….
$endgroup$
– Oscar Lanzi
Nov 18 '18 at 18:51












$begingroup$
This is a derangement problem. Did you mean probability rather than odds?
$endgroup$
– N. F. Taussig
Nov 18 '18 at 19:20




$begingroup$
This is a derangement problem. Did you mean probability rather than odds?
$endgroup$
– N. F. Taussig
Nov 18 '18 at 19:20












$begingroup$
Yes, I suppose probability would be the correct term here. Given the conditions described above, how would that be calculated?
$endgroup$
– CDutton
Nov 19 '18 at 19:13




$begingroup$
Yes, I suppose probability would be the correct term here. Given the conditions described above, how would that be calculated?
$endgroup$
– CDutton
Nov 19 '18 at 19:13










1 Answer
1






active

oldest

votes


















0












$begingroup$

Drawing the slips so nobody gets their own is equivalent to putting them in the same order as the people, then rearranging them so none is in its original place. A rearrangement that achieves this is known as a derangement.



Counting derangements is trickier than one would think. A person whose slip has already been drawn can choose freely, while someone whose slip hasn't been drawn can't—and we have to somehow account for both possibilities. It gets quite intricate.



SoI won't try to explain the counting process here. I'll simply say there's a number $!n$ (the subfactorial of $n$) which counts the number of derangements of $n$ items. $!n$ can be calculated either a laborious way, or a ridiculously straightforward way.



Laborious way



The formula is



$$!n=n! left(frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-... +frac{(-1) ^n}{n!} right)$$



(The $(-1)^n$ is just a way of saying that the plus and minus signs keep alternating.)



Easy way



$$!n≈ frac{n!}{e}$$



The approximation is so close that for any $n>0$, $!n$ is simply the nearest integer to $frac{n!}{e}$.



This happens because the bracketed part of the laborious formula also happens to be the first few terms of a series for calculating $frac{1}{e}$.



Getting the answer



To get the probability of nobody drawing their own name, we need to divide the number of derangements of the slips by the total number of possible arrangements. For $n$ slips:




  • the number of possible arrangements is $n!$ (since there are $n$ choices for the first one, $n-1$ for the second, and so on).

  • the number of derangements is $!n$.


So the probability $P_n$ of nobody drawing their own slip is $$P_n=frac{!n}{n!}.$$



We've now got several ways to calculate this for $10$ people:




  • divide the nearest integer to $frac{10!}{e}$ by $10!$.

  • notice that $frac{!n}{n!}$ is just the bracketed part of the laborious formula, and use that.

  • be satisfied with an approximation: if $!n≈ frac{n!}{e}$, then $frac{!n}{n!} ≈ frac{1}{e}$.


Just for the fun of it, let's try all three.



Doing it the first way:




$$P_{10} =frac{1,334,961}{3,268,800}=frac{16,481}{44,800} ≈0.3679$$




The second way:




$$P_{10} = frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-frac{1}{3!}...+frac{1}{10!}≈0.3679$$




The third way:




$$P_{10}≈frac{1}{e}≈0.3679$$




Although this is an approximation, it's not particularly approximate: it doesn't differ from the correct value until the $8$th decimal place.



So the probability that nobody out of the $10$ draws their own name is about $0.3679=36.79%$, and is nearly exactly $frac{1}{e}$.






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%2f3003947%2f10-names-in-a-hat-odds-that-no-one-picks-themself%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$

    Drawing the slips so nobody gets their own is equivalent to putting them in the same order as the people, then rearranging them so none is in its original place. A rearrangement that achieves this is known as a derangement.



    Counting derangements is trickier than one would think. A person whose slip has already been drawn can choose freely, while someone whose slip hasn't been drawn can't—and we have to somehow account for both possibilities. It gets quite intricate.



    SoI won't try to explain the counting process here. I'll simply say there's a number $!n$ (the subfactorial of $n$) which counts the number of derangements of $n$ items. $!n$ can be calculated either a laborious way, or a ridiculously straightforward way.



    Laborious way



    The formula is



    $$!n=n! left(frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-... +frac{(-1) ^n}{n!} right)$$



    (The $(-1)^n$ is just a way of saying that the plus and minus signs keep alternating.)



    Easy way



    $$!n≈ frac{n!}{e}$$



    The approximation is so close that for any $n>0$, $!n$ is simply the nearest integer to $frac{n!}{e}$.



    This happens because the bracketed part of the laborious formula also happens to be the first few terms of a series for calculating $frac{1}{e}$.



    Getting the answer



    To get the probability of nobody drawing their own name, we need to divide the number of derangements of the slips by the total number of possible arrangements. For $n$ slips:




    • the number of possible arrangements is $n!$ (since there are $n$ choices for the first one, $n-1$ for the second, and so on).

    • the number of derangements is $!n$.


    So the probability $P_n$ of nobody drawing their own slip is $$P_n=frac{!n}{n!}.$$



    We've now got several ways to calculate this for $10$ people:




    • divide the nearest integer to $frac{10!}{e}$ by $10!$.

    • notice that $frac{!n}{n!}$ is just the bracketed part of the laborious formula, and use that.

    • be satisfied with an approximation: if $!n≈ frac{n!}{e}$, then $frac{!n}{n!} ≈ frac{1}{e}$.


    Just for the fun of it, let's try all three.



    Doing it the first way:




    $$P_{10} =frac{1,334,961}{3,268,800}=frac{16,481}{44,800} ≈0.3679$$




    The second way:




    $$P_{10} = frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-frac{1}{3!}...+frac{1}{10!}≈0.3679$$




    The third way:




    $$P_{10}≈frac{1}{e}≈0.3679$$




    Although this is an approximation, it's not particularly approximate: it doesn't differ from the correct value until the $8$th decimal place.



    So the probability that nobody out of the $10$ draws their own name is about $0.3679=36.79%$, and is nearly exactly $frac{1}{e}$.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      Drawing the slips so nobody gets their own is equivalent to putting them in the same order as the people, then rearranging them so none is in its original place. A rearrangement that achieves this is known as a derangement.



      Counting derangements is trickier than one would think. A person whose slip has already been drawn can choose freely, while someone whose slip hasn't been drawn can't—and we have to somehow account for both possibilities. It gets quite intricate.



      SoI won't try to explain the counting process here. I'll simply say there's a number $!n$ (the subfactorial of $n$) which counts the number of derangements of $n$ items. $!n$ can be calculated either a laborious way, or a ridiculously straightforward way.



      Laborious way



      The formula is



      $$!n=n! left(frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-... +frac{(-1) ^n}{n!} right)$$



      (The $(-1)^n$ is just a way of saying that the plus and minus signs keep alternating.)



      Easy way



      $$!n≈ frac{n!}{e}$$



      The approximation is so close that for any $n>0$, $!n$ is simply the nearest integer to $frac{n!}{e}$.



      This happens because the bracketed part of the laborious formula also happens to be the first few terms of a series for calculating $frac{1}{e}$.



      Getting the answer



      To get the probability of nobody drawing their own name, we need to divide the number of derangements of the slips by the total number of possible arrangements. For $n$ slips:




      • the number of possible arrangements is $n!$ (since there are $n$ choices for the first one, $n-1$ for the second, and so on).

      • the number of derangements is $!n$.


      So the probability $P_n$ of nobody drawing their own slip is $$P_n=frac{!n}{n!}.$$



      We've now got several ways to calculate this for $10$ people:




      • divide the nearest integer to $frac{10!}{e}$ by $10!$.

      • notice that $frac{!n}{n!}$ is just the bracketed part of the laborious formula, and use that.

      • be satisfied with an approximation: if $!n≈ frac{n!}{e}$, then $frac{!n}{n!} ≈ frac{1}{e}$.


      Just for the fun of it, let's try all three.



      Doing it the first way:




      $$P_{10} =frac{1,334,961}{3,268,800}=frac{16,481}{44,800} ≈0.3679$$




      The second way:




      $$P_{10} = frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-frac{1}{3!}...+frac{1}{10!}≈0.3679$$




      The third way:




      $$P_{10}≈frac{1}{e}≈0.3679$$




      Although this is an approximation, it's not particularly approximate: it doesn't differ from the correct value until the $8$th decimal place.



      So the probability that nobody out of the $10$ draws their own name is about $0.3679=36.79%$, and is nearly exactly $frac{1}{e}$.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Drawing the slips so nobody gets their own is equivalent to putting them in the same order as the people, then rearranging them so none is in its original place. A rearrangement that achieves this is known as a derangement.



        Counting derangements is trickier than one would think. A person whose slip has already been drawn can choose freely, while someone whose slip hasn't been drawn can't—and we have to somehow account for both possibilities. It gets quite intricate.



        SoI won't try to explain the counting process here. I'll simply say there's a number $!n$ (the subfactorial of $n$) which counts the number of derangements of $n$ items. $!n$ can be calculated either a laborious way, or a ridiculously straightforward way.



        Laborious way



        The formula is



        $$!n=n! left(frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-... +frac{(-1) ^n}{n!} right)$$



        (The $(-1)^n$ is just a way of saying that the plus and minus signs keep alternating.)



        Easy way



        $$!n≈ frac{n!}{e}$$



        The approximation is so close that for any $n>0$, $!n$ is simply the nearest integer to $frac{n!}{e}$.



        This happens because the bracketed part of the laborious formula also happens to be the first few terms of a series for calculating $frac{1}{e}$.



        Getting the answer



        To get the probability of nobody drawing their own name, we need to divide the number of derangements of the slips by the total number of possible arrangements. For $n$ slips:




        • the number of possible arrangements is $n!$ (since there are $n$ choices for the first one, $n-1$ for the second, and so on).

        • the number of derangements is $!n$.


        So the probability $P_n$ of nobody drawing their own slip is $$P_n=frac{!n}{n!}.$$



        We've now got several ways to calculate this for $10$ people:




        • divide the nearest integer to $frac{10!}{e}$ by $10!$.

        • notice that $frac{!n}{n!}$ is just the bracketed part of the laborious formula, and use that.

        • be satisfied with an approximation: if $!n≈ frac{n!}{e}$, then $frac{!n}{n!} ≈ frac{1}{e}$.


        Just for the fun of it, let's try all three.



        Doing it the first way:




        $$P_{10} =frac{1,334,961}{3,268,800}=frac{16,481}{44,800} ≈0.3679$$




        The second way:




        $$P_{10} = frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-frac{1}{3!}...+frac{1}{10!}≈0.3679$$




        The third way:




        $$P_{10}≈frac{1}{e}≈0.3679$$




        Although this is an approximation, it's not particularly approximate: it doesn't differ from the correct value until the $8$th decimal place.



        So the probability that nobody out of the $10$ draws their own name is about $0.3679=36.79%$, and is nearly exactly $frac{1}{e}$.






        share|cite|improve this answer









        $endgroup$



        Drawing the slips so nobody gets their own is equivalent to putting them in the same order as the people, then rearranging them so none is in its original place. A rearrangement that achieves this is known as a derangement.



        Counting derangements is trickier than one would think. A person whose slip has already been drawn can choose freely, while someone whose slip hasn't been drawn can't—and we have to somehow account for both possibilities. It gets quite intricate.



        SoI won't try to explain the counting process here. I'll simply say there's a number $!n$ (the subfactorial of $n$) which counts the number of derangements of $n$ items. $!n$ can be calculated either a laborious way, or a ridiculously straightforward way.



        Laborious way



        The formula is



        $$!n=n! left(frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-... +frac{(-1) ^n}{n!} right)$$



        (The $(-1)^n$ is just a way of saying that the plus and minus signs keep alternating.)



        Easy way



        $$!n≈ frac{n!}{e}$$



        The approximation is so close that for any $n>0$, $!n$ is simply the nearest integer to $frac{n!}{e}$.



        This happens because the bracketed part of the laborious formula also happens to be the first few terms of a series for calculating $frac{1}{e}$.



        Getting the answer



        To get the probability of nobody drawing their own name, we need to divide the number of derangements of the slips by the total number of possible arrangements. For $n$ slips:




        • the number of possible arrangements is $n!$ (since there are $n$ choices for the first one, $n-1$ for the second, and so on).

        • the number of derangements is $!n$.


        So the probability $P_n$ of nobody drawing their own slip is $$P_n=frac{!n}{n!}.$$



        We've now got several ways to calculate this for $10$ people:




        • divide the nearest integer to $frac{10!}{e}$ by $10!$.

        • notice that $frac{!n}{n!}$ is just the bracketed part of the laborious formula, and use that.

        • be satisfied with an approximation: if $!n≈ frac{n!}{e}$, then $frac{!n}{n!} ≈ frac{1}{e}$.


        Just for the fun of it, let's try all three.



        Doing it the first way:




        $$P_{10} =frac{1,334,961}{3,268,800}=frac{16,481}{44,800} ≈0.3679$$




        The second way:




        $$P_{10} = frac{1}{0!}-frac{1}{1!}+frac{1}{2!}-frac{1}{3!}...+frac{1}{10!}≈0.3679$$




        The third way:




        $$P_{10}≈frac{1}{e}≈0.3679$$




        Although this is an approximation, it's not particularly approximate: it doesn't differ from the correct value until the $8$th decimal place.



        So the probability that nobody out of the $10$ draws their own name is about $0.3679=36.79%$, and is nearly exactly $frac{1}{e}$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 31 '18 at 17:23









        timtfjtimtfj

        2,458420




        2,458420






























            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%2f3003947%2f10-names-in-a-hat-odds-that-no-one-picks-themself%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

            Måne

            Storängen

            VLT Carioca