Probability distribution and floor functions: is this the right approach?












0












$begingroup$


The consecutive integers $1, 2,ldots, n$ are inscribed on $n$ balls in an urn. Let $D_{r}$ be the event that the number on a ball drawn at random is divisible by $r$.



(a) What are $textbf{P}(D_{3})$, $textbf{P}(D_{4})$, $textbf{P}(D_{3}cup D_{4})$ and $textbf{P}(D_{3}cap D_{4})$?



(b) Find the limits of these probabilities as $n rightarrowinfty$.



(c) What would your answers be if the $n$ consecutive numbers began at a number $a neq 1$?



MY ATTEMPT



The book gives the following answers to each case:



(a) It uses the floor function in order to solve this problem. Precisely, we have:
begin{align*}
textbf{P}(D_{3}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor}{n},quad textbf{P}(D_{4}) = frac{displaystyleleftlfloorfrac{n}{4} rightrfloor}{n},quad textbf{P}(D_{3}cap D_{4}) = frac{displaystyleleftlfloorfrac{n}{12} rightrfloor}{n}
end{align*}



From whence we obtain that



begin{align*}
textbf{P}(D_{3}cup D_{4}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor + leftlfloorfrac{n}{4}rightrfloor - leftlfloorfrac{n}{12} rightrfloor}{n}
end{align*}



(b) I do not know how to handle limits with floor function. But it says that it should be
begin{align*}
lim_{nrightarrow+infty}textbf{P}(D_{3}) = frac{1}{3}, quad lim_{nrightarrow+infty}textbf{P}(D_{4}) = frac{1}{4}, quadlim_{nrightarrow+infty}textbf{P}(D_{3}cap D_{4}) = frac{1}{12}
end{align*}



(c) It is the same answer as given at (a).



