Professional Documents
Culture Documents
I. Learning Objectives
II. Topics
1. Taylor Series Expansion
2. Maclaurin Series Expansion
3. Application of the series in a power systems
III. Period
IV. Content
1
TAYLOR AND MACLAURIN SERIES 2
that is, the coefficient cn in the expansion of f (x) centered at x = a is precisely
(n)
f (a)
cn = . The expansion (2) is called Taylor series. If a = 0, the expansion
n!
∞ (n) (2)
Σf (0) f (0)
f (x) = xn = f (0) + f j (0)x + x2 + . . . ,
n=
n 2
0 ! !
is called Maclaurin Series.
Let us now consider several classical Taylor series expansions. For
the following examples we will assume that all of the functions involved
can be expanded into power series.
Example 1. The function f (x) = ex satisfies f (n)(x) = ex for any integer n 1≥and in
particular f (n)(0) = 1 for all n and then the Maclaurin series of f (x) is
∞ n
Σx
f (x) = ,
n!
n=0
xn
observen that the radius of convergence of f (x) is computed by noting
that cnx =
n!
so that
lim . |
c xn+ = lim = 0,
.1n+1 x|
n→∞ . cn xn . n→∞ (n + 1)
∞
e (x − a)
ex = .
n!
n=0
f (2n+1)
(x) = (−1)n sin(x) =⇒ f (2n+1)
(0) = 0,
and therefore
∞
Σ (−1) n
cos(x) = x2n.
(2n)!
n=0
Note that cos(x) is an even function in the sense −that cos( x) = cos(x)
and this is reflected in its power series expansion that involves only
even powers of x. The radius of convergence in this case is also R = ∞.
Example 3. Compute the Maclaurin series of f (x) = sin(x). For this
case we note that
f (2n)
(x) = (−1)n sin(x) =⇒ f (2n)
(0) = 0
f (2n+1)
(x) = (−1)n cos(x) =⇒ f (2n+1)
(0) = (−1)n,
and
therefore
∞ 2n+1
Σ x
f (x) = ( 1)n ,
−
(2n + 1)!
n=0
) ∫ )
x2 ∞ n 2n+1
(3 x 2 Σ
sin(s )
)
ds
s2
0
(2n + 1)!
n=0
∞ n 2n
Σ (−1) x
x x) =
sin(
(2n + 1)! .
n=
0
For (2) we replace x by x2 and obtain for x > 0 the series
2 ∞ n 2 2n
Σ ((2n
−1)+ (1)!
x x)
sin(
2
x)
=
n=
0∞
n 4n
Σ (−1) (x)
= .
(2n + 1)!
n=0
Finally, for (3) we integrate
the Maclaurin series of
sin(x2) x2
∫ x x
sin(s2) ds = ∫ (s)4n
Σ (−1)n
∞
0 s2 n= 0 (2n + 1)!
0 4n+1
∞
Σ (x)
= (−1)n .
n=
(4n + 1) · (2n + 1)!
0
Remark: For a function that has an even sin(x)
√ , we can also
expansion
∫x like f (x) = expand f ( x
) as a power series. As an exercise, compute xthe Maclaurin
√s)expansion
sin(
of √ ds.
s
1.1. Taylor polynomials and Maclaurin polynomials. The partial sums of Tay- lor
(Maclaurin) series are called Taylor (Maclaurin) polynomials. More precisely, the
Taylor polynomial of degree k of f (x) at x = a is the polynomial
k (n)
Σ
f (a)
p (x) = (x a)n,
k
− n!
n=0
M|x − a|k+1
|f .
≤ (x) − pk(x)|
(k + 1)!
On the other hand, when it comes to the practical computation of
Taylor or Maclau- rin polynomials it may not be necessary to compute
all of the derivatives of f (x).
Example 5. Compute the Maclaurin polynomial of degree 4 for the function f (x) =
cos(x) ln(1 − x) for −1 < x < 1.
0 (1 − s) n=0 0
2 4
x x x
3
= −x − − − −...
3
2 4
on the other hand
x2 x4
(3) cos(x) = 1 − + −...,
2 4!
let us use (∗) to denote the expansion in (3), meaning that (∗) = 1 − x2
+ x4 − . . .,
2 4!
so that after multiplying both series
we have
x2 x4 x2 x3 x4
cos(x) ln(1 − x) = (1 − + − . . .)(−x − − − − . . .)
2 4! 2 3 4
s (˛∗¸) x
= −x(∗) − x3 x4
x2
(∗) − 3 (∗) − 4 (∗) − . . .
. 2
x3 Σ . 2 Σ
x5 x x4 x6
−
+ − + − +...
+.. 2 2 · 2! 2 · 4!
−x +
.
2 4!
x 2
− ˛ ¸(∗) x
s −˛x¸(∗) x
s 2
.
x53
x Σ . Σ
x4 x6
+ − + −... + − + −...
s
3 3 ·
x 5!
3
− ˛ ¸(∗) x s
4 4 ·
x 2!
4
− ˛ ¸(∗) x
3 4
. 3
Σ . 2 4
Σ . Σ . Σ
x x x x3 x4 − +
x2 x3 2 2 · 2!
+ − + − +...
3 4
= −x − + +...
2 6
s ˛¸ x
p4 ( x)
x2
p4(x) = −x −1 3
2+6x
∞
∞ 1− 1
Remark: Σ n+1
The radius of convergence of n=0 = Σ xn is R = 1 and
x
− −
this is also x
the case for ln(1 x) = , however the interval of convergence of this
last
n+1
n=0
series is [−1, 1) (closed on the left and open on the right) because for x =
−1 the ∞ ∞
Σ (−1)n Σ
series is which converges conditionally but for x = 1 the series is
n 1
.
n=1 n
n=1
ln(1 + x)
Exercise: Compute the first four terms in the power series .
expansion of f (x) = 1+x
Example 6. Compute the limit
cos(x4)− 1 + 1
x8
li 2
.
m x16
x→
0
so (2n)! 2 4!
that n=0
li . 4 1 8
1
m 2 = .
x→ x16 4!
0 Σ
cos(x ) − 1 + x
2. INTERvALS of CONVERGENCE
The radius of convergence of a power series determines where the
series is absolutely convergent but as we will see below there are
points where the series may only be con- Σ ∞
which converges by the alternating series test. In this case the interval
of convergence is the closed interval [−1, 1].
Example 9. The series
∫
x
ln(1 − x) = ds n
x+1
= ,
0 1−s
n+
Σn=0 1
∞
which converges by the alternating series test. In this case the interval
of convergence is the interval [−1, 1) (closed on the left and open on the
right).
Finally we have
Example 10. The series
Σ 1∞
= x n,
1+x
n=0
V. Exercise
For problems 1 and 2 solve using Taylor Series
-END-