finding probability of joint distribution.












0












$begingroup$


I am given a joint density function of two random variables $X$ and $Y$ which is as follows:



$$
f(x,y) = left{
begin{array}{ll}
frac{1}{210}(2x+y) & quad 2<x <6, 0<y<5 \
0 & quadtext{otherwise}
end{array}
right.
$$



Now I want to calculate the probability $P(X+Y < 4)$. Will I do it like this?:



$$ int_{0}^{4}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    I am given a joint density function of two random variables $X$ and $Y$ which is as follows:



    $$
    f(x,y) = left{
    begin{array}{ll}
    frac{1}{210}(2x+y) & quad 2<x <6, 0<y<5 \
    0 & quadtext{otherwise}
    end{array}
    right.
    $$



    Now I want to calculate the probability $P(X+Y < 4)$. Will I do it like this?:



    $$ int_{0}^{4}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      I am given a joint density function of two random variables $X$ and $Y$ which is as follows:



      $$
      f(x,y) = left{
      begin{array}{ll}
      frac{1}{210}(2x+y) & quad 2<x <6, 0<y<5 \
      0 & quadtext{otherwise}
      end{array}
      right.
      $$



      Now I want to calculate the probability $P(X+Y < 4)$. Will I do it like this?:



      $$ int_{0}^{4}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$










      share|cite|improve this question











      $endgroup$




      I am given a joint density function of two random variables $X$ and $Y$ which is as follows:



      $$
      f(x,y) = left{
      begin{array}{ll}
      frac{1}{210}(2x+y) & quad 2<x <6, 0<y<5 \
      0 & quadtext{otherwise}
      end{array}
      right.
      $$



      Now I want to calculate the probability $P(X+Y < 4)$. Will I do it like this?:



      $$ int_{0}^{4}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$







      probability probability-distributions






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 26 '18 at 18:17









      APC89

      2,341520




      2,341520










      asked Dec 26 '18 at 18:16









      Ahmad QayyumAhmad Qayyum

      677




      677






















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          This is technically an exercise on multiple integrals, and in these cases you would realise that your job becomes easier if you can picture the desired region of integration.



          Proceed step by step to focus on the domain of integration.



          begin{align}
          P(X+Y<4)&=Eleft[mathbf1_{X+Y<4}right]
          \&=iint mathbf1_{x+y<4},f(x,y),dx,dy
          \&=frac{1}{210}iint mathbf1_{x+y<4},(2x+y)mathbf1_{2<x<6,,0<y<5},dx,dy
          \&=frac{1}{210}iint (2x+y),mathbf1_{x+y<4,,2<x<6,,0<y<5},dx,dy
          end{align}



          This is how the region ${(x,y):x+y<4,,2<x<6,,0<y<5}$ looks like:



          enter image description here



          Can you evaluate the double integral now, keeping any one of $x$ and $y$ fixed at a time depending on ease of computation ?






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            so what will be the limits over the integrals?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:25










          • $begingroup$
            @AhmadQayyum You tell me.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:26










          • $begingroup$
            will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:28












          • $begingroup$
            after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:40








          • 1




            $begingroup$
            @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:49





















          3












          $begingroup$

          No, that integral gives $mathbb{P}(2leq Xleq 4,, 0leq Y leq 4)$. For example, this includes $(4,4)$ which clearly does not satisfy $X + Y < 4$. You're integrating over a rectangular region, you should be integrating over a triangular region. Try



          $$
          int_2^4int_0^{4-x} frac{1}{210}(2x+y),dy,dx
          $$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            You're right, edited. Thanks!
            $endgroup$
            – Alex
            Dec 26 '18 at 21:18











          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%2f3053171%2ffinding-probability-of-joint-distribution%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1












          $begingroup$

          This is technically an exercise on multiple integrals, and in these cases you would realise that your job becomes easier if you can picture the desired region of integration.



          Proceed step by step to focus on the domain of integration.



          begin{align}
          P(X+Y<4)&=Eleft[mathbf1_{X+Y<4}right]
          \&=iint mathbf1_{x+y<4},f(x,y),dx,dy
          \&=frac{1}{210}iint mathbf1_{x+y<4},(2x+y)mathbf1_{2<x<6,,0<y<5},dx,dy
          \&=frac{1}{210}iint (2x+y),mathbf1_{x+y<4,,2<x<6,,0<y<5},dx,dy
          end{align}



          This is how the region ${(x,y):x+y<4,,2<x<6,,0<y<5}$ looks like:



          enter image description here



          Can you evaluate the double integral now, keeping any one of $x$ and $y$ fixed at a time depending on ease of computation ?






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            so what will be the limits over the integrals?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:25










          • $begingroup$
            @AhmadQayyum You tell me.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:26










          • $begingroup$
            will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:28












          • $begingroup$
            after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:40








          • 1




            $begingroup$
            @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:49


















          1












          $begingroup$

          This is technically an exercise on multiple integrals, and in these cases you would realise that your job becomes easier if you can picture the desired region of integration.



          Proceed step by step to focus on the domain of integration.



          begin{align}
          P(X+Y<4)&=Eleft[mathbf1_{X+Y<4}right]
          \&=iint mathbf1_{x+y<4},f(x,y),dx,dy
          \&=frac{1}{210}iint mathbf1_{x+y<4},(2x+y)mathbf1_{2<x<6,,0<y<5},dx,dy
          \&=frac{1}{210}iint (2x+y),mathbf1_{x+y<4,,2<x<6,,0<y<5},dx,dy
          end{align}



          This is how the region ${(x,y):x+y<4,,2<x<6,,0<y<5}$ looks like:



          enter image description here



          Can you evaluate the double integral now, keeping any one of $x$ and $y$ fixed at a time depending on ease of computation ?






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            so what will be the limits over the integrals?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:25










          • $begingroup$
            @AhmadQayyum You tell me.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:26










          • $begingroup$
            will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:28












          • $begingroup$
            after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:40








          • 1




            $begingroup$
            @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:49
















          1












          1








          1





          $begingroup$

          This is technically an exercise on multiple integrals, and in these cases you would realise that your job becomes easier if you can picture the desired region of integration.



          Proceed step by step to focus on the domain of integration.



          begin{align}
          P(X+Y<4)&=Eleft[mathbf1_{X+Y<4}right]
          \&=iint mathbf1_{x+y<4},f(x,y),dx,dy
          \&=frac{1}{210}iint mathbf1_{x+y<4},(2x+y)mathbf1_{2<x<6,,0<y<5},dx,dy
          \&=frac{1}{210}iint (2x+y),mathbf1_{x+y<4,,2<x<6,,0<y<5},dx,dy
          end{align}



          This is how the region ${(x,y):x+y<4,,2<x<6,,0<y<5}$ looks like:



          enter image description here



          Can you evaluate the double integral now, keeping any one of $x$ and $y$ fixed at a time depending on ease of computation ?






          share|cite|improve this answer











          $endgroup$



          This is technically an exercise on multiple integrals, and in these cases you would realise that your job becomes easier if you can picture the desired region of integration.



          Proceed step by step to focus on the domain of integration.



          begin{align}
          P(X+Y<4)&=Eleft[mathbf1_{X+Y<4}right]
          \&=iint mathbf1_{x+y<4},f(x,y),dx,dy
          \&=frac{1}{210}iint mathbf1_{x+y<4},(2x+y)mathbf1_{2<x<6,,0<y<5},dx,dy
          \&=frac{1}{210}iint (2x+y),mathbf1_{x+y<4,,2<x<6,,0<y<5},dx,dy
          end{align}



          This is how the region ${(x,y):x+y<4,,2<x<6,,0<y<5}$ looks like:



          enter image description here



          Can you evaluate the double integral now, keeping any one of $x$ and $y$ fixed at a time depending on ease of computation ?







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 26 '18 at 19:22

























          answered Dec 26 '18 at 18:57









          StubbornAtomStubbornAtom

          6,16811339




          6,16811339












          • $begingroup$
            so what will be the limits over the integrals?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:25










          • $begingroup$
            @AhmadQayyum You tell me.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:26










          • $begingroup$
            will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:28












          • $begingroup$
            after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:40








          • 1




            $begingroup$
            @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:49




















          • $begingroup$
            so what will be the limits over the integrals?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:25










          • $begingroup$
            @AhmadQayyum You tell me.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:26










          • $begingroup$
            will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:28












          • $begingroup$
            after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
            $endgroup$
            – Ahmad Qayyum
            Dec 26 '18 at 19:40








          • 1




            $begingroup$
            @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
            $endgroup$
            – StubbornAtom
            Dec 26 '18 at 19:49


















          $begingroup$
          so what will be the limits over the integrals?
          $endgroup$
          – Ahmad Qayyum
          Dec 26 '18 at 19:25




          $begingroup$
          so what will be the limits over the integrals?
          $endgroup$
          – Ahmad Qayyum
          Dec 26 '18 at 19:25












          $begingroup$
          @AhmadQayyum You tell me.
          $endgroup$
          – StubbornAtom
          Dec 26 '18 at 19:26




          $begingroup$
          @AhmadQayyum You tell me.
          $endgroup$
          – StubbornAtom
          Dec 26 '18 at 19:26












          $begingroup$
          will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
          $endgroup$
          – Ahmad Qayyum
          Dec 26 '18 at 19:28






          $begingroup$
          will these be the limits?: $$ int_{0}^{4-x}int_{2}^{4} frac{1}{210}(2x+y) dxdy $$
          $endgroup$
          – Ahmad Qayyum
          Dec 26 '18 at 19:28














          $begingroup$
          after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
          $endgroup$
          – Ahmad Qayyum
          Dec 26 '18 at 19:40






          $begingroup$
          after i solved it i got the final expression as: $ frac{1}{210}(x-16)(x-4) $. Is it correct or do I have to solve it further?
          $endgroup$
          – Ahmad Qayyum
          Dec 26 '18 at 19:40






          1




          1




          $begingroup$
          @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
          $endgroup$
          – StubbornAtom
          Dec 26 '18 at 19:49






          $begingroup$
          @AhmadQayyum Sorry, it is rather $$int_2^4 int_0^{4-x}...,dy,dx$$ Since you are keeping $x$ free and $y$ dependent on $x$, you have to integrate wrt $y$ first and then $x$.
          $endgroup$
          – StubbornAtom
          Dec 26 '18 at 19:49













          3












          $begingroup$

          No, that integral gives $mathbb{P}(2leq Xleq 4,, 0leq Y leq 4)$. For example, this includes $(4,4)$ which clearly does not satisfy $X + Y < 4$. You're integrating over a rectangular region, you should be integrating over a triangular region. Try



          $$
          int_2^4int_0^{4-x} frac{1}{210}(2x+y),dy,dx
          $$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            You're right, edited. Thanks!
            $endgroup$
            – Alex
            Dec 26 '18 at 21:18
















          3












          $begingroup$

          No, that integral gives $mathbb{P}(2leq Xleq 4,, 0leq Y leq 4)$. For example, this includes $(4,4)$ which clearly does not satisfy $X + Y < 4$. You're integrating over a rectangular region, you should be integrating over a triangular region. Try



          $$
          int_2^4int_0^{4-x} frac{1}{210}(2x+y),dy,dx
          $$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            You're right, edited. Thanks!
            $endgroup$
            – Alex
            Dec 26 '18 at 21:18














          3












          3








          3





          $begingroup$

          No, that integral gives $mathbb{P}(2leq Xleq 4,, 0leq Y leq 4)$. For example, this includes $(4,4)$ which clearly does not satisfy $X + Y < 4$. You're integrating over a rectangular region, you should be integrating over a triangular region. Try



          $$
          int_2^4int_0^{4-x} frac{1}{210}(2x+y),dy,dx
          $$






          share|cite|improve this answer











          $endgroup$



          No, that integral gives $mathbb{P}(2leq Xleq 4,, 0leq Y leq 4)$. For example, this includes $(4,4)$ which clearly does not satisfy $X + Y < 4$. You're integrating over a rectangular region, you should be integrating over a triangular region. Try



          $$
          int_2^4int_0^{4-x} frac{1}{210}(2x+y),dy,dx
          $$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 26 '18 at 21:18

























          answered Dec 26 '18 at 18:22









          AlexAlex

          52138




          52138












          • $begingroup$
            You're right, edited. Thanks!
            $endgroup$
            – Alex
            Dec 26 '18 at 21:18


















          • $begingroup$
            You're right, edited. Thanks!
            $endgroup$
            – Alex
            Dec 26 '18 at 21:18
















          $begingroup$
          You're right, edited. Thanks!
          $endgroup$
          – Alex
          Dec 26 '18 at 21:18




          $begingroup$
          You're right, edited. Thanks!
          $endgroup$
          – Alex
          Dec 26 '18 at 21:18


















          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%2f3053171%2ffinding-probability-of-joint-distribution%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