Calculus II

Class Notes, 3/26/99


The sum in the figure below consist of the i = 0 to i = 10 terms of the geometric sequence defined by a r^n = 4(.91)^n, with a = 4 and r = .91.

cal75.jpg

To calculate the sum in the first line of the figure below, we note that every term is the product of 11 and a power of 1.1.

cal76.jpg

Video File #1

At first the expression the first line below doesn't look exactly like a geometric series because many powers are missing.

cal77.jpg

The sum of a geometric series converges if | r | < 1 and diverges if | r | > = 1.

cal78.jpg

Video File #2

Our definition of convergence is just that used implicitly above. A sequence converges provided the large-n limit of its partial sums exists.

cal80.jpg

From the geometric series we see that, at least for this series, convergence is associated with individual terms a r^n that approach 0.

cal82.jpg

Video File #3

We recapitulate the argument shows that the sum of the harmonic series, for which an = 1/n, diverges.

cal83.jpg 

If however we position the rectangles as indicated in the figure below, we see that the area in the rectangles, which corresponds to the sum of the harmonic series, is greater than the area under the curve.

cal85.jpg

Video File #4

We conclude that, though the terms 1/n of the harmonic series certainly approach 0 as n approaches infinity, they don't approach 0 fast enough to prevent the series from diverging.

cal86.jpg

Video File #5

We see that though the limits of 1/n and 1/n^2 are both 0 for increasing n, one sequence converges while the other diverges.

cal87.jpg cal88.jpg

`The figure below summarizes a fundamental theorem about the convergence of series in terms of the limits of the ratios a(n+1) / an.

cal89.jpg

Again we reemphasize the fact that for a geometric series the limit of the ratio is r, and that the sequence converges when an only when r < 1.

cal90.jpg

Video File #6

For a Taylor polynomial of degree 1 (i.e., a tangent-line approximation) about a = 0, we define the error to be the difference f(x) - P1(x) between the function f(x) and the Taylor polynomial P1(x).

cal91.jpg

As we will show next time, if the second derivative f''(x) for x within some distance d of the origin lies between the lower limit L and and upper limit M, then the error will lie between L/2 x^2 and M/2 x^2.

cal92.jpg

If we let E1(x) stand for the error of the first-degree polynomial at x, E2(x) for the error of the second-degree polynomial at x, and in general En(x) for the error of the nth-degree polynomial at x, we have the sequence of error limits depicted below.

  • Note that the denominators in the left- and right-hand terms of the error limits for an nth-degree approximation are always equal to (n+1)!, while the power of x is n+1.

cal93.jpg

Video File #7

If the Taylor polynomial is expanded about x = a, then the maximum errors are given by the expressions below, which follow from the previous expressions by replacing x by (x - a).

cal94.jpg 

The figure below depicts a function f(x) and a possible Taylor polynomial Pn(x), expanded about x = a.

  • At x = a, the function and its polynomial approximation both pass-through the point (a, f(a)).
  • The interval | x - a | < d consists of all x values which lie within distance d of x = a; this interval is indicated in the figure.

cal96.jpg

The Error Theorem states that if the n+1 derivative of f has an absolute value bounded by M for all x in the interval, then for any xi interval the error bounded is valid.

cal97.jpg 

As an example we find and error bound for the degree-5 approximation to the cosine function, expanded about x = 0, for values of x that lie between -.5 and .5.

  • We must first find an upper bound for the n+1 derivative of our function.
  • Since n = 5, we must find the 6th derivative of the cosine function.
  • We easily see that the 6th derivative of cos(x) is -cos(x).
  • We therefore must find an M such that | cos(x) | < M for -.5 < x < .5.
  • Since | cos(x) | < 1 for all values of x, we would be safe letting M = 1.
  • Since 0 lies between -.5 and .5, and since cos(0) = 1, we cannot let M be < 1, so we let M = 1 and understand that this is the best possible upper limit we can place on the 6th derivative.
  • Note that it is not necessary to always use the best possible upper limit; in many cases any reasonable limit will allow less to make reasonable estimates of our possible errors.

cal99.jpg

We now write down the error bound for the error E6(x), using the formula for En(x).

  • We obtain the result in the second line.
  • Noting that 7! = 5040 and that for | x - 0 | < .5, | x - 0 | ^ 7 < .01, we see that E6(x) must be less that .000002 for | x | < .5.

cal01.jpg

Video File #8