A probability problem - finding where I've gone wrongIn how many ways can people get out of the elevator?Elevator stop, other approachThe probability that 7 people taking an elevator will leave it in configuration 3-2-1-1Probability of an elevator rising to a certain floor at most and exactlywhat's the probability that in a building of 10 floors and 5 people in elevator, the elevator would reach exactly until the 5th floor and no higher?Calculate the expected value of the highest floor the elevator may reach.Elevator probability calculationPeople leaving an elevator on different floorsProbability question - the denominator in a specific problemIn how many ways can $7$ people take elevator to $5$th floor such that at the last floor all remaining people exit (at least one remains)?

Closed-form expression for certain product

Biological Blimps: Propulsion

Added a new user on Ubuntu, set password not working?

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Is this toilet slogan correct usage of the English language?

Start making guitar arrangements

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed

Are paving bricks differently sized for sand bedding vs mortar bedding?

Terse Method to Swap Lowest for Highest?

Why did the EU agree to delay the Brexit deadline?

Melting point of aspirin, contradicting sources

A social experiment. What is the worst that can happen?

Are the IPv6 address space and IPv4 address space completely disjoint?

It grows, but water kills it

Pre-mixing cryogenic fuels and using only one fuel tank

Drawing ramified coverings with tikz

Removing files under particular conditions (number of files, file age)

Fear of getting stuck on one programming language / technology that is not used in my country

Problem with TransformedDistribution

Should I outline or discovery write my stories?

Is there any references on the tensor product of presentable (1-)categories?

How to explain what's wrong with this application of the chain rule?

Why electric field inside a cavity of a non-conducting sphere not zero?



A probability problem - finding where I've gone wrong


In how many ways can people get out of the elevator?Elevator stop, other approachThe probability that 7 people taking an elevator will leave it in configuration 3-2-1-1Probability of an elevator rising to a certain floor at most and exactlywhat's the probability that in a building of 10 floors and 5 people in elevator, the elevator would reach exactly until the 5th floor and no higher?Calculate the expected value of the highest floor the elevator may reach.Elevator probability calculationPeople leaving an elevator on different floorsProbability question - the denominator in a specific problemIn how many ways can $7$ people take elevator to $5$th floor such that at the last floor all remaining people exit (at least one remains)?













1












$begingroup$



There are 7 people in an elevator and 5 floors. What is the probability of at least one person exiting each floor?




I've split this into two cases and my solution was:



$$frac7choose3 5*4! + 7choose 255choose 24*3! 5^7$$



Which gives a result $0.37632$. The solution I'm provided with is $0.215$.



I assume I've gone wrong with:
$$7choose 255choose 24*3!$$



But I can't see why exactly.
I would appreciate if someone could point me to the mistake here. Thank you!










share|cite|improve this question











$endgroup$











  • $begingroup$
    @MohammadZuhairKhan Your comment does not refer to the question.
    $endgroup$
    – callculus
    Mar 15 at 16:59















1












$begingroup$



There are 7 people in an elevator and 5 floors. What is the probability of at least one person exiting each floor?




I've split this into two cases and my solution was:



$$frac7choose3 5*4! + 7choose 255choose 24*3! 5^7$$



Which gives a result $0.37632$. The solution I'm provided with is $0.215$.



I assume I've gone wrong with:
$$7choose 255choose 24*3!$$



But I can't see why exactly.
I would appreciate if someone could point me to the mistake here. Thank you!










share|cite|improve this question











$endgroup$











  • $begingroup$
    @MohammadZuhairKhan Your comment does not refer to the question.
    $endgroup$
    – callculus
    Mar 15 at 16:59













1












1








1


1



$begingroup$



There are 7 people in an elevator and 5 floors. What is the probability of at least one person exiting each floor?




I've split this into two cases and my solution was:



$$frac7choose3 5*4! + 7choose 255choose 24*3! 5^7$$



Which gives a result $0.37632$. The solution I'm provided with is $0.215$.



I assume I've gone wrong with:
$$7choose 255choose 24*3!$$



But I can't see why exactly.
I would appreciate if someone could point me to the mistake here. Thank you!










share|cite|improve this question











$endgroup$





There are 7 people in an elevator and 5 floors. What is the probability of at least one person exiting each floor?




I've split this into two cases and my solution was:



$$frac7choose3 5*4! + 7choose 255choose 24*3! 5^7$$



Which gives a result $0.37632$. The solution I'm provided with is $0.215$.



I assume I've gone wrong with:
$$7choose 255choose 24*3!$$



But I can't see why exactly.
I would appreciate if someone could point me to the mistake here. Thank you!







probability combinatorics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 16 at 13:27









YuiTo Cheng

2,1192837




2,1192837










asked Mar 15 at 16:52









batbat

82




82











  • $begingroup$
    @MohammadZuhairKhan Your comment does not refer to the question.
    $endgroup$
    – callculus
    Mar 15 at 16:59
















  • $begingroup$
    @MohammadZuhairKhan Your comment does not refer to the question.
    $endgroup$
    – callculus
    Mar 15 at 16:59















$begingroup$
@MohammadZuhairKhan Your comment does not refer to the question.
$endgroup$
– callculus
Mar 15 at 16:59




$begingroup$
@MohammadZuhairKhan Your comment does not refer to the question.
$endgroup$
– callculus
Mar 15 at 16:59










2 Answers
2






active

oldest

votes


















1












$begingroup$

In your second term, you are overcounting by a factor of two. The $binom72$ chooses one of the pairs, and $binom52$ chooses the other pair. You then assign the first pair's floor in $5$ ways, and the seccond pair's floor in $4$ ways. But it does not matter which pair was chosen first or second, so you need to divide by $2$.



Another way to see it; choose the two floors that have two people get off in $binom52=frac5cdot 42$ ways. Then choose the people who get off on the higher floor in $binom72$ ways, and choose the people who get off on the lower floor in $binom52$ ways. Your mistake was having $5cdot 4$ instead of $binom52=frac5cdot 42$.






share|cite|improve this answer









$endgroup$




















    1












    $begingroup$

    It is useful to check with smaller numbers: assume $5$ people ($A,B,C,D,E$) get off on $3$ floors.



    The two cases are: 1) $3,1,1$ and 2) $2,2,1$.



    The first case: select three people in $5choose 3$ ways and distribute three units (triple, single, single) in $3!$ waysL
    $$5choose 3cdot 3!$$



    The second case: select two people in $5choose 2$ ways, select next two people in $3choose 2$ ways, however, here it is double counted:
    $$beginarrayc
    colorred(AB)(CD)E & (BC)(AD)E & colorred(CD)(AB)E & colorgreen(DE)(AB)C\
    colorblue(AB)(CE)D & (BC)(AE)D & (CD)(AE)B & (DE)(AC)B\
    colorgreen(AB)(DE)C & (BC)(DE)A & (CD)(BE)A & (DE)(BC)A\
    (AC)(BD)E & (BD)(AC)E & (CE)(BD)A & \
    (AC)(BE)D & (BD)(AE)C & colorblue(CE)(AB)D & \
    (AC)(DE)B & (BD)(CE)A & (CE)(AD)B & \
    (AD)(BC)E & (BE)(AC)D & & \
    (AD)(BE)C & (BE)(AD)C & & \
    (AD)(CE)B & (BE)(CD)A & & \
    (AE)(BC)D & & & \
    (AE)(BD)C & & & \
    (AE)(CD)B & & & \
    endarray$$

    Note: Only $3$ pairs are highlighted, whereas there are $15$ pairs in total.



    Hence, in the second case:
    $$frac5choose 23choose 22cdot 3!.$$






    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%2f3149533%2fa-probability-problem-finding-where-ive-gone-wrong%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1












      $begingroup$

      In your second term, you are overcounting by a factor of two. The $binom72$ chooses one of the pairs, and $binom52$ chooses the other pair. You then assign the first pair's floor in $5$ ways, and the seccond pair's floor in $4$ ways. But it does not matter which pair was chosen first or second, so you need to divide by $2$.



      Another way to see it; choose the two floors that have two people get off in $binom52=frac5cdot 42$ ways. Then choose the people who get off on the higher floor in $binom72$ ways, and choose the people who get off on the lower floor in $binom52$ ways. Your mistake was having $5cdot 4$ instead of $binom52=frac5cdot 42$.






      share|cite|improve this answer









      $endgroup$

















        1












        $begingroup$

        In your second term, you are overcounting by a factor of two. The $binom72$ chooses one of the pairs, and $binom52$ chooses the other pair. You then assign the first pair's floor in $5$ ways, and the seccond pair's floor in $4$ ways. But it does not matter which pair was chosen first or second, so you need to divide by $2$.



        Another way to see it; choose the two floors that have two people get off in $binom52=frac5cdot 42$ ways. Then choose the people who get off on the higher floor in $binom72$ ways, and choose the people who get off on the lower floor in $binom52$ ways. Your mistake was having $5cdot 4$ instead of $binom52=frac5cdot 42$.






        share|cite|improve this answer









        $endgroup$















          1












          1








          1





          $begingroup$

          In your second term, you are overcounting by a factor of two. The $binom72$ chooses one of the pairs, and $binom52$ chooses the other pair. You then assign the first pair's floor in $5$ ways, and the seccond pair's floor in $4$ ways. But it does not matter which pair was chosen first or second, so you need to divide by $2$.



          Another way to see it; choose the two floors that have two people get off in $binom52=frac5cdot 42$ ways. Then choose the people who get off on the higher floor in $binom72$ ways, and choose the people who get off on the lower floor in $binom52$ ways. Your mistake was having $5cdot 4$ instead of $binom52=frac5cdot 42$.






          share|cite|improve this answer









          $endgroup$



          In your second term, you are overcounting by a factor of two. The $binom72$ chooses one of the pairs, and $binom52$ chooses the other pair. You then assign the first pair's floor in $5$ ways, and the seccond pair's floor in $4$ ways. But it does not matter which pair was chosen first or second, so you need to divide by $2$.



          Another way to see it; choose the two floors that have two people get off in $binom52=frac5cdot 42$ ways. Then choose the people who get off on the higher floor in $binom72$ ways, and choose the people who get off on the lower floor in $binom52$ ways. Your mistake was having $5cdot 4$ instead of $binom52=frac5cdot 42$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Mar 15 at 17:05









          Mike EarnestMike Earnest

          25.6k22151




          25.6k22151





















              1












              $begingroup$

              It is useful to check with smaller numbers: assume $5$ people ($A,B,C,D,E$) get off on $3$ floors.



              The two cases are: 1) $3,1,1$ and 2) $2,2,1$.



              The first case: select three people in $5choose 3$ ways and distribute three units (triple, single, single) in $3!$ waysL
              $$5choose 3cdot 3!$$



              The second case: select two people in $5choose 2$ ways, select next two people in $3choose 2$ ways, however, here it is double counted:
              $$beginarrayc
              colorred(AB)(CD)E & (BC)(AD)E & colorred(CD)(AB)E & colorgreen(DE)(AB)C\
              colorblue(AB)(CE)D & (BC)(AE)D & (CD)(AE)B & (DE)(AC)B\
              colorgreen(AB)(DE)C & (BC)(DE)A & (CD)(BE)A & (DE)(BC)A\
              (AC)(BD)E & (BD)(AC)E & (CE)(BD)A & \
              (AC)(BE)D & (BD)(AE)C & colorblue(CE)(AB)D & \
              (AC)(DE)B & (BD)(CE)A & (CE)(AD)B & \
              (AD)(BC)E & (BE)(AC)D & & \
              (AD)(BE)C & (BE)(AD)C & & \
              (AD)(CE)B & (BE)(CD)A & & \
              (AE)(BC)D & & & \
              (AE)(BD)C & & & \
              (AE)(CD)B & & & \
              endarray$$

              Note: Only $3$ pairs are highlighted, whereas there are $15$ pairs in total.



              Hence, in the second case:
              $$frac5choose 23choose 22cdot 3!.$$






              share|cite|improve this answer









              $endgroup$

















                1












                $begingroup$

                It is useful to check with smaller numbers: assume $5$ people ($A,B,C,D,E$) get off on $3$ floors.



                The two cases are: 1) $3,1,1$ and 2) $2,2,1$.



                The first case: select three people in $5choose 3$ ways and distribute three units (triple, single, single) in $3!$ waysL
                $$5choose 3cdot 3!$$



                The second case: select two people in $5choose 2$ ways, select next two people in $3choose 2$ ways, however, here it is double counted:
                $$beginarrayc
                colorred(AB)(CD)E & (BC)(AD)E & colorred(CD)(AB)E & colorgreen(DE)(AB)C\
                colorblue(AB)(CE)D & (BC)(AE)D & (CD)(AE)B & (DE)(AC)B\
                colorgreen(AB)(DE)C & (BC)(DE)A & (CD)(BE)A & (DE)(BC)A\
                (AC)(BD)E & (BD)(AC)E & (CE)(BD)A & \
                (AC)(BE)D & (BD)(AE)C & colorblue(CE)(AB)D & \
                (AC)(DE)B & (BD)(CE)A & (CE)(AD)B & \
                (AD)(BC)E & (BE)(AC)D & & \
                (AD)(BE)C & (BE)(AD)C & & \
                (AD)(CE)B & (BE)(CD)A & & \
                (AE)(BC)D & & & \
                (AE)(BD)C & & & \
                (AE)(CD)B & & & \
                endarray$$

                Note: Only $3$ pairs are highlighted, whereas there are $15$ pairs in total.



                Hence, in the second case:
                $$frac5choose 23choose 22cdot 3!.$$






                share|cite|improve this answer









                $endgroup$















                  1












                  1








                  1





                  $begingroup$

                  It is useful to check with smaller numbers: assume $5$ people ($A,B,C,D,E$) get off on $3$ floors.



                  The two cases are: 1) $3,1,1$ and 2) $2,2,1$.



                  The first case: select three people in $5choose 3$ ways and distribute three units (triple, single, single) in $3!$ waysL
                  $$5choose 3cdot 3!$$



                  The second case: select two people in $5choose 2$ ways, select next two people in $3choose 2$ ways, however, here it is double counted:
                  $$beginarrayc
                  colorred(AB)(CD)E & (BC)(AD)E & colorred(CD)(AB)E & colorgreen(DE)(AB)C\
                  colorblue(AB)(CE)D & (BC)(AE)D & (CD)(AE)B & (DE)(AC)B\
                  colorgreen(AB)(DE)C & (BC)(DE)A & (CD)(BE)A & (DE)(BC)A\
                  (AC)(BD)E & (BD)(AC)E & (CE)(BD)A & \
                  (AC)(BE)D & (BD)(AE)C & colorblue(CE)(AB)D & \
                  (AC)(DE)B & (BD)(CE)A & (CE)(AD)B & \
                  (AD)(BC)E & (BE)(AC)D & & \
                  (AD)(BE)C & (BE)(AD)C & & \
                  (AD)(CE)B & (BE)(CD)A & & \
                  (AE)(BC)D & & & \
                  (AE)(BD)C & & & \
                  (AE)(CD)B & & & \
                  endarray$$

                  Note: Only $3$ pairs are highlighted, whereas there are $15$ pairs in total.



                  Hence, in the second case:
                  $$frac5choose 23choose 22cdot 3!.$$






                  share|cite|improve this answer









                  $endgroup$



                  It is useful to check with smaller numbers: assume $5$ people ($A,B,C,D,E$) get off on $3$ floors.



                  The two cases are: 1) $3,1,1$ and 2) $2,2,1$.



                  The first case: select three people in $5choose 3$ ways and distribute three units (triple, single, single) in $3!$ waysL
                  $$5choose 3cdot 3!$$



                  The second case: select two people in $5choose 2$ ways, select next two people in $3choose 2$ ways, however, here it is double counted:
                  $$beginarrayc
                  colorred(AB)(CD)E & (BC)(AD)E & colorred(CD)(AB)E & colorgreen(DE)(AB)C\
                  colorblue(AB)(CE)D & (BC)(AE)D & (CD)(AE)B & (DE)(AC)B\
                  colorgreen(AB)(DE)C & (BC)(DE)A & (CD)(BE)A & (DE)(BC)A\
                  (AC)(BD)E & (BD)(AC)E & (CE)(BD)A & \
                  (AC)(BE)D & (BD)(AE)C & colorblue(CE)(AB)D & \
                  (AC)(DE)B & (BD)(CE)A & (CE)(AD)B & \
                  (AD)(BC)E & (BE)(AC)D & & \
                  (AD)(BE)C & (BE)(AD)C & & \
                  (AD)(CE)B & (BE)(CD)A & & \
                  (AE)(BC)D & & & \
                  (AE)(BD)C & & & \
                  (AE)(CD)B & & & \
                  endarray$$

                  Note: Only $3$ pairs are highlighted, whereas there are $15$ pairs in total.



                  Hence, in the second case:
                  $$frac5choose 23choose 22cdot 3!.$$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Mar 16 at 13:23









                  farruhotafarruhota

                  21.5k2842




                  21.5k2842



























                      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%2f3149533%2fa-probability-problem-finding-where-ive-gone-wrong%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

                      Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

                      Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

                      Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers