Is there an accepted notation for the $n$th sum/integral of a function?












3












$begingroup$


I'm working on a thesis in image processing at the moment, and wanted to include a portion concerning the methodology for n dimension images (it will include a fully write up and functioning code for 2D and 3D images), and that would involve taking the $n$th integral of a function of $n$ variables, which in this case would mean the nth sum. For the sum portion, it would something like the sum of $x_1$ from $0$ to $M$, then the sum of $x_1$ from $0$ to $M$, and so on with a total of of $N$ summations.



Is there any sort of widely accepted convention for annotating this, or should I just put something like sum1 of sum2 /dots then the last sum?



edit: specific examples (sorry, didn't know you could use LaTeX here):



2D: $$sum_{x_1=0}^M sum_{x_2=0}^M f(x_1,x_2)$$
3D: $$sum_{x_1=0}^M sum_{x_2=0}^M sum_{x_3=0}^M f(x_1,x_2,x_3)$$
Is there a nicer way to express something like:
$$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n)$$










share|cite|improve this question











$endgroup$












  • $begingroup$
    Your question is not clear. Please edit it to show us an explicit calculation for $2$ and $3$ dimensional images with $M$ small (say $3$).
    $endgroup$
    – Ethan Bolker
    Feb 8 at 2:34






  • 1




    $begingroup$
    you can also make your own notation, similar to what they do when they have the same function being applied many times e.g. $f^n(x)$ as long as you have mentioned that the function is reaplied
    $endgroup$
    – Arjang
    Feb 8 at 3:22






  • 1




    $begingroup$
    I've seen (and used) multiple summations expressed in the way you have in your final line and I think it's perfectly clear. It would be clear also if you dropped the second summation (over $x_2$) to save space. I find the other answers a bit opaque and I have to think much harder than I do when I read the sums with ellipses in between.
    $endgroup$
    – Jagerber48
    Feb 8 at 7:05










  • $begingroup$
    @EthanBolker how is what they have now unclear? Why do they need to provide an example $f$ and actually compute a value? That's of no relevance here.
    $endgroup$
    – The Great Duck
    Feb 8 at 7:10






  • 2




    $begingroup$
    @TheGreatDuck The question was unclear (to me) before the very useful edit.
    $endgroup$
    – Ethan Bolker
    Feb 8 at 11:25
















3












$begingroup$


I'm working on a thesis in image processing at the moment, and wanted to include a portion concerning the methodology for n dimension images (it will include a fully write up and functioning code for 2D and 3D images), and that would involve taking the $n$th integral of a function of $n$ variables, which in this case would mean the nth sum. For the sum portion, it would something like the sum of $x_1$ from $0$ to $M$, then the sum of $x_1$ from $0$ to $M$, and so on with a total of of $N$ summations.



Is there any sort of widely accepted convention for annotating this, or should I just put something like sum1 of sum2 /dots then the last sum?



edit: specific examples (sorry, didn't know you could use LaTeX here):



2D: $$sum_{x_1=0}^M sum_{x_2=0}^M f(x_1,x_2)$$
3D: $$sum_{x_1=0}^M sum_{x_2=0}^M sum_{x_3=0}^M f(x_1,x_2,x_3)$$
Is there a nicer way to express something like:
$$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n)$$










share|cite|improve this question











$endgroup$












  • $begingroup$
    Your question is not clear. Please edit it to show us an explicit calculation for $2$ and $3$ dimensional images with $M$ small (say $3$).
    $endgroup$
    – Ethan Bolker
    Feb 8 at 2:34






  • 1




    $begingroup$
    you can also make your own notation, similar to what they do when they have the same function being applied many times e.g. $f^n(x)$ as long as you have mentioned that the function is reaplied
    $endgroup$
    – Arjang
    Feb 8 at 3:22






  • 1




    $begingroup$
    I've seen (and used) multiple summations expressed in the way you have in your final line and I think it's perfectly clear. It would be clear also if you dropped the second summation (over $x_2$) to save space. I find the other answers a bit opaque and I have to think much harder than I do when I read the sums with ellipses in between.
    $endgroup$
    – Jagerber48
    Feb 8 at 7:05










  • $begingroup$
    @EthanBolker how is what they have now unclear? Why do they need to provide an example $f$ and actually compute a value? That's of no relevance here.
    $endgroup$
    – The Great Duck
    Feb 8 at 7:10






  • 2




    $begingroup$
    @TheGreatDuck The question was unclear (to me) before the very useful edit.
    $endgroup$
    – Ethan Bolker
    Feb 8 at 11:25














