Interval of Convergence: Integral Test, p-Series, Alternating Series Test, Alternating Series Error Using an Integral to Determine Convergence Determine if the Harmonic Series converges: ∞ 1 ๐ = 1 + 12 + 13 + 14 + โฏ ๐=1 Compare the Series to the ๐ graph of ๐ = . ๐ Find the Left Hand Riemann ∞๐ Sum to approximate ๐ ๐ ๐. ๐ 1๏ซ ๏ซ ๏ซ ๏ซ ๏ซ ... 1 2 … … 1 3 1 4 1 5 The Left Hand Riemann Sum is equal to the Sum of the Harmonic Series. Using an Integral to Determine Convergence Determine if the Harmonic Series converges: ∞ 1 ๐ = 1 + 12 + 13 + 14 + โฏ ๐=1 Compare the Series to the ๐ graph of ๐ = . ๐ So… ∞ 1 ๐=1 ๐ = ๐โ๐ ๐ฟ๐ป๐ ๐ ๐๐ ∞1 ๐๐ฅ 1 ๐ฅ ๐ Since ๐ = is decreasing, the Left ๐ Hand Riemann Sum is an over estimate. Thus: … ∞ ๐ณ๐๐๐ ๐ฏ๐๐๐ ๐น๐๐๐๐๐๐ ๐บ๐๐ > ๐ ๐ ๐ ๐ ๐ Using an Integral to Determine Convergence Determine if the Harmonic Series converges: ∞ 1 ๐ = 1 + 12 + 13 + 14 + โฏ ∞๐ ∞ 1 ๐=1 So… ๐=1 ๐ > ๐ ๐ ๐ ๐ Compare the Series to the We can find the value of the ๐ graph of ๐ = . improper integral: ๐ lim ๏ฒ b 1 x b ๏ฎ๏ฅ 1 … dx ๏ฝ lim ๏จ ln x ๏ฉ 1 b b ๏ฎ๏ฅ ๏ฝ lim ๏จ ln b ๏ญ ln1๏ฉ b ๏ฎ๏ฅ ๏ฝ๏ฅ ∞๐ 1 Since ๐ ๐ ๐ diverges and ∞ ๐=1 ๐ ๐ ∞๐ ๐ ๐, the Harmonic Series ๐ ๐ Diverges. Using an Integral to Determine Convergence Determine if the series below converges: ∞ 1 ๐2 1 = 1 + 14 + 19 + 16 +โฏ ๐=1 Compare the Series to the ๐ graph of ๐ = ๐ . ๐ Find the Right Hand Riemann ∞๐ Sum to approximate ๐ ๐ ๐. ๐ 1๏ซ ๏ซ ๏ซ ๏ซ 1 4 … … 1 9 1 16 1 25 ๏ซ ... The right Hand Riemann Sum is equal to the Sum of the Harmonic Series. Using an Integral to Determine Convergence Determine if the series below converges: ∞ 1 ๐2 1 = 1 + 14 + 19 + 16 +โฏ ๐=1 Compare the Series to the ๐ graph of ๐ = ๐ . ๐ 1 ∞ ๐=1 ๐2 So… = ๐โ๐ ๐ ๐ป๐ ๐ ๐๐ ∞ 1 ๐๐ฅ 1 ๐ฅ2 ๐ Since๐ = ๐ is decreasing, the Right ๐ Hand Riemann Sum is an under estimate. Thus: … … ∞ ๐น๐๐๐๐ ๐ฏ๐๐๐ ๐น๐๐๐๐๐๐ ๐บ๐๐ < ๐ ๐ ๐ ๐ ๐ Using an Integral to Determine Convergence Determine if the series below converges: ∞ 1 ๐2 1 = 1 + 14 + 19 + 16 +โฏ ∞ ๐ 1 ∞ ๐=1 So… ๐=1 ๐2 < ๐ ๐ ๐ ๐ ๐ Compare the Series to the We can find the value of the ๐ graph of ๐ = ๐ . improper integral: ๐ Extension: Since the area is an over estimate, we have a bound for the value of our series ∞ 1 ๐2 ๐=1 … … <1 lim ๏ฒ b 1 2 b ๏ฎ๏ฅ 1 x dx ๏ฝ lim ๏จ ๏ญ ๏ฉ 1 b๏ฎ๏ฅ ๏ฝ lim ๏จ ๏ญ b1 ๏ซ 11 ๏ฉ b๏ฎ๏ฅ ๏ฝ1 1 x b ∞ ๐ Since ๐ ๐ ๐ ๐ converges and ๐ ∞ ๐ 1 ∞ < ๐ ๐, the series ๐=1 ๐2 ๐ ๐๐ converges. The Integral Test If ๐ ๐ฅ is continuous, positive, and decreasing for all ๐ฅ ≥ ๐ > 0, then ∞ ๐=1 ๐ ๐ ∞ converges if and only if ๐ ๐ ๐ฅ ๐๐ฅ converges. You can begin the summation at ๐ = ๐ instead of ๐ด because you can remove any finite number of beginning terms of a series without affecting its convergence or divergence. Extension: If ∞ ๐=1 ๐ ๐ converges and S = ∞ ๐ ๐ฅ ๐๐ฅ. ๐ ∞ ๐=๐ ๐ ๐ , then S < Example ๐ ∞ ๐=1 (๐2 +1)2 Does converge? The function is positive, continuous, and decreasing. Therefore the Integral Test applies: ๏ฒ ๏ฅ 1 1 2 x ๏จ x ๏ซ1๏ฉ 2 ๏จ 2 dx ๏ฝ lim ๏ฒ b ๏ฎ๏ฅ 1 lim ๏ญ b ๏ฎ๏ฅ ๏ฝ 1 4 b ๏ฉ b 1 x 2 ๏ซ1 1 x ๏จ x ๏ซ1๏ฉ 2 ๏จ 2 dx ๏ฝ ๏ฝ lim ๏ญ 1 2 b ๏ฎ๏ฅ 1 b 2 ๏ซ1 1 2 ๏ญ๏ญ lim ๏ฒ b b ๏ฎ๏ฅ 1 1 12 ๏ซ1 2x ๏จ x ๏ซ1๏ฉ 2 2 dx ๏ฉ ๏ฝ ๏จ0 ๏ซ ๏ฉ Since the integral converges, the series also converges. 1 2 1 2 White Board Challenge Consider the series below: ∞ ๐=1 1 ๐๐ What values of ๐ does the series converge? Diverge? ๐ < 1: Diverges by the nth-Term test. For example: 1 ∞ ∞ 10 diverges since lim ๐10 ≠ 0. = ๐ ๐=1 −10 ๐=1 ๐ ๐→∞ ๐ = 1: Diverges since it is the Harmonic Series: 1 1 1 1 ∞ ๐=1 1 = 1 + 2 + 3 + 4 + โฏ. ๐ ๐ < 1: Converges by the Integral test. For example: The p-Series Test A p-Series is any series of the form 1 ∞ ๐=1 ๐๐ . 1 ∞ ๐=1 ๐๐ converges if and only if ๐ > 1. This is a direct result of the Integral Test. 1 ∞ ๐=1 ๐0.99 Consider this statement: diverges but converges. 1 ∞ ๐=1 ๐1.01 The Inability to Find the Sum of a Series Like every test for convergence, except for the Geometric Series Test, the p-Series test says the series below converges but does say what the infinite sum equals. ๏ฅ ๏ฅ 1 1.01 n n ๏ฝ1 But, since the p-Series test relies on the integral test, we can determine an upper bound for the series above: ๏ฅ ๏ฅ 1 1.01 n ๏ฝ1 n ๏ผ ๏ฒ1 ๏ ๏ ๏ฅ 1 x 1.01 dx ๏ฝ lim b๏ฎ๏ฅ ๏ฒ b 1 1.01 1 x dx ๏ฝ lim ๏จ๏ญ100x b๏ฎ๏ฅ ๏ฝ lim ๏จ๏ญ100b๏ญ0.01 ๏ญ ๏ญ100๏ 1๏ญ0.01๏ฉ ๏ฝ 100 b๏ฎ๏ฅ ๏ญ0.01 ๏ฅ ๏ฅ ๏ฉ b 1 Thus: 1 n ๏ฝ1 n 1.01 ๏ผ100 Example 1 Prove ∞ sin2 ๐ ๐=1 ๐2 converges. For all ๐: 1 ∞ ๐=1 ๐2 sin2 ๐ ๐2 ≤ 1 ๐2 is a convergent p-Series since ๐ = 2 (greater than 1). Since 1 ∞ ๐=1 ๐2 converges, by the Direct Comparison Test ∞ sin2 ๐ ๐=1 ๐2 converges. Example 2 Prove ∞ ln ๐ ๐=1 ๐ diverges. For all ๐ > 2: ln๐๐ > ๐1 Notice: All we need is for the terms to eventually get larger than the terms of the known series. ∞ 1 ๐=1 ๐ is a divergent p-Series since ๐ = 1 (not greater than 1). Since ∞ 1 ๐=1 ๐ diverges, by the Comparison Test ∞ ln ๐ ๐=1 ๐ diverges. The Finney Procedure for Determining Convergence No nth-Term Test Is lim ๐๐ = 0? The series diverges. ๐→∞ Yes or Maybe Is Geometric Series Test ๐๐ = ๐ + ๐๐ + ๐๐ 2 + โฏ ? Yes ๐ Converges to 1−๐ if ๐ < 1. Diverges if ๐ > 1. No p-Series Test Does the series have the form 1 ∞ ๐=1 ๐ ? Yes ๐ Converges if ๐ > 1. Diverges if ๐ ≤ 1. No or maybe Does ๐๐ converge? Apply the Comparison test, Integral Test, or Ratio Test … Yes The original Series Converges. An Alternating Series that Converges Justify the Alternating Harmonic Series converges: ∞ 1 (−1)๐−1 ๐ = 1 − 12 + 13 − 14 + โฏ ๐=1 Investigate and plot the sum: 1 1 1 1 1 1 7 5 6 2 3 4 1๏ญ ๏ซ ๏ญ ๏ซ ๏ญ ๏ซ ๏ญ ... Each Successive term in the sequence of partial sums is between the two previous terms in this sequence . 0 The sum is bounded by 1 0.5 and 1. 2 S ๏ฝ? The sum must be between any two successive terms. 1 An Alternating Series that Diverges Justify the Alternating Harmonic Series converges: ∞ (−1)๐−1 ๐ =1−2+3−4+โฏ ๐=1 Investigate and plot the sum: Graph the partial sums: 1๏ญ 2 ๏ซ 3 ๏ญ 4 ๏ซ 5 ๏ญ 6 ๏ซ The Series Diverges Each Successive term in the sequence of partial sums is outside the two previous terms in this sequence . In order to converge; the terms must be alternating, if you take the absolute value of each term the terms must be decreasing, and the nth term must approach 0. The Alternating Series Test If the following is true: 1. ๐๐ > 0 2. ๐๐ is decreasing 3. lim ๐๐ = 0 ๐→∞ Then ∞ ๐=1 −1 ๐−1 ๐๐ and converge. ∞ ๐=1 −1 ๐ ๐๐ Example 1 ๐+1 ๐2 ∞ ๐=1 Test the series −1 for convergence or ๐3 +1 divergence. The Series COULD be alternating because it has the −1 Now check the conditions: 1: Since ๐ ≥ 1, ๐๐ = 2. We know ๐ ๐๐ ๐๐ = ๐2 ๐3 +1 ๐→∞ >0 ๐(2−๐2 ) ๐3 +1 2 3. We know lim ๐๐ = ๐+1 . ๐2 ๐3 +1 < 0 when ๐ > 0 so ๐๐ is decreasing. =0 Since the Series satisfies all of the conditions of the Alternating Series Test, it must converge. Example 2 Test the series −1 ๐ 3๐ ∞ ๐=1 4๐−1 for convergence or divergence. The Series COULD be alternating because it has the −1 ๐ . Now check the conditions: 1: Since ๐ ≥ 1, ๐๐ = 2. We know ๐ ๐๐ ๐๐ = 3๐ 4๐−1 −3 4๐−1 2 3. BUT know lim ๐๐ = ๐→∞ Since −1 ๐ 3๐ lim ๐→∞ 4๐−1 >0 < 0 for all ๐ so ๐๐ is decreasing. 3๐ 4๐−1 = 34 ≠ 0 This means the Series diverges by the nth-Term Test. We should have checked this first! does not equal 0, the series must DIVERGE. Error for an Alternating Series If the first three terms are used to estimate the convergent Alternating Harmonic series below, estimate the error of the approximation: ∞ 1 (−1)๐−1 ๐ ๐= ๐=1 Investigate and plot the sum of the first three terms: = 1 − 12 + 13 − 14 + โฏ 1๏ญ 12 ๏ซ …and the first three terms are used to approximate the infinite Alternating Series... 1 3 1 4 ๏พ S ๏ญ ๏จ1 ๏ญ 12 ๏ซ 13 ๏ฉ Actual Error 0 S If the series converges… 1 2 …the error of the approximation 1 can not be larger than the first omitted term. The Alternating Series Estimation Theorem ๐−1 Let ๐ = ∞ −1 ๐๐ , where ๐๐ is a ๐=1 positive decreasing sequence that converges to 0. Then ๐ − ๐๐ < ๐๐+1 In other words, the error committed when we approximate a convergent Alternating series with the first n terms is less than the size of the first omitted term. Notice from the diagram on the last slide, that this Theorem tells the magnitude AND the direction of the error! Example Consider S = −1 ๐−1 ∞ . ๐=1 ๐ a) Prove the series converges. You can use the Alternating Series test, but if we investigate the series: ∞ ๐=1 −1 ๐−1 ๐ =1− 1 1 1 +3−4 2 +โฏ We should notice that it is the Alternating Harmonic Series. Thus, we already know that it converges. Example Continued Consider S = −1 ๐−1 ∞ . ๐=1 ๐ b) Show that ๐ − ๐6 < 0.2. This is the definition of Error. Since the series is a convergent Alternating Series, the Error Bound for the Alternating Series must be less then the first omitted term: ๐ − ๐6 < ๐7 = 1 ≈ 0.14 < 0.2 7 Thus ๐ − ๐6 < 0.2 Example Continued Consider S = −1 ๐−1 ∞ . ๐=1 ๐ c) Find ๐ such that ๐๐ approximates ๐ with an error less 10−3 . Use the Alternating Series Estimation Theorem: ๐ − ๐๐ < ๐๐+1 1 ๐ธ๐๐๐๐ < ๐+1 If we want ๐ธ๐๐๐๐ < 10−3 , then: 1 ≤ 10−3 ๐+1 → 103 ≤ ๐ + 1 → ๐ ≥ 999 The Finney Procedure for Determining Convergence No nth-Term Test Is lim ๐๐ = 0? The series diverges. ๐→∞ Yes or Maybe Is Yes Geometric Series Test ๐๐ = ๐ + ๐๐ + ๐๐ 2 + โฏ ? ๐ Converges to 1−๐ if ๐ < 1. Diverges if ๐ > 1. No p-Series Test Does the series have the form 1 ∞ ๐=1 ๐๐ ? Yes Converges if ๐ > 1. Diverges if ๐ ≤ 1. Yes The original Series Converges. No or maybe Does ๐๐ converge? Apply the Comparison test, Integral Test, or Ratio Test No or maybe Is ๐๐ = ๐ข1 − ๐ข2 + ๐ข3 − โฏ? (an alternating series) No See what you can do with partial sums and/or try your calculator. Yes Is there an integer ๐ such that ๐ข๐ ≥ ๐ข๐+1 ≥ โฏ? Yes No Series converges if ๐ข๐ → 0 Series diverges if ๐ข๐ → 0 Power Series and Convergence How do we analytically determine ALL of the values of x that make a power series converge? ∞ ๐๐ โ ๐ฅ − ๐ ๐ฅ=0 ๐ How to Test a Power Series for Convergence 1. Use the Ratio Test to find the values of ๐ฅ for which the series converges absolutely. Ordinarily, this is an open interval: ๐ − ๐ < ๐ฅ < ๐ + ๐ . In some instances, the series converges for all values of ๐ฅ. In rare cases, the series convergences only at ๐ฅ = ๐. 2. If the interval of absolute convergence is finite, test for convergence or divergence at each endpoint. (The Ratio Test fails at these points.) Use a comparison test, the Integral Test, or the Alternating Test. 3. If the interval of absolute convergence is ๐ − ๐ < ๐ฅ < ๐ + ๐ , conclude that the series diverges for ๐ฅ − ๐ > ๐ , because for those values of ๐ฅ the nth term does not approach zero. Example 1 Find the interval of convergence for 1 ∞ ๐=1 32๐ 2๐ We have already investigated this series: 1 2๏จ n ๏ซ1๏ฉ ๏จ x ๏ญ 2๏ฉ 2๏จ n ๏ซ1๏ฉ 3 2 ๏จ n ๏ซ 1๏ฉ ๏ฉ ๏จ lim n ๏ฎ๏ฅ 1 2n ๏จ x ๏ญ 2๏ฉ 2n 3 ๏จ 2n ๏ฉ an ๏ซ1 lim ๏ฝ n ๏ฎ๏ฅ a n ๐ฅ−2 3 ๏ผ1 2 ๏จ x ๏ญ 2๏ฉ ๏ผ 9 x๏ญ2 ๏ผ3 ๏ญ1 ๏ผ x ๏ผ 5 9 2n๏ซ2 The limit depends on n. Separate the n’s. x ๏ญ 2๏ฉ n ๏จ x ๏ญ 2๏ฉ n ๏จ x ๏ญ 2๏ฉ ๏จ ๏ ๏ฝ 1๏ lim 2 ๏ฝ lim 2 n ๏ฎ๏ฅ n ๏ซ 1 n ๏ฎ๏ฅ 3 ๏จ n ๏ซ 1๏ฉ 3 9 2 2 . If the series converges, the ratio is less than 1. ๏จ x๏ญ 2 ๏ฉ2 2n ๏ฉ๏จ x ๏ญ 2 ๏ฉ ๏จ ๏ฝ lim 2 n ๏ซ 2 2n n ๏ฎ๏ฅ 3 ๏จ 2 ๏จ n ๏ซ 1๏ฉ ๏ฉ ๏จ x ๏ญ 2 ๏ฉ 2n 2๐ 2 The Ratio test guarantees the series converges on the open interval −1,5 . Example 1 (Continued) 1 ∞ ๐=1 32๐ 2๐ Find the interval of convergence for ๐ฅ−2 2๐ . The Ratio test guarantees the series converges on the open interval −1,5 . But we also need to check the endpoints: The series for ๐ฅ = −1: The series for ๐ฅ = 5: 1 ∞ ๐=1 32๐ 2๐ 1 = 12 ∞ ๐=1 ๐ 1 ∞ ๐=1 32๐ 2๐ 1 = 12 ∞ ๐=1 ๐ −1 − 2 2๐ 2๐ = −3 ∞ ๐=1 32๐ 2๐ = 1 ∞ ๐=1 2๐ This is a divergent p-Series since ๐ = 1 (not greater than 1). 5−2 2๐ = 32๐ ∞ ๐=1 32๐ 2๐ = 1 ∞ ๐=1 2๐ This is a divergent p-Series since ๐ = 1 (not greater than 1). Since the endpoints do not produce convergent series, the series converges on the interval −1,5 . Example 2 2๐ Find the interval of convergence for the series ∞ ๐ฅ ๐=0 ๐! . We have already investigated this series: Investigate the ratio: an ๏ซ1 lim n ๏ฎ๏ฅ a n x๏จ ๏ฉ n ๏ซ 1๏ฉ ! ๏จ x 2n๏ซ2 n! x2 ๏ฝ lim ๏ฝ lim ๏ฝ lim ๏ฝ 0 2 n 2 n n ๏ฎ๏ฅ ๏จ n ๏ซ 1๏ฉ ! x n ๏ฎ๏ฅ n ๏ฎ๏ฅ n ๏ซ 1 x n! 2 n ๏ซ1 Therefore every value of ๐ฅ produces a convergent series, thus series converges on the interval −∞, ∞ . Note: Convergence of Taylor Series You should be careful when applying Taylor series to calculating function values. Without more information, there is no guarantee that a Taylor series converges. Moreover, there is no guarantee, even if it does converge, that it converges to the function that generated the series. Consider: The the Maclaurin Series for ๐ −๐ ๐ ๐ ๐ ≠ ๐ is ๐ป ๐ = ๐ ๐ ๐ ๐=๐ This Taylor Series converges for every value of x BUT it does not converge to the function except at ๐ฅ = 0. Example A function ๐ has derivatives of all orders for all real numbers. It is known that ๐ 1 = 5, ๐′ 1 = − 3, ๐′′ 1 = 2, and ๐′′′ 1 = −1. Which of the following statements are necessarily true? I. False. The only information given concerns the value of ๐ and its derivatives ๐ 2at can exactly determined from given ๐ฅ = 1.be No information can be determined aboutthe the value of ๐ 2 . information. True. The We have all we need to write the third-degree Taylor for ๐ at ๐ฅ = 1. II. third-degree polynomial for ๐ at ๐ฅpolynomial = 1 can be determined from the given information. necessarily true, since we don’t know anything about the remainder term or III.NotThe Taylor seriesthefor ๐ at ๐ฅ = 1 converges to ๐ ๐ฅ interval of convergence. for all real numbers ๐ฅ. When to apply Convergence Tests Sample of questions about convergence are… • Which of the following series converge? • Which of the following series diverge? • For what values of k does a series whose nth term is a function of k converge? • Is it possible to evaluate f (a) with arbitrary accuracy using its Taylor Series expansion at x = b? • What is the radius or interval of convergence for a particular series?