Presentation is loading. Please wait.

Presentation is loading. Please wait.

In the case where all the terms are positive,

Similar presentations


Presentation on theme: "In the case where all the terms are positive,"β€” Presentation transcript:

1 In the case where all the terms are positive,
If we stop evaluating a convergent positive series after adding n terms, the difference between the true infinite sum and our partial sum is called the error or remainder. 𝑅 𝑛 =π‘†βˆ’ 𝑆 𝑛 In the case where all the terms are positive, the error (or remainder) will be positive. Here’s a representation of the series (Riemann Sum) and it’s related integral for n large. Drawn as a lower sum, the partial sum stops at the last yellow box. The error (shown in red) is less than 𝑛 ∞ 𝑓 π‘₯ 𝑑π‘₯ . Shifted over, drawn as an upper sum, we see that the error is greater than 𝑛+1 ∞ 𝑓 π‘₯ 𝑑π‘₯

2 Integral Test Remainder Estimate
Given π‘Ž 𝑛 is a decreasing positive series convergent series and 𝑓 π‘₯ is a continuous function where 𝑓 𝑛 = π‘Ž 𝑛 then if 𝑅 𝑛 =π‘†βˆ’ 𝑆 𝑛 𝑛+1 ∞ 𝑓 π‘₯ 𝑑π‘₯ ≀ 𝑅 𝑛 ≀ 𝑛 ∞ 𝑓 π‘₯ 𝑑π‘₯

3 Example: Approximate the sum of the convergent series using the indicated number of terms. Include an estimate of the maximum error for your approximation.

4 The minimum number of terms needed is 32.
𝑛=1 ∞ 1 𝑛 3 , π‘˜=3 Example for #43 (read the directions, p. 582) We want 𝑅 𝑛 <.0005 It is sufficient is to find 𝑛 such that 𝑛 ∞ 1 π‘₯ 3 𝑑π‘₯ <.0005 ∞ 𝑛 𝑛 ∞ 1 π‘₯ 3 𝑑π‘₯ =βˆ’ 1 2 π‘₯ βˆ’2 = 1 ∞ βˆ’ βˆ’1 2 𝑛 2 = 1 2 𝑛 2 1 2 𝑛 2 <.0005 β†’1<.001 𝑛 2 β†’1000< 𝑛 2 →𝑛>31.623 The minimum number of terms needed is 32. π‘†β‰ˆπ‘† 32 = … β‰ˆ

5 Remainder of Alternating Series

6 𝑛=1 ∞ βˆ’1 𝑛+1 𝑛 =1βˆ’ 1 2 + 1 3 βˆ’ 1 4 +…+ βˆ’1 𝑛+1 𝑛 +…
𝑛=1 ∞ βˆ’1 𝑛+1 𝑛 =1βˆ’ βˆ’ 1 4 +…+ βˆ’1 𝑛+1 𝑛 +… Let’s look at some partial sums graphically. Clearly, the Partial Sums are headed for some limit in the middle of these points. Each β€œjump” is smaller than the previous one.

7 We know that the infinite sum 𝑆 is between
What if we stopped at 𝑆 5 ? We know that the infinite sum 𝑆 is between 𝑆 5 =1βˆ’ βˆ’ = 47 60 and the next partial sum 𝑆 6 = 𝑆 5 βˆ’ 1 6 = 37 60 So if I use 𝑆 5 = as an estimate for 𝑆, my error is less than | π‘Ž 6 |= 1 6 . How far off can my estimate be if I use 𝑆 11 for my estimate? 𝑆 100 ? π‘Ž 12 = 1 12 , and |π‘Ž 101 |= respectively.

8 Example

9 LaGrange Remainder Theorem
The difference between 𝑓 π‘₯ and 𝑝 𝑛 (π‘₯) is 𝑅 𝑛 π‘₯ = 𝑓 𝑛+1 (𝑧) 𝑛+1 ! π‘₯βˆ’π‘Ž 𝑛+1 where 𝑧 is some unknowable number between π‘₯ π‘Žπ‘›π‘‘ π‘Ž. π‘Ž is the π‘₯βˆ’π‘π‘œπ‘œπ‘Ÿπ‘‘π‘–π‘›π‘Žπ‘‘π‘’ at the point of tangency.