3












3








3





$begingroup$


I'm working on a thesis in image processing at the moment, and wanted to include a portion concerning the methodology for n dimension images (it will include a fully write up and functioning code for 2D and 3D images), and that would involve taking the $n$th integral of a function of $n$ variables, which in this case would mean the nth sum. For the sum portion, it would something like the sum of $x_1$ from $0$ to $M$, then the sum of $x_1$ from $0$ to $M$, and so on with a total of of $N$ summations.



Is there any sort of widely accepted convention for annotating this, or should I just put something like sum1 of sum2 /dots then the last sum?



edit: specific examples (sorry, didn't know you could use LaTeX here):



2D: $$sum_{x_1=0}^M sum_{x_2=0}^M f(x_1,x_2)$$
3D: $$sum_{x_1=0}^M sum_{x_2=0}^M sum_{x_3=0}^M f(x_1,x_2,x_3)$$
Is there a nicer way to express something like:
$$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n)$$










share|cite|improve this question











$endgroup$




I'm working on a thesis in image processing at the moment, and wanted to include a portion concerning the methodology for n dimension images (it will include a fully write up and functioning code for 2D and 3D images), and that would involve taking the $n$th integral of a function of $n$ variables, which in this case would mean the nth sum. For the sum portion, it would something like the sum of $x_1$ from $0$ to $M$, then the sum of $x_1$ from $0$ to $M$, and so on with a total of of $N$ summations.



Is there any sort of widely accepted convention for annotating this, or should I just put something like sum1 of sum2 /dots then the last sum?



edit: specific examples (sorry, didn't know you could use LaTeX here):



2D: $$sum_{x_1=0}^M sum_{x_2=0}^M f(x_1,x_2)$$
3D: $$sum_{x_1=0}^M sum_{x_2=0}^M sum_{x_3=0}^M f(x_1,x_2,x_3)$$
Is there a nicer way to express something like:
$$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n)$$







integration functional-analysis summation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Feb 8 at 7:37









Asaf Karagila

307k33440773




307k33440773










asked Feb 8 at 2:30









Peace BlasterPeace Blaster

557




557












  • $begingroup$
    Your question is not clear. Please edit it to show us an explicit calculation for $2$ and $3$ dimensional images with $M$ small (say $3$).
    $endgroup$
    – Ethan Bolker
    Feb 8 at 2:34






  • 1




    $begingroup$
    you can also make your own notation, similar to what they do when they have the same function being applied many times e.g. $f^n(x)$ as long as you have mentioned that the function is reaplied
    $endgroup$
    – Arjang
    Feb 8 at 3:22






  • 1




    $begingroup$
    I've seen (and used) multiple summations expressed in the way you have in your final line and I think it's perfectly clear. It would be clear also if you dropped the second summation (over $x_2$) to save space. I find the other answers a bit opaque and I have to think much harder than I do when I read the sums with ellipses in between.
    $endgroup$
    – Jagerber48
    Feb 8 at 7:05










  • $begingroup$
    @EthanBolker how is what they have now unclear? Why do they need to provide an example $f$ and actually compute a value? That's of no relevance here.
    $endgroup$
    – The Great Duck
    Feb 8 at 7:10






  • 2




    $begingroup$
    @TheGreatDuck The question was unclear (to me) before the very useful edit.
    $endgroup$
    – Ethan Bolker
    Feb 8 at 11:25


















  • $begingroup$
    Your question is not clear. Please edit it to show us an explicit calculation for $2$ and $3$ dimensional images with $M$ small (say $3$).
    $endgroup$
    – Ethan Bolker
    Feb 8 at 2:34






  • 1




    $begingroup$
    you can also make your own notation, similar to what they do when they have the same function being applied many times e.g. $f^n(x)$ as long as you have mentioned that the function is reaplied
    $endgroup$
    – Arjang
    Feb 8 at 3:22






  • 1




    $begingroup$
    I've seen (and used) multiple summations expressed in the way you have in your final line and I think it's perfectly clear. It would be clear also if you dropped the second summation (over $x_2$) to save space. I find the other answers a bit opaque and I have to think much harder than I do when I read the sums with ellipses in between.
    $endgroup$
    – Jagerber48
    Feb 8 at 7:05










  • $begingroup$
    @EthanBolker how is what they have now unclear? Why do they need to provide an example $f$ and actually compute a value? That's of no relevance here.
    $endgroup$
    – The Great Duck
    Feb 8 at 7:10






  • 2




    $begingroup$
    @TheGreatDuck The question was unclear (to me) before the very useful edit.
    $endgroup$
    – Ethan Bolker
    Feb 8 at 11:25
















