MHB Find Sum of Series to Within 0.01

  • Thread starter Thread starter ineedhelpnow
  • Start date Start date
  • Tags Tags
    Series Sum
Click For Summary
To find the sum of the series $\sum_{n=2}^{\infty}\frac{1}{[n(ln (n))^2]}$ to within 0.01, it is necessary to determine the smallest integer $N$ such that $1/\ln(N) \le 0.01$, leading to $N > e^{100}$. For the series $\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}$, the error in truncating the sum is less than $0.00005$ when $N \ge 4, but careful evaluation shows that 5 terms are needed to ensure the sum rounds correctly to four decimal places. The approximated sums for $N=4$, $N=5$, and $N=6$ confirm that five terms yield the correct rounding. Thus, the discussions highlight the importance of error estimation in series convergence and the need for precision in calculations.
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
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K