Beruflich Dokumente
Kultur Dokumente
11.10
Taylor and Maclaurin Series
f ( x) c0 c1 ( x a ) c2 ( x a ) 2
c3 ( x a )3 c4 ( x a ) 4 ... | x a | R
TAYLOR & MACLAURIN SERIES
Lets try to determine what the
coefficients cn must be in terms of f.
4c4 ( x a ) ...
3
| x a | R
TAYLOR & MACLAURIN SERIES
Substitution of x = a in Equation 2
gives:
f(a) = c1
TAYLOR & MACLAURIN SERIES Equation 3
Now, we differentiate both sides of Equation 2
and obtain:
f(a) = 2c2
TAYLOR & MACLAURIN SERIES
f '''( x) 2 3c3 2
3 4c4 ( x a)
3 4
5c5 ( x a) ... | x a | R
2
TAYLOR & MACLAURIN SERIES
Then, substitution of x = a in Equation 4
gives:
f ( n ) (a ) 2 3 4
ncn n !c
n
TAYLOR & MACLAURIN SERIES
Solving the equation for the nth
coefficient cn, we get:
(n)
f (a)
cn
n!
TAYLOR & MACLAURIN SERIES
The formula remains valid even for n = 0
if we adopt the conventions that 0! = 1
and f (0) = (f).
(n)
f (a)
cn
n!
TAYLOR & MACLAURIN SERIES Equation 6
Substituting this formula for cn back into
the series, we see that if f has a power series
expansion at a, then it must be of the following
form.
TAYLOR & MACLAURIN SERIES Equation 6
f ( n ) (a)
f ( x) ( x a) n
n0 n!
f '(a ) f ''(a )
f (a) ( x a) ( x a)2
1! 2!
f '''(a )
( x a )
3
3!
TAYLOR SERIES
The series in Equation 6 is called
the Taylor series of the function f at a
(or about a or centered at a).
TAYLOR SERIES Equation 7
For the special case a = 0, the Taylor series
becomes:
(n)
f (0) n
f ( x) x
n 0 n!
f '(0) f ''(0) 2
f (0) x x
1! 2!
MACLAURIN SERIES Equation 7
This case arises frequently
enough that it is given the special
name Maclaurin series.
TAYLOR & MACLAURIN SERIES
The Taylor series is named after the English
mathematician Brook Taylor (16851731).
f ( n ) (0) n x n x x 2 x3
n 0 n!
x 1
n 0 n ! 1! 2! 3!
TAYLOR & MACLAURIN SERIES
To find the radius of convergence,
we let an = xn/n!
n 1
Then, a x n! | x|
n 1
n 0 1
an (n 1)! x n 1
n 0 n !
TAYLOR & MACLAURIN SERIES
So, how can we determine
whether ex does have a power
series representation?
TAYLOR & MACLAURIN SERIES
Lets investigate the more general
question:
(n)
f (a )
f ( x) ( x a) n
n 0 n!
TAYLOR & MACLAURIN SERIES
As with any convergent series,
this means that f(x) is the limit of
the sequence of partial sums.
TAYLOR & MACLAURIN SERIES
In the case of the Taylor series, the partial
sums are:
n (i )
f (a)
Tn ( x) ( x a) i
i 0 i!
f '(a ) f ''(a)
f (a ) ( x a) ( x a) 2
1! 2!
(n)
f (a)
( x a) n
n!
nTH-DEGREE TAYLOR POLYNOMIAL OF f AT a
Notice that Tn is a polynomial
of degree n called the nth-degree Taylor
polynomial of f at a.
TAYLOR & MACLAURIN SERIES
For instance, for the exponential function
f(x) = ex, the result of Example 1 shows that
the Taylor polynomials at 0 (or Maclaurin
polynomials) with n = 1, 2, and 3 are:
2
x
T1 ( x) 1 x T2 ( x) 1 x
2!
2 3
x x
T3 ( x) 1 x
2! 3!
TAYLOR & MACLAURIN SERIES
The graphs of the exponential function
and those three Taylor polynomials are
drawn here.
TAYLOR & MACLAURIN SERIES
In general, f(x) is the sum of its Taylor
series if:
f ( x) lim Tn ( x)
n
REMAINDER OF TAYLOR SERIES
If we let Rn(x) = f(x) Tn(x)
so that f(x) = Tn(x) + Rn(x)
f ( x) lim Rn ( x)
n
f ( x)
Therefore, we have proved the following.
TAYLOR & MACLAURIN SERIES Theorem 8
If f(x) = Tn(x) + Rn(x), where Tn is
the nth-degree Taylor polynomial of f at a
and
lim Rn ( x) 0
n
M n 1
| Rn ( x) | | xa| for | x a | d
(n 1)!
TAYLORS INEQUALITY
To see why this is true for n = 1, we
assume that |f(x)| M.
x x
a
f ''(t ) dt M dt
a
TAYLORS INEQUALITY
An antiderivative of f is f.
( x a) 2
f ( x) f (a) f '(a)( x a ) M
2
M
f ( x) f (a) f '(a)( x a ) ( x a) 2
2
TAYLORS INEQUALITY
However,
So,
M
R1 ( x) ( x a) 2
2
TAYLORS INEQUALITY
So, M
| R1 ( x) | | x a |2
2
TAYLORS INEQUALITY
d n 1
e n 1 |x|
lim | x | e lim
d
0
n ( n 1)! n ( n 1)!
n
x
e
x
for all x
n 0 n !
TAYLOR & MACLAURIN SERIES Equation 12
In particular, if we put x = 1 in Equation 11,
we obtain the following expression for
the number e as a sum of an infinite series:
1 1 1 1
e 1
n 0 n ! 1! 2! 3!
TAYLOR & MACLAURIN SERIES Example 3
Find the Taylor series for f(x) = ex
at a = 2.
(n) 2
f (2) e
n 0 n!
( x 2) ( x 2)
2
n 0 n !
2
TAYLOR & MACLAURIN SERIES E. g. 3Equation 13
Again it can be verified, as in Example 1,
that the radius of convergence is R = .
2
e
e ( x 2)
x n
for all x
n 0 n !
TAYLOR & MACLAURIN SERIES
We have two power series expansions for ex,
the Maclaurin series in Equation 11 and the
Taylor series in Equation 13.
f ( x) sin x f (0) 0
f '( x) cos x f '(0) 1
f ''( x) sin x f ''(0) 0
f '''( x) cos x f '''(0) 1
f (4)
( x) sin x f (4)
(0) 0
TAYLOR & MACLAURIN SERIES Example 4
As the derivatives repeat in a cycle of four,
we can write the Maclaurin series as follows:
n 0 (2n 1)!
TAYLOR & MACLAURIN SERIES Example 4
Since f (n+1)(x) is sin x or cos x,
we know that |f (n+1)(x)| 1 for all x.
TAYLOR & MACLAURIN SERIES E. g. 4Equation 14
So, we can take M = 1 in Taylors
Inequality:
n 1
M n 1 |x|
| Rn ( x) | | x |
(n 1)! (n 1)!
TAYLOR & MACLAURIN SERIES Example 4
By Equation 10, the right side of that
inequality approaches 0 as n .
So, |Rn(x)| 0 by the Squeeze Theorem.
3 5 7
x x x
sin x x
3! 5! 7!
2 n 1
x
(1) n
for all x
n 0 (2n 1)!
TAYLOR & MACLAURIN SERIES
The figure shows the graph of sin x
together with its Taylor (or Maclaurin)
polynomials
T1 ( x) x
3
x
T3 ( x) x
3!
3 5
x x
T5 x
3! 5!
TAYLOR & MACLAURIN SERIES
Notice that, as n increases, Tn(x) becomes
a better approximation to sin x.
TAYLOR & MACLAURIN SERIES Example 5
Find the Maclaurin series for cos x.
2n 2 n 1
x x
x cos x x (1) n
( 1)
n 0 (2n)! n 0 (2n)!
TAYLOR & MACLAURIN SERIES Example 7
Represent f(x) = sin x as
the sum of its Taylor series
centered at /3.
TAYLOR & MACLAURIN SERIES Example 7
Arranging our work in columns, we have:
3
f ( x) sin x f
3 2
1
f '( x) cos x f '
3 2
3
f ''( x) sin x f ''
3 2
1
f '''( x) cos x f '''
3 2
TAYLOR & MACLAURIN SERIES Example 7
f ' f '' 2
3 3
f x x
3 1! 3 2! 3
f ''' 3
3
x
3! 3
2 3
3 1 3 1
x x x
2 2 1! 3 2 2!
3 2 3! 3
TAYLOR & MACLAURIN SERIES Example 7
The proof that this series represents
sin x for all x is very similar to that in
Example 4.
2n
(1) 3
n
sin x x
n 0 2(2 n)! 3
2 n 1
(1)
n
x
n 0 2(2n 1)! 3
TAYLOR & MACLAURIN SERIES
We have obtained two different series
representations for sin x, the Maclaurin
series in Example 4 and the Taylor series
in Example 7.
f ( x) (1 x) k f (0) 1
f '( x) k (1 x) k 1 f '(0) k
f ''( x) k (k 1)(1 x) k 2 f ''(0) k (k 1)
f '''( x) k (k 1)(k 2)(1 x) k 3 f '''(0) k (k 1)(k 2)
f ( n ) k (k 1)
(k n 1)(1
x) k n f ( n ) (0) k(k 1)
(k n 1)
BINOMIAL SERIES Example 8
Thus, the Maclaurin series of f(x) = (1 + x)k
is:
f (0) n k (k 1)
(n)
( k n 1) n
n 0 n!
x
n 0 n!
x
k (k 1)
(k n 1)( k n) x n 1 n!
(n 1)! k (k 1)
(k n 1)x n
k
1
|k n| n
| x | | x || x | as n
n 1 1
1
n
TAYLOR & MACLAURIN SERIES Example 8
Therefore, by the Ratio Test,
the binomial series converges if |x| < 1
and diverges if |x| > 1.
BINOMIAL COEFFICIENTS.
The traditional notation for the coefficients
in the binomial series is:
k k (k 1)(k 2)
(k n 1)
n n!
n 0 n
k (k 1) 2
1 kx x
2!
k (k 1)(k 2) 3
x
3!
TAYLOR & MACLAURIN SERIES
Though the binomial series always converges
when |x| < 1, the question of whether or not
it converges at the endpoints, 1, depends on
the value of k.
So,
k
n 0 for n > k.
1 1
4 x x
4 1
4
1/ 2
11 x
1
x 2 4
2 1
4
TAYLOR & MACLAURIN SERIES Example 9
Using the binomial series with k =
and with x replaced by x/4, we have:
1
4 x
1/ 2
1 x
1
2 4
n
1 x
1
2
2 n 0 n 4
TAYLOR & MACLAURIN SERIES Example 9
1
1 x x 1 3 2
1
2 2
2 2 4 2! 4
1 3 5
x
3
2 2 2
3! 4
n 1
1 3 5 1 n
x
2 2 2 2
n! 4
TAYLOR & MACLAURIN SERIES Example 9
1 1 1 3 2 1 3 5 3
1 x 2
x 3
x
2 8 2!8 3!8
1 3
5 (2n 1)
n
x n
n !8
We know from Theorem 17 that this series
converges when |x/4| < 1, that is, |x| < 4.
So, the radius of convergence is R = 4.
TAYLOR & MACLAURIN SERIES
For future reference, we collect some
important Maclaurin series that we have
derived in this section and Section 11.9,
in the following table.
IMPORTANT MACLAURIN SERIES Table 1
1
x 1 x x x
n 2 3
R 1
1 x n 0
n 2 3
x x x x
e 1
x
R
n 0 n ! 1! 2! 3!
IMPORTANT MACLAURIN SERIES Table 1
2 n 1 3 5 7
x x x x
sin x ( 1) n x R
n0 (2n 1)! 3! 5! 7!
2n 2 4 6
x x x x
cos x (1) n 1 R
n 0 (2n)! 2! 4! 6!
2 n 1 3 5 7
x x x x
tan 1 x (1) n x R 1
n 0 2n 1 3 5 7
IMPORTANT MACLAURIN SERIES Table 1
k n k (k 1) 2
(1 x) x 1 kx
k
x
n 0 n 2!
k (k 1)(k 2) 3
x R 1
3!
USES OF TAYLOR SERIES
One reason Taylor series are important is
that they enable us to integrate functions
that we couldnt previously handle.
USES OF TAYLOR SERIES
In fact, in the introduction to this chapter,
we mentioned that Newton often integrated
functions by first expressing them as power
series and then integrating the series term
by term.
USES OF TAYLOR SERIES
The function f(x) = ex2 cant be integrated
by techniques discussed so far.
1
x2
b. Evaluate e dx correct to within
0
an error of 0.001
USES OF TAYLOR SERIES Example 10 a
First, we find the Maclaurin series
for f(x) = e-x2
( x )
2 n
2
x
e
n 0 n!
2n
x
(1) n
n 0 n!
2 4 6
x x x
1 ...
1! 2! 3!
USES OF TAYLOR SERIES Example 10 a
Now, we integrate term by term:
x 2
x4
x 6
n x
2n
e dx 1 ( 1)
2
x
dx
1! 2! 3! n!
x3 x5 x7
Cx
3 1! 5 2! 7 3!
2 n 1
x
( 1)n
(2n 1)n !
This series converges for all x because
the original series for e-x2 converges for all x.
USES OF TAYLOR SERIES Example 10 b
The FTC gives:
1
1 x 3 5
x x7
x 9
x2
x dx x
0
3 1! 5 2! 7 3! 9 4! 0
1 13 101 421 216
1
1 13 101 421 216
1
0.7475
USES OF TAYLOR SERIES Example 10 b
The Alternating Series Estimation
Theorem shows that the error involved
in this approximation is less than
1 1
0.001
11 5! 1320
USES OF TAYLOR SERIES
Another use of Taylor series is illustrated
in the next example.
Evaluate e 1 x
x
lim 2
x 0 x
a. ex sin x
b. tan x
MULTIPLICATION AND DIVISION Example 12 a
Using the Maclaurin series for ex and sin x
in Table 1, we have:
x x 2
x 3
x3
e sin x 1
x
x
1! 2! 3! 3!
MULTIPLICATION AND DIVISION Example 12 a
We multiply these expressions, collecting
like terms just as for polynomials:
1 x x x
1
2
2 1
6
3
x x
1
6
3
x x 2 x 6 x
2 1 1 43
x x
1
6
3 1
6
4
x x x
2 1
3
3
MULTIPLICATION AND DIVISION Example 12 a
Thus,
e sin x x x x
x 2 1
3
3
MULTIPLICATION AND DIVISION Example 12 b
Using the Maclaurin series in Table 1,
we have:
3 5
x x
x
sin x 3! 5!
tan x 2 4
cos x x x
1
2! 4!
MULTIPLICATION AND DIVISION Example 12 b
We use a procedure like long division:
x x
1
3
3 2
15 x
5
1 x
1
2
2 1
24 x x
4
x
1
6
3
x
1
120
5
x x
1
2
3 1
24 x
5
x
31
3
1
30 x
5
1
3 x 3 1
6 x
5
1
6 x
5
MULTIPLICATION AND DIVISION Example 12 b
Thus,
tan x x x 1
3
3 2
15 x
5
MULTIPLICATION AND DIVISION
Although we have not attempted to
justify the formal manipulations used in
Example 12, they are legitimate.
MULTIPLICATION AND DIVISION
There is a theorem that states
the following: