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=2−12n
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=2−1/8=1.875
The answers are not the same. Please enlighten me with this issue.
Answer
Consider the nth partial sum
Sn=n∑j=0rj=1+r+r2+⋯+rn
of the geometric series
∞∑j=0rj
with common ratio r.
If we multiply Sn by 1−r, we obtain
(1−r)Sn=(1−r)(1+r+r2+⋯+rn)=1+r+r2+⋯+rn−(r+r2+r3+⋯+rn+1)=1−rn+1
If r≠1, we may divide by 1−r to obtain
Sn=1−rn+11−r
In particular, if r=1/2, we obtain
Sn=n∑r=0(12)j=1−(12)n+11−12=1−(12)n+112=2[1−(12)n+1]=2(1−12n+1)=2−12n
which is the formula you were given.
However, you want
n+1∑j=012j+1=12n∑j=012j=12n∑j=0(12)n=12[2−12n]=1−12n+1
As a check, observe that when n=2
2∑j=012j+1=12+14+18=78=0.875
and
1−122+1=1−123=1−18=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