Why is it valid to break a double integral into two single integrals?












0












$begingroup$


The following double integral comes from a probability exercise in which I have to calculate the probability of a region by integrating the bivariate PDF over that region.



begin{align*}
int_1^inftyint_1^inftyfrac{1}{8}y_1e^{frac{-(y_1+y_2)}{2}}dy_1dy_2 &= int_1^inftyint_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})(frac{1}{2}e^{frac{-y_2}{2}})dy_1dy_2 \ \
&= int_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})dy_1 times int_1^infty(frac{1}{2}e^{frac{-y_2}{2}})dy_2
end{align*}



Why is it allowed to treat the double integral as the product of two single integrals? I kind of get the general idea that we can "pull" the independent terms out of an integral, but I would like a more rigorous explanation to this problem.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    A double integral can be defined as the limit of a double Riemann sum: $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = lim_{N,Mtoinfty} frac{1}{N}sum_{i=1}^Nfrac{1}{M}sum_{j=1}^M f(i/N,j/M)$ (here for simplicity over a simple integration region). If $f(i/N,j/M)$ factors as $f(i/N,j/M) = g(i/N)h(j/M)$ (i.e. $f(x,y) = g(x)h(y)$) show that the sums on the right hand side factors into the product of two Riemann sums giving you the result $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = int_0^1 g(x){rm d}xcdot int_0^1 h(y){rm d}y$.
    $endgroup$
    – Winther
    Jan 21 at 23:35


















0












$begingroup$


The following double integral comes from a probability exercise in which I have to calculate the probability of a region by integrating the bivariate PDF over that region.



begin{align*}
int_1^inftyint_1^inftyfrac{1}{8}y_1e^{frac{-(y_1+y_2)}{2}}dy_1dy_2 &= int_1^inftyint_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})(frac{1}{2}e^{frac{-y_2}{2}})dy_1dy_2 \ \
&= int_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})dy_1 times int_1^infty(frac{1}{2}e^{frac{-y_2}{2}})dy_2
end{align*}



Why is it allowed to treat the double integral as the product of two single integrals? I kind of get the general idea that we can "pull" the independent terms out of an integral, but I would like a more rigorous explanation to this problem.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    A double integral can be defined as the limit of a double Riemann sum: $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = lim_{N,Mtoinfty} frac{1}{N}sum_{i=1}^Nfrac{1}{M}sum_{j=1}^M f(i/N,j/M)$ (here for simplicity over a simple integration region). If $f(i/N,j/M)$ factors as $f(i/N,j/M) = g(i/N)h(j/M)$ (i.e. $f(x,y) = g(x)h(y)$) show that the sums on the right hand side factors into the product of two Riemann sums giving you the result $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = int_0^1 g(x){rm d}xcdot int_0^1 h(y){rm d}y$.
    $endgroup$
    – Winther
    Jan 21 at 23:35
















0












0








0





$begingroup$


The following double integral comes from a probability exercise in which I have to calculate the probability of a region by integrating the bivariate PDF over that region.



begin{align*}
int_1^inftyint_1^inftyfrac{1}{8}y_1e^{frac{-(y_1+y_2)}{2}}dy_1dy_2 &= int_1^inftyint_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})(frac{1}{2}e^{frac{-y_2}{2}})dy_1dy_2 \ \
&= int_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})dy_1 times int_1^infty(frac{1}{2}e^{frac{-y_2}{2}})dy_2
end{align*}



Why is it allowed to treat the double integral as the product of two single integrals? I kind of get the general idea that we can "pull" the independent terms out of an integral, but I would like a more rigorous explanation to this problem.










share|cite|improve this question











$endgroup$




The following double integral comes from a probability exercise in which I have to calculate the probability of a region by integrating the bivariate PDF over that region.



begin{align*}
int_1^inftyint_1^inftyfrac{1}{8}y_1e^{frac{-(y_1+y_2)}{2}}dy_1dy_2 &= int_1^inftyint_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})(frac{1}{2}e^{frac{-y_2}{2}})dy_1dy_2 \ \
&= int_1^infty(frac{1}{4}y_1e^{frac{-y_1}{2}})dy_1 times int_1^infty(frac{1}{2}e^{frac{-y_2}{2}})dy_2
end{align*}