Is there another approach to this problem? Thanks in advance.










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    The consecutive integers $1, 2,ldots, n$ are inscribed on $n$ balls in an urn. Let $D_{r}$ be the event that the number on a ball drawn at random is divisible by $r$.



    (a) What are $textbf{P}(D_{3})$, $textbf{P}(D_{4})$, $textbf{P}(D_{3}cup D_{4})$ and $textbf{P}(D_{3}cap D_{4})$?



    (b) Find the limits of these probabilities as $n rightarrowinfty$.



    (c) What would your answers be if the $n$ consecutive numbers began at a number $a neq 1$?



    MY ATTEMPT



    The book gives the following answers to each case:



    (a) It uses the floor function in order to solve this problem. Precisely, we have:
    begin{align*}
    textbf{P}(D_{3}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor}{n},quad textbf{P}(D_{4}) = frac{displaystyleleftlfloorfrac{n}{4} rightrfloor}{n},quad textbf{P}(D_{3}cap D_{4}) = frac{displaystyleleftlfloorfrac{n}{12} rightrfloor}{n}
    end{align*}



    From whence we obtain that



    begin{align*}
    textbf{P}(D_{3}cup D_{4}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor + leftlfloorfrac{n}{4}rightrfloor - leftlfloorfrac{n}{12} rightrfloor}{n}
    end{align*}



    (b) I do not know how to handle limits with floor function. But it says that it should be
    begin{align*}
    lim_{nrightarrow+infty}textbf{P}(D_{3}) = frac{1}{3}, quad lim_{nrightarrow+infty}textbf{P}(D_{4}) = frac{1}{4}, quadlim_{nrightarrow+infty}textbf{P}(D_{3}cap D_{4}) = frac{1}{12}
    end{align*}



    (c) It is the same answer as given at (a).



    Is there another approach to this problem? Thanks in advance.










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      The consecutive integers $1, 2,ldots, n$ are inscribed on $n$ balls in an urn. Let $D_{r}$ be the event that the number on a ball drawn at random is divisible by $r$.



      (a) What are $textbf{P}(D_{3})$, $textbf{P}(D_{4})$, $textbf{P}(D_{3}cup D_{4})$ and $textbf{P}(D_{3}cap D_{4})$?



      (b) Find the limits of these probabilities as $n rightarrowinfty$.



      (c) What would your answers be if the $n$ consecutive numbers began at a number $a neq 1$?



      MY ATTEMPT



      The book gives the following answers to each case:



      (a) It uses the floor function in order to solve this problem. Precisely, we have:
      begin{align*}
      textbf{P}(D_{3}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor}{n},quad textbf{P}(D_{4}) = frac{displaystyleleftlfloorfrac{n}{4} rightrfloor}{n},quad textbf{P}(D_{3}cap D_{4}) = frac{displaystyleleftlfloorfrac{n}{12} rightrfloor}{n}
      end{align*}



      From whence we obtain that



      begin{align*}
      textbf{P}(D_{3}cup D_{4}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor + leftlfloorfrac{n}{4}rightrfloor - leftlfloorfrac{n}{12} rightrfloor}{n}
      end{align*}



      (b) I do not know how to handle limits with floor function. But it says that it should be
      begin{align*}
      lim_{nrightarrow+infty}textbf{P}(D_{3}) = frac{1}{3}, quad lim_{nrightarrow+infty}textbf{P}(D_{4}) = frac{1}{4}, quadlim_{nrightarrow+infty}textbf{P}(D_{3}cap D_{4}) = frac{1}{12}
      end{align*}



      (c) It is the same answer as given at (a).



      Is there another approach to this problem? Thanks in advance.










      share|cite|improve this question











      $endgroup$




      The consecutive integers $1, 2,ldots, n$ are inscribed on $n$ balls in an urn. Let $D_{r}$ be the event that the number on a ball drawn at random is divisible by $r$.



      (a) What are $textbf{P}(D_{3})$, $textbf{P}(D_{4})$, $textbf{P}(D_{3}cup D_{4})$ and $textbf{P}(D_{3}cap D_{4})$?



      (b) Find the limits of these probabilities as $n rightarrowinfty$.



      (c) What would your answers be if the $n$ consecutive numbers began at a number $a neq 1$?



      MY ATTEMPT



      The book gives the following answers to each case:



      (a) It uses the floor function in order to solve this problem. Precisely, we have:
      begin{align*}
      textbf{P}(D_{3}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor}{n},quad textbf{P}(D_{4}) = frac{displaystyleleftlfloorfrac{n}{4} rightrfloor}{n},quad textbf{P}(D_{3}cap D_{4}) = frac{displaystyleleftlfloorfrac{n}{12} rightrfloor}{n}
      end{align*}



      From whence we obtain that



      begin{align*}
      textbf{P}(D_{3}cup D_{4}) = frac{displaystyleleftlfloorfrac{n}{3} rightrfloor + leftlfloorfrac{n}{4}rightrfloor - leftlfloorfrac{n}{12} rightrfloor}{n}
      end{align*}



      (b) I do not know how to handle limits with floor function. But it says that it should be
      begin{align*}
      lim_{nrightarrow+infty}textbf{P}(D_{3}) = frac{1}{3}, quad lim_{nrightarrow+infty}textbf{P}(D_{4}) = frac{1}{4}, quadlim_{nrightarrow+infty}textbf{P}(D_{3}cap D_{4}) = frac{1}{12}
      end{align*}



      (c) It is the same answer as given at (a).



      Is there another approach to this problem? Thanks in advance.







      probability probability-theory proof-verification






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 14 at 2:26







      user1337

















      asked Jan 11 at 19:48









      user1337user1337

      46110




      46110






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          Your answer for part $(a)$ is right. But you don't need to use the floor function to evaluate those limits. Clearly if $n$ is divisible by $3$, $P(D_{3})=1/3$. If $n=3k+1$ for some $k$, then
          $$P(D_{3})=frac{k}{n}=frac{k}{3k+1}$$
          and if $n=3k+2$
          for some $k$, then
          $$P(D_{3})=frac{k}{n}=frac{k}{3k+2}$$
          Notice that the limit of each of these as $ntoinfty$ is clearly $1/3$.
          Assuming we pick $n$ uniformly at random from the positive integers, then since $1/3$ of the positive integers are each of the above forms, the probability is
          $$frac{1}{3}(frac{1}{3}+frac{1}{3}+frac{1}{3})=frac{1}{3}$$
          as you suspected. The argument works the same way for $D_{4}$.



          And you are right about the unions and intersections. To make those arguments precise, you can again modify my above argument.






          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%2f3070282%2fprobability-distribution-and-floor-functions-is-this-the-right-approach%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









            1












            $begingroup$

            Your answer for part $(a)$ is right. But you don't need to use the floor function to evaluate those limits. Clearly if $n$ is divisible by $3$, $P(D_{3})=1/3$. If $n=3k+1$ for some $k$, then
            $$P(D_{3})=frac{k}{n}=frac{k}{3k+1}$$
            and if $n=3k+2$
            for some $k$, then
            $$P(D_{3})=frac{k}{n}=frac{k}{3k+2}$$
            Notice that the limit of each of these as $ntoinfty$ is clearly $1/3$.
            Assuming we pick $n$ uniformly at random from the positive integers, then since $1/3$ of the positive integers are each of the above forms, the probability is
            $$frac{1}{3}(frac{1}{3}+frac{1}{3}+frac{1}{3})=frac{1}{3}$$
            as you suspected. The argument works the same way for $D_{4}$.



            And you are right about the unions and intersections. To make those arguments precise, you can again modify my above argument.






            share|cite|improve this answer









            $endgroup$


















              1












              $begingroup$

              Your answer for part $(a)$ is right. But you don't need to use the floor function to evaluate those limits. Clearly if $n$ is divisible by $3$, $P(D_{3})=1/3$. If $n=3k+1$ for some $k$, then
              $$P(D_{3})=frac{k}{n}=frac{k}{3k+1}$$
              and if $n=3k+2$
              for some $k$, then
              $$P(D_{3})=frac{k}{n}=frac{k}{3k+2}$$
              Notice that the limit of each of these as $ntoinfty$ is clearly $1/3$.
              Assuming we pick $n$ uniformly at random from the positive integers, then since $1/3$ of the positive integers are each of the above forms, the probability is
              $$frac{1}{3}(frac{1}{3}+frac{1}{3}+frac{1}{3})=frac{1}{3}$$
              as you suspected. The argument works the same way for $D_{4}$.



              And you are right about the unions and intersections. To make those arguments precise, you can again modify my above argument.






              share|cite|improve this answer









              $endgroup$
















                1












                1








                1





                $begingroup$

                Your answer for part $(a)$ is right. But you don't need to use the floor function to evaluate those limits. Clearly if $n$ is divisible by $3$, $P(D_{3})=1/3$. If $n=3k+1$ for some $k$, then
                $$P(D_{3})=frac{k}{n}=frac{k}{3k+1}$$
                and if $n=3k+2$
                for some $k$, then
                $$P(D_{3})=frac{k}{n}=frac{k}{3k+2}$$
                Notice that the limit of each of these as $ntoinfty$ is clearly $1/3$.
                Assuming we pick $n$ uniformly at random from the positive integers, then since $1/3$ of the positive integers are each of the above forms, the probability is
                $$frac{1}{3}(frac{1}{3}+frac{1}{3}+frac{1}{3})=frac{1}{3}$$
                as you suspected. The argument works the same way for $D_{4}$.



                And you are right about the unions and intersections. To make those arguments precise, you can again modify my above argument.






                share|cite|improve this answer









                $endgroup$



                Your answer for part $(a)$ is right. But you don't need to use the floor function to evaluate those limits. Clearly if $n$ is divisible by $3$, $P(D_{3})=1/3$. If $n=3k+1$ for some $k$, then
                $$P(D_{3})=frac{k}{n}=frac{k}{3k+1}$$
                and if $n=3k+2$
                for some $k$, then
                $$P(D_{3})=frac{k}{n}=frac{k}{3k+2}$$
                Notice that the limit of each of these as $ntoinfty$ is clearly $1/3$.
                Assuming we pick $n$ uniformly at random from the positive integers, then since $1/3$ of the positive integers are each of the above forms, the probability is
                $$frac{1}{3}(frac{1}{3}+frac{1}{3}+frac{1}{3})=frac{1}{3}$$
                as you suspected. The argument works the same way for $D_{4}$.



                And you are right about the unions and intersections. To make those arguments precise, you can again modify my above argument.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 11 at 20:04









                pwerthpwerth

                3,233417




                3,233417






























                    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%2f3070282%2fprobability-distribution-and-floor-functions-is-this-the-right-approach%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

                    'app-layout' is not a known element: how to share Component with different Modules

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    SQL update select statement