Professional Documents
Culture Documents
Recall the geometric series gave our first example of finding a power series
representation of a function
1
1 + x + x2 + x3 + · · · = for |x| < 1
1−x
By modifying this series, we found power series expansions for other functons,
for example,
1
1 + x2 + x4 + x6 + · · · = for |x| < 1
1 − x2
In this section, we present a much more general approach to finding power series
expansions.
Let’s begin by assuming we have such an expansion of a function f possessing
derivatives of all orders. Can we find a formula for the coefficients of the power
series in terms of f ? The function does determine the power series, so we expect
the answer should be “yes.” Let’s see how.
Suppose f has this expansion about x = b
First, notice that evaluating this series at x = b, every term after the first drops
out, leavng
f (b) = a0
We’ll explore this idea more fully in the next section, but for now we note that
differentiating Eq. (1) gives
Evaluating this series at x = b, every term after the first drops out, leavng
f ′ (b) = a1
and then
f ′′ (b) = 2a2
1
Continuing in this way, we find
X∞
f (n) (b)
f (x) = (x − b)n
n=0
n!
M
|Rn (x)| ≤ |x − b|n+1 (2)
(n + 1)!
for all |x − b| ≤ C.
We illustrate this by finding the Taylor series about x = 0 for f (x) = sin(x)
and establishing that the interval of convergence is (−∞, ∞).
2
Example 1 Find the taylor series of f (x) = sin x expanded about x = 0. Show
the interval of convergence is (−∞, ∞).
First, compute the derivatives and look for a pattern.
So we see
x3 x5 x7 x9
sin(x) = x − + − + − ···+ (3)
3! 5! 7! 9!
Taking x to be the n = 1 term, the nth term is (−1)n−1 x2n−1 /(2n − 1)!.
Fig. 1 shows the graph of f (x) = sin(x), together with the Taylor polyno-
mials of orders 1, 3, 5, 7, 9, and 11. Note that higher-order Taylor polynomials
match f (x) over a larger interval.
To find the interval of convergence, observe that for all n, and for all x,
|f n+1 (x)| ≤ 1
|x|n+1
|Rn (x)| ≤
(n + 1)!
3
Now apply the Ratio Test
x2 x4 x6 x8
cos(x) = 1 − + − + − ···
2! 4! 6! 8!
Taking 1 to be the n = 0 term, the nth term (−1)n x2n /(2n)!.
Example 3 The Taylor series for f (x) = ex expanded about x = 0 is
x2 x4 x5 x6
ex = 1 + x + + + + + ···
2! 4! 5! 6!
Taking 1 to be the n = 0 term, the nth term xn /n!.
Example 4 To find the Taylor series of f (x) = (1−x)−1 expanded about x = 0,
first compute some derivatives and look for a pattern.
f ′ (x) = (1 − x)−2
f ′′ (x) = 2(1 − x)−3
f ′′′ (x) = 3 · 2(1 − x)−4
f (4) (x) = 4!(1 − x)−5
In general we have f (n) (x) = n!(1 − x)−(n+1) and so the Taylor series expanded
about x = 0 is
X∞
f (n) (0) n X n!(1)−(n+1) n X n
∞ ∞
x = x = x
n=0
n! n=0
n! n=0
4
the interval of convergence has center the point x = b about which the series
is expanded, and because the interval of convergence cannot include the point
x = 0, the Taylor series about x = b cannot represent the function for x > 2b.
The larger the value of b, the larger the interval over which the Taylor series
can converge to the function. For this example, we’ll take b = 1. Differentiating
f and evaluating at x = 1 we find these values