* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Chapter 7
Big O notation wikipedia , lookup
Infinitesimal wikipedia , lookup
Mathematics of radio engineering wikipedia , lookup
History of Grandi's series wikipedia , lookup
Vincent's theorem wikipedia , lookup
Large numbers wikipedia , lookup
Factorization wikipedia , lookup
Georg Cantor's first set theory article wikipedia , lookup
Fundamental theorem of algebra wikipedia , lookup
Non-standard calculus wikipedia , lookup
Fundamental theorem of calculus wikipedia , lookup
Collatz conjecture wikipedia , lookup
Hyperreal number wikipedia , lookup
Law of large numbers wikipedia , lookup
Chapter 7 Infinite Sequences and Series 7.1 Sequences A sequence is a list of numbers a1, a2, a3, …, an,… in a given order. • Each of a1, a2, a3 and so on represents a number. These are the terms of the sequence. • The integer n is called the index of an, and indicates where an occurs in the list. • Order is important. We can think of sequence a1, a2, a3, …, an…as a function that sends 1 to a1, 2 to a2, 3 to a3, and in general sends the positive integer n to the nth term an. For example, the function associated with the sequence 2, 4, 6, 8, …, 2n,… sends 1 to a1=2, 2 to a2=4, and so on. The general behavior of the sequence is described by the formula an=2n. Remarks 1. We can equally well make the domain the integers larger than a given number n0 (may >1), and we allow the sequence of this type also. 2. Sequences can be described by writing rules that specify their terms, such as 1 n 1 an n , bn (1) n 1 , cn , d n (1) n 1 n n or by listing terms, {an } { 1, 2, 3,..., n ,...}, 1 1 1 1 {bn } {1, , ,... ,..., ( 1) n 1 ,...}, 2 3 4 n 1 2 3 4 n 1 {cn } {0, , , , ,..., ,...}, 2 3 4 5 n {d n } {1, 1,1, 1,1, 1,..., ( 1) n 1 ,...} We also sometimes write {an } { n}n1 Graphically Represent Sequences Convergence and Divergence Sometimes the numbers in a sequence approach a single value as the index n Increases. For example, an=1/n whose terms approach 0 as n gets large, or an=1-1/n approach 1 as n gets large. On the other hand, some sequences like an=(-1)n+1n bounce back and forth Between 1 and -1, never converging to a single value. This definition is very similar to the Definition of the limit of a function f(x) as x tends to Examples Example: 1 0 n n (a) lim (b) lim k k n Example: {1, 1,1, 1,...,(1) n1,...}diverges. any constant k. Diverges to Infinity The sequence { n } also diverges, because lim n n The sequence { 1, 02, 3, -4, 5, -6, 7, -8,…} and {1, 0, 2, 0, 3, 0,…} are examples of such divergence. Calculating Limits of Sequences Since sequences are functions with domain restricted to the positive integers, we have Remark • Theorem 1 does not say that, for example, that if the sum {an+ bn} has a limit, then each of the sequences {an} and {bn} have limits. • One consequence of Theorem 1 is that every nonzero multiple of a divergent sequence {an} diverges. Examples Sandwich Theorem for Sequences An immediate consequence of Theorem 2 is that , if |bn|cn and cn0, then bn 0 because –cn bn cn, we use this fact in the next example. Examples Continuous Function Theorem for Sequences Example: Show that (n 1) / n 1 Example • Example: Show that 21/ n 1 Using L’Hopital’s Rule Commonly Occuring Limits Examples ln(n 2 ) (a) n (b) n (c ) n n2 3n 1 n (d ) ( ) 2 n2 n (e) ( ) n 100n (f) n! Recursive Definitions So far, we have calculated each an directly from the value of n. But sequences are often defined recursively by giving 1. The values (s) of the initial term or terms, and 2. A rule, called a recursion formula, for calculating any later term from terms that precede it. Example: (a) The statement a1=1, and an=an-1+1 define the sequences of positive integers. (b) The statement a1=1, a2=1, and an+1=an+an-1 defines the sequence of Fibonacci numbers. Nondecreasing Sequences Example: The following sequences are nondecreasing: (a) The sequence 1, 2, 3, …, n,… of natural numbers; (b) The sequence ½, 2/3, ¾, …, n/(n+1), … (c) The constant sequence {3}. Bounded Nondecreasing Sequences Here are two kinds of nondecreasing sequences—those whose terms increase beyond any finite bound and those whose terms do not. Examples: (a) The sequence 1, 2, 3, …, n has no upper bound. (b) The sequence ½, 2/3, 34, …, n/(n+1), …, is bounded above by M=1. 1 is also the least upper bound. A nondecreasing sequence that is bounded from above always has a least upper Bound. We also prove that if L is the least upper bound then the sequence converges to L. The Nondecreasing Sequenc Theorem. Theorem 6 implies that a nondecreasing sequence converges when it is bounded from above. It diverges to infinity if it is non bounded from above. The analogous results hold for nonincreasing sequences. 7.2 Infinite Series An infinite series is the sum of an infinite sequence of numbers. a1+a2+a3+…+an+… The goal of this section is to understand the meaning of such an infinite sum and to develop methods to calculate it. The sum of the first n terms sn= a1+a2+a3+…+an is an ordinary finite sum, is called The nth partial sum. As n gets larger, we expect the nth partial sums to get closer and closer to a limiting value in the same sense that the terms of a sequence approach a limit. Example For example, to assign meaning to an expression like 1+1/2+1/4+1/8+1/16+… We add the terms one at a time from the beginning and look for a pattern in how These partial sums grow. 1 s 2 The partial sums form a sequence whose nth n term is 2n 1 The sequence of partial sums converges to 2 because lim(1/ 2n1 ) 0. We say n “the sum of the infinite series 1+1/2+1/4+1/2n-1+… is 2.” Note: it is convenient to use sigma notation to write the series. Geometric Series Geometric series are series of the form a ar ar ... ar 2 n 1 ar n 1 n 1 In which a and r are fixed real numbers and a0. The series can also be written as ar n . The ratio r can be positive, or negative. n0 The formula a/(1-r) for the sum of a geometric series applies only when the n summation index begins with n=1 in ar n 1 ( or with n=0 in ar ). n 1 n0 Examples n ( 1) 5 converges. Example: The series 4n n 0 Examples Example: Find the sum of the series 1 n 1 n( n 1) Divergent Series One reason that a series may fail to converge is that its terms don’t become small. n 1 n n 1 Example The series diverges because the partial sums eventually outgrow Every preassigned number. Each term is greater than 1, so the sum of n terms is greater than n. Examples Example: ( a ) n 2 n 1 n 1 n n 1 (b) (c) (1) n 1 n 1 n n 1 2n 5 ( d ) Example: The series 1+1/2+1/2+1/4+1/4+1/4+1/4, +…+1/2n+1/2n+…+1/2n+… This diverges, however, the terms of the series form a sequence that converges to 0. Combining Series Note: (an+bn) can converge when an and bn both diverge. Examples Remarks • We can add a finite number of terms to a series or delete a finite number of terms without altering the series’ convergence or divergence, although in the case of the convergence this will usually change the sum. • As long as we preserve the order of its term, we can reindex any series without altering its convergence. 7.3 The Integral Test Given a series, we want to know whether it converges or not. In this section and the next two, we study series with nonnegative terms. Since the partial sums from a nondecreasing sequence, the Nondecreasing Sequence Theorem tell us the following: Example 1 1 1 1 The series n 1 2 3 ... n ... is called the harmonic series. n 1 The harmonic series is divergent, but this doesn’t follow from the nth=Term Test. The reason it diverges is because there is no upper bound for its partial sums. Example Example: Does the following series converge? 1 n n 1 2 1 1 1 1 ... 2 ... 4 9 n The Integral Test Error Estimation If a series an is shown to be convergent by the integral test, we may want to estimate the size of the remainder Rn between the total sum S of the series and its nth partial sum sn. If we add the partial sum sn to each side of the inequality in (1), we get sn n 1 f ( x)dx S s n f ( x)dx n 7.4 Comparison Tests We have seen how to determine the convergence of geometric series, p-series, and a few others. We can test the convergence of many more series by comparing Their terms to those of a series whose convergence is known. The Limit Comparison Test We now introduce a comparison test that is particularly useful for series in which an is a ration function of n. Example Cont. 7.5 The Ratio and Root Tests The Root Test 7.6 Alternating Series, Absolute and Conditional Convergence A series in which the terms are alternately positive and negative is an alternating Series. For example : 1 1 1 1 ( 1) n 1 1 ... ... 2 3 4 5 n 1 1 1 ( 1) n 4 2 1 ... ... n 2 4 8 2 1 2 3 4 5 6 ... ( 1) n 1 n ... Series (1), called the alternating harmonic series, converges. Series (2), a geometric series with ratio r=-1/2, converges. Series (3) diverges because the nth term does not approach zero. (1) (2) (3) Alternating Series Test Example: The alternating harmonic series converges by Theorem 14. Graphical Interpretation of the Partial Sums The Alternating Series Estimation Theorem Example Absolute and Conditional Convergence The geometric series in Example 2 converges absolutely, while the alternating harmonic series does not converge absolutely. The alternating harmonic series converges conditionally. The Absolute Convergence Test Absolute convergence is important for two reasons. First, we have good tests for convergence of series of positive terms. Second, if a series converges absolutely, then it converges, as we now prove. Note: we can rephrase Theorem 16 to say that every absolutely convergent series Converges. However, the converse statement is false: Many convergent series do not converge absolutely (such as the alternating harmonic series). Examples Examples Rearranging Series If we rearrange the terms of a conditionally convergent series, we get different Results. In fact, it can be proved that for any real number r, a given conditionally Convergent series can be rearranged so its sum is equal to r. So we must always Add the terms of a conditionally convergent series in the order given. Summary 7.7 Power Series Now that we can test infinite series for convergence, we can study sums that look Like “infinite polynomials”. We call these sums poewr series because they are defined As infinite series of powers of some variable, in our case x. Equation (1) is the special case obtained by taking a=0 in Equation (2). Example We now think of the partial sums of the series on the right as polynomials Pn(x) that approximate the function on the left. The figure left shows the graph of f(x), and the approximating polynomials yn=Pn(x) for n=0, 1, 2, and 8. Example 1 2 1 4 1 2 The power series 1 ( x 2) ( x 2) 2 ... ( ) n ( x 2) n ... The convergence Theorem for Power Series The next result shows that if a power series converges at more than one value, Then it converges over an entire interval of values. Corollary The Term-by-Term Differentiation Theorem Examples The Term-by-Term Integration Theorem Examples Examples The Series Multiplication Theorem for Power Series 7.8 Taylor and Maclaurin Series This section shows how functions that are infinitely differentiable generate power series called Taylor series. Q: If a function f(x) has derivatives of all orders on an interval I, can it be expressed as a power series on I? And if it can, what will its coefficients be? The Maclaurin series generated by f is often just called the Taylor series of f. Examples Find the Taylor series generated by f(x)=1/x at a=2. Where, if anywhere, does the series converge to 1/x? Taylor Polynomials The higher-order Taylor polynomials provide the “best” polynomial approximations of their respective degrees. Examples Find the Taylor series and the Taylor polynomials generated by f(x)=ex at x=0. 7.10 The Bionomial Series This section introduces the binomial series for estimating powers and roots of binomial Expressions (1+x)m. Examples Let m=-1, the binomial series formula gives the familiar geometric series (1+x)-1 =1 – x + x2 - x3 + … + (-1)kxk + … Examples