Discrete Random Variable: Independent or Dependent?












0















Question: You are given a fair red die and a fair blue die. You roll each die once, independently of each other. Let $(i, j)$ be the outcome, where $i$ is the result of the red die and $j$ is the result of the blue die. Define:



$X = i+j$ and $Y = i-j$



Are these independent or not?




Attempt:



Just by looking at it, it seems that they are dependent on one another but I’m not sure how to prove it.



If I take, $i=6$ and $j=4$ then $X=10$, and $Y =2$.



I think I need to use this formula: $Pr$ ($X=x$ $land$ $Y=y$) $=$ $Pr(X=x) $ . $ Pr(Y=y)$



Wouldn’t the probability be $frac{1}{6}$ for each one? Not sure how to use the formula to prove dependence.










share|cite|improve this question



























    0















    Question: You are given a fair red die and a fair blue die. You roll each die once, independently of each other. Let $(i, j)$ be the outcome, where $i$ is the result of the red die and $j$ is the result of the blue die. Define:



    $X = i+j$ and $Y = i-j$



    Are these independent or not?




    Attempt:



    Just by looking at it, it seems that they are dependent on one another but I’m not sure how to prove it.



    If I take, $i=6$ and $j=4$ then $X=10$, and $Y =2$.



    I think I need to use this formula: $Pr$ ($X=x$ $land$ $Y=y$) $=$ $Pr(X=x) $ . $ Pr(Y=y)$



    Wouldn’t the probability be $frac{1}{6}$ for each one? Not sure how to use the formula to prove dependence.










    share|cite|improve this question

























      0












      0








      0








      Question: You are given a fair red die and a fair blue die. You roll each die once, independently of each other. Let $(i, j)$ be the outcome, where $i$ is the result of the red die and $j$ is the result of the blue die. Define:



      $X = i+j$ and $Y = i-j$



      Are these independent or not?




      Attempt:



      Just by looking at it, it seems that they are dependent on one another but I’m not sure how to prove it.



      If I take, $i=6$ and $j=4$ then $X=10$, and $Y =2$.



      I think I need to use this formula: $Pr$ ($X=x$ $land$ $Y=y$) $=$ $Pr(X=x) $ . $ Pr(Y=y)$



      Wouldn’t the probability be $frac{1}{6}$ for each one? Not sure how to use the formula to prove dependence.










      share|cite|improve this question














      Question: You are given a fair red die and a fair blue die. You roll each die once, independently of each other. Let $(i, j)$ be the outcome, where $i$ is the result of the red die and $j$ is the result of the blue die. Define:



      $X = i+j$ and $Y = i-j$



      Are these independent or not?




      Attempt:



      Just by looking at it, it seems that they are dependent on one another but I’m not sure how to prove it.



      If I take, $i=6$ and $j=4$ then $X=10$, and $Y =2$.



      I think I need to use this formula: $Pr$ ($X=x$ $land$ $Y=y$) $=$ $Pr(X=x) $ . $ Pr(Y=y)$



      Wouldn’t the probability be $frac{1}{6}$ for each one? Not sure how to use the formula to prove dependence.







      probability-theory discrete-mathematics probability-distributions random-variables






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 30 at 6:09









      Toby

      1577




      1577






















          1 Answer
          1






          active

          oldest

          votes


















          3














          If you want to show that two random variables are not independent, you would show that there are $x,y$ such that $Pr(X = x land Y = y) neq Pr(X = x) cdot Pr(Y = y)$. Here, there's a lot of choices you can take. For example, an easy one would be $x = 12, y = -5$. Note that both $X = 12$ and $Y = -5$ can happen with probability $frac{1}{36}$: the first requires rolling two sixes, and the second requires rolling a 1 then a 6. But it is impossible for both two happen together. Hence,
          $$Pr(X = x land Y = y) = 0 neq frac{1}{36} times frac{1}{36} = Pr(X = x) cdot Pr(Y = y)$$
          So the two are not independent. Of course, there are many choices of $x$ and $y$ where this relationship fails to holds; any such pair suffices.






          share|cite|improve this answer





















          • I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
            – Toby
            Dec 1 at 0:49











          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%2f3019717%2fdiscrete-random-variable-independent-or-dependent%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









          3














          If you want to show that two random variables are not independent, you would show that there are $x,y$ such that $Pr(X = x land Y = y) neq Pr(X = x) cdot Pr(Y = y)$. Here, there's a lot of choices you can take. For example, an easy one would be $x = 12, y = -5$. Note that both $X = 12$ and $Y = -5$ can happen with probability $frac{1}{36}$: the first requires rolling two sixes, and the second requires rolling a 1 then a 6. But it is impossible for both two happen together. Hence,
          $$Pr(X = x land Y = y) = 0 neq frac{1}{36} times frac{1}{36} = Pr(X = x) cdot Pr(Y = y)$$
          So the two are not independent. Of course, there are many choices of $x$ and $y$ where this relationship fails to holds; any such pair suffices.






          share|cite|improve this answer





















          • I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
            – Toby
            Dec 1 at 0:49
















          3














          If you want to show that two random variables are not independent, you would show that there are $x,y$ such that $Pr(X = x land Y = y) neq Pr(X = x) cdot Pr(Y = y)$. Here, there's a lot of choices you can take. For example, an easy one would be $x = 12, y = -5$. Note that both $X = 12$ and $Y = -5$ can happen with probability $frac{1}{36}$: the first requires rolling two sixes, and the second requires rolling a 1 then a 6. But it is impossible for both two happen together. Hence,
          $$Pr(X = x land Y = y) = 0 neq frac{1}{36} times frac{1}{36} = Pr(X = x) cdot Pr(Y = y)$$
          So the two are not independent. Of course, there are many choices of $x$ and $y$ where this relationship fails to holds; any such pair suffices.






          share|cite|improve this answer





















          • I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
            – Toby
            Dec 1 at 0:49














          3












          3








          3






          If you want to show that two random variables are not independent, you would show that there are $x,y$ such that $Pr(X = x land Y = y) neq Pr(X = x) cdot Pr(Y = y)$. Here, there's a lot of choices you can take. For example, an easy one would be $x = 12, y = -5$. Note that both $X = 12$ and $Y = -5$ can happen with probability $frac{1}{36}$: the first requires rolling two sixes, and the second requires rolling a 1 then a 6. But it is impossible for both two happen together. Hence,
          $$Pr(X = x land Y = y) = 0 neq frac{1}{36} times frac{1}{36} = Pr(X = x) cdot Pr(Y = y)$$
          So the two are not independent. Of course, there are many choices of $x$ and $y$ where this relationship fails to holds; any such pair suffices.






          share|cite|improve this answer












          If you want to show that two random variables are not independent, you would show that there are $x,y$ such that $Pr(X = x land Y = y) neq Pr(X = x) cdot Pr(Y = y)$. Here, there's a lot of choices you can take. For example, an easy one would be $x = 12, y = -5$. Note that both $X = 12$ and $Y = -5$ can happen with probability $frac{1}{36}$: the first requires rolling two sixes, and the second requires rolling a 1 then a 6. But it is impossible for both two happen together. Hence,
          $$Pr(X = x land Y = y) = 0 neq frac{1}{36} times frac{1}{36} = Pr(X = x) cdot Pr(Y = y)$$
          So the two are not independent. Of course, there are many choices of $x$ and $y$ where this relationship fails to holds; any such pair suffices.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 30 at 6:22









          platty

          3,360320




          3,360320












          • I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
            – Toby
            Dec 1 at 0:49


















          • I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
            – Toby
            Dec 1 at 0:49
















          I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
          – Toby
          Dec 1 at 0:49




          I am a little confused about how they are impossible to roll together. Like, if the question stated that X=|i-j| and Y=max(i,j) with same conditions. If I take (i,j) to be (6,2), then I would have X=4, Y=2. To get X=4, I would need to roll to get two 2's and for Y I would need to roll two 1's. In this case, is it also impossible to get both of these to happen together? And this would also be dependent?
          – Toby
          Dec 1 at 0:49


















          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%2f3019717%2fdiscrete-random-variable-independent-or-dependent%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

          To store a contact into the json file from server.js file using a class in NodeJS

          Marschland