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
SUMMARY

The discussion focuses on determining the number of terms required to approximate the sum of the series $\sum_{n=2}^{\infty}\frac{1}{[n(ln (n))^2]}$ and the alternating series $\sum_{n=1}^{\infty}\frac{(-1)^n}{3^nn!}$ to within specified error margins. For the first series, it is established that the error in truncating the sum to $N$ terms is less than $1/\ln(N)$, leading to the conclusion that $N$ must be greater than $e^{100}$ to achieve an error less than 0.01. For the alternating series, it is confirmed that truncating to $N \ge 4$ terms ensures an error less than 0.00005, with the final approximation requiring 5 terms for correct rounding to four decimal places.

PREREQUISITES
  • Understanding of series convergence and error estimation
  • Knowledge of logarithmic functions and their properties
  • Familiarity with alternating series and their convergence criteria
  • Basic calculus, specifically integration techniques
NEXT STEPS
  • Study the properties of logarithmic functions in error estimation
  • Learn about series convergence tests, particularly the Alternating Series Test
  • Explore numerical methods for approximating infinite series
  • Investigate the implications of truncation errors in numerical analysis
USEFUL FOR

Mathematicians, students studying calculus, and anyone involved in numerical analysis or series approximation techniques.

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
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