Re: how to simplify sums with constant subterms?

Claude Heiland-Allen <[email protected]>
Newsgroups gmane.comp.mathematics.maxima.general
Message-ID <[email protected]>
Thanks Michel,

this also works.


Questions:


Which to prefer over

declare(sum, additive)

and

declare(sum, linear)


Just curious, why aren't these on by default?


Claude


On 17 August 2026 13:43:05 CEST, Michel Talon <[email protected]> wrote:
>(%i1) declare(sum,additive);
>(%o1)                                done
>(%i2) sum(x + a[i], i, 1, n) ;
>                                       n
>                                      ____
>                                      ╲
>(%o2)                           n x +  ⟩    a
>                                      ╱      i
>                                      ‾‾‾‾
>                                      i = 1
>
>Le 17/08/2026 à 12:34, Claude Heiland-Allen a écrit :
>> sum(x + a[i], i, 1, n) 
>

https://mathr.co.uk


_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.