10 𝑓 π‘₯ = 1 1βˆ’π‘₯ , 𝑛=4 EX: #4 𝑓 π‘₯ = 1 1βˆ’π‘₯ →𝑓 0 =1 𝑓 β€² π‘₯ =βˆ’(1βˆ’π‘₯ ) βˆ’2 βˆ’1 =(1βˆ’π‘₯ ) βˆ’2 β†’ 𝑓 β€² 0 =1 𝑓 β€²β€² π‘₯ =βˆ’2(1βˆ’π‘₯ ) βˆ’3 βˆ’1 =2(1βˆ’π‘₯ ) βˆ’3 β†’ 𝑓 β€² β€² 0 =2 𝑓 β€² β€²β€² π‘₯ =βˆ’6(1βˆ’π‘₯ ) βˆ’4 βˆ’1 =6(1βˆ’π‘₯ ) βˆ’4 β†’ 𝑓 β€² β€²β€² 0 =6 𝑓 (4) π‘₯ =βˆ’24(1βˆ’π‘₯ ) βˆ’5 βˆ’1 =24(1βˆ’π‘₯ ) βˆ’5 β†’ 𝑓 =24 𝑝 4 π‘₯ =𝑓 0 + 𝑓 β€² 0 π‘₯+ 𝑓 β€²β€² 0 2! π‘₯ 2 + 𝑓 β€²β€²β€² 0 3! π‘₯ 3 + 𝑓 ! π‘₯ 4 𝑝 4 π‘₯ =1+1π‘₯+ 2 2! π‘₯ ! π‘₯ ! π‘₯ 4 𝑝 4 π‘₯ =1+π‘₯+ π‘₯ 2 + π‘₯ 3 + π‘₯ 4 Look familiar? 1+r+ π‘Ÿ 2 +π‘Ÿ 3 +…+ π‘Ÿ 𝑛 +…= 1 1βˆ’π‘Ÿ , 𝑖𝑓 π‘Ÿ <1

11 𝑅 𝑛 π‘₯ = 𝑓 𝑛+1 (𝑧) 𝑛+1 ! π‘₯βˆ’π‘Ž 𝑛+1 π‘Ž=0, 𝑛=4, 𝑓 5 𝑧 =5!(1βˆ’π‘§ ) βˆ’6 𝑅 4 π‘₯ = 𝑓 5 (𝑧) 5 ! π‘₯βˆ’0 5 = 5!(1βˆ’π‘§ ) βˆ’6 5 ! π‘₯ 5 =(1βˆ’π‘§ ) βˆ’6 π‘₯ 5

12 We will need four derivatives all evaluated at π‘₯=0.
𝑓 π‘₯ =𝑠𝑖𝑛π‘₯, 𝑛=3 We will need four derivatives all evaluated at π‘₯=0. 𝑓 π‘₯ =𝑠𝑖𝑛π‘₯→𝑓 0 =0 𝑓 β€² π‘₯ =π‘π‘œπ‘ π‘₯β†’ 𝑓 β€² 0 =1 𝑓 β€²β€² π‘₯ =βˆ’π‘ π‘–π‘›π‘₯β†’ 𝑓 β€²β€² 0 =0 𝑓 β€²β€²β€² π‘₯ =βˆ’π‘π‘œπ‘ π‘₯β†’ 𝑓 β€²β€²β€² 0 =βˆ’1 𝑓 4 π‘₯ =𝑠𝑖𝑛π‘₯β†’ 𝑓 4 π‘₯ =0 𝑝 3 π‘₯ =𝑓 0 + 𝑓 β€² 0 π‘₯+ 𝑓 β€²β€² 0 2! π‘₯ 2 + 𝑓 β€²β€²β€² 0 3! π‘₯ 3 =0+1π‘₯+ 0 2! π‘₯ 2 + βˆ’1 3! π‘₯ 3 𝑓 π‘₯ =𝑠𝑖𝑛π‘₯ β‰ˆ 𝑝 3 π‘₯ =π‘₯βˆ’ 1 3! π‘₯ 3 𝑅 𝑛 π‘₯ = 𝑓 𝑛+1 (𝑧) 𝑛+1 ! π‘₯βˆ’π‘Ž 𝑛+1 𝑅 3 π‘₯ = 𝑓 4 (𝑧) 4 ! π‘₯βˆ’0 4 = sin 𝑧 4 ! π‘₯ 4

13

14


Download ppt "In the case where all the terms are positive,"

Similar presentations


Ads by Google