Why is it allowed to treat the double integral as the product of two single integrals? I kind of get the general idea that we can "pull" the independent terms out of an integral, but I would like a more rigorous explanation to this problem.







integration multivariable-calculus






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 21 at 23:31









Winther

20.7k33156




20.7k33156










asked Jan 21 at 23:24









ZassZass

1032




1032








  • 1




    $begingroup$
    A double integral can be defined as the limit of a double Riemann sum: $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = lim_{N,Mtoinfty} frac{1}{N}sum_{i=1}^Nfrac{1}{M}sum_{j=1}^M f(i/N,j/M)$ (here for simplicity over a simple integration region). If $f(i/N,j/M)$ factors as $f(i/N,j/M) = g(i/N)h(j/M)$ (i.e. $f(x,y) = g(x)h(y)$) show that the sums on the right hand side factors into the product of two Riemann sums giving you the result $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = int_0^1 g(x){rm d}xcdot int_0^1 h(y){rm d}y$.
    $endgroup$
    – Winther
    Jan 21 at 23:35
















  • 1




    $begingroup$
    A double integral can be defined as the limit of a double Riemann sum: $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = lim_{N,Mtoinfty} frac{1}{N}sum_{i=1}^Nfrac{1}{M}sum_{j=1}^M f(i/N,j/M)$ (here for simplicity over a simple integration region). If $f(i/N,j/M)$ factors as $f(i/N,j/M) = g(i/N)h(j/M)$ (i.e. $f(x,y) = g(x)h(y)$) show that the sums on the right hand side factors into the product of two Riemann sums giving you the result $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = int_0^1 g(x){rm d}xcdot int_0^1 h(y){rm d}y$.
    $endgroup$
    – Winther
    Jan 21 at 23:35










1




1




$begingroup$
A double integral can be defined as the limit of a double Riemann sum: $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = lim_{N,Mtoinfty} frac{1}{N}sum_{i=1}^Nfrac{1}{M}sum_{j=1}^M f(i/N,j/M)$ (here for simplicity over a simple integration region). If $f(i/N,j/M)$ factors as $f(i/N,j/M) = g(i/N)h(j/M)$ (i.e. $f(x,y) = g(x)h(y)$) show that the sums on the right hand side factors into the product of two Riemann sums giving you the result $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = int_0^1 g(x){rm d}xcdot int_0^1 h(y){rm d}y$.
$endgroup$
– Winther
Jan 21 at 23:35






$begingroup$
A double integral can be defined as the limit of a double Riemann sum: $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = lim_{N,Mtoinfty} frac{1}{N}sum_{i=1}^Nfrac{1}{M}sum_{j=1}^M f(i/N,j/M)$ (here for simplicity over a simple integration region). If $f(i/N,j/M)$ factors as $f(i/N,j/M) = g(i/N)h(j/M)$ (i.e. $f(x,y) = g(x)h(y)$) show that the sums on the right hand side factors into the product of two Riemann sums giving you the result $iint_{[0,1]^2} f(x,y){rm d}x{rm d}y = int_0^1 g(x){rm d}xcdot int_0^1 h(y){rm d}y$.
$endgroup$
– Winther
Jan 21 at 23:35












3 Answers
3






active

oldest

votes


















2












$begingroup$

$$int_a^b int_c^d f(x) g(y) , dy , dx = int_a^b f(x) int_c^d g(y) , dy , dx = int_a^b f(x) , dx cdot int_c^d g(y) , dy.$$



In the first equality, you can pull $f(x)$ out of the inner integral because $int_c^d Cg(y) , dy = C int_c^d g(y) , dy$.



In the second equality, you can pull the entire term $int_c^d g(y) , dy$ out of the outer integral because $int_a^b f(x) cdot C , dx = left(int_a^b f(x) , dxright) C$.





