Merced College; Don Power

 

Calculus Lecture - Ch 10

 

10.1  Sequences     

 

Def:  a function whose domain is the set of natural numbers (or, "a set of integers")

      (except that it is permissible to designate some other starting point than 1;  0 is frequently used.)

Ex built on f(x)=x2:  we might write f(n) = n2, n = 1, 2, 3, ...

      D:  {1, 2, 3, 4, 5, …}         term numbers

      R:  {1, 4,  9, 16, 25, …}    terms

Compare the graph of the sequence with the graph of the continuous function

Vocab and notation:

      The sequence is usually thought of as the range values (domain is not referred to explicitly)

      We use n for an element of the domain, then an is the corresp element of the sequence a.

            Ex:  a3 = 9 because n = 3,

      {an} or  refer to the entire sequence [w provisions to stress or modify the starting point]

            Ex:  std notation for our sequence would be {an} = {n2}

Task:  find first several terms of a series:

      Ex:   = …{2/1, 3/2, 4/3, …}

      Ex:   = {1, 0, -1, 0, 1, 0, -1, 0, …}

 

Task:  Find the general term for a given sequence (Exercises 1, 4, 23-31)

 

Key Question:  Does a sequence have a limit (it converges) or not (it diverges)?

      Ex:  limit of x/(x-1) is 1 as x -> ¥, so  converges to 1

      Def:  [explain graphically]  For every epsilon>0, there exists N>0 such that whenever n>N,

            abs(an-L)<epsilon

            Relate to the example series above.

 

      Techniques for continuous functions usually work, including L'Hôpital's Rule

     

See properties of limits, pg 652

      Exactly the same as for limits of continuous functions.

 

Squeeze Theorem applies

      Ex:  -1/n £ cos(pn)/n £ 1/n

 

Thm:  if |an|->0, then an->0

 

Sequences may be defined recursively

 

      Ex:  Newton's Method:  Here is an Excel example:

 

Task:  Find 7^(1/3);   Equivalent to finding root of f(x) = x^3 - 7

 

 

 

 

 

 

Newton's method

estimate of

check:

 

x

x-f(x)/f '(x)

7^(1/3)

ans^3

 

2

1.916666667

1.916666667

7.041088

 

1.916667

1.912938458

1.912938458

7.00008

 

1.912938

1.912931183

1.912931183

7

 

1.912931

1.912931183

 

 

 

1.912931

1.912931183

 

 

 

 

 

      Ex:  Mechanic's formula for approximating square roots (example on pg 655 in text)

      Ex:  Fibonacci sequence 1, 1, 2, 3, 5, 8, 13, 21, ...;  exercise 46 in text.

 

10.2  Monotone Sequences    

 

Convenient thm:  if a seq is eventually monotonic and bounded, then it converges

Defs

