Section 10.8 Guided Notes
Section 10.8 Guided Notes
TAYLOR SERIES
We want to determine all the coefficients cn in terms of f . We know pretty quick what c0 is, as c0 = f (a).
What about c1 ? Let’s take the derivative of f and plug in x = a. That is,
f 0 (x) =
f 0 (a) =
Now, let’s find c2 and c3 . Using this idea, how do we find them.
Let’s look at an arbitrary coefficient, cn . What is this cn using the similar idea.
1
X f (n) (a)
Theorem 1. If we can write f (x) = cn (x a)n with |x a| < R, then cn = . Thus,
n!
n=0
1
X f (n) (a)
f (x) = (x a)n
n!
n=0
(10.9)
f 0 (a) f 00 (a) f 000 (a)
= f (a) + (x a) + (x a)2 + (x a)3 + · · ·
1! 2! 3!
We call the series in Eq (10.9) is called the Taylor series for f at a. For the special case a = 0, the Taylor
series becomes
1
X f (n) (0) f 0 (0) f 00 (0) 2 f 000 (0) 3
f (x) = xn = f (0) + x+ x + x + ··· (10.10)
n! 1! 2! 3!
n=0
We call this special case the Maclaurin series for f (It is important enough to earn its own name).
Example 1. Find the Maclaurin series of the function f (x) = ex and its radius of convergence.
(b) Find the radius of convergence of the Maclaurin series you found in part.
One of the benefits of using the Taylor series of some of these functions is to be able to take the indefinite
integral of functions that we couldn’t do back in MTH 252. Let’s try one.
Z
2
Example 2. Recall we couldn’t evaluate the indefinite integral e x dx back in MTH 252. In fact,
the answer to this integral is not an
Z elementary function. Yet, we can take this indefinite integral using the
2
Maclaurin series. So let’s evaluate e x dx as an infinite series.
Hint: Do it smartly! We know the Maclaurin series for ex so we don’t need to reinvent the wheel!
Taylor Inequality
Recall an assumption we made in the beginning of this section is that the function can be represented by a
power series, and we figured out that this power series representation is the Taylor series for this function.
But how do we determine whether the function does have a power series representation? More generally, the
question to ask here is
Under what circumstances is a function equal to the sum of its Taylor series?
1
X f (n) (a)
Symbolically, when is it true that f (x) = (x a)n ? Let’s take a step back and think about what
n!
n=0
does it mean for a series to converge. It means the sequence of the partial sums converges. So we can define
the partial sums of a Taylor series as follows:
That is, we can approximate a function using the nth-degree Taylor polynomial. The error in this approxi-
mation is the remaining terms of the Taylor series. That is, Rn = f (x) Tn (x) if we define Rn (x) to be the
remainder of the Taylor polynomial Tn (x).
Task 1. Find the first, second, and third-degree Taylor polynomials for f (x) = ex centered at a = 0. Also,
find the remainders for each of the Taylor polynomials.
If we want the function to equal to its Taylor series, then we want lim Tn = f (x). In other words, lim Rn (x) =
n!1 n!1
0 IF the function equals to its Taylor series. To prove that a function does have a power series representation,
we will need to prove that the remainder Rn goes to 0 as n ! 1. The following theorem will help us determine
the size of this reminder.
Theorem 2. Taylor’s Inequality Let M be a number such that f (n+1) (c) M for all c between x
and a. Then the remainder Rn (x) of the Taylor polynomial satisfies
M
|Rn (x)| |x a|n+1
(n + 1)!
We will not formally prove this theorem in this class. What this theorem tells us is that the error (or the
remainder of the Taylor series) cannot exceed the maximum value of the next term of the Taylor polynomial.
Example 3. Find the value of the remainder |Rn | in approximating e0.45 using the Taylor polynomial or
order n = 6 for f (x) = ex centered at 0.