Taylor Series and Maclaurin Series: Theorem
Taylor Series and Maclaurin Series: Theorem
Thus, the Taylor series is the only possible candidate for a power series representation of a function.
If it turns out that the Taylor series does not represent (converge to) the function (Note: Yes, this can
happen), no power series can.
f (n) (a)
We want to prove that the coefficients are precisely an = for all n, or, f (n) (a) = n!an .
n!
Letting x = a, we have f (a) = a0 = 0!a0 . (Recall: 0! = 1 by definition, f (0) = f by definition)
By term-by-term di↵erentiation,
0 2 3
f (x) = a1 + 2a2 (x a) + 3a3 (x a) + 4a4 (x a) + ...
Letting x = a, we get f 0 (a) = a1 = 1!a1 .
Di↵erentiate again:
00 2 3
f (x) = 2a2 + 2 · 3a3 (x a) + 3 · 4a4 (x a) + 4 · 5a5 (x a) + ...
Letting x = a, we get f 00 (a) = 2a2 = 2!a2 .
Di↵erentiate again:
(3) 2
f (x) = 2 · 3a3 + 2 · 3 · 4a4 (x a) + 3 · 4 · 5(x a) + ...
Letting x = a, we get f (3) (a) = 2 · 3a3 = 3!a3 .
Continue with this, we get f (n) (a) = 2 · 3 · 4 · ... · nan = n!an .
Since this power series represents e x with radius of convergence R = 1, it must be the Taylor series
(about 0).
The interval of convergence is ( 1, 1).
Alternatively, we can compute the Maclaurin series from definition.
f (n) (x) = e x for all n f (n) (0) = 1 for all n.
So, the Maclaurin series of f (x) = e x is
1
X 1
X
f (n) (0) n xn x2 x3
x = =1+x + + + ...
n=0
n! n=0
n! 2! 3!
This computes the Maclaurin series but does not tell us whether the series converges to e x or not.
The above expression for Rn (x) is called the Lagrange’s form of the remainder term.
Taylor’s Theorem can be proved by a method similar to the proof of the Mean Value Theorem. We will
not go into the details.
|x a|n+1 xk
Proof: |Rn (x)| ! 0 as n ! 1. (Recall a fact: lim = 0 for all x.)
(n + 1)! k!1 k!
1
X
x xk x2 x3
e = =1+x + + + ... for all x.
k=0
k! 2! 3!
Example
Prove that the Maclaurin series of sin x converges to sin x for all x.
1
X ( 1)k 2k+1 1 3 1 5 1 7
sin x = x =x x + x x + ... for all x.
k=0
(2k + 1)! 3! 5! 7!
1
X
x xk x2 x3
e = =1+x + + + ... 1
k=0
k! 2! 3!
1
X ( 1)k 2k+1 1 3 1 5 1 7
sin x = x =x x + x x + ... 1
k=0
(2k + 1)! 3! 5! 7!
1
X ( 1)k 2k 1 2 1 4 1 6
cos x = x =1 x + x x + ... 1
k=0
(2k)! 2! 4! 6!
1
X ( 1)k+1 k 1 2 1 3
ln(1 + x) = x =x x + x ... 1
k=1
k 2 3
1
X
1 ( 1)k 2k+1 1 3 1 5 1 7
tan x = x =x x + x x + ... 1
k=0
2k + 1 3 5 7
1 ⇣ ⌘
X
↵ ↵ k ↵(↵ 1) 2 ↵(↵ 1)(↵ 2) 3
(1+x) = x = 1 + ↵x + x + x + ... 1
k=0
k 2! 3!
Example
1 Verify the Maclaurin series representations on the last slide. Can you verify some of the radii of
convergence?
⇡
2 Find the Taylor series of f (x) = cos x at .
3