Chapter 8: Infinite Sequences and Series
Section 8.2: Series
Show that Leibniz' theorem on the convergence of alternating series applies to the alternating harmonic series. (See Table 8.2.2.)
Use Maple to show that the sequence of partial sums converges to ln2.
Test the claim that a partial sum is closer to the sum than the magnitude of the first neglected term.
The alternating harmonic series is ∑n=1∞−1n+1n, with an=1/n defining a sequence of positive terms that decrease monotonically to zero. Hence the conditions of Leibniz' theorem hold, and the sequence converges conditionally.
Obtain the sum of the series
Write the alternating harmonic series.
Context Panel: Evaluate and Display Inline
∑n=1∞−1n+1n = ln⁡2
Obtain an expression for the kth partial sum
Control-drag the series and change ∞ to k.
Context Panel: Assign to a Name≻S[k]
∑n=1k−1n+1n = ln⁡2−12⁢−1k⁢Ψ⁡12⁢k+1−Ψ⁡12⁢k+12→assign to a nameSk
Display the first few partial sums
Type Sk and press the Enter key.
Context Panel: Sequence≻k
In the resulting dialog box, set k=1 to k=15
→sequence w.r.t. k
Obtain the limit of the partial sums
Calculus palette: Limit template≻Apply to Sk
limk→∞Sk = ln⁡2
Figure 8.3.16(a) shows the convergence of the first 15 members of the sequence of partial sums to S=ln2.
use plots in
Figure 8.2.16(a) Convergence of Sk to S=ln2
Table 8.2.16(a) provides the evidence that a partial sum is closer to the sum than the magnitude of the first neglected term. The first column of the table lists k, the order of the partial sum. The middle column lists S−Sk , the measure of how far the partial sum Sk is from the sum S. The third column of the table is the value of 1/k+1, the magnitude of the first neglected term.
for j from 1 to 10 do
Table 8.2.16(a) Values of S−Sk compared to ak+1=1/n+1
In every instance, |S−Sk|≤ak+1=1/k+1.
<< Previous Example Section 8.2
Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2023. 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
Download Help Document