Morphing Geometric Series Into Power Series Suppose we take the - - PDF document

morphing geometric series into power series
SMART_READER_LITE
LIVE PREVIEW

Morphing Geometric Series Into Power Series Suppose we take the - - PDF document

Morphing Geometric Series Into Power Series Suppose we take the geometric series 1 + r + r 2 + r 3 + . . . , which we 1 know converges to 1 r for | r | < 1, and replace r by x : 1 1 + x + x 2 + x 3 + . . . converges to 1 x for | x |


slide-1
SLIDE 1

Morphing Geometric Series Into Power Series

Suppose we take the geometric series 1 + r + r2 + r3 + . . . , which we know converges to 1 1 − r for |r| < 1, and replace r by x: 1 + x + x2 + x3 + . . . converges to 1 1 − x for |x| < 1. We haven’t really changed anything, but 1 + x + x2 + x3 + . . . looks a little like a polynomial. It’s an example of a power series.

Power Series

Definition 1 (Power Series). An expression

  • n=0

an(x − c)n is called a power series centered at c. Note: When we write

  • n=0

an(x−c)n, we really mean a0+

  • n=1

an(x−c)n, since a0(x − c)0 isn’t defined when x = c, but it’s more convenient to just write the sum starting from n = 0.

Power Series

We will mostly consider power series centered at 0, written in the form

slide-2
SLIDE 2

2

So assume the series converges for x = x0. It follows that anxn

0 → 0

as n → ∞, since otherwise the series could not converge. It follows that there is some bound B such that |anxn

0| < B for all n.

Proof (Continued)

Now let |x| < |x0| and examine the magnitude of anxn. |anxn| = |anxn

0| ·

  • x

x0

  • n

≤ B

  • x

x0

  • n

. Since

  • n=0

B

  • x

x0

  • n

is a geometric series with common ratio

  • x

x0

  • < 1,

it must converge. By the Comparison Test,

  • n=0

|anxn| < ∞, and thus

  • n=0

anxn is absolutely convergent.

Finding the Radius of Convergence

For most power series, the easiest way to determine the radius of convergence is to use the ratio test. Given a series

  • n=0

anxn, we calculate

  • an+1xn+1

anxn

  • =
  • an+1

an x

  • .

We find the limit as n → ∞ and find the values of x for which the limit is less than or equal to 1. One complication that can occur is that some coefficients an equal 0. In this case, we look at the ratios of the adjacent terms that actually appear.

Algebra and Calculus of Power Series

Within their intervals of convergence, although possibly not at the endpoints, power series may be added, subtracted, multiplied, differ- entiated and integrated in the natural way. Specifically: Let A(x) =

  • n=0

anxn and B(x) =

  • n=0

bnxn in some open interval, in the sense that the power series converge to A(x) and B(x) in the

  • interval. Then:

Algebra and Calculus of Power Series

  • A(x) + B(x) =

  • n=0

(an + bn)xn

  • A(x) − B(x) =

  • n=0

(an − bn)xn

slide-3
SLIDE 3

3

  • A(x)B(x) =

  • n=0

(n

i=0 aibn− i)xn

  • A′ (x) =

  • n=1

nanxn− 1

  • A(x) dx =

  • n=0

anxn+1 n + 1 + k

Example: ln(1 + x)

Each of the following calculations can be done, based on the prop- erties of power series, whenever |x| < 1: Start with 1 + x + x2 + x3 + · · · = 1 1 − x. Replace x by −x to get 1 − x + x2 − x3 + · · · = 1 1 + x. Integrate to get (x − x2 2 + x3 3 − x4 4 + . . . ) + k = ln(1 + x). Plugging in x = 0, we find k = 0 to obtain ln(1+x) = x− x2 2 + x3 3 − x4 4 + . . . . The power series also converges (by the Alternating Series Test) for x = 1, giving ln 2 as the sum of the Alternating Harmonic Series: ln 2 = 1 − 1 2 + 1 3 − 1 4 + 1 5 − 1 6 + . . . .

arctan

We can also obtain a power series converging to the arctangent func- tion by starting with the power series 1 − x + x2 − x3 + · · · = 1 1 + x. All the following calculations again hold for |x| < 1. Replacing x by x2 gives 1 − x2 + x4 − x6 + x8 − x10 + · · · = 1 1 + x2. Integrating: (x − x3 3 + x5 5 − x7 7 + . . . ) + k = arctan x. Plugging in x = 0 yields k = 0, so arctan x = x − x3 3 + x5 5 − x7 7 + . . . for |x| < 1.

Calculation of π

arctan x = x − x3 3 + x5 5 − x7 7 + . . . for |x| < 1. Here, too, the series actually converges for x = 1 and converges to arctan 1. Since arctan 1 = π 4 , we get the interesting series expansion:

slide-4
SLIDE 4

4

π 4 = 1 − 1 3 + 1 5 − 1 7 + 1 9 − 1 11 + . . . .

Obtaining a Series Which Converges to a Given Function

Suppose we have a function f(x) and want to find a power series ∞

