Splitting up compound inequalities of multiple variables












2












$begingroup$


I'm reading through Concrete Mathematics 2nd ed. In the last example in section 2.4 Multiple Sums (p.40), they go from this:



$$ sum_{1le j < k+jle n} frac{1}{k} $$



to this, in one step:



$$ sum_{1le kle n} sum_{1le jle n-k} frac{1}{k} $$



The purpose is to sum first on $j$ which is desirable since $j$ does not appear in $frac1k$. ($n$ is constant while $j,k$ are index variables.)



I can understand this step graphically by plotting it, but I can't figure out how they did it purely symbolically. Is there a general non-graphical way to split up these compound inequalities, i.e. to factor out a certain variable like $j$?



wa1wa2










share|cite|improve this question











$endgroup$












  • $begingroup$
    Generally when you want to evaluate a double summation, you can make a 2d grid and note that you can either sum by rows or by columns. Try that here
    $endgroup$
    – Sandeep Silwal
    Dec 27 '18 at 20:41










  • $begingroup$
    For people who might be interested in future, what part of the book are you referring to? Please edit the question to include the details.
    $endgroup$
    – Shaun
    Dec 28 '18 at 5:42
















2












$begingroup$


I'm reading through Concrete Mathematics 2nd ed. In the last example in section 2.4 Multiple Sums (p.40), they go from this:



$$ sum_{1le j < k+jle n} frac{1}{k} $$



to this, in one step:



$$ sum_{1le kle n} sum_{1le jle n-k} frac{1}{k} $$



The purpose is to sum first on $j$ which is desirable since $j$ does not appear in $frac1k$. ($n$ is constant while $j,k$ are index variables.)



I can understand this step graphically by plotting it, but I can't figure out how they did it purely symbolically. Is there a general non-graphical way to split up these compound inequalities, i.e. to factor out a certain variable like $j$?



wa1wa2










share|cite|improve this question











$endgroup$












  • $begingroup$
    Generally when you want to evaluate a double summation, you can make a 2d grid and note that you can either sum by rows or by columns. Try that here
    $endgroup$
    – Sandeep Silwal
    Dec 27 '18 at 20:41










  • $begingroup$
    For people who might be interested in future, what part of the book are you referring to? Please edit the question to include the details.
    $endgroup$
    – Shaun
    Dec 28 '18 at 5:42














2












2








2


0



$begingroup$


I'm reading through Concrete Mathematics 2nd ed. In the last example in section 2.4 Multiple Sums (p.40), they go from this:



$$ sum_{1le j < k+jle n} frac{1}{k} $$



to this, in one step:



$$ sum_{1le kle n} sum_{1le jle n-k} frac{1}{k} $$



The purpose is to sum first on $j$ which is desirable since $j$ does not appear in $frac1k$. ($n$ is constant while $j,k$ are index variables.)



I can understand this step graphically by plotting it, but I can't figure out how they did it purely symbolically. Is there a general non-graphical way to split up these compound inequalities, i.e. to factor out a certain variable like $j$?



wa1wa2










share|cite|improve this question











$endgroup$




I'm reading through Concrete Mathematics 2nd ed. In the last example in section 2.4 Multiple Sums (p.40), they go from this:



$$ sum_{1le j < k+jle n} frac{1}{k} $$



to this, in one step:



$$ sum_{1le kle n} sum_{1le jle n-k} frac{1}{k} $$



The purpose is to sum first on $j$ which is desirable since $j$ does not appear in $frac1k$. ($n$ is constant while $j,k$ are index variables.)



I can understand this step graphically by plotting it, but I can't figure out how they did it purely symbolically. Is there a general non-graphical way to split up these compound inequalities, i.e. to factor out a certain variable like $j$?



wa1wa2







sequences-and-series inequality summation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 28 '18 at 22:55







EpicOrange

















asked Dec 27 '18 at 20:21









EpicOrangeEpicOrange

1155




1155












  • $begingroup$
    Generally when you want to evaluate a double summation, you can make a 2d grid and note that you can either sum by rows or by columns. Try that here
    $endgroup$
    – Sandeep Silwal
    Dec 27 '18 at 20:41










  • $begingroup$
    For people who might be interested in future, what part of the book are you referring to? Please edit the question to include the details.
    $endgroup$
    – Shaun
    Dec 28 '18 at 5:42


















  • $begingroup$
    Generally when you want to evaluate a double summation, you can make a 2d grid and note that you can either sum by rows or by columns. Try that here
    $endgroup$
    – Sandeep Silwal
    Dec 27 '18 at 20:41










  • $begingroup$
    For people who might be interested in future, what part of the book are you referring to? Please edit the question to include the details.
    $endgroup$
    – Shaun
    Dec 28 '18 at 5:42
















