2 Sequences and Series of Functions
If ( f
n
) is a sequence of functions, what should we mean by lim f
n
? This question is of huge relevance
to the history of calculus: Issac Newton’s work in the late 1600’s made great use of power series, which
are naturally constructed as limits of sequences of polynomials.
For instance, for each n N
0
, we might consider the polynomial function f
n
: R R defined by
f
n
(x) =
n
k=0
x
k
= 1 + x + ··· + x
n
This is easily differentiated and integrated using the power law. What, however, are we to make of
the series
f (x) :=
n=0
x
n
= 1 + x + x
2
+ ··· ?
Does this make sense as a function? What is its domain? Does it equal the limit of the sequence
( f
n
) in any meaningful way? Is it continuous, differentiable, integrable? If so, can we compute its
derivative or integral term-by-term: for instance, is it legitimate to write
f
(x) =
n=1
nx
n1
= 1 + 2x + 3x
2
+ ··· ?
To many in Newton’s time, such technical questions were less important than the application of cal-
culus to the natural sciences. For the 18
th
and 19
th
century mathematicians who followed, however,
the widespread application of calculus only increased the imperative to rigorously address these
issues.
2.23 Power Series
First we review some of the important definitions, examples and results concerning infinite series.
Definition 2.1. Let (b
n
)
n=m
be a sequence of real numbers. The (infinite) series
b
n
is the limit of the
sequence (s
n
) of partial sums,
s
n
=
n
k=m
b
n
= b
m
+ b
m+1
+ ···+ b
n
,
n=m
b
n
= lim
n
s
n
The series
b
n
is said to converge, diverge to infinity or diverge by oscillation
6
as does (s
n
).
b
n
is absolutely convergent if
|
b
n
|
converges. A convergent series that is not absolutely convergent
is conditionally convergent.
6
Recall that every sequence (s
n
) has subsequences tending to each of
lim sup s
n
= lim
N
sup{x
n
: n > N} and lim inf s
n
= lim
N
inf{x
n
: n > N}
If (s
n
) converges, or diverges to ±, then lim s
n
= lim sup s
n
= lim inf s
n
. The remaining case, divergence by oscillation,
is when lim inf s
n
= lim sup s
n
: there exist (at least) two subsequences tending to different limits.
19
Examples 2.2. These examples form the standard reference dictionary for analysis of more compli-
cated series. Make sure they are familiar!
7
1. (Geometric series) If r is constant, then s
n
=
n
k=0
r
k
=
1r
n+1
1r
. It follows that
n=0
r
n
converges (absolutely) to
1
1r
if 1 < r < 1
diverges to if r 1
diverges by oscillation if r 1
2. (Telescoping series) If b
n
=
1
n(n+1)
, then s
n
=
n
k=1
b
n
= 1
1
n+1
=
n=1
1
n(n+1)
= 1.
3.
n=1
1
n
2
is (absolutely) convergent. In fact
n=1
1
n
2
=
π
2
6
, though checking this explicitly is tricky.
4. (Harmonic series)
n=1
1
n
is divergent to .
5. (Alternating harmonic series)
n=1
(1)
n
n
is conditionally convergent.
Theorem 2.3 (Root Test). Given a series
b
n
, let β = lim sup
|
b
n
|
1/n
,
If β < 1 then the series converges absolutely.
If β > 1 then the series diverges.
7
We give sketch proofs or refer to a standard ‘test.’ Review these if you are unfamiliar.
1. s
n
rs
n
= 1 + r + ···+ r
n
(r + ··· + r
n
+ r
n+1
) = 1 r
n+1
= s
n
=
1r
n+1
1r
.
2. By partial fractions, b
n
=
1
n
1
n+1
= s
n
=
1
1
2
+
1
2
1
3
+ ···+
1
n
1
n+1
= 1
1
n+1
.
3. Use the comparison or integral tests. Alternatively: For each n 2, we have
1
n
2
<
1
n(n1)
. By part 2,
s
n
=
n
k=1
1
k
2
< 1 +
n
k=1
1
k(k 1)
< 1 +
n=1
1
n(n 1)
= 2
Since (s
n
) is monotone-up and bounded above by 2, we conclude that
1
n
2
is convergent.
4. Use the integral test. Alternatively, observe that
s
2
n+1
s
2
n
=
2
n+1
k=2
n
1
1
k
2
n
2
n+1
=
1
2
= s
2
n
n
2
n
Since s
n
=
n
k=1
1
k
is monotone-up, we conclude that s
n
.
5. Use the alternating series test, or explicitly check that both the even and odd partial sums (s
2n
) and (s
2n+1
) are
convergent (monotone and bounded) to the same limit (essentially the proof of the alternating series test).
Root Test: β < 1 = ϵ > 0 such that
|
b
n
|
1/n
1 ϵ (for large n) =
|
b
n
|
converges by comparison with
(1 ϵ)
n
.
β > 1 = some subsequence of (
|
b
n
|
1/n
) converges to β > 1 = b
n
0 =
b
n
diverges (n
th
-term test).
20
The root test is inconclusive if β = 1. Some simple inequalities
8
yield a test that is often easier to
apply.
Corollary 2.4 (Ratio Test). Given a series
b
n
:
If lim sup
b
n+1
b
n
< 1 then
b
n
converges absolutely.
If lim inf
b
n+1
b
n
> 1 then
b
n
diverges.
We are now ready to properly define and analyze our main objects of interest.
Definition 2.5. A power series centered at c R with coefficients a
n
R is a formal expression
n=m
a
n
(x c)
n
where x R is considered a variable. A power series is a function whose implied domain is the set
of x for which the resulting infinite series converges.
It is common to refer simply to a series, and modify by infinite/power only when clarity requires.
Almost always m = 0 or 1, and it is common for examples to be centered at c = 0.
Example 2.6. By the geometric series formula,
n=0
( 1)
n
2
n
(x 4)
n
=
1
1
(x4)
2
=
2
x 2
whenever
x 4
2
< 1 2 < x < 6
The series is valid (converges) only on the subinterval (2, 6) of
the implied domain of the function x 7
2
x2
.
The behavior as x 2
+
is unsurprising, since evaluating the
power series results in the divergent infinite series
1 = +
By contrast, as x 6
we see that limits and infinite series do
not interact as we might expect,
lim
x6
n=0
( 1)
n
2
n
(x 4)
n
= lim
x6
2
x 2
=
1
2
n=0
lim
x6
( 1)
n
2
n
(x 4)
n
=
( 1)
n
= DNE
with the last series being divergent by oscillation.
6
4
2
2
4
6
y
2 2 4 6
x
Power Series
f (x) =
2
x2
The example shows that we cannot blindly take limits inside an infinite sum; understanding precisely
when this is possible is one of our primary goals.
8
You should have encountered these previously: lim inf
b
n+1
b
n
lim inf
|
b
n
|
1/n
lim sup
|
b
n
|
1/n
lim sup
b
n+1
b
n
21
Radius and Interval of Convergence
The implied domain of the series in Example 2.6 turned out to be an interval (2, 6). Somewhat amaz-
ingly, the root test (Theorem 2.3) shows that the same is true for every power series!
Theorem 2.7 (Root Test for Power Series). Given a power series
a
n
(x c)
n
, define
9
R =
1
lim sup
|
a
n
|
1/n
The precisely one of the following statements holds:
R (0, ) the series converges absolutely when
|
x c
|
< R and diverges when
|
x c
|
> R
R = the series converges absolutely for all x R
R = 0 the series converges only at the center x = c
Proof. For each fixed x R, let b
n
= a
n
(x c)
n
and apply the root test to
b
n
, noting that
lim sup
|
b
n
|
1/n
=
lim sup
|
a
n
|
1/n
|
x c
|
=
1
R
|
x c
|
if R (0, )
0 if R = or x = c
if R = 0 and x = c
In the first situation, lim sup
|
b
n
|
1/n
< 1
|
x c
|
< R, etc.
Definition 2.8. The radius of convergence is the value R defined in Theorem 2.7. The interval of conver-
gence is the set of x R for which the series converges; its implied domain.
Radius of convergence Interval of convergence
R = 0, ( c R, c + R), (c R, c + R], [c R, c + R) or [c R, c + R]
R = (, )
0 {c}
In the first case, convergence/divergence at the endpoints of the interval of convergence must be
tested for separately.
The ratio test (Corollary 2.4) provides a more user-friendly version.
Corollary 2.9 (Ratio Test for Power Series). If the limit exists, R = lim
n
a
n
a
n+1
.
The ratio test is weaker than the root test: as Example 2.10.5 shows, there exist series for which the
ratio test is be inconclusive.
9
Since
|
a
n
|
0, we here adopt the conventions
1
0
= ,
1
= 0. With similar caveats, one can write R = lim inf
|
a
n
|
1/n
.
Since every sequence has a limit superior, this really is a definition. Whether one can easily compute R is another matter. . .
22
Examples 2.10. 1. The series
n=1
1
n
x
n
is centered at 0. The ratio test tells us that
R = lim
n
a
n
a
n+1
= lim
n
1/n
1/(n + 1)
= lim
n
n + 1
n
= 1
Test the endpoints of the interval of convergence separately:
x = 1
1
n
= diverges
x = 1
(1)
n
n
converges (conditionally)
We conclude that the interval of convergence is [1, 1).
It can be seen (later) that the series converges to ln(1 x)
on its interval of convergence. As in Example 2.6, this function
has a larger domain (, 1), than that of the series.
1
1
2
3
y
3 2 1 1
x
y =
n=0
1
n
x
n
y = ln( 1 x)
2. The series
n=1
1
n
2
x
n
similarly has
R = lim
n
a
n
a
n+1
= lim
n
( n + 1)
2
n
2
= 1
Since
1
n
2
is absolutely convergent, we conclude that the power series also converges abso-
lutely at x = ±1; the interval of convergence is [1, 1].
3. The series
n=0
1
n!
x
n
converges absolutely for all x R, since
R = lim
n
a
n
a
n+1
= lim
n
( n + 1)!
n!
= lim
n
( n + 1) =
You should recall from elementary calculus that this series converges to the natural exponential
function exp(x) = e
x
everywhere on R; indeed this is one of the common definitions of the
exponential function.
4. The series
n=0
n!x
n
has R = lim
n!
(n+1)!
= 0. It therefore converges only at its center x = 0.
5. Let a
n
=
2
3
n
if n is even and
3
2
n
if n is odd. If we try to apply the ratio test to the series
n=0
a
n
x
n
, we see that
a
n
a
n+1
=
(
2
3
2n+1
if n even
3
2
2n+1
if n odd
= lim sup
a
n
a
n+1
= = 0 = lim inf
a
n
a
n+1
The ratio test is therefore inconclusive. However, by the root test,
|
a
n
|
1/n
=
(
2
3
if n even
3
2
if n odd
= R =
1
lim sup
|
a
n
|
1/n
=
1
3/2
=
2
3
It is easy to check that the series diverges at x = ±
2
3
; the interval of convergence is (
2
3
,
2
3
).
23
With the help of the root test the domain of a power series is fully understood. Limits, continuity,
differentiability and integrability are more delicate. We will return to these once we’ve developed
some of the ideas around convergence for sequences of functions.
Exercises 2.23. Key concepts: Power Series, Radius/interval of convergence R =
1
lim sup
|
a
n
|
1/n
1. For each power series, find the radius and interval of convergence:
(a)
( 1)
n
n
2
4
n
x
n
(b)
( n + 1)
2
n
3
(x 3)
n
(c)
nx
n
(d)
1
n
n
(x + 7)
n
(e)
(x π)
n!
(f)
3
n
n
x
2n+1
2. For each n N let a
n
=
4+2(1)
n
5
n
(a) Find lim sup
|
a
n
|
1/n
, lim inf
|
a
n
|
1/n
, lim sup
a
n+1
a
n
and lim inf
a
n+1
a
n
.
(b) Does the series
a
n
converge? What about
( 1)
n
a
n
? Why?
(c) Find the interval of convergence of the power series
a
n
x
n
.
3. Suppose that
a
n
x
n
has radius of convergence R. If lim sup
|
a
n
|
> 0, prove that R 1.
4. On the interval (
2
3
,
2
3
), express the series in Example 2.10.5 as a simple function.
(Hints: Use geometric series formulæ and the fact that the value of an absolutely convergent series is
independent of rearrangements)
5. Consider the power series
n=1
1
3
n
n
(x 7)
5n+1
=
1
3
(x 7) +
1
18
(x 7)
6
+
1
81
(x 7)
11
+ ···
Since only one in five of the terms are non-zero, it is a little tricky to analyze using a na
¨
ıve
application of our standard tests.
(a) Explain why the ratio test for power series (Corollary 2.9) does not apply.
(b) Writing the series as
a
m
(x 7)
m
, observe that
a
m
=
5
3
m1
5
(m1)
if m 1 mod 5
0 otherwise
Use the root test (Theorem 2.7) and your understanding of elementary limits to directly
compute the radius of convergence.
(c) Alternatively, write
1
3
n
n
(x 7)
5n+1
=
b
n
. Apply the ratio test for infinite series (Corol-
lary 2.4): what do you observe? Use your observation to compute the radius of conver-
gence of the original series in a simpler manner than part (a).
(d) Finally, check the endpoints to determine the interval of convergence.
24
2.24 Uniform Convergence
In this section we consider sequences ( f
n
) of functions f
n
: U R and their limits.
Example 2.11. For each n N, define f
n
: (0, 1) R : x 7→ x
n
. Several examples are graphed.
0
1
f
1
(x)
0 1
x
0
1
f
2
(x)
0 1
x
0
1
f
5
(x)
0 1
x
0
1
f
50
(x)
0 1
x
There are several useful notions of convergence for sequences of functions. The simplest is where,
for each input x, ( f
n
(x)) is treated as a distinct sequence of real numbers.
Definition 2.12. Suppose a function f and a sequence of functions ( f
n
) are given, all with domain
U. We say that ( f
n
) converges pointwise to f on U if,
x U, lim
n
f
n
(x) = f (x)
It is common to write f
n
f pointwise.’ For reference, here are two equivalent rephrasings:
1. x U, lim
n
|
f
n
(x) f (x)
|
= 0;
2. x U, ϵ > 0, N such that n > N =
|
f
n
(x) f (x)
|
< ϵ.
As we’ll see shortly, the relative position of the quantifiers (x, N) is crucial: in this definition, the
value of N is permitted to depend on x as well as ϵ.
Example (2.11, mk. II). The sequence ( f
n
) converges pointwise on the domain U = (0, 1) to
f : (0, 1) R : x 7 0
As a sanity check, we prove this explicitly. First observe that
|
f
n
(x) f (x)
|
= x
n
Suppose x (0, 1), that ϵ > 0 is given, and let N =
ln ϵ
ln x
.
Then
n > N = n ln x < ln ϵ = x
n
< ϵ
where the inequality switches sign since ln x < 0.
0
1
f
n
(x)
0 1
x
···
The example is nice in that a sequence of continuous functions converges pointwise to a continuous
function. Unfortunately, this desirable situation is not universal. . .
25
Example (2.11, mk. III). Define
g
n
: (0, 1] R : x 7→ x
n
Each g
n
is a continuous function, however its pointwise limit
g(x) =
(
0 if x < 1
1 if x = 1
has a jump discontinuity at x = 1.
0
1
g
n
(x)
0 1
x
···
We’d like the limit of a sequence of continuous functions to itself be continuous. With this goal in
mind, we make a tighter definition.
Definition 2.13. ( f
n
) converges uniformly to f on U if either
1. sup
xU
|
f
n
(x) f (x)
|
n
0, or,
2. ϵ > 0, N such that x U, n > N =
|
f
n
(x) f (x)
|
< ϵ
A common notation is f
n
f , though we won’t use it.
2ǫ
f (x)
f
n
(x)
As pictured, whenever n > N, the graph of f
n
(x) must lie between f (x) ± ϵ.
We’ll show that statements 1 and 2 are equivalent momentarily. For the present, compare with the
corresponding statements for pointwise convergence:
As with continuity versus uniform continuity, the distinction comes in the order of the quantifiers:
in uniform convergence, x is quantified after N and so the same N works for all locations x.
Uniform convergence implies pointwise convergence.
Example (2.11, mk. IV). For the final time we revisit our main example. If f
n
(x) = x
n
and f (x) = 0
are defined on U = (0, 1), then f
n
f non-uniformly. We show this using both criteria.
1. For every n,
sup
x(0,1)
|
f
n
(x) f (x)
|
= sup{x
n
: 0 < x < 1} = 1 − 0
which plainly fails to converge to zero.
2. Suppose the convergence were uniform and let ϵ =
1
2
. Then
N N such that x (0, 1), n > N = x
n
<
1
2
Since N N, a simple choice results in a contradiction;
x =
1
2
1
N+1
(0, 1) = x
N+1
=
1
2
0
1
1
ǫ
ǫ
x
26
Theorem 2.14. The criteria for uniform convergence in Definition 2.13 are equivalent.
Proof. (1 2) This follows immediately from the fact that
x U,
|
f
n
(x) f (x)
|
sup
xU
|
f
n
(x) f (x)
|
(2 1) Suppose ϵ > 0 is given. Then
N R such that x U, n > N =
|
f
n
(x) f (x)
|
<
ϵ
2
But then
n > N = sup
xU
|
f
n
(x) f (x)
|
ϵ
2
< ϵ
Amazingly, this subtle change of definition is enough to preserve continuity.
Theorem 2.15. Suppose ( f
n
) is a sequence of continuous functions. If f
n
f uniformly, then f is
continuous.
Proof. We demonstrate the continuity of f at a U. Let ϵ > 0 be given.
Since f
n
f uniformly,
N such that x U, n > N =
|
f (x) f
n
(x)
|
<
ϵ
3
Choose any n > N. Since f
n
is continuous at a,
δ > 0 such that
|
x a
|
< δ =
|
f
n
(x) f
n
(a)
|
<
ϵ
3
(†)
Put these together with the triangle inequality to see that
|
x a
|
< δ =
|
f (x) f (a)
|
|
f (x) f
n
(x)
|
+
|
f
n
(x) f
n
(a)
|
+
|
f
n
(a) f (a)
|
<
ϵ
3
+
ϵ
3
+
ϵ
3
= ϵ
We need not have fixed a at the start of the proof. Rewriting () to become
δ > 0 such that x, a U,
|
x a
|
< δ =
|
f
n
(x) f
n
(a)
|
<
ϵ
3
proves a related result.
Corollary 2.16. Suppose ( f
n
) is a sequence of uniformly continuous functions. If f
n
f uniformly,
then f is also uniformly continuous.
27
Examples 2.17. 1. Let f
n
(x) = x +
1
n
x
2
. This is continuous on R for all x, and converges pointwise
to the continuous function f : x 7→ x.
(a) On any bounded interval [M, M] the convergence f
n
f is uniform,
sup
x[M,M]
|
f
n
(x) f (x)
|
= sup
1
n
x
2
: x [M, M]
=
M
2
n
n
0
(b) On any unbounded interval, R say, the convergence is non-uniform,
sup
xR
|
f
n
(x) f (x)
|
= sup
1
n
x
2
: x R
=
2. Consider f
n
(x) =
1
1+x
n
; this is continuous on
( 1, ) and converges pointwise to
f (x) =
0 if x > 1
1
2
if x = 1
1 if 1 < x < 1
We consider the convergence f
n
f on several
intervals.
1
2
f
n
(x)
1 0 1 2 3
x
(a) On [2, ), the pointwise limit is continuous. Moreover, f
n
(x) is decreasing, whence
sup
x[2,)
|
f
n
(x) 0
|
=
1
1 + 2
n
n
0
and the convergence is uniform. Alternatively; if ϵ (0, 1), let N = log
2
( ϵ
1
1), then
x 2, n > N =
|
f
n
(x) 0
|
=
1
1 + x
n
1
1 + 2
n
<
1
1 + 2
N
= ϵ
The same argument shows that f
n
f uniformly on any interval [a, ) where a > 1.
(b) On [1, ) the convergence is not uniform, since the pointwise limit is discontinuous,
f (x) =
(
0 if x > 1
1
2
if x = 1
(c) The convergence is not even uniform on the open interval (1, ),
sup
x[1,)
|
f
n
(x) f (x)
|
= sup
1
1 + x
n
: x > 1
=
1
2
/
n
0
(d) Similarly, for any a (0, 1), the convergence f
n
f is uniform on [0, a], this time to the
(continuous) constant function f (x) = 1,
sup
x[0,a]
|
f
n
(x) 1
|
=
1
1
1 + a
n
=
a
n
1 + a
n
n
0
(e) Finally, on (1, 1) the convergence is not uniform,
sup
x[0,1)
|
f
n
(x) f (x)
|
= sup
x
n
1 + x
n
: x [0, 1)
=
1
2
/
n
0
28
Exercises 2.24. Key concepts: Pointwise & Uniform Convergence, Uniform conv preserves continuity
1. For each sequence of functions defined on [0, ):
(i) Find the pointwise limit f (x) as n .
(ii) Determine whether f
n
f uniformly on [0, 1].
(iii) Determine whether f
n
f uniformly on [1, ).
(a) f
n
(x) =
x
n
(b) f
n
(x) =
x
n
1 + x
n
(c) f
n
(x) =
x
n
n + x
n
(d) f
n
(x) =
x
1 + nx
2
(e) f
n
(x) =
nx
1 + nx
2
2. Let f
n
(x) =
x
1
n
2
. If f (x) = x
2
, we clearly have f
n
f pointwise on any domain.
(a) Prove that the convergence is uniform on [1, 1].
(b) Prove that the convergence is non-uniform on R.
3. For each sequence, find the pointwise limit and decide if the convergence is uniform.
(a) f
n
(x) =
1+2 cos
2
(nx)
n
for x R.
(b) f
n
(x) = cos
n
(x) on [π/2, π/2].
4. For each n N, consider the continuous function
f
n
: [0, 1] R : x 7→ nx
n
(1 x)
(a) Given 0 x < 1, let a (x, 1). Explain why N such that
n > N =
|
f
n+1
(x)
|
a
|
f
n
(x)
|
Hence conclude that the pointwise limit of ( f
n
) is the zero function.
(b) Use elementary calculus ( f
n
(x) = 0 . . .) to prove that the maximum value of f
n
is
located at x
n
=
n
1+n
. Hence compute
sup
x[0,1]
|
f
n
(x) f (x)
|
and use it to show that the convergence f
n
0 is non-uniform.
This shows that the converse to Theorem 2.15 is false, even on a bounded interval: the continuous
sequence ( f
n
) converges non-uniformly to a continuous function. Sketches of several f
n
are below.
0
0 1
x
e
1
y = f
1
(x)
0
0 1
x
e
1
y = f
2
(x)
0
0 1
x
e
1
y = f
5
(x)
0
0 1
x
e
1
y = f
50
(x)
5. Explain where the proof of Theorem 2.15 fails if f
n
f non-uniformly.
29
2.25 More on Uniform Convergence
While we haven’t yet developed calculus, our familiarity with basic differentiation and integration
makes it natural to pause to consider the interaction of these concepts with sequences of functions.
We also consider a Cauchy-criterion for uniform convergence, which leads to the useful Weierstraß
M-test.
Example 2.18. Recall that f
n
(x) = x
n
converges uniformly to f (x) = 0 on any interval [0, a] where
a < 1. We easily check that
Z
a
0
f
n
(x) dx =
1
n + 1
a
n+1
n
0 =
Z
a
0
f (x) dx
In fact the sequence of derivatives converge here also
d
dx
f
n
(x) = nx
n1
n
0 = f
(x)
It is perhaps surprising that integration interacts more nicely with uniform limits than does differen-
tiation. We therefore consider integration first.
Theorem 2.19. Let f
n
f uniformly on [a, b] where the functions f
n
are integrable. Then f is
integrable on [a, b] and
lim
n
Z
b
a
f
n
(x)dx =
Z
b
a
f (x)dx
Proof. Given ϵ > 0, note that
R
b
a
ϵ
2(ba)
dx =
ϵ
2
. Since f
n
f uniformly, N such that
10
x [a, b], n > N =
|
f
n
(x) f (x)
|
<
ϵ
2(b a)
= f
n
(x)
ϵ
2(b a)
< f (x) < f
n
(x) +
ϵ
2(b a)
=
Z
b
a
f
n
(x) dx
ϵ
2
Z
b
a
f (x) dx
Z
b
a
f
n
(x) dx +
ϵ
2
=
Z
b
a
f
n
(x) dx
Z
b
a
f (x) dx
ϵ
2
< ϵ
The appearance of uniform convergence in the proof is subtle. If N = N(ϵ) were allowed to depend
on x, then the integral
R
b
a
f
n
(x) dx would be meaningless: Which n would we consider? Larger than
N(x, ϵ) for which x? Taking n ‘larger than all the N(x, ϵ) might produce the absurdity n = !
10
This assumes f is already integrable. Once we’ve properly defined (Riemann/Darboux) integrability at the end of the
course, we can insert the following
Z
b
a
f
n
(x) dx
ϵ
2
L( f ) U( f )
Z
b
a
f
n
(x) dx +
ϵ
2
= 0 U( f ) L( f ) ϵ = U( f ) = L( f )
where U( f ) and L( f ) are the upper and lower Darboux integrals of f ; equality shows that f is integrable on [a, b].
30
Examples 2.20. 1. Uniform convergence is not required for the integrals to converge as we’d like. For
instance, recall that extending the previous example to the domain [0, 1] results in non-uniform
convergence; however, we still have
Z
1
0
f
n
(x) dx =
1
n + 1
n
0 =
Z
1
0
f (x) dx
2. To obtain a sequence of functions f
n
f for which
R
f
n
R
f requires a bit of creativity.
Consider the sequence
f
n
: [1, 1] R : x 7
(
n n
2
x if 0 < x <
1
n
0 otherwise
If 0 < x < 1, then for large n N we have
x
1
n
= f
n
(x) = 0
We conclude that f
n
0 pointwise. Since the area under f
n
is a triangle with base
1
n
and height
n, the integral is constant and non-zero;
Z
1
1
f
n
(x) dx =
1
2
= 0 =
Z
1
1
f (x) dx
It should be obvious that the convergence f
n
0 is non-uniform; why?
Derivatives and Uniform Limits We’ve already seen that a uniform limit of differentiable functions
might be differentiable (Example 2.18). As the next example shows, this should not be expected in
general, since even uniform limits of differentiable functions can have corners.
Example 2.21. For each n N, consider the function
f
n
: R R : x 7
(
|
x
|
if
|
x
|
1
n
n
2
x
2
+
1
2n
if
|
x
|
<
1
n
Each f
n
is differentiable: f
n
(x) =
1 if x
1
n
nx if
|
x
|
<
1
n
1 if x
1
n
f
n
converges pointwise to f (x) =
|
x
|
, which is non-
differentiable at x = 0.
f
n
f uniformly since
sup
x[1,1]
|
f
n
(x) f (x)
|
= f
n
(0) =
1
2n
0
31
If our goal is to transfer differentiability to the limit of a sequence of functions, then we have some
work to do.
Theorem 2.22. Suppose ( f
n
) is a sequence and f , g functions, all with domain [a, b]. Suppose also:
f
n
f pointwise;
Each f
n
is differentiable with continuous derivative;
11
f
n
g uniformly.
Then f
n
f uniformly on [a, b] and f is differentiable with derivative g.
The issue in the previous example is that the pointwise limit of the derived sequence ( f
n
) is discontin-
uous at x = 0 and therefore f
n
g isn’t uniform!
Proof. For any x [a, b], the fundamental theorem of calculus (part II) tells us that
Z
x
a
f
n
( t) dt = f
n
(x) f
n
(a)
As n , Theorem 2.19 says the left side converges to
R
x
a
g(t) dt and the right to f (x) f (a) (both
pointwise). Since f
n
g uniformly, we see that g is continuous and can apply the fundamental
theorem (part I):
R
x
a
g(t) dt = f (x) f ( a) is differentiable with derivative g.
The uniformity of the convergence f
n
f follows from Exercise 10.
Uniformly Cauchy Sequences and the Weierstraß M-Test
Recall that one may use Cauchy sequences to demonstrate convergence without knowing the limit in
advance. An analogous discussion is available for sequences of functions.
Definition 2.23. A sequence of functions ( f
n
) is uniformly Cauchy on U if
ϵ > 0, N N such that x U, m, n > N =
|
f
n
(x) f
m
(x)
|
< ϵ
Example 2.24. Let f
n
(x) =
n
k=1
1
k
2
sin k
2
x be defined on R. Given ϵ > 0, let N =
1
ϵ
, then
m > n > N =
|
f
m
(x) f
n
(x)
|
=
m
k=n+1
1
k
2
sin k
2
x
m
k=n+1
1
k
2
m
k=n+1
1
k(k 1)
=
m
k=n+1
1
k 1
1
k
=
1
n
1
m
<
1
N
= ϵ
whence ( f
n
) is uniformly Cauchy.
11
Without this continuity assumption, the fundamental theorem of calculus doesn’t apply and the proof requires an
alternative approach. One can also weaken the hypotheses: if f
n
g uniformly and ( f
n
(x)) converges for at least one
x [a, b], then there exists f such that f
n
f is uniform and f
= g.
32
As with sequences of real numbers, uniformly Cauchy sequences converge; in fact uniformly!
Theorem 2.25. A sequence ( f
n
) is uniformly Cauchy on U if and only if it converges uniformly to
some f : U R.
Proof. ( ) Let ( f
n
) be uniformly Cauchy on U. For each x U, the sequence ( f
n
(x)) R is Cauchy
and thus convergent. Define f : U R to be the pointwise limit:
f (x) := lim
n
f
n
(x)
We claim that f
n
f uniformly. Let ϵ > 0 be given, then N N such that
m > n > N =
|
f
n
(x) f
m
(x)
|
<
ϵ
2
= f
n
(x)
ϵ
2
< f
m
(x) < f
n
(x) +
ϵ
2
= f
n
(x)
ϵ
2
f (x) f
n
(x) +
ϵ
2
(take limits as m )
=
|
f
n
(x) f (x)
|
ϵ
2
< ϵ
( ) This is Exercise 2.
Example (2.24, mk. II). Since ( f
n
) is uniformly Cauchy on R, it converges uniformly to some f :
R R. It seems reasonable to write
f (x) =
n=1
1
n
2
sin n
2
x
The graph of this function looks somewhat bizarre:
1
1
f (x)
x
2ππ2π π
Since each f
n
is (uniformly) continuous, Theorem 2.15 says that f is also (uniformly) continuous. By
Theorem 2.19, f (x) is integrable, indeed
Z
b
a
f (x) dx = lim
n
n
k=1
k
4
cos k
2
x
b
a
=
n=1
1
n
4
(cos n
2
a cos n
2
b)
which converges (comparison test) for all a, b. By contrast, the derived sequence
f
n
(x) =
n
k=1
cos k
2
x
does not converge for any x since lim
n
cos n
2
x = 0. We should therefore expect (though we offer no
proof) that f is nowhere differentiable.
33
The example generalizes. Suppose (g
k
) is a sequence of functions on U and define the series
g
k
(x)
as the pointwise limit of the sequence ( f
n
) of partial sums
k=k
0
g
k
(x) := lim
n
f
n
(x) where f
n
(x) =
n
k=k
0
g
k
(x)
whenever the limit exists. The series is said to converge uniformly whenever ( f
n
) does so. Theorems
2.15, 2.19 and 2.22 immediately translate.
Corollary 2.26. Let
g
k
be a series of functions converging uniformly on U. Then:
1. If each g
k
is (uniformly) continuous then
g
k
is (uniformly) continuous.
2. If each g
k
is integrable, then
R
g
k
(x) dx =
R
g
k
(x) dx.
3. If each g
k
is continuously differentiable, and the sequence of derived partial sums f
n
converges
uniformly, then
g
k
is differentiable and
d
dx
g
k
(x) =
g
k
(x).
As an application of the uniform Cauchy criterion, we obtain an easy test for uniform convergence.
Theorem 2.27 (Weierstraß M-test). Suppose (g
k
) is a sequence of functions on U. Moreover assume:
1. (M
k
) is a non-negative sequence such that
M
k
converges.
2. Each g
k
is bounded by M
k
; that is
|
g
k
(x)
|
M
k
.
Then
g
k
(x) converges uniformly on U.
Proof. Let f
n
(x) =
n
k=k
0
g
k
(x) define the sequence of partial sums. Since
M
k
converges, its sequence
of partial sums is Cauchy (the Cauchy criterion for infinite series); given ϵ > 0,
N such that m > n > N =
m
k=n+1
M
k
< ϵ
However, by assumption,
m > n > N =
|
f
m
(x) f
n
(x)
|
=
m
k=n+1
g
k
(x)
m
k=n+1
|
g
k
(x)
|
m
k=n+1
M
k
< ϵ
The sequence of partial sums is uniformly Cauchy and thus uniformly convergent.
Example 2.28. Given the series
n=1
1+cos
2
(nx)
n
2
sin(nx), we clearly have
1 + cos
2
( nx)
n
2
sin(nx)
2
n
2
for all x R
Since
2
n
2
converges, the M-test shows that the original series converges uniformly on R.
34
Exercises 2.25. Key concepts: Uniform convergence preseves integration, Uniform Cauchyness, M-test
1. For each n N, let f
n
(x) = nx
n
when x [0, 1) and f
n
(1) = 0.
(a) Prove that f
n
0 pointwise on [0, 1].
(Hint: recall Exercise 2.24.4 if you’re not sure how to prove this)
(b) By considering the integrals
R
1
0
f
n
(x) dx show that f
n
0 is not uniform.
2. Prove that if f
n
f uniformly, then the sequence ( f
n
) is uniformly Cauchy.
3. (a) Suppose ( f
n
) is a sequence of bounded functions on U and suppose that f
n
f converges
uniformly on U. Prove that f is bounded on U.
(b) Give an example of a sequence of bounded functions ( f
n
) converging pointwise to f on
[0, ), but for which f is unbounded.
4. The sequence defined by f
n
(x) =
nx
1+nx
2
(Exercise 2.24.1) converges uniformly on any closed
interval [a, b] where 0 < a < b.
(a) Check explicitly that
R
b
a
f
n
(x) dx
R
b
a
f (x) dx, where f = lim f
n
.
(b) Is the same thing true for derivatives?
5. Let f
n
(x) = n
1
sin n
2
x be defined on R.
(a) Prove that f
n
converges uniformly on R.
(b) Check that
R
x
0
f
n
( t) dt converges for any x R.
(c) Does the derived sequence ( f
n
) converge? Explain.
6. Use the M-test to prove that
n=1
x
n
n
2
defines a continuous function on [1, 1].
7. Prove that
n=1
x
n
sin x
(n+1)
3
2
n
converges uniformly to a continuous function on the interval [2, 2].
8. Prove that if
g
k
converges uniformly on a set U and if h is a bounded function on U, then
hg
k
converges uniformly on U.
(Warning: you cannot simply write
hg
k
= h
g
k
)
9. Consider Example 2.20.2.
(a) Check explicitly that the convergence isn’t uniform by computing sup
x[1,1]
|
f
n
(x) f (x)
|
(b) Prove that f
n
0 pointwise on (0, 1] using the ϵN definition of convergence: that is,
given ϵ > 0 and x (0, 1], find an explicit N(x, ϵ) such that
n > N =
|
f (x)
|
< ϵ
What happens to your choice of N(x, ϵ) as x 0
+
?
10. Suppose ( f
n
) converges uniformly on [a, b] and that each f
n
is continuous.
(a) Use the fact that ( f
n
) is uniformly Cauchy to prove that ( f
n
) is uniformly Cauchy and thus
converges uniformly to some function f .
(Hint:
|
f
n
(x) f
m
(x)
|
=
R
x
a
f
n
( t) f
m
( t) dt
. . .)
(b) Explain why we need not have assumed the existence of f in Theorem 2.22.
35
2.26 Differentiation and Integration of Power Series
We now specialize our recent results to power series. While everything will be stated for series
centered at x = 0, all are easily translated to arbitrary centers.
Theorem 2.29. Let
a
n
x
n
be a power series with radius of convergence R > 0 and let T (0, R).
Then:
1. The series converges uniformly on [T, T].
2. The series is uniformly continuous on [T, T] and continuous on (R, R).
Proof. This is a straightforward application of the Weierstraß M-test (Theorem 2.27). For each k,
define M
k
=
|
a
k
|
T
k
, and observe that
T < R =
a
n
T
n
converges absolutely =
M
k
converges
By the M-test and Corollary 2.26, the power series converges uniformly on [T, T] to a uniformly
continuous function.
Finally, every x (R, R) lies in some such interval (take T =
|
x
|
), whence the power series is
continuous on (R, R).
Example 2.30. On its interval of convergence (1, 1), the geometric series
n=0
x
n
converges pointwise
to
1
1x
; convergence is uniform on any interval [T, T] ( 1, 1).
We needn’t use the Theorem for this is simple to verify directly: writing f , f
n
for the series and its
partial sums,
|
f
n
(x) f (x)
|
=
1 x
n+1
1 x
1
1 x
=
x
n+1
1 x
= sup
x[T,T]
|
f
n
(x) f (x)
|
=
T
n+1
1 T
n
0
By contrast, the convergence is non-uniform on (1, 1), since
sup
x(1,1)
|
f
n
(x) f (x)
|
=
Theorem 2.31. Suppose a power series
a
n
x
n
has radius of convergence R > 0. Then the series is
integrable and differentiable term-by-term on the interval (R, R). Indeed for any x (R, R),
d
dx
n=0
a
n
x
n
=
n=1
na
n
x
n1
and
Z
x
0
n=0
a
n
t
n
dt =
n=0
a
n
n + 1
x
n+1
where both series also have radius of convergence R.
36
Proof. Let f (x) =
a
n
x
n
have radius of convergence R, and observe that
lim sup
|
na
n
|
1/n
= lim n
1/n
lim sup
|
a
n
|
1/n
=
1
R
whence
na
n
x
n
also has radius of convergence R. At any given non-zero x (R, R), we may write
n=1
na
n
x
n1
= x
1
n=1
na
n
x
n
to see that the derived series also has radius of convergence R. On any interval [T, T] (R, R), the
derived series converges uniformly (Theorem 2.29). Since each a
n
x
n
is continuously differentiable,
Corollary 2.26 says that f is differentiable on [T, T] and that
f
(x) =
n=0
d
dx
a
n
x
n
=
n=1
na
n
x
n1
Since any x (R, R) lies in some such interval [T, T], we are done.
Exercise 7 discusses the corresponding result for integration.
We postpone the canonical examples until after the next result.
Continuity at Endpoints?
There is one small hole in our analysis. A series
a
n
x
n
with radius of convergence R converges and
is continuous on (R, R). But what if it also converges at x = ±R? Is the series continuous at the
endpoints? The answer is yes, though demonstrating this small benefit requires a lot of work!
Theorem 2.32 (Abel’s Theorem). Power series are continuous on their full interval of convergence.
Examples 2.33. 1. Apply our results to the geometric series;
1
(1 x)
2
=
d
dx
1
1 x
=
n=1
nx
n1
=
n=0
( n + 1)x
n
= 1 + 2x + 3x
2
+ 4x
3
+ ···
ln( 1 x) =
Z
x
0
1
1 t
dt =
n=0
1
n + 1
x
n+1
=
n=1
1
n
x
n
=
x +
1
2
x
2
+
1
3
x
3
+ ···
where both are valid on (1, 1). In fact the first series has exactly this interval of convergence,
whereas the second has [1, 1). By Abel’s Theorem and the fact that logarithms are continuous,
we have equality at x = 1 and recover the famous identity
ln 2 =
n=1
( 1)
n+1
n
= 1
1
2
+
1
3
1
4
+ ···
This also shows that while integrated and differentiated series have the same radius of conver-
gence as the original, convergence at the endpoints need not be the same.
37
2. Substitute x 7 x
2
in the geometric series and integrate term-by-term: if
|
x
|
< 1, then
1
1 + x
2
=
n=0
( 1)
n
x
2n
= arctan x =
n=0
( 1)
n
2n + 1
x
2n+1
In fact the arctangent series also converges at x = ±1; Abel’s Theorem says it is continuous on
[1, 1]. Since arctangent is continuous (on R!) we recover another famous identity
π
4
= arctan 1 =
n=0
( 1)
n
2n + 1
= 1
1
3
+
1
5
1
7
+ ···
As with the identity for ln 2, this is a very slowly converging alternating series and therefore
doesn’t provide an efficient method for approximating π.
3. The series f (x) =
n=0
( 1)
n
(2n)!
x
2n
has radius of convergence . Differentiate to obtain
f
(x) =
n=1
( 1)
n
x
2n1
(2n 1)!
=
n=0
( 1)
n+1
(2n + 1)!
x
2n+1
This series is also valid for all x R. Differentiating again,
f
′′
(x) =
n=0
( 1)
n+1
(2n)!
x
2n
=
n=0
( 1)
n
(2n)!
x
2n
= f (x)
Recalling that f (x) = cos x is the unique solution to the initial value problem
(
f
′′
(x) = f (x)
f (0) = 1, f
(0) = 0
We conclude that, x R,
cos x =
n=0
( 1)
n
(2n)!
x
2n
sin x = f
(x) =
n=0
( 1)
n
(2n + 1)!
x
2n+1
These last expressions can be taken as the definitions of sine and cosine. As promised earlier, con-
tinuity and differentiability of these functions now come for free! The only real downside of this
definition is believing that it has anything to do with right-triangles!
We can similarly define other common transcendental functions using power series: for instance
exp(x) =
n=0
1
n!
x
n
Example 2.33.1 could also be taken as a definition of the logarithm on the interval ( 0, 2],
ln x = ln(1 (1 x)) =
n=1
1
n
(1 x)
n
=
n=1
( 1)
n+1
n
(x 1)
n
though this is unnecessary since it is more natural to define ln as the inverse of the exponential.
38
Proof of Abel’s Theorem (non-examinable)
This requires a lot of work, so feel free to omit on a first reading!
First observe that there is nothing to check unless 0 < R < . By the change of variable x 7 ±
x
R
, it
is enough for us to prove the following:
n=0
a
n
convergent and f (x) =
n=0
a
n
x
n
on (1, 1) = lim
x1
f (x) =
n=0
a
n
Proof. Let s
n
=
n
k=0
a
k
and write s = lim s
n
=
a
n
. It is an easy exercise to check that
n
k=0
a
k
x
k
= s
n
x
n
+ (1 x)
n1
k=0
s
k
x
k
If
|
x
|
< 1, then (since s
n
s) lim s
n
x
n
= 0, whence we obtain
x (1, 1), f (x) = (1 x)
n=0
s
n
x
n
Let ϵ (0, 1) be given and fix x ( 0, 1). Then
N N such that n > N =
|
s
n
s
|
<
ϵ
2
()
Use the geometric series formula
n=0
x
n
=
1
1x
and write h(x) = (1 x)
N
n=0
( s
n
s)x
n
to observe
|
f (x) s
|
=
(1 x)
n=0
s
n
x
n
s
=
(1 x)
n=0
s
n
x
n
s(1 x)
n=0
x
n
=
(1 x)
n=0
( s
n
s)x
n
= (1 x)
N
n=0
( s
n
s)x
n
+
n=N+1
( s
n
s)x
n
(1 x)
N
n=0
( s
n
s)x
n
+ (1 x)
n=N+1
( s
n
s)x
n
(-inequality)
< h(x) +
ϵ
2
(1 x)
n=N+1
x
n
(by ())
h(x) +
ϵ
2
Since h > 0 is continuous and h(1) = 0, δ > 0 such that x (1 δ, 1) = h(x) <
ϵ
2
(the computa-
tion of a suitable δ is another exercise).
We conclude that lim
x1
f (x) = s.
39
Exercises 2.26. Key concepts: Power series continuous on (R, R), uniformly on any [T, T] (R, R),
Power series differentiable and integrable term-by-term on (R, R)
1. (a) Prove that
n=1
nx
n
=
x
(1x)
2
for
|
x
|
< 1.
(b) Evaluate
n=1
n
2
n
,
n=1
n
4
n
and
n=1
(1)
n
n
4
n
2. (a) Starting with a power series centered at x = 0, evaluate the integral
R
1/2
0
1
1+x
4
dx as an
infinite series.
(b) (Harder) Repeat part (a) but for
R
1
0
1
1+x
4
dx. What extra ingredients do you need?
3. The probability that a standard normally distributed random variable X lies in the interval [a, b]
is given by the integral
P(a X b) =
1
2π
Z
b
a
exp
x
2
2
dx
Find P(1 X 1) as an infinite series.
4. If f (x) =
n=0
(1)
n
(2n)!
x
2n
is defined as in Example 2.33.3, prove that
f (x)
2
+
f
(x)
2
= 1.
What does (the converse of) Pythagoras’ Theorem say about f (x), at least when both it and
f
(x) are positive?
(Hint: Differentiate and evaluate at zero!)
5. Define c(x) =
n=0
x
2n
(2n)!
and s(x) =
n=0
x
2n+1
(2n+1)!
.
(a) Prove that c
(x) = s(x) and that s
(x) = c(x).
(b) Prove that c(x)
2
s(x)
2
= 1 for all x R.
(These functions are the hyperbolic sine and cosine: s(x) = sinh x and c(x) = cosh x)
6. Let a, b (1, 1). Extending Example 2.30, show that the convergence
x
n
=
1
1x
is non-
uniform on any interval of the form (1, a) or (b, 1).
7. Prove the integration part of Theorem 2.31.
8. Prove or disprove: If a series converges absolutely at the endpoints of its interval of convergence
then its convergence is uniform on the entire interval.
9. Complete the proof of Abel’s Theorem:
(a) Let s
n
=
n
k=0
a
k
be the partial sum of the series
a
n
. For each n, prove that,
n
k=0
a
k
x
k
= s
n
x
n
+ (1 x)
n1
k=0
s
k
x
k
(b) Suppose x > 0. Let S = max{
|
s
n
s
|
: n N} and prove that h(x) S(1 x
N+1
). Hence
find an explicit δ that completes the final step.
40
2.27 The Weierstraß Approximation Theorem
A major theme of analysis is approximation; for instance power series are an example of (uniform)
approximation by polynomials. It is reasonable to ask whether any function can be so approximated.
In 1885, Weierstraß answered a specific case in the affirmative.
Theorem 2.34 (Weierstraß). If f : [a, b] R is continuous, then there exists a sequence of polyno-
mials converging uniformly to f on [a, b].
Suitable polynomials can be defined in various ways. By scaling the domain, it is enough to do this
on [a, b] = [0, 1] where perhaps the simplest approach is via the Bernstein Polynomials,
B
n
f (x) :=
n
k=0
n
k
f
k
n
x
k
(1 x)
nk
(
(
n
k
)
=
n!
k!(nk)!
is the binomial coefficient)
We omit the proof due to length; Weierstraß’ original argument was completely different. Instead we
compute a couple of examples and give an important interpretation/application.
Examples 2.35. 1. Suppose f (x) = 2x if x <
1
2
and f (x) = 1 otherwise.
B
1
f (x) = f (0)(1 x) f (0) + f (1)x = x
B
2
f (x) = f (0)(1 x)
2
+ 2 f (
1
2
)x(1 x) + f (1)x
2
= 2x(1 x) + x
2
= x(2 x)
0
1
0 1
B
3
f (x) = f (0)(1 x)
3
+ 3 f (
1
3
)x(1 x)
2
+ 3 f (
2
3
)x
2
(1 x) + f (1)x
3
= 0(1 x)
3
+ 2x(1 x)
2
+ 3x
2
(1 x) + x
3
= x(2 x) = B
2
f (x)
B
4
f (x) = 0(1 x)
4
+ 2x(1 x)
3
+ 6x
2
(1 x)
2
+ 4x
3
(1 x) + x
4
= x(x
3
2x
2
+ 2)
The Bernstein polynomials B
2
f (x), B
4
f (x) and B
50
f (x) are drawn.
2. Now assume f (x) = x if x <
1
2
and f (x) = 1 x otherwise.
B
1
f (x) = f (0)(1 x) + f (1)x = 0
B
2
f (x) = x(1 x)
B
3
f (x) = 0(1 x)
3
+ x(1 x)
2
+ x
2
(1 x) + 0x
3
= x(1 x) = B
2
f (x)
0
0 1
1
2
B
4
f (x) = f (0)(1 x)
4
+ f (
1
4
)·4x(1 x)
3
+ f (
1
2
)·6x
2
(1 x)
2
+ f (
3
4
)·4x
3
(1 x) + f (1)x
4
= x(1 x)
3
+ 3x
2
(1 x)
2
+ x
3
(1 x)
= x(1 x)(1 + x x
2
)
41
B´ezier curves (just for fun!)
The Bernstein polynomials arise naturally when con-
sidering ezier curves. These have many applications,
particularly in computer graphics. Given three points
A, B, C, define points on the line segments
AB and
BC
for each t [0, 1], via
AB(t) = (1 t)A + tB
BC(t) = (1 t)B + tC
These points move at a constant speed along the cor-
responding segments. Now consider a point on the
moving segment between the points defined above:
0
y
0 1
x
A
B
C
AB
BC
1
2
R(t) := (1 t)
AB(t) + t
BC(t) = (1 t)
2
A + 2t(1 t)B + t
2
C
This is the quadratic B´ezier curve with control points A, B, C. The 2
nd
Bernstein polynomial for a function
f is simply the quadratic B
´
ezier curve with control points
(
0, f (0)
)
,
1
2
, f (
1
2
)
and
(
1, f (1)
)
. The
picture
12
above shows B
2
f (x) for the above example.
We can repeat the construction with more control points: with four points A, B, C, D, one constructs
AB(t),
BC(t),
CD(t), then the second-order points between these, and finally the cubic B
´
ezier curve
R(t) : = (1 t)
(1 t)
AB(t) + t
BC(t)
+ t
(1 t)
BC(t) + t
CD(t)
= (1 t)
3
A + 3t(1 t)
2
B + 3t
2
(1 t)C + t
3
D
where we now recognize the relationship to the 3
rd
Bernstein polynomial.
0
1
y
0
1
x
A
B
C
D
A
B
C
D
The pictures show cubic B
´
ezier curves: the first is the graph of the Bernstein polynomial
B
3
f (x) = 0(1 x)
3
+ 3x(1 x)
2
+ 3x
2
(1 x) +
2
3
x
3
while the second is for the four given control points A, B, C, D.
12
Click on any of the pictures to see all of them move.
42
Exercises 2.27. Key concepts: Every continuous function is the uniform limit of a polynomial sequence
1. Show that the closed bounded interval assumption in the approximation theorem is required
by giving an example of a continuous function f : (1, 1) R which is not the uniform limit
of a sequence of polynomials.
2. If g : [a, b] R is continuous, then f (x) := g
( b a)x + a
is continuous on [0, 1]. If P
n
f
uniformly on [0, 1], prove that Q
n
g uniformly on [a, b], where
Q
n
(x) = P
n
x a
b a
3. Use the binomial theorem to check that every Bernstein polynomial for f (x) = x is B
n
f (x) = x
itself!
4. Find a parametrization of the cubic B
´
ezier curve with control points (1, 0), (0, 1), (1, 0) and
(0, 1). Now sketch the curve.
(Use a computer algebra package if you like!)
5. (Hard) Show that the Bernstein polynomials for f (x) = x
2
are given by
B
n
f (x) =
1
n
x +
n 1
n
x
2
and thus verify explicitly that B
n
f f uniformly.
43