n=0 an(x−c)n which converges to f(x

slide-5
SLIDE 5

5

Most of the time, we will center Taylor Series at 0, in which case the formula simplifies to T(x) =

  • n=0

f (n)(0) n!

  • xn. These series are also known

as Maclaurin Series.

Taylor Series

We have shown that if a power series converges to a function, it must be the Taylor Series. On the other hand, the Taylor Series for a function does not always have to converge to that function although it

  • ften will . . . otherwise we wouldn’t bother with them.

The series previously shown to converge to 1 1 − x, ln(1 + x) and arctan x for |x| < 1 therefore must be the Taylor Series, centered at 0, for those functions.

Taylor Series for the Exponential Function

Let f(x) = exp(x) = ex. Since all the derivatives of the exponential function are the same, we have f (n)(x) = ex for all n and thus f (n)(0) = e0 = 1 for all n. The Taylor Series is thus T(x) =

  • n=0

f (n)(0) n! xn =

  • n=0

1 n!xn =

  • n=0

xn n! . We will show this converges for all x and it converges to ex for all x, so we may write ex = 1 + x + x2 2! + x3 3! + x4 4! + x5 5! + . . . .

Radius of Convergence

To show where the Taylor Series for ex converges, we use the Ratio Test.

  • (n + 1)st term

nth term

  • =
  • xn+1/(n + 1)!

xn/n!

  • =
  • xn+1

(n + 1)! · n! xn

  • =
  • x

n + 1

  • → 0

as n → ∞. By the Ratio Test, it follows that the series converges for all x.

Another Derivation of the Taylor Series

There’s a second way of coming up with the formula for a Taylor Series which naturally leads to an estimate for the error if one estimates the value of the function by a partial sum of the Taylor Series. Definition 3 (Taylor Polynomial). The nth partial sum of a Taylor Series T(x) is denoted by Tn(x) and is called a Taylor Polynomial.

slide-6
SLIDE 6

6

Consider x

0 f ′ (t) dt. Using the Fundamental Theorem of Calculus,

x

0 f ′ (t) dt = f(t)

  • x

= f(x) − f(0). It follows we can write f(x) = f(0) + x

0 f ′ (t) dt.

If we repeatedly integrate by parts, we can obtain the terms of the Taylor Series.

Integrating By Parts

f(x) = f(0) + x

0 f ′ (t) dt

We’ll use the version

  • uv′ dt = uv −
  • u′ v dt, taking

u = f ′ (t), v′ = 1, so u′ = f ′ ′ (t), v = t − x. Note the trick here: We could take v = t, but it turns out that doesn’t work well, while taking v = t − x works very nicely, and we obtain: x f ′ (t) dt = f ′ (t)(t − x)

  • x

− x f ′ ′ (t)(t − x) dt = f ′ (0)x − x f ′ ′ (t)(t − x) dt, so f(x) = f(0) + f ′ (0)x − x

0 f ′ ′ (t)(t − x) dt.

Continuing

In order to have a sum rather than a difference, we’ll rewrite that as f(x) = f(0) + f ′ (0)x + x

0 f ′ ′ (t)(x − t) dt.

Now integrate by parts again, taking u = f ′ ′ (t), v′ = x − t, so u′ = f ′ ′ ′ (t), v = −(x − t)2 2 , and x f ′ ′ (t)(x − t) dt = f ′ ′ (t)

  • −(x − t)2

2

  • x

− x f ′ ′ ′ (t)

  • −(x − t)2

2

  • dt

= f ′ ′ (0)x2 2 + 1 2 x f ′ ′ ′ (t)(x − t)2 dt .

Continuing

We thus have f(x) = f(0) + f ′ (0)x + f ′ ′ (0)x2 2 + 1 2 x

0 f ′ ′ ′ (t)(x − t)2 dt.

If we carry out another step, we obtain:

slide-7
SLIDE 7

7

f(x) = f(0)+f ′ (0)x+ f ′ ′ (0)x2 2 + f ′ ′ ′ (0)x3 3 · 2 + 1 3 · 2 x

0 f (4)(t)(x−t)3 dt.

We can continue indefinitely, obtaining the following following result.

Taylor’s Theorem

Theorem 2 (Taylor’s Theorem). If f(x) has sufficient derivatives in an interval to evaluate all the terms needed, then f(x) = Tn(x)+Rn(x), where Tn(x) is the nth degree Taylor Polynomial for f(x) centered at x = c and Rn(x) = 1 n! x

c f (n+1)(t)(x − t)n dt.

Rn(x) is called the remainder term and can be thought of as the error involved if one uses Tn(x), the nth degree Taylor Polynomial, to estimate f(x). It gives us a way of determining whether the Taylor Series for a function converges to that function, since

Convergence

Corollary 3. The Taylor Series converges to f(x) if and only if limn→∞ Rn(x) = 0. Suppose we can find a bound B on |f (n+1)(t)| on the interval [c, x]. We are tacitly assuming c < x, but the result we get will still hold if x < c. It follows that

  • x

c f (n+1)(t)(x − t)n dt

  • ≤ B

x

c (x − t)n dt = B

  • −(x − t)n+1

n + 1 x

c

= B (x − c)n+1 n + 1 . It follows that |Rn(x)| ≤ 1 n! · B (x − c)n+1 n + 1 = B(x − c)n+1 (n + 1)! .

The Remainder Term

We have shown: Theorem 4. If |f (n+1)| is bounded by B on an interval containing c and x, then |Rn(x)| ≤ B|x − c|n+1 (n + 1)! . Corollary 5. If there is a uniform bound on all the derivatives of a function on an interval, then the Taylor Series for that function must converge to that function at all points on that interval. One immediate consequence is that the Taylor Series for ex, sin x and cos x all converge to those functions everywhere!