$begingroup$
Your question is not clear. Please edit it to show us an explicit calculation for $2$ and $3$ dimensional images with $M$ small (say $3$).
$endgroup$
– Ethan Bolker
Feb 8 at 2:34




$begingroup$
Your question is not clear. Please edit it to show us an explicit calculation for $2$ and $3$ dimensional images with $M$ small (say $3$).
$endgroup$
– Ethan Bolker
Feb 8 at 2:34




1




1




$begingroup$
you can also make your own notation, similar to what they do when they have the same function being applied many times e.g. $f^n(x)$ as long as you have mentioned that the function is reaplied
$endgroup$
– Arjang
Feb 8 at 3:22




$begingroup$
you can also make your own notation, similar to what they do when they have the same function being applied many times e.g. $f^n(x)$ as long as you have mentioned that the function is reaplied
$endgroup$
– Arjang
Feb 8 at 3:22




1




1




$begingroup$
I've seen (and used) multiple summations expressed in the way you have in your final line and I think it's perfectly clear. It would be clear also if you dropped the second summation (over $x_2$) to save space. I find the other answers a bit opaque and I have to think much harder than I do when I read the sums with ellipses in between.
$endgroup$
– Jagerber48
Feb 8 at 7:05




$begingroup$
I've seen (and used) multiple summations expressed in the way you have in your final line and I think it's perfectly clear. It would be clear also if you dropped the second summation (over $x_2$) to save space. I find the other answers a bit opaque and I have to think much harder than I do when I read the sums with ellipses in between.
$endgroup$
– Jagerber48
Feb 8 at 7:05












$begingroup$
@EthanBolker how is what they have now unclear? Why do they need to provide an example $f$ and actually compute a value? That's of no relevance here.
$endgroup$
– The Great Duck
Feb 8 at 7:10




$begingroup$
@EthanBolker how is what they have now unclear? Why do they need to provide an example $f$ and actually compute a value? That's of no relevance here.
$endgroup$
– The Great Duck
Feb 8 at 7:10




2




2




$begingroup$
@TheGreatDuck The question was unclear (to me) before the very useful edit.
$endgroup$
– Ethan Bolker
Feb 8 at 11:25




$begingroup$
@TheGreatDuck The question was unclear (to me) before the very useful edit.
$endgroup$
– Ethan Bolker
Feb 8 at 11:25










2 Answers
2






active

oldest

votes


















5












$begingroup$

I don't know of a convention. Your last version is perfectly clear. If you need to use it more than once then define a short symbol the first time. That could be as simple as $sum_0^M f$.



Here are two suggestions each using just a single $sum$.



$$
sum_{x in [1, 2, ldots, M]^n} f(x)
$$



$$
sum_{x_i = 0, (i = 1, ldots n)}^M f(x_i, x_2, ldots, x_n)
$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
    $endgroup$
    – Peace Blaster
    Feb 8 at 3:15










  • $begingroup$
    I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
    $endgroup$
    – Chase Ryan Taylor
    Feb 8 at 14:49



















2












$begingroup$

How about something like :
$$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n) = large]_{k=x_0}^{k=x_n}sum_{x_k=0}^{M_n}f(x_1,x_2,dots,x_n)$$