Caveats: it is important that your original integrand was separable, i.e. of the form $f(x) g(y)$. (This is related to the joint PDF of two independent random variables.) It is also important that the limits of integration of the inner integral do not depend on the outer integral's dummy variables.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    When you integrate w.r.t. $y_1$ you get $int_1^{infty} C frac 1 2 e^{-frac {y_2} 2}dy_2$ where $C=int_1^{infty} frac 1 4 y_1e^{-frac {y_1} 2}dy_1$. $C$ is a constant, so you can pull it out of the integral sign.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      Maybe an extra step would be helpful:
      begin{align}
      int_a^b int_c^d f(x) underbrace{g(y)}_{substack{text{pull}\ text{out front}}} , dx , dy &= int_a^b g(y) underbrace{int_c^d f(x) , dx}_{substack{text{pull}\text{out front}}} , dy \
      &= int_c^d f(x) , dx int_a^b g(y) , dy.
      end{align}






      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%2f3082549%2fwhy-is-it-valid-to-break-a-double-integral-into-two-single-integrals%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2












        $begingroup$

        $$int_a^b int_c^d f(x) g(y) , dy , dx = int_a^b f(x) int_c^d g(y) , dy , dx = int_a^b f(x) , dx cdot int_c^d g(y) , dy.$$



        In the first equality, you can pull $f(x)$ out of the inner integral because $int_c^d Cg(y) , dy = C int_c^d g(y) , dy$.



        In the second equality, you can pull the entire term $int_c^d g(y) , dy$ out of the outer integral because $int_a^b f(x) cdot C , dx = left(int_a^b f(x) , dxright) C$.





        Caveats: it is important that your original integrand was separable, i.e. of the form $f(x) g(y)$. (This is related to the joint PDF of two independent random variables.) It is also important that the limits of integration of the inner integral do not depend on the outer integral's dummy variables.






        share|cite|improve this answer









        $endgroup$


















          2












          $begingroup$

          $$int_a^b int_c^d f(x) g(y) , dy , dx = int_a^b f(x) int_c^d g(y) , dy , dx = int_a^b f(x) , dx cdot int_c^d g(y) , dy.$$



          In the first equality, you can pull $f(x)$ out of the inner integral because $int_c^d Cg(y) , dy = C int_c^d g(y) , dy$.



          In the second equality, you can pull the entire term $int_c^d g(y) , dy$ out of the outer integral because $int_a^b f(x) cdot C , dx = left(int_a^b f(x) , dxright) C$.





          Caveats: it is important that your original integrand was separable, i.e. of the form $f(x) g(y)$. (This is related to the joint PDF of two independent random variables.) It is also important that the limits of integration of the inner integral do not depend on the outer integral's dummy variables.






          share|cite|improve this answer









          $endgroup$
















            2












            2








            2





            $begingroup$

            $$int_a^b int_c^d f(x) g(y) , dy , dx = int_a^b f(x) int_c^d g(y) , dy , dx = int_a^b f(x) , dx cdot int_c^d g(y) , dy.$$



            In the first equality, you can pull $f(x)$ out of the inner integral because $int_c^d Cg(y) , dy = C int_c^d g(y) , dy$.



            In the second equality, you can pull the entire term $int_c^d g(y) , dy$ out of the outer integral because $int_a^b f(x) cdot C , dx = left(int_a^b f(x) , dxright) C$.





            Caveats: it is important that your original integrand was separable, i.e. of the form $f(x) g(y)$. (This is related to the joint PDF of two independent random variables.) It is also important that the limits of integration of the inner integral do not depend on the outer integral's dummy variables.






            share|cite|improve this answer









            $endgroup$



            $$int_a^b int_c^d f(x) g(y) , dy , dx = int_a^b f(x) int_c^d g(y) , dy , dx = int_a^b f(x) , dx cdot int_c^d g(y) , dy.$$



            In the first equality, you can pull $f(x)$ out of the inner integral because $int_c^d Cg(y) , dy = C int_c^d g(y) , dy$.



            In the second equality, you can pull the entire term $int_c^d g(y) , dy$ out of the outer integral because $int_a^b f(x) cdot C , dx = left(int_a^b f(x) , dxright) C$.





            Caveats: it is important that your original integrand was separable, i.e. of the form $f(x) g(y)$. (This is related to the joint PDF of two independent random variables.) It is also important that the limits of integration of the inner integral do not depend on the outer integral's dummy variables.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 21 at 23:30









            angryavianangryavian

            42.1k23381




            42.1k23381























                0












                $begingroup$

                When you integrate w.r.t. $y_1$ you get $int_1^{infty} C frac 1 2 e^{-frac {y_2} 2}dy_2$ where $C=int_1^{infty} frac 1 4 y_1e^{-frac {y_1} 2}dy_1$. $C$ is a constant, so you can pull it out of the integral sign.






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  When you integrate w.r.t. $y_1$ you get $int_1^{infty} C frac 1 2 e^{-frac {y_2} 2}dy_2$ where $C=int_1^{infty} frac 1 4 y_1e^{-frac {y_1} 2}dy_1$. $C$ is a constant, so you can pull it out of the integral sign.






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    When you integrate w.r.t. $y_1$ you get $int_1^{infty} C frac 1 2 e^{-frac {y_2} 2}dy_2$ where $C=int_1^{infty} frac 1 4 y_1e^{-frac {y_1} 2}dy_1$. $C$ is a constant, so you can pull it out of the integral sign.






                    share|cite|improve this answer









                    $endgroup$



                    When you integrate w.r.t. $y_1$ you get $int_1^{infty} C frac 1 2 e^{-frac {y_2} 2}dy_2$ where $C=int_1^{infty} frac 1 4 y_1e^{-frac {y_1} 2}dy_1$. $C$ is a constant, so you can pull it out of the integral sign.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 21 at 23:30









                    Kavi Rama MurthyKavi Rama Murthy

                    65.6k42767




                    65.6k42767























                        0












                        $begingroup$

                        Maybe an extra step would be helpful:
                        begin{align}
                        int_a^b int_c^d f(x) underbrace{g(y)}_{substack{text{pull}\ text{out front}}} , dx , dy &= int_a^b g(y) underbrace{int_c^d f(x) , dx}_{substack{text{pull}\text{out front}}} , dy \
                        &= int_c^d f(x) , dx int_a^b g(y) , dy.
                        end{align}






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          Maybe an extra step would be helpful:
                          begin{align}
                          int_a^b int_c^d f(x) underbrace{g(y)}_{substack{text{pull}\ text{out front}}} , dx , dy &= int_a^b g(y) underbrace{int_c^d f(x) , dx}_{substack{text{pull}\text{out front}}} , dy \
                          &= int_c^d f(x) , dx int_a^b g(y) , dy.
                          end{align}






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            Maybe an extra step would be helpful:
                            begin{align}
                            int_a^b int_c^d f(x) underbrace{g(y)}_{substack{text{pull}\ text{out front}}} , dx , dy &= int_a^b g(y) underbrace{int_c^d f(x) , dx}_{substack{text{pull}\text{out front}}} , dy \
                            &= int_c^d f(x) , dx int_a^b g(y) , dy.
                            end{align}






                            share|cite|improve this answer









                            $endgroup$



                            Maybe an extra step would be helpful:
                            begin{align}
                            int_a^b int_c^d f(x) underbrace{g(y)}_{substack{text{pull}\ text{out front}}} , dx , dy &= int_a^b g(y) underbrace{int_c^d f(x) , dx}_{substack{text{pull}\text{out front}}} , dy \
                            &= int_c^d f(x) , dx int_a^b g(y) , dy.
                            end{align}







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 21 at 23:30









                            littleOlittleO

                            29.9k647110




                            29.9k647110






























                                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%2f3082549%2fwhy-is-it-valid-to-break-a-double-integral-into-two-single-integrals%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

                                MongoDB - Not Authorized To Execute Command

                                How to fix TextFormField cause rebuild widget in Flutter

                                in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith