Working on homework for a probability and computing class, but my ability to work with summations is rusty to say the least, so I suspect this is going to turn out pretty straightforward.
Problem asks to find a closed formula for n∑i=1i3i
Answer
Here is a rather detailed elaboration which might be useful.
We obtain
n∑i=1i3i=n∑i=1(i∑k=11)3i=n∑i=1i∑k=13i=∑1≤k≤i≤n3i=n∑k=1n∑i=k3i=n∑k=1n−k∑i=03i+k=n∑k=13k⋅3n−k+1−13−1=12n∑k=1(3n+1−3k)=n23n+1−12n∑k=13k=n23n+1−12⋅(3n+1−13−1−1)=n23n+1−143n+1+34=n4(2n−1)3n+1+34
Comment:
In (1) we represent the factor i as sum.
In (2) we multiply out in the left-hand sum and write the index range somewhat more conveniently in the middle sum. We exchange the sums in the right-hand double-sum.
In (3) we shift the index of the inner sum to start from i=0.
In (4) we apply the finite geometric summation formula.
In (5) we do some simplifications.
In (6) we multiply out and do some simplifications.
In (7) we apply the finite geometric summation formula again.
In (8) and (9) we do some more simplifications.
No comments:
Post a Comment