$begingroup$
Generally when you want to evaluate a double summation, you can make a 2d grid and note that you can either sum by rows or by columns. Try that here
$endgroup$
– Sandeep Silwal
Dec 27 '18 at 20:41




$begingroup$
Generally when you want to evaluate a double summation, you can make a 2d grid and note that you can either sum by rows or by columns. Try that here
$endgroup$
– Sandeep Silwal
Dec 27 '18 at 20:41












$begingroup$
For people who might be interested in future, what part of the book are you referring to? Please edit the question to include the details.
$endgroup$
– Shaun
Dec 28 '18 at 5:42




$begingroup$
For people who might be interested in future, what part of the book are you referring to? Please edit the question to include the details.
$endgroup$
– Shaun
Dec 28 '18 at 5:42










1 Answer
1






active

oldest

votes


















1












$begingroup$


We obtain
begin{align*}
sum_{color{blue}{1leq j<k+jleq n}}frac{1}{k}&=sum_{{1leq kleq n-1,1leq jleq n-1}atop{k+jleq n}}frac{1}{k}tag{1}\
&=sum_{1leq kleq n-1}sum_{1leq jleq n-k}frac{1}{k}tag{2}\
&=sum_{color{blue}{1leq kleq n}}sum_{color{blue}{1leq jleq n-k}}frac{1}{k}tag{3}
end{align*}




Comment:




  • In (1) we write the index region of the RHS somewhat more conveniently as preparation for the next step(s). We conclude thereby from $1leq j<k+j$ that $kgeq 1$ and from $k+jleq n$ that $kleq n-1$ resulting in $1leq kleq n-1$. Analogously we see that $jleq n-1$, since $k+jleq n$ and $kgeq 1$.


  • In (2) we use from (1) that $jleq n-k$, since $k+jleq n$. We observe from (1) that both $1leq jleq n-1$ and $jleq n-k$ has to be valid which can be written as $1leq jleq n-k$.


  • In (3) we write for convenience only $n$ instead of $n-1$ as upper limit of the index $k$ without changing anything, since the index region $1leq jleq 0$ of the inner sum is then the empty set, i.e. the inner sum $sum_{1leq jleq 0}frac{1}{k}=0$ when $k=n$.







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%2f3054325%2fsplitting-up-compound-inequalities-of-multiple-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









    1












    $begingroup$


    We obtain
    begin{align*}
    sum_{color{blue}{1leq j<k+jleq n}}frac{1}{k}&=sum_{{1leq kleq n-1,1leq jleq n-1}atop{k+jleq n}}frac{1}{k}tag{1}\
    &=sum_{1leq kleq n-1}sum_{1leq jleq n-k}frac{1}{k}tag{2}\
    &=sum_{color{blue}{1leq kleq n}}sum_{color{blue}{1leq jleq n-k}}frac{1}{k}tag{3}
    end{align*}




    Comment:




    • In (1) we write the index region of the RHS somewhat more conveniently as preparation for the next step(s). We conclude thereby from $1leq j<k+j$ that $kgeq 1$ and from $k+jleq n$ that $kleq n-1$ resulting in $1leq kleq n-1$. Analogously we see that $jleq n-1$, since $k+jleq n$ and $kgeq 1$.


    • In (2) we use from (1) that $jleq n-k$, since $k+jleq n$. We observe from (1) that both $1leq jleq n-1$ and $jleq n-k$ has to be valid which can be written as $1leq jleq n-k$.


    • In (3) we write for convenience only $n$ instead of $n-1$ as upper limit of the index $k$ without changing anything, since the index region $1leq jleq 0$ of the inner sum is then the empty set, i.e. the inner sum $sum_{1leq jleq 0}frac{1}{k}=0$ when $k=n$.







    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$


      We obtain
      begin{align*}
      sum_{color{blue}{1leq j<k+jleq n}}frac{1}{k}&=sum_{{1leq kleq n-1,1leq jleq n-1}atop{k+jleq n}}frac{1}{k}tag{1}\
      &=sum_{1leq kleq n-1}sum_{1leq jleq n-k}frac{1}{k}tag{2}\
      &=sum_{color{blue}{1leq kleq n}}sum_{color{blue}{1leq jleq n-k}}frac{1}{k}tag{3}
      end{align*}




      Comment:




      • In (1) we write the index region of the RHS somewhat more conveniently as preparation for the next step(s). We conclude thereby from $1leq j<k+j$ that $kgeq 1$ and from $k+jleq n$ that $kleq n-1$ resulting in $1leq kleq n-1$. Analogously we see that $jleq n-1$, since $k+jleq n$ and $kgeq 1$.


      • In (2) we use from (1) that $jleq n-k$, since $k+jleq n$. We observe from (1) that both $1leq jleq n-1$ and $jleq n-k$ has to be valid which can be written as $1leq jleq n-k$.


      • In (3) we write for convenience only $n$ instead of $n-1$ as upper limit of the index $k$ without changing anything, since the index region $1leq jleq 0$ of the inner sum is then the empty set, i.e. the inner sum $sum_{1leq jleq 0}frac{1}{k}=0$ when $k=n$.







      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$


        We obtain
        begin{align*}
        sum_{color{blue}{1leq j<k+jleq n}}frac{1}{k}&=sum_{{1leq kleq n-1,1leq jleq n-1}atop{k+jleq n}}frac{1}{k}tag{1}\
        &=sum_{1leq kleq n-1}sum_{1leq jleq n-k}frac{1}{k}tag{2}\
        &=sum_{color{blue}{1leq kleq n}}sum_{color{blue}{1leq jleq n-k}}frac{1}{k}tag{3}
        end{align*}




        Comment:




        • In (1) we write the index region of the RHS somewhat more conveniently as preparation for the next step(s). We conclude thereby from $1leq j<k+j$ that $kgeq 1$ and from $k+jleq n$ that $kleq n-1$ resulting in $1leq kleq n-1$. Analogously we see that $jleq n-1$, since $k+jleq n$ and $kgeq 1$.


        • In (2) we use from (1) that $jleq n-k$, since $k+jleq n$. We observe from (1) that both $1leq jleq n-1$ and $jleq n-k$ has to be valid which can be written as $1leq jleq n-k$.


        • In (3) we write for convenience only $n$ instead of $n-1$ as upper limit of the index $k$ without changing anything, since the index region $1leq jleq 0$ of the inner sum is then the empty set, i.e. the inner sum $sum_{1leq jleq 0}frac{1}{k}=0$ when $k=n$.







        share|cite|improve this answer









        $endgroup$




        We obtain
        begin{align*}
        sum_{color{blue}{1leq j<k+jleq n}}frac{1}{k}&=sum_{{1leq kleq n-1,1leq jleq n-1}atop{k+jleq n}}frac{1}{k}tag{1}\
        &=sum_{1leq kleq n-1}sum_{1leq jleq n-k}frac{1}{k}tag{2}\
        &=sum_{color{blue}{1leq kleq n}}sum_{color{blue}{1leq jleq n-k}}frac{1}{k}tag{3}
        end{align*}




        Comment:




        • In (1) we write the index region of the RHS somewhat more conveniently as preparation for the next step(s). We conclude thereby from $1leq j<k+j$ that $kgeq 1$ and from $k+jleq n$ that $kleq n-1$ resulting in $1leq kleq n-1$. Analogously we see that $jleq n-1$, since $k+jleq n$ and $kgeq 1$.


        • In (2) we use from (1) that $jleq n-k$, since $k+jleq n$. We observe from (1) that both $1leq jleq n-1$ and $jleq n-k$ has to be valid which can be written as $1leq jleq n-k$.


        • In (3) we write for convenience only $n$ instead of $n-1$ as upper limit of the index $k$ without changing anything, since the index region $1leq jleq 0$ of the inner sum is then the empty set, i.e. the inner sum $sum_{1leq jleq 0}frac{1}{k}=0$ when $k=n$.








        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 28 '18 at 18:58









        Markus ScheuerMarkus Scheuer

        62.6k460150




        62.6k460150






























            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%2f3054325%2fsplitting-up-compound-inequalities-of-multiple-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

            Wiesbaden

            Marschland

            Dieringhausen