Why is my explanation wrong?












3












$begingroup$


A class of 30 students has 5 classes today, with J. being one of them.




  • What is the chance, that J. will be the chosen student to explain the
    homework in at least two classes?

  • What is the chance that someone will be chosen at least twice?


My solution is the following:
The probability for J. being chosen at least twice: $frac{1}{30}^2 cdot frac{29}{30}^3+frac{1}{30}^3 cdot frac{29}{30}^2+ frac{1}{30}^4 cdot frac{29}{30}+ frac{1}{30}^5$, approximately $0.104%$



The answer for the second question is simply J.'s probability multiplied by the number of students, approcimately $3.12%$



We had a debate with a fellow student about this explanation, but couldn't convince each other. Is my explanation correct, or if not, where did I make a mistake?










share|cite|improve this question







New contributor




DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    3












    $begingroup$


    A class of 30 students has 5 classes today, with J. being one of them.




    • What is the chance, that J. will be the chosen student to explain the
      homework in at least two classes?

    • What is the chance that someone will be chosen at least twice?


    My solution is the following:
    The probability for J. being chosen at least twice: $frac{1}{30}^2 cdot frac{29}{30}^3+frac{1}{30}^3 cdot frac{29}{30}^2+ frac{1}{30}^4 cdot frac{29}{30}+ frac{1}{30}^5$, approximately $0.104%$



    The answer for the second question is simply J.'s probability multiplied by the number of students, approcimately $3.12%$



    We had a debate with a fellow student about this explanation, but couldn't convince each other. Is my explanation correct, or if not, where did I make a mistake?










    share|cite|improve this question







    New contributor




    DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      3












      3








      3





      $begingroup$


      A class of 30 students has 5 classes today, with J. being one of them.




      • What is the chance, that J. will be the chosen student to explain the
        homework in at least two classes?

      • What is the chance that someone will be chosen at least twice?


      My solution is the following:
      The probability for J. being chosen at least twice: $frac{1}{30}^2 cdot frac{29}{30}^3+frac{1}{30}^3 cdot frac{29}{30}^2+ frac{1}{30}^4 cdot frac{29}{30}+ frac{1}{30}^5$, approximately $0.104%$



      The answer for the second question is simply J.'s probability multiplied by the number of students, approcimately $3.12%$



      We had a debate with a fellow student about this explanation, but couldn't convince each other. Is my explanation correct, or if not, where did I make a mistake?










      share|cite|improve this question







      New contributor




      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      A class of 30 students has 5 classes today, with J. being one of them.




      • What is the chance, that J. will be the chosen student to explain the
        homework in at least two classes?

      • What is the chance that someone will be chosen at least twice?


      My solution is the following:
      The probability for J. being chosen at least twice: $frac{1}{30}^2 cdot frac{29}{30}^3+frac{1}{30}^3 cdot frac{29}{30}^2+ frac{1}{30}^4 cdot frac{29}{30}+ frac{1}{30}^5$, approximately $0.104%$



      The answer for the second question is simply J.'s probability multiplied by the number of students, approcimately $3.12%$



      We had a debate with a fellow student about this explanation, but couldn't convince each other. Is my explanation correct, or if not, where did I make a mistake?







      probability






      share|cite|improve this question







      New contributor




      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|cite|improve this question







      New contributor




      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|cite|improve this question




      share|cite|improve this question






      New contributor




      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 45 mins ago









      DaniFoldiDaniFoldi

      185




      185




      New contributor




      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      DaniFoldi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          4 Answers
          4






          active

          oldest

          votes


















          1












          $begingroup$

          Regarding the first question:



          This is the kind of situation in which a binomial distribution would occur: if there's $p$ probability of an event occurring one of $r$ times in a sequence, you need to account for the number of sequences that also have that event occurring.



          For example, say I flip a coin $5$ times: how many times does it pop up heads $2$ times? Well, first, how many sequences of $5$ flips have $2$ heads appearing? That's $binom 5 2$. From there, the probability of $2$ successes is the probability $p$ of flipping heads, to the power of $2$, times the probability $1-p$ of instead flipping tails, to the power of $5-2=3$.



          More concretely, the probability is given by



          $$P(text{2 heads in 5 flips}) = binom 5 2 p^2(1-p)^3$$



          Note that I did not explicitly say $p=1/2$ for a reason, that being maybe I'm not flipping a fair coin. My motivation for doing this is because I don't want you to get some wires crossed in your head with how the calculation is performed, so I want to reiterate - my coin is not necessarily fair in this scenario.



          Okay, so let's say I want at most $2$ heads. We can simply generalize the above: find the probability of $0,1,$ and $2$ heads; i.e.



          $$begin{align}
          P(text{at most 2 heads}) &= P(text{0 heads}) + P(text{1 heads}) + P(text{2 heads})\
          &= binom 5 0 p^0(1-p)^5 + binom 5 1 p^1(1-p)^4 + binom 5 2 p^2(1-p)^3\
          &= sum_{k=0}^2 binom 5 k p^k(1-p)^{5-k}
          end{align}$$



          In general: say we have a sequence of $n$ trials, all independent from each other. We define the outcome of each to be a success or failure, with probabilities $p$ and $1-p$ respectively. Then the binomial distribution says that the probability of $r$ successes (where $r$ is an integer from $0$ to $n$) is given by



          $$P(r ; text{successes}) = binom n r p^r (1-p)^{n-r}$$



          If we want "at most" some number of successes, at least, or whatever, we simply sum the above repeatedly, using whichever $r$ values are the most applicable.



          In your scenario, OP, $n=5, p=1/30.$ In the first question, we want $rgeq 2$ (so sum over $r=2,3,4,5$).



          If you want to look into this topic further, Khan Academy is probably a good resource to start. Here's a link.





          The second question is more benign than the above binomial distribution problem, in my opinion. Consider the complementary approach - what is the probability of not having a repeat? There are $30(29)(28)(27)(26)$ ways of choosing students to avoid repeats; divide that by the total number of possible student selections, $30^5$, and that gives you the probability of not having a repeat student. Thus the probability of a repeat is $1$ minus that.






          share|cite|improve this answer











          $endgroup$





















            1












            $begingroup$

            Your first part is not quite right, since you haven't accounted for the fact that $J$ can present solutions in different pairs (or triples, or quads) of classes. Thus the probability that $J$ is selected twice should be
            $$
            binom{5}{2}frac{29*28*27}{30^5}+binom{5}{3}frac{29*28}{30^5}+binom{5}{4}frac{29}{30^5}+binom{5}{5}frac{1}{30^5}approx.00936
            $$



            There are $30cdot 29cdot28cdot27cdot26$ ways of choosing students to share without repetitions, out of a total of $30^5$ total ways of choosing students with no restrictions. Thus the probability of having a restriction is
            $$
            1-frac{30cdot 29cdot28cdot27cdot26}{30^5}approx .296
            $$



            Edit: Note that $.296$ is NOT simply $.00936*30approx.281$ as you had suspected; this is because it is possible (albeit unlikely) that two pairs of students present twice!






            share|cite|improve this answer









            $endgroup$





















              1












              $begingroup$

              Your first calculation is incorrect, because you haven't considered that there are multiple ways that J. can be chosen twice, for example. $left({1over30}right)^2left({29over30}right)^2$ is the probability that J. is called on in both history and English, say, but there are ${5choose2}$ ways to choose the two classes that he is called on in. Similarly, for three or four classes.



              As to the second question, you have problems with double counting. When you add add up the probabilities to get J. is called on twice, or Susan is called on twice, or ..., you have to worry about the possibility that each is called on twice. You've counted that twice. The best way to do the second part is as $1$ minus the probability that $5$ different students are called on:
              $$1-5!{30choose5}left({1over30}right)^5$$






              share|cite|improve this answer











              $endgroup$













              • $begingroup$
                For your second part, you still have to order the students once you choose 5 of them
                $endgroup$
                – TomGrubb
                31 mins ago










              • $begingroup$
                @TomGrubb Yes, you are right. My bad.
                $endgroup$
                – saulspatz
                30 mins ago










              • $begingroup$
                No prob! ${}{}$
                $endgroup$
                – TomGrubb
                30 mins ago



















              1












              $begingroup$

              I'd approach both questions backwards. The probability that J is not called at all is $(29/30)^5$ and the probability that J is called exactly once is $5(1/30)(29/30)^4$. So the probability that J is called $0$ or $1$ time is approximately $0.9896$, making the probability that J will be called at least twice approximately $0.0104$.



              As for the second question, there are $30^5$ ways of selecting a student from each of $5$ classes and there are $30 cdot 29 cdot 28 cdot 27 cdot 26$ ways to choose five students without repeating any. So the probability that no one gets called twice is $0.7037$ and the probability that at least one student is called twice is $0.2963$.






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


                }
                });






                DaniFoldi is a new contributor. Be nice, and check out our Code of Conduct.










                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3139750%2fwhy-is-my-explanation-wrong%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                1












                $begingroup$

                Regarding the first question:



                This is the kind of situation in which a binomial distribution would occur: if there's $p$ probability of an event occurring one of $r$ times in a sequence, you need to account for the number of sequences that also have that event occurring.



                For example, say I flip a coin $5$ times: how many times does it pop up heads $2$ times? Well, first, how many sequences of $5$ flips have $2$ heads appearing? That's $binom 5 2$. From there, the probability of $2$ successes is the probability $p$ of flipping heads, to the power of $2$, times the probability $1-p$ of instead flipping tails, to the power of $5-2=3$.



                More concretely, the probability is given by



                $$P(text{2 heads in 5 flips}) = binom 5 2 p^2(1-p)^3$$



                Note that I did not explicitly say $p=1/2$ for a reason, that being maybe I'm not flipping a fair coin. My motivation for doing this is because I don't want you to get some wires crossed in your head with how the calculation is performed, so I want to reiterate - my coin is not necessarily fair in this scenario.



                Okay, so let's say I want at most $2$ heads. We can simply generalize the above: find the probability of $0,1,$ and $2$ heads; i.e.



                $$begin{align}
                P(text{at most 2 heads}) &= P(text{0 heads}) + P(text{1 heads}) + P(text{2 heads})\
                &= binom 5 0 p^0(1-p)^5 + binom 5 1 p^1(1-p)^4 + binom 5 2 p^2(1-p)^3\
                &= sum_{k=0}^2 binom 5 k p^k(1-p)^{5-k}
                end{align}$$



                In general: say we have a sequence of $n$ trials, all independent from each other. We define the outcome of each to be a success or failure, with probabilities $p$ and $1-p$ respectively. Then the binomial distribution says that the probability of $r$ successes (where $r$ is an integer from $0$ to $n$) is given by



                $$P(r ; text{successes}) = binom n r p^r (1-p)^{n-r}$$



                If we want "at most" some number of successes, at least, or whatever, we simply sum the above repeatedly, using whichever $r$ values are the most applicable.



                In your scenario, OP, $n=5, p=1/30.$ In the first question, we want $rgeq 2$ (so sum over $r=2,3,4,5$).



                If you want to look into this topic further, Khan Academy is probably a good resource to start. Here's a link.





                The second question is more benign than the above binomial distribution problem, in my opinion. Consider the complementary approach - what is the probability of not having a repeat? There are $30(29)(28)(27)(26)$ ways of choosing students to avoid repeats; divide that by the total number of possible student selections, $30^5$, and that gives you the probability of not having a repeat student. Thus the probability of a repeat is $1$ minus that.






                share|cite|improve this answer











                $endgroup$


















                  1












                  $begingroup$

                  Regarding the first question:



                  This is the kind of situation in which a binomial distribution would occur: if there's $p$ probability of an event occurring one of $r$ times in a sequence, you need to account for the number of sequences that also have that event occurring.



                  For example, say I flip a coin $5$ times: how many times does it pop up heads $2$ times? Well, first, how many sequences of $5$ flips have $2$ heads appearing? That's $binom 5 2$. From there, the probability of $2$ successes is the probability $p$ of flipping heads, to the power of $2$, times the probability $1-p$ of instead flipping tails, to the power of $5-2=3$.



                  More concretely, the probability is given by



                  $$P(text{2 heads in 5 flips}) = binom 5 2 p^2(1-p)^3$$



                  Note that I did not explicitly say $p=1/2$ for a reason, that being maybe I'm not flipping a fair coin. My motivation for doing this is because I don't want you to get some wires crossed in your head with how the calculation is performed, so I want to reiterate - my coin is not necessarily fair in this scenario.



                  Okay, so let's say I want at most $2$ heads. We can simply generalize the above: find the probability of $0,1,$ and $2$ heads; i.e.



                  $$begin{align}
                  P(text{at most 2 heads}) &= P(text{0 heads}) + P(text{1 heads}) + P(text{2 heads})\
                  &= binom 5 0 p^0(1-p)^5 + binom 5 1 p^1(1-p)^4 + binom 5 2 p^2(1-p)^3\
                  &= sum_{k=0}^2 binom 5 k p^k(1-p)^{5-k}
                  end{align}$$



                  In general: say we have a sequence of $n$ trials, all independent from each other. We define the outcome of each to be a success or failure, with probabilities $p$ and $1-p$ respectively. Then the binomial distribution says that the probability of $r$ successes (where $r$ is an integer from $0$ to $n$) is given by



                  $$P(r ; text{successes}) = binom n r p^r (1-p)^{n-r}$$



                  If we want "at most" some number of successes, at least, or whatever, we simply sum the above repeatedly, using whichever $r$ values are the most applicable.



                  In your scenario, OP, $n=5, p=1/30.$ In the first question, we want $rgeq 2$ (so sum over $r=2,3,4,5$).



                  If you want to look into this topic further, Khan Academy is probably a good resource to start. Here's a link.





                  The second question is more benign than the above binomial distribution problem, in my opinion. Consider the complementary approach - what is the probability of not having a repeat? There are $30(29)(28)(27)(26)$ ways of choosing students to avoid repeats; divide that by the total number of possible student selections, $30^5$, and that gives you the probability of not having a repeat student. Thus the probability of a repeat is $1$ minus that.






                  share|cite|improve this answer











                  $endgroup$
















                    1












                    1








                    1





                    $begingroup$

                    Regarding the first question:



                    This is the kind of situation in which a binomial distribution would occur: if there's $p$ probability of an event occurring one of $r$ times in a sequence, you need to account for the number of sequences that also have that event occurring.



                    For example, say I flip a coin $5$ times: how many times does it pop up heads $2$ times? Well, first, how many sequences of $5$ flips have $2$ heads appearing? That's $binom 5 2$. From there, the probability of $2$ successes is the probability $p$ of flipping heads, to the power of $2$, times the probability $1-p$ of instead flipping tails, to the power of $5-2=3$.



                    More concretely, the probability is given by



                    $$P(text{2 heads in 5 flips}) = binom 5 2 p^2(1-p)^3$$



                    Note that I did not explicitly say $p=1/2$ for a reason, that being maybe I'm not flipping a fair coin. My motivation for doing this is because I don't want you to get some wires crossed in your head with how the calculation is performed, so I want to reiterate - my coin is not necessarily fair in this scenario.



                    Okay, so let's say I want at most $2$ heads. We can simply generalize the above: find the probability of $0,1,$ and $2$ heads; i.e.



                    $$begin{align}
                    P(text{at most 2 heads}) &= P(text{0 heads}) + P(text{1 heads}) + P(text{2 heads})\
                    &= binom 5 0 p^0(1-p)^5 + binom 5 1 p^1(1-p)^4 + binom 5 2 p^2(1-p)^3\
                    &= sum_{k=0}^2 binom 5 k p^k(1-p)^{5-k}
                    end{align}$$



                    In general: say we have a sequence of $n$ trials, all independent from each other. We define the outcome of each to be a success or failure, with probabilities $p$ and $1-p$ respectively. Then the binomial distribution says that the probability of $r$ successes (where $r$ is an integer from $0$ to $n$) is given by



                    $$P(r ; text{successes}) = binom n r p^r (1-p)^{n-r}$$



                    If we want "at most" some number of successes, at least, or whatever, we simply sum the above repeatedly, using whichever $r$ values are the most applicable.



                    In your scenario, OP, $n=5, p=1/30.$ In the first question, we want $rgeq 2$ (so sum over $r=2,3,4,5$).



                    If you want to look into this topic further, Khan Academy is probably a good resource to start. Here's a link.





                    The second question is more benign than the above binomial distribution problem, in my opinion. Consider the complementary approach - what is the probability of not having a repeat? There are $30(29)(28)(27)(26)$ ways of choosing students to avoid repeats; divide that by the total number of possible student selections, $30^5$, and that gives you the probability of not having a repeat student. Thus the probability of a repeat is $1$ minus that.






                    share|cite|improve this answer











                    $endgroup$



                    Regarding the first question:



                    This is the kind of situation in which a binomial distribution would occur: if there's $p$ probability of an event occurring one of $r$ times in a sequence, you need to account for the number of sequences that also have that event occurring.



                    For example, say I flip a coin $5$ times: how many times does it pop up heads $2$ times? Well, first, how many sequences of $5$ flips have $2$ heads appearing? That's $binom 5 2$. From there, the probability of $2$ successes is the probability $p$ of flipping heads, to the power of $2$, times the probability $1-p$ of instead flipping tails, to the power of $5-2=3$.



                    More concretely, the probability is given by



                    $$P(text{2 heads in 5 flips}) = binom 5 2 p^2(1-p)^3$$



                    Note that I did not explicitly say $p=1/2$ for a reason, that being maybe I'm not flipping a fair coin. My motivation for doing this is because I don't want you to get some wires crossed in your head with how the calculation is performed, so I want to reiterate - my coin is not necessarily fair in this scenario.



                    Okay, so let's say I want at most $2$ heads. We can simply generalize the above: find the probability of $0,1,$ and $2$ heads; i.e.



                    $$begin{align}
                    P(text{at most 2 heads}) &= P(text{0 heads}) + P(text{1 heads}) + P(text{2 heads})\
                    &= binom 5 0 p^0(1-p)^5 + binom 5 1 p^1(1-p)^4 + binom 5 2 p^2(1-p)^3\
                    &= sum_{k=0}^2 binom 5 k p^k(1-p)^{5-k}
                    end{align}$$



                    In general: say we have a sequence of $n$ trials, all independent from each other. We define the outcome of each to be a success or failure, with probabilities $p$ and $1-p$ respectively. Then the binomial distribution says that the probability of $r$ successes (where $r$ is an integer from $0$ to $n$) is given by



                    $$P(r ; text{successes}) = binom n r p^r (1-p)^{n-r}$$



                    If we want "at most" some number of successes, at least, or whatever, we simply sum the above repeatedly, using whichever $r$ values are the most applicable.



                    In your scenario, OP, $n=5, p=1/30.$ In the first question, we want $rgeq 2$ (so sum over $r=2,3,4,5$).



                    If you want to look into this topic further, Khan Academy is probably a good resource to start. Here's a link.





                    The second question is more benign than the above binomial distribution problem, in my opinion. Consider the complementary approach - what is the probability of not having a repeat? There are $30(29)(28)(27)(26)$ ways of choosing students to avoid repeats; divide that by the total number of possible student selections, $30^5$, and that gives you the probability of not having a repeat student. Thus the probability of a repeat is $1$ minus that.







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited 17 mins ago

























                    answered 23 mins ago









                    Eevee TrainerEevee Trainer

                    7,51721338




                    7,51721338























                        1












                        $begingroup$

                        Your first part is not quite right, since you haven't accounted for the fact that $J$ can present solutions in different pairs (or triples, or quads) of classes. Thus the probability that $J$ is selected twice should be
                        $$
                        binom{5}{2}frac{29*28*27}{30^5}+binom{5}{3}frac{29*28}{30^5}+binom{5}{4}frac{29}{30^5}+binom{5}{5}frac{1}{30^5}approx.00936
                        $$



                        There are $30cdot 29cdot28cdot27cdot26$ ways of choosing students to share without repetitions, out of a total of $30^5$ total ways of choosing students with no restrictions. Thus the probability of having a restriction is
                        $$
                        1-frac{30cdot 29cdot28cdot27cdot26}{30^5}approx .296
                        $$



                        Edit: Note that $.296$ is NOT simply $.00936*30approx.281$ as you had suspected; this is because it is possible (albeit unlikely) that two pairs of students present twice!






                        share|cite|improve this answer









                        $endgroup$


















                          1












                          $begingroup$

                          Your first part is not quite right, since you haven't accounted for the fact that $J$ can present solutions in different pairs (or triples, or quads) of classes. Thus the probability that $J$ is selected twice should be
                          $$
                          binom{5}{2}frac{29*28*27}{30^5}+binom{5}{3}frac{29*28}{30^5}+binom{5}{4}frac{29}{30^5}+binom{5}{5}frac{1}{30^5}approx.00936
                          $$



                          There are $30cdot 29cdot28cdot27cdot26$ ways of choosing students to share without repetitions, out of a total of $30^5$ total ways of choosing students with no restrictions. Thus the probability of having a restriction is
                          $$
                          1-frac{30cdot 29cdot28cdot27cdot26}{30^5}approx .296
                          $$



                          Edit: Note that $.296$ is NOT simply $.00936*30approx.281$ as you had suspected; this is because it is possible (albeit unlikely) that two pairs of students present twice!






                          share|cite|improve this answer









                          $endgroup$
















                            1












                            1








                            1





                            $begingroup$

                            Your first part is not quite right, since you haven't accounted for the fact that $J$ can present solutions in different pairs (or triples, or quads) of classes. Thus the probability that $J$ is selected twice should be
                            $$
                            binom{5}{2}frac{29*28*27}{30^5}+binom{5}{3}frac{29*28}{30^5}+binom{5}{4}frac{29}{30^5}+binom{5}{5}frac{1}{30^5}approx.00936
                            $$



                            There are $30cdot 29cdot28cdot27cdot26$ ways of choosing students to share without repetitions, out of a total of $30^5$ total ways of choosing students with no restrictions. Thus the probability of having a restriction is
                            $$
                            1-frac{30cdot 29cdot28cdot27cdot26}{30^5}approx .296
                            $$



                            Edit: Note that $.296$ is NOT simply $.00936*30approx.281$ as you had suspected; this is because it is possible (albeit unlikely) that two pairs of students present twice!






                            share|cite|improve this answer









                            $endgroup$



                            Your first part is not quite right, since you haven't accounted for the fact that $J$ can present solutions in different pairs (or triples, or quads) of classes. Thus the probability that $J$ is selected twice should be
                            $$
                            binom{5}{2}frac{29*28*27}{30^5}+binom{5}{3}frac{29*28}{30^5}+binom{5}{4}frac{29}{30^5}+binom{5}{5}frac{1}{30^5}approx.00936
                            $$



                            There are $30cdot 29cdot28cdot27cdot26$ ways of choosing students to share without repetitions, out of a total of $30^5$ total ways of choosing students with no restrictions. Thus the probability of having a restriction is
                            $$
                            1-frac{30cdot 29cdot28cdot27cdot26}{30^5}approx .296
                            $$



                            Edit: Note that $.296$ is NOT simply $.00936*30approx.281$ as you had suspected; this is because it is possible (albeit unlikely) that two pairs of students present twice!







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered 32 mins ago









                            TomGrubbTomGrubb

                            10.9k11539




                            10.9k11539























                                1












                                $begingroup$

                                Your first calculation is incorrect, because you haven't considered that there are multiple ways that J. can be chosen twice, for example. $left({1over30}right)^2left({29over30}right)^2$ is the probability that J. is called on in both history and English, say, but there are ${5choose2}$ ways to choose the two classes that he is called on in. Similarly, for three or four classes.



                                As to the second question, you have problems with double counting. When you add add up the probabilities to get J. is called on twice, or Susan is called on twice, or ..., you have to worry about the possibility that each is called on twice. You've counted that twice. The best way to do the second part is as $1$ minus the probability that $5$ different students are called on:
                                $$1-5!{30choose5}left({1over30}right)^5$$






                                share|cite|improve this answer











                                $endgroup$













                                • $begingroup$
                                  For your second part, you still have to order the students once you choose 5 of them
                                  $endgroup$
                                  – TomGrubb
                                  31 mins ago










                                • $begingroup$
                                  @TomGrubb Yes, you are right. My bad.
                                  $endgroup$
                                  – saulspatz
                                  30 mins ago










                                • $begingroup$
                                  No prob! ${}{}$
                                  $endgroup$
                                  – TomGrubb
                                  30 mins ago
















                                1












                                $begingroup$

                                Your first calculation is incorrect, because you haven't considered that there are multiple ways that J. can be chosen twice, for example. $left({1over30}right)^2left({29over30}right)^2$ is the probability that J. is called on in both history and English, say, but there are ${5choose2}$ ways to choose the two classes that he is called on in. Similarly, for three or four classes.



                                As to the second question, you have problems with double counting. When you add add up the probabilities to get J. is called on twice, or Susan is called on twice, or ..., you have to worry about the possibility that each is called on twice. You've counted that twice. The best way to do the second part is as $1$ minus the probability that $5$ different students are called on:
                                $$1-5!{30choose5}left({1over30}right)^5$$






                                share|cite|improve this answer











                                $endgroup$













                                • $begingroup$
                                  For your second part, you still have to order the students once you choose 5 of them
                                  $endgroup$
                                  – TomGrubb
                                  31 mins ago










                                • $begingroup$
                                  @TomGrubb Yes, you are right. My bad.
                                  $endgroup$
                                  – saulspatz
                                  30 mins ago










                                • $begingroup$
                                  No prob! ${}{}$
                                  $endgroup$
                                  – TomGrubb
                                  30 mins ago














                                1












                                1








                                1





                                $begingroup$

                                Your first calculation is incorrect, because you haven't considered that there are multiple ways that J. can be chosen twice, for example. $left({1over30}right)^2left({29over30}right)^2$ is the probability that J. is called on in both history and English, say, but there are ${5choose2}$ ways to choose the two classes that he is called on in. Similarly, for three or four classes.



                                As to the second question, you have problems with double counting. When you add add up the probabilities to get J. is called on twice, or Susan is called on twice, or ..., you have to worry about the possibility that each is called on twice. You've counted that twice. The best way to do the second part is as $1$ minus the probability that $5$ different students are called on:
                                $$1-5!{30choose5}left({1over30}right)^5$$






                                share|cite|improve this answer











                                $endgroup$



                                Your first calculation is incorrect, because you haven't considered that there are multiple ways that J. can be chosen twice, for example. $left({1over30}right)^2left({29over30}right)^2$ is the probability that J. is called on in both history and English, say, but there are ${5choose2}$ ways to choose the two classes that he is called on in. Similarly, for three or four classes.



                                As to the second question, you have problems with double counting. When you add add up the probabilities to get J. is called on twice, or Susan is called on twice, or ..., you have to worry about the possibility that each is called on twice. You've counted that twice. The best way to do the second part is as $1$ minus the probability that $5$ different students are called on:
                                $$1-5!{30choose5}left({1over30}right)^5$$







                                share|cite|improve this answer














                                share|cite|improve this answer



                                share|cite|improve this answer








                                edited 30 mins ago

























                                answered 33 mins ago









                                saulspatzsaulspatz

                                16.3k31332




                                16.3k31332












                                • $begingroup$
                                  For your second part, you still have to order the students once you choose 5 of them
                                  $endgroup$
                                  – TomGrubb
                                  31 mins ago










                                • $begingroup$
                                  @TomGrubb Yes, you are right. My bad.
                                  $endgroup$
                                  – saulspatz
                                  30 mins ago










                                • $begingroup$
                                  No prob! ${}{}$
                                  $endgroup$
                                  – TomGrubb
                                  30 mins ago


















                                • $begingroup$
                                  For your second part, you still have to order the students once you choose 5 of them
                                  $endgroup$
                                  – TomGrubb
                                  31 mins ago










                                • $begingroup$
                                  @TomGrubb Yes, you are right. My bad.
                                  $endgroup$
                                  – saulspatz
                                  30 mins ago










                                • $begingroup$
                                  No prob! ${}{}$
                                  $endgroup$
                                  – TomGrubb
                                  30 mins ago
















                                $begingroup$
                                For your second part, you still have to order the students once you choose 5 of them
                                $endgroup$
                                – TomGrubb
                                31 mins ago




                                $begingroup$
                                For your second part, you still have to order the students once you choose 5 of them
                                $endgroup$
                                – TomGrubb
                                31 mins ago












                                $begingroup$
                                @TomGrubb Yes, you are right. My bad.
                                $endgroup$
                                – saulspatz
                                30 mins ago




                                $begingroup$
                                @TomGrubb Yes, you are right. My bad.
                                $endgroup$
                                – saulspatz
                                30 mins ago












                                $begingroup$
                                No prob! ${}{}$
                                $endgroup$
                                – TomGrubb
                                30 mins ago




                                $begingroup$
                                No prob! ${}{}$
                                $endgroup$
                                – TomGrubb
                                30 mins ago











                                1












                                $begingroup$

                                I'd approach both questions backwards. The probability that J is not called at all is $(29/30)^5$ and the probability that J is called exactly once is $5(1/30)(29/30)^4$. So the probability that J is called $0$ or $1$ time is approximately $0.9896$, making the probability that J will be called at least twice approximately $0.0104$.



                                As for the second question, there are $30^5$ ways of selecting a student from each of $5$ classes and there are $30 cdot 29 cdot 28 cdot 27 cdot 26$ ways to choose five students without repeating any. So the probability that no one gets called twice is $0.7037$ and the probability that at least one student is called twice is $0.2963$.






                                share|cite|improve this answer









                                $endgroup$


















                                  1












                                  $begingroup$

                                  I'd approach both questions backwards. The probability that J is not called at all is $(29/30)^5$ and the probability that J is called exactly once is $5(1/30)(29/30)^4$. So the probability that J is called $0$ or $1$ time is approximately $0.9896$, making the probability that J will be called at least twice approximately $0.0104$.



                                  As for the second question, there are $30^5$ ways of selecting a student from each of $5$ classes and there are $30 cdot 29 cdot 28 cdot 27 cdot 26$ ways to choose five students without repeating any. So the probability that no one gets called twice is $0.7037$ and the probability that at least one student is called twice is $0.2963$.






                                  share|cite|improve this answer









                                  $endgroup$
















                                    1












                                    1








                                    1





                                    $begingroup$

                                    I'd approach both questions backwards. The probability that J is not called at all is $(29/30)^5$ and the probability that J is called exactly once is $5(1/30)(29/30)^4$. So the probability that J is called $0$ or $1$ time is approximately $0.9896$, making the probability that J will be called at least twice approximately $0.0104$.



                                    As for the second question, there are $30^5$ ways of selecting a student from each of $5$ classes and there are $30 cdot 29 cdot 28 cdot 27 cdot 26$ ways to choose five students without repeating any. So the probability that no one gets called twice is $0.7037$ and the probability that at least one student is called twice is $0.2963$.






                                    share|cite|improve this answer









                                    $endgroup$



                                    I'd approach both questions backwards. The probability that J is not called at all is $(29/30)^5$ and the probability that J is called exactly once is $5(1/30)(29/30)^4$. So the probability that J is called $0$ or $1$ time is approximately $0.9896$, making the probability that J will be called at least twice approximately $0.0104$.



                                    As for the second question, there are $30^5$ ways of selecting a student from each of $5$ classes and there are $30 cdot 29 cdot 28 cdot 27 cdot 26$ ways to choose five students without repeating any. So the probability that no one gets called twice is $0.7037$ and the probability that at least one student is called twice is $0.2963$.







                                    share|cite|improve this answer












                                    share|cite|improve this answer



                                    share|cite|improve this answer










                                    answered 24 mins ago









                                    Robert ShoreRobert Shore

                                    2,129116




                                    2,129116






















                                        DaniFoldi is a new contributor. Be nice, and check out our Code of Conduct.










                                        draft saved

                                        draft discarded


















                                        DaniFoldi is a new contributor. Be nice, and check out our Code of Conduct.













                                        DaniFoldi is a new contributor. Be nice, and check out our Code of Conduct.












                                        DaniFoldi is a new contributor. Be nice, and check out our Code of Conduct.
















                                        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%2f3139750%2fwhy-is-my-explanation-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

                                        Loup dans la culture

                                        How to solve the problem of ntp “Unable to contact time server” from KDE?

                                        ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux