Monday, 25 August 2014

summation - Sum of Geometric Series Formula




I just need the formula for the sum of geometric series when each element in the series has the value 1/2j+1, where j=0,1,2,,n. Please help.



Someone told me it is:



S=212n



I am not sure if its right because he has given me no proof and I couldn't prove it when I calculate it manually. Say for example:




S=1/2+1/4+1/8=.875



But when using the formula given above, with n=3 (since there are 3 elements):



S=21/8=1.875



The answers are not the same. Please enlighten me with this issue.


Answer



Consider the nth partial sum

Sn=nj=0rj=1+r+r2++rn
of the geometric series
j=0rj
with common ratio r.



If we multiply Sn by 1r, we obtain
(1r)Sn=(1r)(1+r+r2++rn)=1+r+r2++rn(r+r2+r3++rn+1)=1rn+1
If r1, we may divide by 1r to obtain
Sn=1rn+11r
In particular, if r=1/2, we obtain
Sn=nr=0(12)j=1(12)n+1112=1(12)n+112=2[1(12)n+1]=2(112n+1)=212n
which is the formula you were given.



However, you want
n+1j=012j+1=12nj=012j=12nj=0(12)n=12[212n]=112n+1
As a check, observe that when n=2
2j=012j+1=12+14+18=78=0.875
and
1122+1=1123=118=78=0.875
In your calculation, you used n=3 because you did not take into account the fact that if the index starts with 0, the third term is n=2.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...