Once you use the above as definition then you can reuse it all over the place, also writing repeated sums was something that caused the the tensor notation to be invented. You might want to look up tensors instead.






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%2f3104629%2fis-there-an-accepted-notation-for-the-nth-sum-integral-of-a-function%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









    5












    $begingroup$

    I don't know of a convention. Your last version is perfectly clear. If you need to use it more than once then define a short symbol the first time. That could be as simple as $sum_0^M f$.



    Here are two suggestions each using just a single $sum$.



    $$
    sum_{x in [1, 2, ldots, M]^n} f(x)
    $$



    $$
    sum_{x_i = 0, (i = 1, ldots n)}^M f(x_i, x_2, ldots, x_n)
    $$






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
      $endgroup$
      – Peace Blaster
      Feb 8 at 3:15










    • $begingroup$
      I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
      $endgroup$
      – Chase Ryan Taylor
      Feb 8 at 14:49
















    5












    $begingroup$

    I don't know of a convention. Your last version is perfectly clear. If you need to use it more than once then define a short symbol the first time. That could be as simple as $sum_0^M f$.



    Here are two suggestions each using just a single $sum$.



    $$
    sum_{x in [1, 2, ldots, M]^n} f(x)
    $$



    $$
    sum_{x_i = 0, (i = 1, ldots n)}^M f(x_i, x_2, ldots, x_n)
    $$






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
      $endgroup$
      – Peace Blaster
      Feb 8 at 3:15










    • $begingroup$
      I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
      $endgroup$
      – Chase Ryan Taylor
      Feb 8 at 14:49














    5












    5








    5





    $begingroup$

    I don't know of a convention. Your last version is perfectly clear. If you need to use it more than once then define a short symbol the first time. That could be as simple as $sum_0^M f$.



    Here are two suggestions each using just a single $sum$.



    $$
    sum_{x in [1, 2, ldots, M]^n} f(x)
    $$



    $$
    sum_{x_i = 0, (i = 1, ldots n)}^M f(x_i, x_2, ldots, x_n)
    $$






    share|cite|improve this answer









    $endgroup$



    I don't know of a convention. Your last version is perfectly clear. If you need to use it more than once then define a short symbol the first time. That could be as simple as $sum_0^M f$.



    Here are two suggestions each using just a single $sum$.



    $$
    sum_{x in [1, 2, ldots, M]^n} f(x)
    $$



    $$
    sum_{x_i = 0, (i = 1, ldots n)}^M f(x_i, x_2, ldots, x_n)
    $$







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Feb 8 at 3:13









    Ethan BolkerEthan Bolker

    45.5k553120




    45.5k553120












    • $begingroup$
      Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
      $endgroup$
      – Peace Blaster
      Feb 8 at 3:15










    • $begingroup$
      I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
      $endgroup$
      – Chase Ryan Taylor
      Feb 8 at 14:49


















    • $begingroup$
      Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
      $endgroup$
      – Peace Blaster
      Feb 8 at 3:15










    • $begingroup$
      I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
      $endgroup$
      – Chase Ryan Taylor
      Feb 8 at 14:49
















    $begingroup$
    Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
    $endgroup$
    – Peace Blaster
    Feb 8 at 3:15




    $begingroup$
    Thanks! I just wanted to make sure I wasn't missing something glaringly obvious, though that second example looks pretty nice for when I put it in beamer and have limited space.
    $endgroup$
    – Peace Blaster
    Feb 8 at 3:15












    $begingroup$
    I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
    $endgroup$
    – Chase Ryan Taylor
    Feb 8 at 14:49




    $begingroup$
    I think that the interval brackets should be exchanged for set braces. An improvement would be setting the dimensions ${1,2,dots,M}$ to just $D$
    $endgroup$
    – Chase Ryan Taylor
    Feb 8 at 14:49











    2












    $begingroup$

    How about something like :
    $$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n) = large]_{k=x_0}^{k=x_n}sum_{x_k=0}^{M_n}f(x_1,x_2,dots,x_n)$$



    Once you use the above as definition then you can reuse it all over the place, also writing repeated sums was something that caused the the tensor notation to be invented. You might want to look up tensors instead.






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      How about something like :
      $$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n) = large]_{k=x_0}^{k=x_n}sum_{x_k=0}^{M_n}f(x_1,x_2,dots,x_n)$$



      Once you use the above as definition then you can reuse it all over the place, also writing repeated sums was something that caused the the tensor notation to be invented. You might want to look up tensors instead.






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        How about something like :
        $$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n) = large]_{k=x_0}^{k=x_n}sum_{x_k=0}^{M_n}f(x_1,x_2,dots,x_n)$$



        Once you use the above as definition then you can reuse it all over the place, also writing repeated sums was something that caused the the tensor notation to be invented. You might want to look up tensors instead.






        share|cite|improve this answer









        $endgroup$



        How about something like :
        $$sum_{x_1=0}^M sum_{x_2=0}^M dots sum_{x_n=0}^M f(x_1,x_2,dots,x_n) = large]_{k=x_0}^{k=x_n}sum_{x_k=0}^{M_n}f(x_1,x_2,dots,x_n)$$



        Once you use the above as definition then you can reuse it all over the place, also writing repeated sums was something that caused the the tensor notation to be invented. You might want to look up tensors instead.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Feb 8 at 3:32









        ArjangArjang

        5,65462364




        5,65462364






























            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%2f3104629%2fis-there-an-accepted-notation-for-the-nth-sum-integral-of-a-function%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

            Questions related to Moebius Transform of Characteristic Function of the Primes

            List of scandals in India

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?