Convergence of Alternating Series and Estimation of Absolute Error

Click For Summary

Discussion Overview

The discussion revolves around determining the value of \( n \in \mathbb{N} \) such that the absolute error in approximating an infinite alternating series is less than \( 10^{-6} \). Participants explore the properties of the series, the behavior of its terms, and methods for estimating the error, including the application of the Alternating Series Test.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant seeks to find an upper bound for the absolute error of the series and questions whether the term \( a_{n+1} \) is greater than the entire sum of remaining terms.
  • Another participant clarifies that \( a_{n+1} \) is not greater than the whole sum but is greater than the remaining error of the series up to \( a_k \), referencing the Alternating Series Test.
  • A participant derives an inequality \( (2n+3) \cdot (n+1)! > 10^6 \) to solve for \( n \) and asks how to approach solving this inequality.
  • Another participant suggests calculating subsequent values of \( n \) to find the smallest value satisfying the inequality, proposing to round down significant digits.
  • One participant reports that substituting values leads to finding \( n = 8 \) as the smallest satisfying the condition.
  • A later post raises a question about the definition of the \( n \)-th partial sum, leading to a discussion about the clarity of definitions in literature.
  • Participants express uncertainty about the definition of the \( n \)-th partial sum, noting discrepancies in sources and sharing their interpretations.

Areas of Agreement / Disagreement

Participants generally agree on the approach to estimate the error and the value of \( n = 8 \) as a solution, but there is uncertainty regarding the definition of the \( n \)-th partial sum, indicating a lack of consensus on this point.

Contextual Notes

There are unresolved questions about the definitions of partial sums in the context of the series, which may affect the interpretation of results.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

I want to determine the value of $n\in \mathbb{N}$ such that the absolute error $$\left |\sum_{k=0}^{\infty}\frac{(-1)^k}{(2k+1)\cdot k!}-\sum_{k=0}^{n}\frac{(-1)^k}{(2k+1)\cdot k!}\right | =\left |\sum_{k=n+1}^{\infty}\frac{(-1)^k}{(2k+1)\cdot k!}\right |$$ is less than $10^{-6}$. Do I have to find an upper bound for the error? But how? I tried the following:
$$\left |\sum_{k=n+1}^{\infty}\frac{(-1)^k}{(2k+1)\cdot k!}\right |\leq \sum_{k=n+1}^{\infty}\left |\frac{(-1)^k}{(2k+1)\cdot k!}\right |=\sum_{k=n+1}^{\infty}\frac{1}{(2k+1)\cdot k!}\leq \frac{1}{(2(n+1)+1)\cdot (n+1)!}$$ But this tends to infinity, doesn't it? We have here an alternating series. The sequence $a_k:=\frac{1}{(2k+1)\cdot k!}$ is decreasing. That means that $a_{n+1}$ is greater than every other term of the sum. Is it also bigger than the whole sum? (Wondering)
 
Physics news on Phys.org
mathmari said:
We have here an alternating series. The sequence $a_k:=\frac{1}{(2k+1)\cdot k!}$ is decreasing. That means that $a_{n+1}$ is greater than every other term of the sum. Is it also bigger than the whole sum? (Wondering)

Hey mathmari! (Smile)

The term $a_{k+1}$ is not bigger then the whole sum, but it is bigger than the remaining error of the series up to $a_k$.
See for instance the Formulation of the Alternating series test.
 
I like Serena said:
The term $a_{k+1}$ is not bigger then the whole sum, but it is bigger than the remaining error of the series up to $a_k$.
See for instance the Formulation of the Alternating series test.

Ah ok! So, we have the following:

\begin{align*}\left |\sum_{k=0}^{\infty}\frac{(-1)^k}{(2k+1)\cdot k!}-\sum_{k=0}^{n}\frac{(-1)^k}{(2k+1)\cdot k!}\right | & \leq \frac{1}{(2(n+1)+1)\cdot (n+1)!} \\ & =\frac{1}{(2n+2+1)\cdot (n+1)!} \\ & =\frac{1}{(2n+3)\cdot (n+1)!}\end{align*}

Since the error should be less that $10^{-6}$ it must hold \begin{equation*}\frac{1}{(2n+3)\cdot (n+1)!}<10^{-6}\Rightarrow (2n+3)\cdot (n+1)!>10^6\end{equation*} How can we solve this inequality for $n$ ? (Wondering)
 
How about calculating a number of subsequent values? We should get there pretty quick.
We can choose to keep only 1 or 2 significant digits and round down. (Thinking)
 
I like Serena said:
How about calculating a number of subsequent values? We should get there pretty quick.
We can choose to keep only 1 or 2 significant digits and round down. (Thinking)

I substituted some values of $n$. The smallest $n$ that satisfies that inequality is $n=8$.
 
Sounds about right. (Nod)
 
I like Serena said:
Sounds about right. (Nod)

(Yes)

One last question to clarify... We have the infinite sum $\displaystyle{\sum_{k=0}^{\infty}\frac{(-1)^k}{(2k+1)\cdot k!}}$. Is the $n$-th partial sum $\displaystyle{\sum_{k=0}^{n}\frac{(-1)^k}{(2k+1)\cdot k!}}$, i.e. till $k=n$, or $\displaystyle{\sum_{k=0}^{n-1}\frac{(-1)^k}{(2k+1)\cdot k!}}$, i.e., that the sum contains $n$ terms?

(Wondering)
 
It seems that is not clearly defined.
For instance wiki starts with '... sums of the n first terms of the series, which are called the nth partial sums of the series.'
But in the next section it says that the kth partial sum is from 0 to k.

My view: if we have a sequence of partial sums $s_0, s_1, ..., s_n, ...$, then $s_n$ represents the nth partial sum. (Thinking)
 
I like Serena said:
It seems that is not clearly defined.
For instance wiki starts with '... sums of the n first terms of the series, which are called the nth partial sums of the series.'
But in the next section it says that the kth partial sum is from 0 to k.

My view: if we have a sequence of partial sums $s_0, s_1, ..., s_n, ...$, then $s_n$ represents the nth partial sum. (Thinking)

Ok! Thank you very much! (Handshake)
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
8
Views
2K
Replies
32
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
5K
  • · Replies 17 ·
Replies
17
Views
2K