How can you show that a sequence is decreasing [increasing]?  For positive-term series:

      Show an+1 < an                                                                  [an+1 > an     

      Show an+1 - an < 0, or                                      [an+1 - an > 0]

      Show an+1 / an <1, or                                        [an+1 / an >1]

      Show deriv is always negative                     [deriv is always positive]

Illustration for   --Since it's monotonic decreasing, 1st term is an upper bound, and since both num and denon are pos, 0 is a convenient choice for a lower bound (after you find the limit, you can conclude that 1 is the greatest lower bound, but any lower bound is enough for the thm.)

 

Ex:  Show that the sequence {xn / n!} converges to 0, regardless of the choice of x:

 

      Find an+1 / an  = (xn+1 / (n+1)!) / (xn / n!) = (x.xn / ((n+1).n!) / (xn / n!) = x / (n+1)

            One thing to notice here is how to factor factorials.

 

      First, it converges because it is bounded and eventually monotone:

            The fraction is positive, so it is bounded below by 0

            Since x is fixed, eventually n+1 > x, so the fraction < 1

            [Later, we'll call this the ratio test, and we will use it a lot]

 

      Second, it converges to 0, because with x fixed, the limit x / (n+1) is 0.

 

10.3  Infinite Series         

 

Series = sum of terms of a sequence, actually a series is a sequence of  partial sums, where a partial sum is a "running total," sum of terms of {an} from 1 to n, as n increases from 1 to infinity.

 

Series converges if the sequence of partial sums converges.

 

What is the sequence of partial sums for a repeating decimal representation of a fraction?

      Ex:  6/11 = 0.54545454...

= 0.54+.0054+.000054+.00000054...

= 0.54 (1+.01+.0001+.000001+...)

                        =a(1+r+r2+r3+...)  or a + ar + ar2 + ...  Example of a geometric series.

 

Geometric series

 

Intro: Induction proofs

      Step 1:  Prove for n=1 (or initial value);

Assume true for n=k [assuming that there is a highest index for which the proposition is valid];    Step 2:  Prove true for n=k+1 [so there is no such highest valid level]

Examples (relevant for calculus):

                  This was used in calculating Riemann sums

Prove formula for finite geometric series:           

      Applic: 1/2 +1/4 + 1/8 + …+1/64 = 1/2 * (1 - (1/2)^6) / (1-1/2) = 63/64

 

Infinite geometric series:  Take limit of finite geom. series:  Geom series converges to a / (1-r) if |r|<1.

Inf sum of 1/2 +1/4 + 1/8 + … is 1

Violate condition:  1+2+4+8+… = -1

 

Telescoping series

 

Ex: 

      Tasks:  Find nth partial sum

      Find the infinite sum

 

Harmonic series      Example of a divergent series

Increasing series, but not bounded

a1+a2>1/2

a3+...+a4>1/2

a5+...+a8>1/2

a9+...+a16.1/2  etc.

Pick a proposed upper bound M;  add enough sets of terms, and you will exceed M

 

10.4  Convergence Tests   

 

Divergence Test:           (Theorems  1 and 2)

      If the general term uk does not converge to 0, then the series diverges.

            Hence:  if series converges, the limit of the general term is 0   [contrapositive]

      If the general term uk does converge to 0, the series may converge or diverge

            (you cannot prove convergence by taking the limit of the general term)

 

Algebraic Properties of Convergent Series:

      Sums and differences of convergent series converge

      If you factor out a constant from all terms of a convergent series, the result still converges

      If you delete a finite number of terms at the beginning of a series, it does not affect the convergence or divergence

 

Integral Test:    

For positive-term series that are eventually decreasing:

Where f(x) is the function that results when k is replaced by x in the general term of the series:

      Either:

the series and the integral of the function both diverge, or

            they both converge

                  (Note:  if they both converge, they routinely converge to different values.)

 

p-series

      The series  (sum of 1/kp, k=1..¥) converges if p>1 and diverges if p£1

            Special cases:

            If p is neg, the fraction is gone

            If p is 0, you are adding an infinite number of 1's

            If p is 1, you get the harmonic series

 

Thm 6:  A series with nonnegative terms converges iff the sequence of partial sums is bounded above.

      (This condition is violated by the harmonic series - see the proof at the end of the previous lesson)

 

Estimates of Sums:

 

S = Sn + Rn

      Sn = a1 +...+ an;  Rn = an+1 + an+2+ ...

For decreasing-term positive-term series,

The first rectangle in Rn (i.e.an+1) is pictured twicein the figure below:
            the integral of the continuous function beginning at n is above the rectangle,
                  (hence, the integral from n is greater than Rn)
            and the integral beginning at n+1 is below the rectangle

                  (hence, the integral from n+1 is less than Rn)

 

Maple evaluation of series, with demonstration of the above discussion of estimates of sums:

 

 

 

10.5  Comparison, Ratio and Root Tests    

 

Comparison Tests

 

Basic Comparison Test:

 

Let an £ bn for every n³N

      If the bigger series converges, then the smaller series converges

      If the smaller series diverges, then the bigger series diverges

Ex:  Test Sum of 1 / (2n+n), Sum of 1 / (sqrt(n) - 1)

Problem:  The result is the same if the signs in the denominator are reversed, but this test doesn't show it.

 

Limit Comparison Test:

 

Calculate the limit of the ratio of the nth terms for two series, one with a known convergence result.

If the limit is finite and not 0, both series have the same convergence result.

The comparison test is often a p-series or a geometric series.

Ex:  The same series above, with the opposite signs in the denominator.

 

Ratio Test:

 

Calculate the limit of the ratio of a later term to an earlier term.

Convergence requires that later terms are significantly smaller than earlier terms,...

      so this ratio must be less than 1 for the series to converge.

      If the ratio is greater than 1, the series diverges

      If the ratio is equal to 1, the ratio test fails:  it does not tell us anything

            We must use a different test

           

This procedure works well for series that contain factorials

      Review factoring of factorials

 

Caution:  The ratio test will routinely fail with series that are comparable to p-series

 

This test will also work for series that contain negative terms:

      Convergence occurs when the absolute value of the ratio is less than 1, etc.

 

Root Test:

Take the limit of the nth root of the nth term

Same convergence criteria as for root test

Very specialized:  it would be used if the entire expression is raised to a power containing the index

 

10.6  Alternating Series; Conditional Convergence vs Absolute Convergence

 

Def of alt series

 

Thm 1:  Requirements for convergence:

      successive terms decrease in abs value

      kth term, in abs value, has limit of 0

Ex:  alt harm series

 

Est of sums:  max error:  abs(Rn) [ i.e. abs(s-sn)]   £  abs(an+1)   [an+1 is the first discarded term]

      Also, the sign of the error is the same as the sign of an+1

 

Two problems:

What is the max possible error?

How many terms are required to get a given level of accuracy?

 

Ex:  Find the max possible error (and the direction of the error) if we use 3 terms to estimate sin(p/6)

      Use the series (from the next lesson) sin x = x − x3/3! + x5/5!   x7/7! ...

 

Ex:  How many terms are needed to estimate sin(p/6) correct to 6 decimal places (i.e. error < 5 x 10-7)

      Use the same series as in the previous example.

 

Def of abs convergence

 

      Ex:     sum((-1)k/22k-1,k=0..infinity)   Geometric, with r = -1/4

 

Def of conditional convergence

 

      Ex:  sum((-1)k/sqrt(k)   Alternating p-series with p=1/2

 

Thm:  If a series converges absolutely, then it converges

 

Ratio Test for absolute convergence

 

      Ex:  For the sine function (given above, the general term is (−1)x2k+1/(2k+1)!, with k = 0..∞

 

 

10.7  Maclaurin and Taylor Polynomial Approximations    

 

Example:  Find the Maclaurin expansion of f(x)=cos(x)

 

We assume cos(x)=a0+a1x+a2x2+a3x3+a4x4+a5x5+... for some set of coefficients a0, a1, etc.

 

Substitute x=0:  cos(0)=a0

\a0=1, so cos(x)»1

 

Differentiate:     -sin(x)= a1+2a2x+3a3x2+4a4x3+5a5x4+6a6x5...

Substitute x=0:  -sin(0)= a1

\a1=0, so cos(x)»1

 

Differentiate:     -cos(x)= 2×1a2+3×2a3x+4×3a4x2+5×4a5x3+6×5a6x4+7×6a7x5...

Substitute x=0:  -cos(0)= 2!a2

\a2=-1/2!, so cos(x)»1-x2/2!

 

Differentiate:     sin(x)= 3×2a3+4×3×2a4x+5×4×3a5x2+6×5×4a6x3+7×6×5a7x4...

Substitute x=0:  sin(0)= 3!a3

\a3=0, so cos(x)»1-x2/2!

 

Differentiate:     cos(x)= 4×3×2a4+5×4×3×2a5x+6×5×4×3a6x2+7×6×5×4a7x3...

Substitute x=0:  cos(0)= 4!a4

\a4=1/4!, so cos(x)»1-x2/2!+x4/4!

 

Using the formula to find the coefficients:  , so

 

 

 

n

f(n)(x)

f(n)(0)

an

 

 

Original function

0

cos(x)

cos(0)=1

1/0!=1

 

f¢(x)

1

-sin(x)

-sin(0)=0

0/1!=0

 

f¢¢(x)

2

-cos(x)

-cos(0)= -1

-1/2!

 

f(3)(x)

3

sin(x)

sin(0)=0

0/3!=0

 

f(4)(x)

4

cos(x)

cos(0)=1

1/4!

 

   So cos(x) »1+0×x-x2/2!+0×x3+x4/4! ...

 

Upper bound on the error in using a partial sum to estimate the series

      1.   General formula for Taylor/Maclaurin polynomials:

            upper bound on error is |Rn| ≤ M / (n+1)! * |x-x0|n+1 where M = |max(f(n+1)(x)| on I

            In other words, the first discarded term, except for the modification of the numerator

      2.   Easier, if the series is alternating:  |Rn| ≤ |an+1|

 

10.8  Maclaurin and Taylor Series; Power Series        

 

Finding Maclaurin and Taylor Series

 

      By technique of 10.1

 

            Ex:  Like X16:  cos(x), x0 = π/6

 

      In 10.9:  Build-up from other series by addition, subt, diff, int, mult, div, subst

      See the list of series on page 705 (in 10.9)

 

Finding the radius and interval of convergence

 

      Ex:  X42:  sum((–1)k*(x–4)k/(k+1)2, from 0 to ∞

      Ex:  Like X33:  sum((-1)k-1(x-2)k/(3ksqrt(k))

 

Text mentions that some functions originate as power series, such as Bessel functions.

      How?  Bessel funcs solve DEs

 

J0 solves xy'' + y' + xy  = 0             J0 = sum((−1)kx2k / [22k(k!)2]) from k=0 to ∞

J1 solves x2y'' + xy' + (x2−1)y = 0         J1 = sum((−1)kx2k+1 / [k!(k+1)!22k+1] from k=0 to ∞

 

Technique:  method of Frobenius:  (Complicated: we'll save this for MATH-06)

       

                  Let y = a0 + a1x + a2x2 + a3x3 ...

                  Differentiate repeatedly to calculate the series for y' and y''

                  Multiply to get the series for the specific terms (e.g. 3xy, –x2y'', etc.)

                  Substitute into the DE

                  Use the method of undetermined coefficients:  equate the constants, the coefficients of x, etc.

 

 

10.9  Convergence of Taylor Series; Computational Methods    

 

Know the series on page 708  or be able to derive them quickly from one another.

 

Build-up from other series by addition, subt, diff, int, mult, div, subst

 

Use of the series for ln((1+x) / (1−x)) to find ln(z) when z is greater than 2.

 

Binomial Series

 

      (1+x)m =  

                        for |x| < 1 (and you may get convergence at an endpoint)

 

      So (1+x)4 =

                        Notice what happens to the xm+1 term (here, the x5 term) and all later terms: 

                        Therefore, we get convergence for all real numbers if m is a positive integer

 

10.10  Differentiating and Integrating; Modeling  

 

 

-- See Stewart's intro page 726, see discussion page 775 on apps   (planetary motion, temp distrib in a circular plate, shape of vibrating drumhead)

 

 

 

 

 

 

 

Return to:  Merced College; Don Power               Updated 11/09/07 by Don Power