Find Sum of Series to Within 0.01

  • Context: MHB 
  • Thread starter Thread starter ineedhelpnow
  • Start date Start date
  • Tags Tags
    Series Sum
Click For Summary

Discussion Overview

The discussion focuses on determining the number of terms required to approximate the sums of two infinite series to specified accuracy levels. The first series is $\sum_{n=2}^{\infty}\frac{1}{[n(ln (n))^2]}$, and the second is $\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}$. Participants explore methods for estimating the sums and the associated errors in truncation.

Discussion Character

  • Exploratory, Technical explanation, Mathematical reasoning

Main Points Raised

  • One participant proposes that for the series $\sum_{n=2}^{\infty}\frac{1}{[n(ln (n))^2]}$, the error in truncating the sum can be bounded by an integral, leading to the condition $1/\ln(N) \le 0.01$ to ensure the sum is accurate to within 0.01.
  • Another participant provides a similar approach using integration to derive that $n > e^{100}$ is necessary for the error to be less than 0.01.
  • For the series $\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}$, a participant notes that the error in truncation is less than the absolute value of the first neglected term, leading to the condition $N \ge 4$ for the error to be less than 0.00005.
  • Further discussion reveals that careful consideration of rounding is necessary, and calculations for $S(N)$ for $N = 4, 5, 6$ suggest that 5 terms are needed to achieve the desired accuracy in rounding to four decimal places.

Areas of Agreement / Disagreement

Participants generally agree on the methods for estimating the sums and the conditions for accuracy, but there is some uncertainty regarding the specific number of terms needed for the second series due to rounding considerations.

Contextual Notes

Limitations include the dependence on the assumptions made in the error analysis and the specific conditions under which the approximations hold. The discussions also highlight the need for careful handling of rounding in numerical approximations.

ineedhelpnow
Messages
649
Reaction score
0
how many term of the series $\sum_{n=2}^{\infty}\frac{1}{[n(ln (n))^2]}$ would you need to add to find its sum to within 0.01?

approximate the sum of the series correct to four decimal places.

$\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}$
 
Physics news on Phys.org
ineedhelpnow said:
how many term of the series $\sum_{n=2}^{\infty}\frac{1}{[n(ln (n))^2]}$ would you need to add to find its sum to within 0.01?

Because the terms of the sum are positive and decreasing:

$$\sum_{n=N+1}^{\infty}\frac{1}{[n(ln (n))^2]}<\int_{N}^{\infty}\frac{1}{[x(ln (x))^2]}\;dx=\frac{1}{\ln(N)}$$

Thus the error in truncating the sum to $N$ terms is less than $1/\ln(N)$. So if you find any $N$ such that $1/\ln(N)\le 0.01$ the error in truncating the sum to $N$ terms will be less than $0.01$.

.
 
Last edited:
ineedhelpnow said:
approximate the sum of the series correct to four decimal places.

$\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}$

Because this is an alternating series of decreasing terms the error in truncating the sum is less than the absolute value of the first neglected term.

$$\left|\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}-\sum_{n=1}^{N}\frac{(-1)^n}{3^nn!}\right|< \frac{1}{3^{N+1}{(N+1)}!}$$

So the error is less than $0.00005$ when $N\ge 4$

.
 
for the first one:

is this right? i followed another example i saw but i don't know if my work makes that much sense.

$\int_{x=n}^{x=\infty} \ \frac{dx}{x(ln(x))^2}<0.01$

$\frac{-1}{ln(x)}]_{n}^{\infty}<0.01$

$0-(-\frac{-1}{ln(n)})<0.01$

$ln(n)>100$

$n>e^{100}$
 
i don't understand the second one at all. i don't need to find the error though.
 
ineedhelpnow said:
for the first one:

is this right? i followed another example i saw but i don't know if my work makes that much sense.

$\int_{x=n}^{x=\infty} \ \frac{dx}{x(ln(x))^2}<0.01$

$\frac{-1}{ln(x)}]_{n}^{\infty}<0.01$

$0-(-\frac{-1}{ln(n)})<0.01$

$ln(n)>100$

$n>e^{100}$

That is correct.
 
ineedhelpnow said:
i don't understand the second one at all. i don't need to find the error though.
You need to find the number of terms $N$ for which the result of the truncated sum is correct to four decimal places. Which requires that the error be less than $0.00005$

As stated in the previous post this occurs when:

$$\frac{1}{3^{N+1}(N+1)!} <0.00005$$

Which holds for any N\ge 4. Hence:

$$S=\sum_{n=1}^{\infty}\frac{-1}{3^{n} n!} \approx \sum_{n=1}^{4} \frac{-1}{3^{n}n!}$$

and the approximation is correct to four decimal places.

Except it turns out that we have to be a bit more careful because of rounding to that fourth decimal place, so let's look at truncation to 4,5 and 6 terms, define:

$$S(N)=\sum_{n=1}^{N}\frac{-1}{3^{n} n!}$$

Then $S(4)=-0.2834362139918$, $S(5)=-0.2834705075446$, $S(6)=-0.2834686023472$, so it looks like we actually need 5 terms in the sum to get it to round correctly to 4 decimal places..
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K