The Weierstrass M Test
The Weierstrass M Test
The Weierstrass M Test
The following is a standard result and in many cases the easiest and most
natural method to show a series is uniformly convergent.
Theorem 1 (Weierstrass M test.). Let f1 , f2 , f3 , . . . X R be a sequence of
functions form a set X to the real numbers. Assume that there are constants,
Mk , such that the two conditions
|fk (x)| Mk
and
Mk <
k=1
fk (x)
k=1
X
F (x) =
fk (x).
k=1
Pn
So we only need show the partial sums Sn (x) =
k=1 fk (x) converge
uniformly to F (x). Note
X
X
X
|F (x) Sn (x)| =
fk (x)
|fk (x)|
Mk
k=n+1
k=n+1
k=n+1
X
k=1
1
.
x2 + k 2
1
1
2 =: Mk .
2
+k
k
P
P
2
The series
k=1 Mk =
k=1 1/k converges, there by the M -test the series
for f (x) converges uniformly. Moreover we can say more. As each term of the
series is continuous and the convergence is uniform the sum function is also
continuous. (As the uniform limit of continuous functions is continuous.)
X
1
p
f (x, y) =
.
3/2
k + x2 + y 4
k=1
Show this series converges uniformly and that f is continuous on R2 .
Trigonometric functions.
We can now give definitions of the trigonometric functions. It is enough
to define sin and cos as all the others can be defined in terms of these two.
Theorem 2. The two series
X
x2 x4 x6 x8 x10
(1)k x2k
=1
+
+
c(x) =
(2k)!
2
4!
6!
8!
10!
s(x) =
k=0
X
k=0
x3 x5 x7 x9 x11
(1)k x2k+1
=x
+
+
(2k + 1)!
3!
5!
7!
9!
11!
converge absolutely for all x R and therefore these series are absolutely
convergent and differentiable for all x R. The derivatives satisfy
c0 (x) = s(x),
s0 (x) = c(x).
s(0) = 0.
Also
c00 (x) = c(x),
g(0) = 0,
g 0 (0) = 0
Problem 6. Prove this. Hint: Let g(x) = f (x) f (0)c(x) f 0 (0)s(x) and
use Lemma 4.
Theorem 6. The functions c and s satisfy
c(x + a) = c(a)c(x) s(a)s(x)
s(x + a) = s(a)c(x) + c(a)s(x).
Problem 7. Prove this. Hint: For the first one let f (x) = c(x + a). Then
f 00 (x) = f (x). Thus, by Theorem 5,
f (x) = f (0)c(x) + f 0 (0)s(x).
+
3!
5! 7!
9! 11! 13!
15!
x2
x9
x2
x13
x2
x3 x5
+
1
+
1
+
1
+
=x
3!
5!
67
9!
10 11
13!
14 15
s(x) = x
If 0 < x < 6 then x2 < 6 7 < 10 11 < 14 15. Therefore all the terms
x5
x2
x9
x2
x13
x2
1
,
1
,
1
,...
5!
67
9!
10 11
13!
14 15
are positive and the result follows.
x2 x4
+
2
24
holds.
Problem 8. Prove this.
Theorem 9. The function c(x) has a unique zero in the interval [0, 2]. We
denote this zero by /2. This is our official definition of the number .
Proof. As 2 < 6 we have, by Lemma 7, that s(x) > 0 on the interval (0, 2).
Therefore when 0 < x < 2
c0 (x) = s(x) < 0.
This shows that c(x) is strictly decreasing on [0, 2]. Thus c(x) can have at
most one zero on [0, 2]. But
c(0) = 1 > 0
and by Lemma 8
22
24
1
+
=
<0
2
24
3
and therefore c(x) has at least one root in [0, 2] by the Intermediate Value
Theorem.
c(2) < 1
s(/2) = 1
c() = 1
s() = 0
c(2) = 1
s(2) = 0
c(x + ) = c(x)
s(x + ) = s(x)
c(x + 2) = c(x)
s(x + 2) = s(x)
sin(x) = s(x)
sin(x)
cos(x)
d
1
arctan(x) =
.
dx
1 + x2
Problem 11. Prove this.
Remark 14. To compute we can use the series for the arctan:
arctan(x) = x
x3 x5 x7
+
+ .
3
5
7
For this to be efficient we wish to use values of x that are close to zero. In
1796 John Machin showed1
1
1
.
= 16 arctan 4 arctan
5
239
Using this and the series for arctan(x) gives
X
X
(1)k
(1)k
= 16
4
(2k + 1)52k+1
(2k + 1)(239)2k+1
k=0
k=0
allows one to compute to five or six decimals without much trouble. Just
using the first five terms in the series gives
3.14159268240440
while the correct value to 15 significant digits is
= 3.14159265358979 . . .
so we are already good to seven decimals. Using nine terms in the series
gives you 15 significant digits.
For a less off the wall identity note that if 1 = arctan(1/2) and 2 =
arctan(1/3), so that tan 1 = 1/2 and tan 2 , then using the addition for tan
we have
1/2 + 1/3
tan(1 ) + tan(2 )
=
=1
tan(1 + 2 ) =
1 tan 1 tan 2
1 (1/2)(1/3)
and therefore
1 + 2 = arctan(1) = .
4
This gives
X
1
(1)k
1
1
1
=4
+
.
= 4 arctan + arctan
2
3
2k + 1 22k+1 32k+1
k=0
X
1
4
2
1
1
=
.
16k 8k + 1 8k + 4 8k + 5 8k + 6
k=0
1If you wish to prove this, probably the easiest way is to notice that (5 + i)4 (239 i) =
114244(1 + i) and use the polar form of complex numbers to get the result.