density function of difference of two independent exponential random variables












0












$begingroup$


Let $X$ and $Y$ be independent exponential random variables with parameter 1. Find $P(Ygeq Xgeq 2)$.



My attempt:
Using independence of $X$ and $Y$ we get
$P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) = P(X-Yleq 0)(1-P(Xleq 2))=...=frac{1}{2}e^{-2}$



I used the fact that density of $X-Y$ is $f_{X-Y}(z)=frac{1}{2}e^{-|z|}$
However this turns out to be the wrong answer. Where did I go wrong?










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    Let $X$ and $Y$ be independent exponential random variables with parameter 1. Find $P(Ygeq Xgeq 2)$.



    My attempt:
    Using independence of $X$ and $Y$ we get
    $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) = P(X-Yleq 0)(1-P(Xleq 2))=...=frac{1}{2}e^{-2}$



    I used the fact that density of $X-Y$ is $f_{X-Y}(z)=frac{1}{2}e^{-|z|}$
    However this turns out to be the wrong answer. Where did I go wrong?










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      Let $X$ and $Y$ be independent exponential random variables with parameter 1. Find $P(Ygeq Xgeq 2)$.



      My attempt:
      Using independence of $X$ and $Y$ we get
      $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) = P(X-Yleq 0)(1-P(Xleq 2))=...=frac{1}{2}e^{-2}$



      I used the fact that density of $X-Y$ is $f_{X-Y}(z)=frac{1}{2}e^{-|z|}$
      However this turns out to be the wrong answer. Where did I go wrong?










      share|cite|improve this question









      $endgroup$




      Let $X$ and $Y$ be independent exponential random variables with parameter 1. Find $P(Ygeq Xgeq 2)$.



      My attempt:
      Using independence of $X$ and $Y$ we get
      $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) = P(X-Yleq 0)(1-P(Xleq 2))=...=frac{1}{2}e^{-2}$



      I used the fact that density of $X-Y$ is $f_{X-Y}(z)=frac{1}{2}e^{-|z|}$
      However this turns out to be the wrong answer. Where did I go wrong?







      probability






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 28 '18 at 6:01









      dxdydzdxdydz

      3009




      3009






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Independence does not imply that $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) $, since ${Yge X}$ and ${Xge2}$ are not necessarily independent events (just to start, they both are expressed in terms of $X$).



          What independence tells you is that the joint density of $X$ and $Y$ is
          $$f_{XY}(x,y)=f_X(x)cdot f_Y(y)=e^{-x}cdot e^{-y}$$
          for $x,y>0$ (and $0$ in other case.)



          So the probability you need is
          $$iint_B e^{-(x+y)},dA,$$
          where $B={(x,y)in mathbb R^2colon yge x ge 2, x>0, y>0}$. And this double integral is equivalent to the iterated integral
          $$int_2^infty int_2^y e^{-(x+y)},dx,dy.$$






          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%2f3016781%2fdensity-function-of-difference-of-two-independent-exponential-random-variables%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









            0












            $begingroup$

            Independence does not imply that $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) $, since ${Yge X}$ and ${Xge2}$ are not necessarily independent events (just to start, they both are expressed in terms of $X$).



            What independence tells you is that the joint density of $X$ and $Y$ is
            $$f_{XY}(x,y)=f_X(x)cdot f_Y(y)=e^{-x}cdot e^{-y}$$
            for $x,y>0$ (and $0$ in other case.)



            So the probability you need is
            $$iint_B e^{-(x+y)},dA,$$
            where $B={(x,y)in mathbb R^2colon yge x ge 2, x>0, y>0}$. And this double integral is equivalent to the iterated integral
            $$int_2^infty int_2^y e^{-(x+y)},dx,dy.$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Independence does not imply that $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) $, since ${Yge X}$ and ${Xge2}$ are not necessarily independent events (just to start, they both are expressed in terms of $X$).



              What independence tells you is that the joint density of $X$ and $Y$ is
              $$f_{XY}(x,y)=f_X(x)cdot f_Y(y)=e^{-x}cdot e^{-y}$$
              for $x,y>0$ (and $0$ in other case.)



              So the probability you need is
              $$iint_B e^{-(x+y)},dA,$$
              where $B={(x,y)in mathbb R^2colon yge x ge 2, x>0, y>0}$. And this double integral is equivalent to the iterated integral
              $$int_2^infty int_2^y e^{-(x+y)},dx,dy.$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Independence does not imply that $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) $, since ${Yge X}$ and ${Xge2}$ are not necessarily independent events (just to start, they both are expressed in terms of $X$).



                What independence tells you is that the joint density of $X$ and $Y$ is
                $$f_{XY}(x,y)=f_X(x)cdot f_Y(y)=e^{-x}cdot e^{-y}$$
                for $x,y>0$ (and $0$ in other case.)



                So the probability you need is
                $$iint_B e^{-(x+y)},dA,$$
                where $B={(x,y)in mathbb R^2colon yge x ge 2, x>0, y>0}$. And this double integral is equivalent to the iterated integral
                $$int_2^infty int_2^y e^{-(x+y)},dx,dy.$$






                share|cite|improve this answer









                $endgroup$



                Independence does not imply that $P(Ygeq Xgeq 2) = P(Ygeq X) P(Xgeq 2) $, since ${Yge X}$ and ${Xge2}$ are not necessarily independent events (just to start, they both are expressed in terms of $X$).



                What independence tells you is that the joint density of $X$ and $Y$ is
                $$f_{XY}(x,y)=f_X(x)cdot f_Y(y)=e^{-x}cdot e^{-y}$$
                for $x,y>0$ (and $0$ in other case.)



                So the probability you need is
                $$iint_B e^{-(x+y)},dA,$$
                where $B={(x,y)in mathbb R^2colon yge x ge 2, x>0, y>0}$. And this double integral is equivalent to the iterated integral
                $$int_2^infty int_2^y e^{-(x+y)},dx,dy.$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 28 '18 at 6:33









                Alejandro Nasif SalumAlejandro Nasif Salum

                4,765118




                4,765118






























                    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%2f3016781%2fdensity-function-of-difference-of-two-independent-exponential-random-variables%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

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents