How many terms do we need to sum for accurate result in alternate series?

  • Thread starter Thread starter courtrigrad
  • Start date Start date
  • Tags Tags
    Remainder Series
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 3K views
courtrigrad
Messages
1,236
Reaction score
2
How many terms of the series do we need to add in order to find the sum to the indicated accuracy?

[tex]\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n^{2}}[/tex], [tex]| error | < 0.01[/tex]. So, [tex]b_{n} = \frac{1}{n^{2}}[/tex]. [tex]b_{n} < b_{n+1}[/tex], and [tex]\lim_{n\rightarrow \infty} b_{n} = 0[/tex]. Therefore, the series is convergent. I wrote out some terms of the series: [tex]s = 1-\frac{1}{4}+\frac{1}{9}-\frac{1}{16}+\frac{1}{25}-\frac{1}{36}+\frac{1}{49}-\frac{1}{64}+\frac{1}{81}-\frac{1}{100}+\frac{1}{121}+ . . .[/tex]. From this step, how do we determine the number of terms we need to add in order to find the sum to the indicated accuracy?

Thanks
 
Physics news on Phys.org
Well, the easy answer is if |b_n| is decreasing, then the sum of the entire series lies between any two consecutive partial sums.
 
oh ok, so just look at the difference between a [tex]b_{n+1}-b_{n}[/tex] and see if it is less than [tex]0.01[/tex]? And [tex]n[/tex] is the number of terms you need?
 
That's the basic idea. (You wanted absolute value, BTW) I don't think there's an off-by-one error either.