<
Chapter 3
Series
This chapter introduces the Taylor polynomial, which is a useful tool for approximating functions that
cannot be evaluated with arithmetic. Like with the derivative and integral before it, we would like to
send the error in these approximations to 0. This requires us to take a new kind of limit called a series.
We will develop the tools to work with series, with the ultimate goal of defining and utilizing Taylor
series.
Contents
3.1 Taylor Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
3.2 Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
3.3 Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
3.4 Power Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
3.5 Taylor Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Section 3.1
Goals:
1 Approximate a function with a Taylor polynomial.
2 Compute error bounds for a Taylor polynomial.
When learning algebra and trigonometry, we learn to use exact values like
√
7 instead of decimal
approximations, like 2.646. This prevents us from introducing errors into our calculations. However,
there are also advantages to approximation. Decimal approximations give us a much better sense of the
size of a number than ln 873 or e
9
5
. (Which of these is larger?)
Unfortunately arithmetic does not give us methods for approximating many quantities. Ideally, we
would like a method of approximation whose accuracy is limited only by how much time we wish to
spend computing. An example of this is long division. We can compute as many decimal places of
32
13
as we want, getting closer and closer to the exact value. Of course, long division can only approximate
fractions.
The method we will develop in this section is called a Taylor polynomial. It gives us a way to
approximate otherwise incomputable functions. The beginning point is the tangent line. The tangent
line was the motivation for developing the derivative, but its greatest benefit is not geometric. The
tangent line approximates the values of a function near the point of tangency. While the function may
be difficult to evaluate, the equation of the tangent line is linear. We can evaluate it by hand.
Question 3.1.1
How Can We Improve on a Linearization?
Formula
The linearization or tangent line to a function f(x) at a has the equation.
L(x) = f(a) + f
′
(a)(x − a)
By design f and L have
1 Equal values at a.
2 Equal first derivatives at a.
This means that for values of x near a, L(x) and f(x) will have similar values. L(x), which is easy
to compute, can be used as an approximation of f(x). As x travels away from a and y = f(x) curves
away from its tangent line, this method will lose accuracy. We could make a better approximation, if
we could match second, third, fourth derivatives of f (x). A line cannot do that, but a polynomial can.
170
Theorem
Let f and g be differentiable functions. Consider an interval [a, b], and suppose f(a) = g(a).
1 If f
′
(x) = g
′
(x) on [a, b], then f(x) = g(x) on [a, b]
2 If f
′
(x) < g
′
(x) on [a, b], then f(x) < g(x) on (a, b]
Reasoning
Intuitive If two functions start at the same value at a, then the one that grows faster will have a higher
value at b.
Formal The Fundamental Theorem of Calculus says
f(x) − f(a) =
Z
x
a
f
′
(t)dt g(x) − g(a) =
Z
x
a
g
′
(t)dt.
Larger functions have larger integrals.
Figure: Two functions with a common value at a: f(x) with a smaller derivative and g(x) with a
larger derivative.
Notation
Given a function f(x) and its nth Taylor polynomial T
n
(x) centered at a, the remainder at x is
R
n
(x) = f(x) − T
n
(x)
175
Question 3.1.6
How Accurate Is the Taylor Polynomial?
If we are using T
n
(x) to approximate f(x),
R
n
(x) = −error of T
n
(x).
We should be very interested in knowing the value of R
n
(x). We will use our derivative comparison
theorem to make two arguments
1 If f
(n+1)
(x) is a constant M, then we can compute R
n
(x) exactly.
2 If |f
(n+1)
(x)| ≤ M then the error in 1 is the worst-case scenario.
Theorem
If f
(n+1)
(x) is a constant M on [a, b], then
f(x) = T
n+1
(x) = T
n
(x) +
M
(n + 1)!
(x − a)
n+1
.
Beginning with our assumption about the (n+1)th derivatives and the equality of the nth derivatives
at a, we can use our derivative comparison theorem to equate the nth derivatives on [a.b]. We can use
that equality to equate the (n −1)th derivatives on [a, b]. We continue this reasoning until we conclude
that the functions are equal.
d
dx
n+1
f(x) =
d
dx
n+1
T
n+1
(x) = M on [a, b]
d
dx
n
f(a) =
d
dx
n
T
n+1
(a)
d
dx
n
f(x) =
d
dx
n
T
n+1
(x) on [a, b]
d
dx
n−1
f(a) =
d
dx
n−1
T
n+1
(a)
d
dx
n−1
f(x) =
d
dx
n−1
T
n+1
(x) on [a, b]
d
dx
f(a) =
d
dx
T
n+1
(a)
d
dx
f(x) =
d
dx
T
n+1
(x) on [a, b]
f(a) = T
n+1
(a) f(x) = T
n+1
(x) on [a, b]
Because derivatives and values of
a Taylor polynomial match the function
Remark
This theorem tells us that when f
(n+1)
(x) is a constant M, R
n
(x) = f(x) −T
n
(x) =
M
(n+1)!
(x−a)
n+1
But what if f
(n+1)
(x) is not a constant? In this case we will settle for a bound on f
(n+1)
(x).
176
Theorem [Taylor’s Inequality]
If
f
(n+1)
(t)
≤ M for all x between a and b, then for all x between a and b,
|R
n
(x)| ≤
M
(n + 1)!
(x − a)
n+1
To prove Taylor’s Inequality, we compare the derivatives of f(x) with the worst-case scenario w(x) =
T
n
(x) +
M
(n+1)!
(x −a)
n+1
. The derivatives w
(k)
(a) are the same as T
(k)
n
(a) and f
(k)
(a) for 0 ≤ k ≤ n,
and
d
dx
n+1
w(x) = M.
d
dx
n+1
f(x) ≤
d
dx
n+1
w(a) = M on [a, b]
d
dx
n
f(a) =
d
dx
n
w(a)
d
dx
n
f(x) ≤
d
dx
n
w(x) on [a, b]
d
dx
n−1
f(a) =
d
dx
n−1
w(a)
d
dx
n−1
f(x) ≤
d
dx
n−1
w(x) on [a, b]
d
dx
f(a) =
d
dx
w(a)
d
dx
f(x) ≤
d
dx
w(x) on [a, b]
f(a) = w(a) f(x) ≤ w(x) on [a, b]
Because M is a bound on
d
dx
n+1
f(x)
Because derivatives and values of
a Taylor polynomial match the function
To finish the argument we need to
1 Produce a lower bound for f using w(x) = T
n
(x) −
M
(n+1)!
(x − a)
n+1
.
2 Solve the inequality bounds for R
n
(x).
T
n
(x) −
M
(n + 1)!
(x − a)
n+1
≤ f(x) ≤ T
n
(x) +
M
(n + 1)!
(x − a)
n+1
−
M
(n + 1)!
(x − a)
n+1
≤ R
n
(x) ≤
M
(n + 1)!
(x − a)
n+1
3 Repeat for intervals of the form [b, a]. These work the same way with a sign reversed.
177
This is an easier pattern to express:
f
(2k+1)
(0) = (−1)
k
Now we are ready to write a formula. Since we intend to sum from k = 0 to k = n, we are
actually producing the (2n + 1)th Taylor polynomial.
T
2n+1
(x) =
n
X
k=0
f
(2k+1)
(0)
(2k + 1)!
x
2k+1
=
n
X
k=0
(−1)
k
(2k + 1)!
x
2k+1
These are the odd degree Taylor polynomials, but what about the even numbered ones? Since
T
2n
(x) is just T
2n−1
(x) plus the 2nth term, and the 2nth term is zero, we can write
T
2n
(x) =
n−1
X
k=0
(−1)
k
(2k + 1)!
x
2k+1
b
Given the chart above, we can see that the derivatives are sines and cosines. These are bounded
above by 1 and below by −1. Since Taylor’s inequality requires a bound of the form |f
(n+1)
(x)| ≤
M, we write
|f
(n+1)
(x)| ≤ 1
And luckily, thus works for all x and all n.
c
Taylor’s Inequality says that |R
n
(x)| ≤
1
(n+1)!
x
n+1
. As x goes to ∞, this bound goes to ∞ as
well. This makes sense, since T
n
(x) is polynomial, while the function it is approximating stays
between −1 and 1.
d
When n increases x
n+1
increases by a factor of x. On the other hand, (n + 1)! increases by a
factor of n + 2. As n increases without bound, (n + 1)! grows faster than x
n+1
and their ratio
approaches 0.
e
Any T
n
(x) will eventually become inaccurate outside a certain distance from 0. On the other
hand, if we want to approximate sin(x) for a particular x, we can make T
n
(x) have as small an
error as we want by choosing sufficiently large n.
179
Example
f(x) =
(
0 if x ≤ 0
e
−
1
x
if x > 0
f
(k)
(0) = 0 for all k. So the Taylor polynomial
at x = 0 is
T
n
(x) =
n
X
k=0
0x
k
.
No matter how large n gets, T
n
(x) will not get any closer to f(x) for any x > 0.
How can this happen, given Taylor’s Inequality? The derivatives of f get bigger and bigger. M
grows so fast that the error R
n
(x) gets no smaller even with an (n + 1)! in the denominator of Taylor’s
Inequality.
Figure: A function whose derivative bounds grow factorially
Despite examples like this, it turns out that Taylor polynomials often do a good job of approximating
functions. For numerical computations, an approximation is good enough. For more theoretical situ-
ations, we would like to let n go to ∞ so that the error goes to 0 and we can use the polynomial as
an exact replacement of the function. Unfortunately, with infinitely many terms, we no longer have a
polynomial at all. Instead we have an object that we will call a Taylor series. We will develop the tools
to define and work with Taylor series over the course of this chapter.
181
3.1.2
Q7
Is a tangent line a Taylor polynomial?
Q8
Suppose T
4
(x) is the Taylor polynomial for f(x) centered at x = 10. List what information T
4
(x)
and f(x) have in common, being as specific as possible.
Q9
If f (x) is a decreasing function, what can you say about the coefficients of any Taylor polynomial
of f(x)?
Q10
Suppose f(x) has a Taylor polynomial
T
4
(x) = 5 + 3(x − 2) −
1
6
(x − 2)
2
+ 2(x − 2)
4
a
What is f (2)?
b
Is f increasing or decreasing at x = 2?
c
Is f concave up or concave down at x = 2?
3.1.3
Q11
Let f(x) = e
x
.
a
Find the degree 8 Taylor polynomial of y = f(x) centered at x = 0.
b
How could you use this to estimate the value of e?
c
Can you use sigma notation to write a general form for the degree n Taylor polynomial of
y = e
x
?
Q12
Let f(x) = ln x
a
Write the 5th Taylor polynomial of f(x) at x = 1.
b
Use your polynomial to approximate ln 2.
183
3.1.6
Q21
Why don’t we have any theorems for a lower bound for error? Give your answer in a few sentences.
Q22
Suppose you are using Taylor polynomials of f(x) centered at x = 0 to approximate f(−3).
However, for each k, the best bound you can put on f
(k)
(x) on [−3, 0] is
k!
4
k
. Will you be able
to guarantee a good approximation of f(−3) this way? Explain.
Q23
Suppose the fourth derivative of f(x) is f
(4)
(x) = e
x
3
. Suppose we have written T
4
(x), the
degree 4 Taylor polynomial of f(x) centered at x = 1. What can you say about the difference
between T
4
(5) and f(5)? Be specific and justify your answer with a computation. You do not
need to simplify any arithmetic in your calculations.
Q24
Sketch a graph of y = e
x
and several tangent lines. On which part of the graph do the tangent
lines appear to approximate the function better? Does Taylor’s Inequality confirm this observa-
tion? Explain.
3.1.7
Q25
Here is the degree 3 Taylor polynomial of f(x) =
√
x centered at x = 4:
T
3
(x) = 2 +
1
4
(x − 4) −
1
64
(x − 4)
2
+
1
512
(x − 4)
3
a
Which derivative will let you bound the error of this approximation?
b
Can you put a bound on this derivative that holds for all x?
c
Can you put a bound on this derivative that holds for x in the interval [4, 5]?
d
What error bound does this suggest for using T
3
(5) to approximate
√
5?
Q26
Let f(x) =
3
√
x.
a
Write the degree 2 Taylor polynomial of f centered at x = 8.
b
If you wanted to use the Taylor polynomial to approximate
3
√
10, how would you do that?
185
a
Suppose you wanted to produce the second degree Taylor polynomial of f centered at a =
−1. Indicate whether the constant term and each coefficient would be positive or negative.
Provide evidence for your answer.
b
Would T
2
(4) underestimate or overestimate f(4)? Explain.
Synthesis and Extension
Q31
Let f(x) = x
3
− 3x + 5.
a
Write an expression for T
3
(x), the Taylor polynomial centered at x = 2.
b
What can you say about th error R
3
(x) for any x?
c
What relationship does this suggest between f (x) and T
3
(x)?
d
Can you verify this relationship algebraically?
e
Conjecture a general relationship between polynomial functions and certain Taylor polyno-
mials. Can you use Taylor’s inequality to justify your conjecture?
187
Example 3.2.5
Sequence Limits Using Functions
d
lim
x→∞
x
2
e
x
can be evaluated with L’hˆopital’s rule.
lim
x→∞
x
2
e
x
= lim
x→∞
2x
e
x
∞
∞
form, L’hˆopital’s again
= lim
x→∞
2
e
x
= 0so lim
n→∞
n
2
e
n
= 0
e
f(x) = (−1)
x
is not well defined for real numbers so we can’t use its limit. Instead examine the
sequence directly. The sequence has the form
−1, 1, −1, 1, −1, 1, −1, 1, . . .
This does not approach arbitrarily close to any number. No matter how many early terms we
disregard, there will always be terms remaining that are not close to 1, or not close to −1 or not
close to any other number. Thus a
n
= (−1)
n
diverges.
The following limit laws for sequences should look familiar. They mirror the laws for limits of
functions.
Theorem [Limit Laws]
If lim
n→∞
a
n
= K and lim
n→∞
b
n
= L then the following sequences converge with the following limits:
lim
n→∞
(a
n
+ b
n
) = K + L
lim
n→∞
(a
n
− b
n
) = K − L
lim
n→∞
(a
n
b
n
) = KL
If L = 0, then lim
n→∞
a
n
b
n
=
K
L
For any constant c, lim
n→∞
ca
n
= cK
192
Synthesis 3.2.6
Indeterminate Forms with Factorials
We will encounter sequences of the form a
n
=
b
n
c
n
. If b
n
or c
n
both go to 0 or ±∞, then any attempt
to use
lim
n→∞
a
n
= lim
x→∞
f(x)
would require l’Hˆopital’s rule.
Dominance
We say f (x) dominates g(x) if lim
x→∞
f(x)
g(x)
= ±∞. We write
f(x) >> g(x)
Even if you include a constant multiple or add multiple functions together, the dominant function
will outgrow any combination of dominated ones. We have already established an order of dominance
using l’Hˆopital’s rule:
exponential
(larger base>>smaller base)
>>
polynomial
(larger degree>>smaller)
>>
root
(smaller power>>larger)
>>
logarithm
(smaller base>>larger)
But n! is not a differentiable function. We cannot analyze it using l’Hˆopital’s rule. Where does it fit
in the domincance pecking order?
Theorem
As n → ∞, n! will eventually dominate any exponential function (and thus any polynomial, root or
logarithm).
We will not provide a formal proof, but here is a useful thought experiment. Suppose we compare
n! to 63
n
. At first 63
n
grows faster, multiplying by 63 every time we increase n. However, when n is
greater than 63, n! is multiplying by a higher number. When n reaches one billion, 63
n
increases by a
factor of 63 every step, while n! increases by a factor of 1, 000, 000, 000. By this point n! is much larger
and growing much faster.
193
Section 3.2
Summary Questions
Q1
Why do we use n instead of x as an index for a sequence?
Q2
Describe three different ways of denoting a sequence.
Q3
When is the limit of a sequence equal to the limit of a function?
Q4
If a
n
= b
n
+ 1000 for 1 ≤ n ≤ 2000000, what does that tell us about the limits lim
n→∞
a
n
and
lim
n→∞
b
n
?
3.2.1
Q5
Find a general expression for a
n
, the n
th
term of the following sequences. Use this to write the
sequences using both other types of notation.
a
{2, 5, 10, 17, 26, 37, 50, . . .}
b
3
2
, −
3
4
,
3
8
, −
3
16
,
3
32
, . . .
c
1
2
,
1
6
,
1
12
,
1
20
,
1
30
, . . .
Q6
What is the fourth term in the sequence {n
3
− 5n}
∞
n=3
?
194
3.2.2
Q7
Show using the definition of the limit of a sequence that lim
n→∞
sin n
n
2
= 0.
Q8
Show using the definition of the limit of a sequence that lim
n→∞
2
n
− 1
2
n
= 1.
Q9
A sequence is increasing if every term is larger than the previous term. Must an increasing
sequence always diverge? Explain.
Q10
A sequence is alternating if its terms alternate between positive and negative values. Is it possible
that the limit of an alternating sequence exists? What would its value have to be?
3.2.3
Q11
Consider the sequence a
n
= 2
n
.
a
What function could we write such that f(n) = a
n
.
b
Does lim
x→∞
f(x) converge?
c
Does the theorem equating limits of functions and sequences apply to this function?
d
Can we argue that lim
n→∞
2
n
diverges anyway?
Q12
Consider the sequence a
n
= n sin(πn)
a
What is lim
x→∞
x sin(πx)?
b
Compute the first few values a
1
, a
2
, a
3
, and a
4
.
c
What is lim
n→∞
n sin(πn)?
d
Does this contradict one of our theorems? Explain.
195
Synthesis & Extension
Q23
Suppose we have a sequence a
n
=
(
f(n) if n ≤ 342
g(n) if n > 342
. Which of the following could help us
evaluate lim
n→∞
a
n
?
lim
x→∞
f(x)
lim
x→∞
g(x)
Q24
Let T
n
(x) be the nth Taylor polynomial of f(x) = ln x centered at x = 1.
a
Write an expression for T
n
(x) using Σ notation.
b
Write an expression for the error bound of T
n
(x) for some x between 0 and 1.
c
For what values of x will the error bound shrink to 0 as n goes to ∞?
197
Definition
A series is a sum of the form
∞
X
k=1
a
k
where a
k
is an infinite sequence. If it is more convenient, we can
give k a different initial value. If the context is clear, we can write
X
a
k
as a shorthand.
Example
0.33333 . . . =
∞
X
k=1
3
10
k
The harmonic series is
∞
X
k=1
1
k
This tells us what a series is but not how to evaluate it. How do we know that, for example
0.333 . . . =
1
3
?
We evaluate a series by associating it with a sequence of partial sums.
Definition
The n
th
partial sum of the series
∞
X
k=1
a
k
is
s
n
= a
1
+ a
2
+ a
3
+ ··· + a
n
A series
∞
X
k=1
a
k
converges to L if
lim
n→∞
s
n
= L.
A series that does not converge to any L diverges.
Vocabulary Note
Do not confuse a sequence with a series. One is a list of numbers. The other is the sum of a list of
numbers.
199
To evaluate this limit, we need to understand the behavior of r
n
as n → ∞
If −1 < r < 1 then higher powers of r get smaller and smaller and r
n
→ 0.
If r > 1 then higher powers of r get larger and larger and r
n
→ ∞.
If r < −1 then higher powers of r get larger but alternate signs. lim
n→∞
r
n
does not exist.
If r = 1 then the series is a + a + a+ a + a + ···, then s
n
= an which diverges to ±∞, depending
on the sign of a.
If r = −1 then the series is a − a + a − a + a − ···, then s
n
alternates between a and 0. This
sequence does not converge.
We can apply the above to completely solve the problem of evaluating a geometric series. Our result is
the following theorem:
Figure: The partial sums of
P
ar
k−1
for various r
Theorem
Geometric series have the following partial sums
s
n
=
n
X
k=1
ar
k−1
=
a(1 − r
n
)
1 − r
if r = 1
an if r = 1
These converge to
a
1 − r
when |r| < 1 and diverge when |r| ≥ 1.
203
Example 3.3.7
Applying the Divergence Test
Solution
a
The sequence is a
k
= 3
k
. lim
k→∞
3
k
= ∞. This limit is not 0, so by the divergence test, the series
diverges.
b
The sequence is a
k
=
1
k
. lim
k→∞
1
k
= 0. The divergence test is inconclusive. It cannot tell us
whether this series diverges or converges. By our earlier work, we happen to know this series
diverges.
c
The sequence is a
k
=
k
2
−1
3k
2
+7
. lim
k→∞
k
2
− 1
3k
2
+ 7
=
1
3
. This limit is not 0, so by the divergence test,
the series diverges.
d
The sequence is a
k
=
k
2
e
k
. We need L’Hˆoptial’s rule to evaluate the limit.
lim
k→∞
k
2
e
k
= lim
k→∞
2k
e
k
still
∞
∞
form
= lim
k→∞
2
e
k
= 0
The divergence test is inconclusive. It cannot tell us whether this series diverges or converges. It
turns out that this series converges, but we do not have a method to verify that yet.
Question 3.3.8
So far we have two tests to determine the convergence of a series. One test is very specific, applying
only to geometric series. The other is very imprecise. The divergence test is often inconclusive. It
does not help us to evaluate a series at all, only recognizing some series that diverge. Unfortunately,
these shortcoming are typical of series tests. A rigorous study of infinite series requires learning almost a
dozen tests. On a randomly chosen series, most of these tests will be inconclusive, and none of them will
give a numerical value, even if the series happens to converge. Because we are interested in extending
Taylor polynomials to have infinitely many terms, some of these tests are much more useful than others.
The most useful is the ratio test, though it is still no help in evaluating a series and is still sometimes
inconclusive.
In the case of a geometric series,
P
ar
k−1
, the common ratio between terms determines whether this
series grows out of control, or whether the terms shrink quickly enough that the partial sums converge.
Even when a series is not geometric, we can attempt to apply similar reasoning to determine whether it
converges. A non-geometric series does not have a constant ratio. The ratio between successive terms
will change as we progress through them. We will instead compute the limit of these ratios.
206
3.3.4
Q15
Is
1
2
+
1
4
+
1
6
+
1
8
+ ··· a geometric series? How can you tell?
Q16
Is 1 + 4 + 9 + 16 + 25 + ··· a geometric series? How can you tell?
Q17
The first two terms of a geometric series are 5 and 7.5. What is the third term?
Q18
The fifth term of a geometric series is 17. The eigth term is 51. What is the sixth term?
3.3.5
Q19
Evaluate
∞
X
k=0
5(0.3)
k
Q20
Evaluate
∞
X
k=0
1
4
4
3
k
.
Q21
Evaluate
∞
X
j=3
15
5
j
.
Q22
Evaluate
∞
X
k=1
0.8
k
.
Q23
Evaluate
∞
X
k=4
3
k
2
k
(18)
.
Q24
Evaluate
∞
X
k=1
37
100
k
. What decimal does this represent?
Q25
For what values of z does
∞
X
k=0
3
k
z
k
converge?
Q26
For what values of p does
∞
X
k=3
12p
2k
16
k
converge?
213
3.3.9
Q35
Apply the ratio test to
∞
X
k=1
k!
4
k
. What can you conclude?
Q36
Apply the ratio test to
∞
X
k=1
k5
k
(k + 1)
2
. What can you conclude?
Q37
Apply the ratio test to
∞
X
k=1
(−1)
k−1
k
2
. What can you conclude?
Q38
Apply the ratio test to
∞
X
k=1
(−8)
k
k
2
5
k
. What can you conclude?
Q39
Apply the ratio test to
∞
X
k=1
k
2
4
k
. What can you conclude?
Q40
Apply the ratio test to
∞
X
k=3
k!
5k
3
+ 4k − 2
. What can you conclude?
Q41
Apply the ratio test to
∞
X
k=1
√
k + 1
k
2
What can you conclude?
Q42
Apply the ratio test to
∞
X
k=1
√
ke
−k
What can you conclude?
3.3.10
Q43
Use one of the tests from this section to deterine whether
P
∞
k=1
k+1
k
converges.
Q44
Use one of the tests from this section to deterine whether
P
∞
k=1
3(4
k
)
7
k
converges.
Q45
Use one of the tests from this section to deterine whether
P
∞
k=1
ke
k
4
k+1
converges.
Q46
Use one of the tests from this section to deterine whether
P
∞
k=1
7k9
k
k3
2k+1
converges.
215
a
Verify that f
X
(x) is a valid probability distribution function.
b
Compute P (X > 4).
c
Compute E[X] (this is difficult).
Q52
Suppose that a discrete random variable X has distribution function
f
X
(x) =
(
1
x
−
1
x+1
if x is a positive integer
0 otherwise
a
Verify that f
X
(x) is a valid probability distribution function.
b
Compute P (3 ≤ X ≤ 5).
c
Explain why you can’t compute E[X].
217
Q17
Compute the radius of convergence of
∞
X
k=1
4k
3
k
(x − 5)
k
. What interval does this guarantee the
series converges on?
Q18
Suppose you are told that a given power series p(x) centered at x = a converges at x = −4 and
diverges at x = −7.
a
If a = 1, what can you say about the domain of p(x)?
b
What are all of the the possible values of a? Explain your reasoning (briefly).
3.4.4
Q19
Compute the antiderivative of
∞
X
k=0
2
k
(x − 3)
k
.
Q20
Compute the derivative of
∞
X
k=0
(x + 2)
k
k
3
. What is its domain?
Q21
Compute the derivative of
∞
X
k=0
1
4
k
(x − 6)
k
. What is its domain?
Q22
Compute the antiderivative of
∞
X
k=0
x
k
k!
.
Q23
What is the domain of the fifth deriative of
∞
X
k=0
k(x + 3)
k
?
Q24
Compute the radius of convergece of the antiderivative of
∞
X
k=4
4k
3
k
(x − 5)
k
.
225
Now we’ll solve for when the limit of this ratio is less than 1.
lim
k→∞
k|x − 1|
k + 1
< 1
|x − 1| lim
k→∞
k
k + 1
< 1
|x − 1| < 1
−1 < x − 1 < 1
0 < x < 2
The Taylor series converges on the interval (0, 2).
d
To apply Taylor’s inequality to bound |R
n
(x)|. We need a bound on |f
(n+1)
(x)| on the interval
from 1 to x. Looking back at our earlier computation, we obtain f
(n+1)
(x) = (−1)
n+2
n!x
−n−1
.
In this case that x > 1, the derivative f
(n+1)
decreases in magnitude from x to 1 so it is largest
at x. We can use M = n!x
−n−1
.
e
In this case, f
(n+1)
decreases in magnitude from 1 to x so it is largest at 1. We can use M = n!.
f
The easier case is x ≥ 1. In this case Taylor’s inequality states
|R
n
(x)| ≤
n!
(n + 1)!
(x − 1)
n+1
≤
1
n + 1
(x − 1)
n+1
As n approaches infinity, this bound goes to infinity if x − 1 > 1 and to 0 if x − 1 ≤ 1. In the
case that 0 < x < 1, we need some clever algebra to write this as a multiple of an exponential.
|R
n
(x)| ≤
n!x
−n−1
(n + 1)!
(x − 1)
n+1
≤
1
n + 1
x − 1
x
n+1
This goes to 0 if
x−1
x
≤ 1 and infinity otherwise. Solving this (and assuming x > 0) gives x ≥
1
2
.
Putting these together, we can state that the error bound from Taylor’s inequality approaches 0
as we takes higher degree Taylor polynomials, as long as
1
2
≤ x ≤ 2.
g
The answer to the previous question tells us that T (x) converges to ln x on
1
2
, 2
, since the error
bound and hence the error goes to 0. On the other hand, outside this interval, the error might
still go to 0 on
0,
1
2
, even though the error bound does not. The series diverges outside (0, 2)
so it cannot converge to ln x there.
231
3.5.4
Q19
Write a Taylor series for f(x) = x
5
cos x centered at x = 0.
Q20
Write a Taylor series for f(x) = x
3
e
x
centered at x = 0.
Q21
Can we use our Taylor series for f(x) = ln x centered at 1 to write a Taylor series for g(x) =
x
2
ln x? Explain.
Q22
Write a Taylor series for f(x) =
(x+5)
3
x
2
centered at −5.
3.5.5
Q23
Let g(x) be an antiderivative of e
x
3
. Write the Taylor series for g(x) centered at x = 0.
Q24
Let g(x) be an antiderivative of cos(x
2
). Write the Taylor series for g(x) centered at x = 0.
Q25
Let f (x) = cos x. Let T (x) be the Taylor series of f centered at x = 0. Compute T
′′
(x). Why
does your answer make sense?
Q26
Write the Taylor series for f(x) =
1
x
centered at 1. Verify that one of its antiderivatives is a
Taylor series for ln x.
3.5.6
Q27
Rewrite our formula for cos(2x) to be entirely in terms of cos x.
Q28
Use Euler’s formula to compute a formula for cos 3x in terms of cos x and sin x.
Q29
According to Euler’s formula, what is the value of e
2πi
?
Q30
Use the Taylor series of ln x centered at x = 1 to compute ln(1 + i). Do you think this series
converges?
239
>