Chapter 8: Infinite Sequences and Series
Section 8.2: Series
|
Example 8.2.17
|
|
a)
|
Show that Leibniz' theorem (see Table 8.2.2) on the convergence of alternating series applies to the series .
|
b)
|
Obtain the first few, but graph the first 50, partial sums.
|
c)
|
If is the partial sum of the first terms, what value of will guarantee that the error in is no worse than ?
|
|
|
|
|
Solution
|
|
|
Part (a)
|
|
In the alternating series , defines a sequence of positive terms that decrease monotonically to zero. Hence the conditions of Leibniz' theorem hold, and the sequence converges conditionally.
|
|
Part (b)
|
|
Maple is unable to obtain the sum of the series
|
•
|
Write the alternating harmonic series.
|
•
|
Context Panel: Evaluate and Display Inline
|
|
=
|
Maple is unable to obtain an expression for the th partial sum
|
•
|
Control-drag the series and change ∞ to .
|
•
|
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Assign to a Name≻S[k]
|
|
|
Display the first few partial sums
|
•
|
Type and press the Enter key.
|
•
|
Context Panel: Sequence≻
In the resulting dialog box, set to
|
|
|
|
|
Figure 8.3.17(a) shows the convergence of the first 50 members of the sequence of partial sums.
>
|
use plots in
module()
local Sk,X,Y,p1,p2,p3,k;
unassign('S');
Sk:=k->sum((-1)^(n+1)/sqrt(n),n=1..k);
X:=[seq(k,k=1..50)];
Y:=[seq(Sk(k),k=1..50)];
p1:=pointplot(X,Y,symbol=solidcircle,symbolsize=15,color=red,labels=[k,typeset(S[k])],view=[0..50,0..1]);
print(p1);
end module:
end use:
|
|
Figure 8.2.17(a) Convergence of to
|
|
|
|
|
Part (c)
|
|
The question amounts to this: what is the smallest value of for which is less than ? Hence, solve the equation for , so the first 999,999 terms have to be summed to be sure the result has an error no worse than . This series converges very slowly!
The desired accuracy might be achieved with fewer terms, but using the estimate of error in these notes, it would take nearly one million terms to guarantee that accuracy.
|
|
|
<< Previous Example Section 8.2
Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
|