Probability: Independent or Dependent for uniform random element sets












0















Question: You choose a uniformly random element, say $x$, from the set ${1,2,3}$ and you choose a uniformly random element, say $y$, from the same set ${1,2,3}$. ($x$ and $y$ are chosen independently of each other.) Define the events



$A$ = “$x$ is odd",



$B$ = “$x + y$ is odd".



Are these independent or not? Show proof.




Attempt:



I got $Pr(A) = 2/3$ (2 odd numbers ${1,3}$ to choose from ${1,2,3}$)



$Pr(B)$ was confusing. I know that the addition of odd numbers is even. So, if $x = 1,3$ and $y=2$ will result in $x+y$ to be even. Then $Pr($picking $2) = 1/3$ and $Pr($picking $1,3) = 2/3$



$Pr(B) = 1 – left(left(frac{1}{3} times frac{1}{3}right) + left(frac{2}{3}+frac{2}{3}right)right)$



$Pr(B) = frac{4}{9}$



$Pr(A cap B) = frac{2}{3} times frac{4}{9}$



So they are independent? The answer is they are not independent.










share|cite|improve this question





























    0















    Question: You choose a uniformly random element, say $x$, from the set ${1,2,3}$ and you choose a uniformly random element, say $y$, from the same set ${1,2,3}$. ($x$ and $y$ are chosen independently of each other.) Define the events



    $A$ = “$x$ is odd",



    $B$ = “$x + y$ is odd".



    Are these independent or not? Show proof.




    Attempt:



    I got $Pr(A) = 2/3$ (2 odd numbers ${1,3}$ to choose from ${1,2,3}$)



    $Pr(B)$ was confusing. I know that the addition of odd numbers is even. So, if $x = 1,3$ and $y=2$ will result in $x+y$ to be even. Then $Pr($picking $2) = 1/3$ and $Pr($picking $1,3) = 2/3$



    $Pr(B) = 1 – left(left(frac{1}{3} times frac{1}{3}right) + left(frac{2}{3}+frac{2}{3}right)right)$



    $Pr(B) = frac{4}{9}$



    $Pr(A cap B) = frac{2}{3} times frac{4}{9}$



    So they are independent? The answer is they are not independent.










    share|cite|improve this question



























      0












      0








      0








      Question: You choose a uniformly random element, say $x$, from the set ${1,2,3}$ and you choose a uniformly random element, say $y$, from the same set ${1,2,3}$. ($x$ and $y$ are chosen independently of each other.) Define the events



      $A$ = “$x$ is odd",



      $B$ = “$x + y$ is odd".



      Are these independent or not? Show proof.




      Attempt:



      I got $Pr(A) = 2/3$ (2 odd numbers ${1,3}$ to choose from ${1,2,3}$)



      $Pr(B)$ was confusing. I know that the addition of odd numbers is even. So, if $x = 1,3$ and $y=2$ will result in $x+y$ to be even. Then $Pr($picking $2) = 1/3$ and $Pr($picking $1,3) = 2/3$



      $Pr(B) = 1 – left(left(frac{1}{3} times frac{1}{3}right) + left(frac{2}{3}+frac{2}{3}right)right)$



      $Pr(B) = frac{4}{9}$



      $Pr(A cap B) = frac{2}{3} times frac{4}{9}$



      So they are independent? The answer is they are not independent.










      share|cite|improve this question
















      Question: You choose a uniformly random element, say $x$, from the set ${1,2,3}$ and you choose a uniformly random element, say $y$, from the same set ${1,2,3}$. ($x$ and $y$ are chosen independently of each other.) Define the events



      $A$ = “$x$ is odd",



      $B$ = “$x + y$ is odd".



      Are these independent or not? Show proof.




      Attempt:



      I got $Pr(A) = 2/3$ (2 odd numbers ${1,3}$ to choose from ${1,2,3}$)



      $Pr(B)$ was confusing. I know that the addition of odd numbers is even. So, if $x = 1,3$ and $y=2$ will result in $x+y$ to be even. Then $Pr($picking $2) = 1/3$ and $Pr($picking $1,3) = 2/3$



      $Pr(B) = 1 – left(left(frac{1}{3} times frac{1}{3}right) + left(frac{2}{3}+frac{2}{3}right)right)$



      $Pr(B) = frac{4}{9}$



      $Pr(A cap B) = frac{2}{3} times frac{4}{9}$



      So they are independent? The answer is they are not independent.







      probability probability-theory discrete-mathematics random-variables






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 30 at 5:20









      platty

      3,360320




      3,360320










      asked Nov 30 at 5:05









      Toby

      1577




      1577






















          1 Answer
          1






          active

          oldest

          votes


















          2














          $P(A) = text{the probability that the first element chosen is odd} = 2/3$, for the reason you provided.



          Next, to compute $P(B)$, note that we can only get an odd sum by having $x$ and $y$ of opposite parity. This can occur by setting $(x, y)$ equal to one of $(1, 2)$, $(3, 2)$, $(2, 1)$, $(2, 3)$. From listing all of the possible ways, we see there are exactly $4$ ways to obtain an odd sum out of $3 cdot 2 = 6$ ways to choose $x$ and $y$. Thus, $P(B) = 4/6 = 2/3$.



          $P(A cap B)$ is the probability that the first element chosen is odd and the sum is odd. This can happen only if the second element chosen is even, meaning that the second element is $2$. There are only two ways to achieve this: $(x, y) = (1, 2)$ or $(x, y) = (3, 2)$. Once again, since there are $6$ total ways to choose $x$ and $y$, $P(A cap B) = 2/6 = 1/3$.



          To check for independence, we have to see whether the equation $P(A) cdot P(B) = P(A cap B)$ is satisfied. Since it is not satisfied $(2/3 cdot 2/3 neq 1/3$), we conclude that they are not independent.






          share|cite|improve this answer





















            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%2f3019676%2fprobability-independent-or-dependent-for-uniform-random-element-sets%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









            2














            $P(A) = text{the probability that the first element chosen is odd} = 2/3$, for the reason you provided.



            Next, to compute $P(B)$, note that we can only get an odd sum by having $x$ and $y$ of opposite parity. This can occur by setting $(x, y)$ equal to one of $(1, 2)$, $(3, 2)$, $(2, 1)$, $(2, 3)$. From listing all of the possible ways, we see there are exactly $4$ ways to obtain an odd sum out of $3 cdot 2 = 6$ ways to choose $x$ and $y$. Thus, $P(B) = 4/6 = 2/3$.



            $P(A cap B)$ is the probability that the first element chosen is odd and the sum is odd. This can happen only if the second element chosen is even, meaning that the second element is $2$. There are only two ways to achieve this: $(x, y) = (1, 2)$ or $(x, y) = (3, 2)$. Once again, since there are $6$ total ways to choose $x$ and $y$, $P(A cap B) = 2/6 = 1/3$.



            To check for independence, we have to see whether the equation $P(A) cdot P(B) = P(A cap B)$ is satisfied. Since it is not satisfied $(2/3 cdot 2/3 neq 1/3$), we conclude that they are not independent.






            share|cite|improve this answer


























              2














              $P(A) = text{the probability that the first element chosen is odd} = 2/3$, for the reason you provided.



              Next, to compute $P(B)$, note that we can only get an odd sum by having $x$ and $y$ of opposite parity. This can occur by setting $(x, y)$ equal to one of $(1, 2)$, $(3, 2)$, $(2, 1)$, $(2, 3)$. From listing all of the possible ways, we see there are exactly $4$ ways to obtain an odd sum out of $3 cdot 2 = 6$ ways to choose $x$ and $y$. Thus, $P(B) = 4/6 = 2/3$.



              $P(A cap B)$ is the probability that the first element chosen is odd and the sum is odd. This can happen only if the second element chosen is even, meaning that the second element is $2$. There are only two ways to achieve this: $(x, y) = (1, 2)$ or $(x, y) = (3, 2)$. Once again, since there are $6$ total ways to choose $x$ and $y$, $P(A cap B) = 2/6 = 1/3$.



              To check for independence, we have to see whether the equation $P(A) cdot P(B) = P(A cap B)$ is satisfied. Since it is not satisfied $(2/3 cdot 2/3 neq 1/3$), we conclude that they are not independent.






              share|cite|improve this answer
























                2












                2








                2






                $P(A) = text{the probability that the first element chosen is odd} = 2/3$, for the reason you provided.



                Next, to compute $P(B)$, note that we can only get an odd sum by having $x$ and $y$ of opposite parity. This can occur by setting $(x, y)$ equal to one of $(1, 2)$, $(3, 2)$, $(2, 1)$, $(2, 3)$. From listing all of the possible ways, we see there are exactly $4$ ways to obtain an odd sum out of $3 cdot 2 = 6$ ways to choose $x$ and $y$. Thus, $P(B) = 4/6 = 2/3$.



                $P(A cap B)$ is the probability that the first element chosen is odd and the sum is odd. This can happen only if the second element chosen is even, meaning that the second element is $2$. There are only two ways to achieve this: $(x, y) = (1, 2)$ or $(x, y) = (3, 2)$. Once again, since there are $6$ total ways to choose $x$ and $y$, $P(A cap B) = 2/6 = 1/3$.



                To check for independence, we have to see whether the equation $P(A) cdot P(B) = P(A cap B)$ is satisfied. Since it is not satisfied $(2/3 cdot 2/3 neq 1/3$), we conclude that they are not independent.






                share|cite|improve this answer












                $P(A) = text{the probability that the first element chosen is odd} = 2/3$, for the reason you provided.



                Next, to compute $P(B)$, note that we can only get an odd sum by having $x$ and $y$ of opposite parity. This can occur by setting $(x, y)$ equal to one of $(1, 2)$, $(3, 2)$, $(2, 1)$, $(2, 3)$. From listing all of the possible ways, we see there are exactly $4$ ways to obtain an odd sum out of $3 cdot 2 = 6$ ways to choose $x$ and $y$. Thus, $P(B) = 4/6 = 2/3$.



                $P(A cap B)$ is the probability that the first element chosen is odd and the sum is odd. This can happen only if the second element chosen is even, meaning that the second element is $2$. There are only two ways to achieve this: $(x, y) = (1, 2)$ or $(x, y) = (3, 2)$. Once again, since there are $6$ total ways to choose $x$ and $y$, $P(A cap B) = 2/6 = 1/3$.



                To check for independence, we have to see whether the equation $P(A) cdot P(B) = P(A cap B)$ is satisfied. Since it is not satisfied $(2/3 cdot 2/3 neq 1/3$), we conclude that they are not independent.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 30 at 5:15









                Ekesh

                4676




                4676






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2f3019676%2fprobability-independent-or-dependent-for-uniform-random-element-sets%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

                    Wiesbaden

                    Marschland

                    Dieringhausen