Professional Documents
Culture Documents
1 Power Series
∞
In an infinite series: a1 + a2 + a3 + ⋅⋅⋅ + an + ⋅⋅⋅ = ∑ ak
Chapter 8 a1, a2,… are terms of the series. an is the nth term.
k =1
n
Partial sums: S1 = a1 Sn = ∑ ak
Series S 2 = a1 + a2 k =1
8 1
1 1 1 1 1 1 In a geometric series, each term is found by multiplying
+ + + + + + ⋅⋅⋅ = 1 1 16
2 4 8 16 32 64 1 the preceding term by the same number, r.
2 ∞
This is an example of an
1 2 3
a + ar + ar + ar + ⋅⋅⋅ + ar n −1
+ ⋅⋅⋅ = ∑ ar n −1
infinite series. 4 n =1
a
This series converges 1 This converges to if r < 1, and diverges if r ≥ 1.
(approaches a limiting value.) 1− r
1 1 1 1 1
Many series do not converge: + + + + + ⋅⋅⋅ = ∞ −1 < r < 1 is the interval of convergence.
1 2 3 4 5 2 4
8.1 Power Series 8.1 Power Series
A power series is in this form:
3 3 3 3 ∞
+ + + + ⋅⋅⋅
10 100 1000 10000 ∑c x
n=0
n
n
= c0 + c1 x + c2 x 2 + c3 x 3 + ⋅⋅⋅ + cn x n + ⋅⋅⋅ or
∞
14 16
8.2 Taylor Series 8.2 Taylor Series
f ( x ) = ln ( x + 1) P ( x ) = a0 + a1 x + a2 x 2 + a3 x3 + a4 x 4 1 2 6
P ( x ) = 0 + 1x − x 2 + x 3 − x 4 f ( x ) = ln ( x + 1)
f ( 0 ) = ln (1) = 0 P ( 0 ) = a0 a0 = 0 2 6 24
x 2 x3 x 4
P ( x) = 0 + x − + −
f ′( x) =
1 P′ ( x ) = a1 + 2a2 x + 3a3 x 2 + 4a4 x3 5 2 3 4
1+ x 4 If we plot both functions, 1
f ′′ ( x ) = −
1 P′′ ( x ) = 2a2 + 6a3 x + 12a4 x 2 -5 -4 -3 -2 -1 0
-1
1 2 3 4 5
-1 -0.5 0 0.5 1
2
(1 + x ) 1
-2
P′′ ( 0 ) = 2a2 a2 = − -3
1 -0.5
f ′′ ( 0 ) = − = −1 2 -4
1 -5 P ( x)
17 19
-1
2 + x+ x + x + x
f ′′′ ( 0 ) = 2 P′′′ ( 0 ) = 6a3 a3 = 0! 1! 2! 3! 4!
6
1
P(
4)
f ( 4) ( x ) = −6 4 ( x ) = 24a4 This pattern occurs no matter what the original function was!
(1 + x ) 6
f ( 4)
( 0 ) = −6 P ( 4) ( 0 ) = 24a4 a4 = −
24 18 20
8.2 Taylor Series 8.2 Taylor Series
f ( x ) = cos x f ( 0) = 1 f ′′′ ( x ) = sin x f ′′′ ( 0 ) = 0
f(
4)
f(
Maclaurin Series: 4)
f ′ ( x ) = − sin x f ′ (0) = 0 ( x ) = cos x ( 0) = 1
(generated by f at x = 0 )
f ′′ ( x ) = − cos x f ′′ ( 0 ) = −1
f ′′ ( 0 ) 2 f ′′′ ( 0 ) 3
P ( x ) = f ( 0) + f ′ ( 0) x + x + x + ⋅⋅⋅
2! 3!
1x 2 0 x3 1x 4 0 x5 1x 6
P ( x) = 1+ 0x − + + + − + ⋅⋅⋅
2! 3! 4! 5! 6!
x 2 x 4 x 6 x8 x10
P ( x) = 1− + − + − ⋅⋅⋅
21
2! 4! 6! 8! 10! 23
Taylor Series: 1
(generated by f at x = a )
-5 -4 -3 -2 -1 0 1 2 3 4 5
f ′′ ( a ) 2 f ′′′ ( a ) 3
P ( x ) = f ( a ) + f ′ ( a )( x − a ) + ( x − a) + ( x − a ) + ⋅⋅⋅
2! 3! -1
∞
2 4 6 8 10
1
P ( x) = 1−
( 2x ) +
( 2x ) −
( 2x ) +
(2x) −
( 2x ) ⋅⋅⋅ = 1 − x + x − ... + (− x) + ... = ∑ (−1) n x n (| x |< 1)
2 n
2! 4! 6! 8! 10! 1+ x n =0
x2 xn ∞
xn
e = 1 + x + + ... + + ... = ∑ (all real x)
x
2! n! n =0 n!
25 27
3 5 7 n =0 (2n + 1)
4 π
f(
4)
( x ) = cos x f( ) =0
2 26 28
8.2 Taylor Series 8.2 Taylor Series
When referring to Taylor polynomials, we can talk about 1 −1 f ′′ ( 0 ) 2 f ′′′ ( 0 ) 3
= (1 − x ) P ( x ) = f ( 0) + f ′ ( 0) x + x + x + ⋅⋅⋅
number of terms, order or degree. 1− x 2! 3!
x2 x4 f ( n) ( x )
cos x = 1 − + This is a polynomial in 3 terms. −1 List the function and its
2! 4! (1 − x ) derivatives.
−2
(1 − x )
−3
2 (1 − x )
−4
6 (1 − x )
−5
24 (1 − x )
29 31
f ( n) ( x ) f ( n) ( 0 )
0 2 −1 3 0 4 If we integrate both sides:
sin ( x ) = 0 + 1x + x + x + x + ⋅⋅⋅
sin ( x ) 0 2! 3! 4! 1
∫ 1+ x 2
dx = ∫ 1 − x 2 + x 4 − x 6 + x8 + ⋅⋅⋅ dx
cos ( x ) 1 x3 x5 x 7
sin ( x ) = x − + − ⋅⋅⋅ This looks the same as the
− sin ( x ) 0 3! 5! 7! x3 x5 x 7
tan −1 ( x ) = x − + − + ⋅⋅⋅ series for sin (x), but without
− cos ( x ) −1 3 5 7 the factorials.
sin ( x ) 0 Both sides are odd functions.
1 f ( n) ( x ) f ( n) ( 0 )
If we start with this function: = 1 − x + x 2 − x 3 + x 4 + ⋅⋅⋅
1+ x
ln (1 + x ) 0
2 1 2 4 6 8 −1 2 2 3 −3! 4
and substitute x for x , we get: 1 + x 2 = 1 − x + x − x + x + ⋅⋅⋅ −1 ln (1 + x ) = 0 + 1x + x + x + x + ⋅⋅⋅
(1 + x ) 1 2! 3! 4!
− (1 + x )
−2 −1
This is a geometric series with a = 1 and r = -x2.
2 (1 + x )
−3
2 x 2 x3 x 4
ln (1 + x ) = x − + − + ⋅⋅⋅
2 3 4
−4
38 −6 (1 − x ) −6 = −3! 40
8.3 Taylor’s Theorem 8.3 Taylor’s Theorem
Taylor series are used to estimate the value of functions (at
least theoretically - now days we can usually use the Taylor’s Theorem with Remainder
calculator or computer to calculate directly.)
If f has derivatives of all orders in an open interval I
An estimate is only useful if we have an idea of how containing a, then for each positive integer n and for each x
accurate the estimate is. in I:
x 2 k +1
∑
∞
This is also called the remainder of order n or the error term. Prove that ( )k
k = 0 −1
, which is the Taylor
( 2k + 1)!
series for sin x, converges for all real x.
Note that this looks just like the next term in the series, but
x 2 i 2 x 3i 3 x 4 i 4 x 5 i 5 x 6 i 6
e xi = 1 + xi + + + + + + ⋅⋅⋅
2! 3! 4! 5! 6!
x 2 x 3i x 4 x 5i x 6
e xi = 1 + xi − − + + − + ⋅⋅⋅ Factor out the i terms.
2! 3! 4! 5! 6!
x2 x4 x6 x3 x5
e xi = 1 − + − + ⋅⋅⋅ + i x − + + ⋅⋅⋅
2! 4! 6! 3! 5!
54