How to Solve a Double Summation Problem?

  • Thread starter Thread starter mexion
  • Start date Start date
  • Tags Tags
    Sigma Sum
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 6K views
mexion
Messages
5
Reaction score
0
Homework Statement
[itex]\sum_{k=1}^{3} \sum_{j=0}^{4}k^{j}[/itex]

The attempt at a solution
so this above means:
[itex](1+1^{1}+1^{2}+1^{3}+1^{4})*(1+2^{1}+2^{2}...)*(1+3...)*...[/itex]
or
[itex](1*1^{1}*1^{2}*1^{3}*1^{4})+(1*2^{1}*2^{2}...)+(1*3...)+...[/itex]
 
Physics news on Phys.org
It doesn't make a difference which order you do it in. You can see if you type the following into matlab:

syms k
syms j

symsum(symsum(k^j,j,0,4),k,1,3)

or,

symsum(symsum(k^j,k,1,3),j,0,4)

the answer is 157 either way.
 
so 1 more question
[itex]\sum_{k=0}^{4} \sum_{j=1}^{5} (3^{k} + jk)[/itex]
how to calculate this without Matlab.
Should I transform it? (but have no idea how)
or just have to put [0;4] for k, and [1;5] for j, and add everything ?
 
You don't need to do a transform, if you start with the sum over j you will get

\sum_{k=0}^{4} (3^k+1k+ ... 3^k+5k) = 0+ ...+ 3^4+20
 
mexion said:
Homework Statement
[itex]\sum_{k=1}^{3} \sum_{j=0}^{4}k^{j}[/itex]

The attempt at a solution
so this above means:
[itex](1+1^{1}+1^{2}+1^{3}+1^{4})*(1+2^{1}+2^{2}...)*(1+3...)*...[/itex]
or
[itex](1*1^{1}*1^{2}*1^{3}*1^{4})+(1*2^{1}*2^{2}...)+(1*3...)+...[/itex]

It means the second one (which = 157); the first would be product_{k=1..3} sum_{j=0..4} k^j = 18755.

RGV