3 Lipschitz Condition and Lipschitz Continuity: 3.4 Interpretation
3 Lipschitz Condition and Lipschitz Continuity: 3.4 Interpretation
f(x) f(y)
x y
by putting y = x +h.
If we were to let h 0 and if the function f were dierentiable, then the result would mean
|f
1
(y)
= sup
y(x1,x+1)
|2y| 2 |x| + 1 (17)
being |y| |x| + 1 for y (x 1, x + 1) by the triangle inequality. Now picking up two points,
y, z (x 1, x +1) it follows by the mean value theorem that for some between y and z, that
|f
1
(z) f
1
(y)| =
1
()(z y)
sup
(x1,x+1)
1
()
|z y| .
(18)
Using (17), we conclude that
|f
1
(z) f
1
(y)| (2 |x| + 1) |z y| , z, y (x 1, x + 1). (19)
Hence the Lipschitz constant of f
1
on (x 1, x + 1) is = 2 |x| + 1 and the function is locally
Lipschitz-continuous on all of R.
Observe that the Lipschitz constant depends on x and its neighbourhood. In particular, if
x then . This is an indication that the function may not be globally Lipschitz
continuous. Indeed, for any y = 0
|f
1
(y) f
1
(0)|
|y 0|
= |y| , as y , (20)
which means that there is no that can satisfy the global Lipschitz property for y R.
3.7 Example f
2
(x) =
_
x
2
sin(1/x
2
) if x = 0,
0 if x = 0.
This function is dierentiable everywhere:
f
2
(x) =
_
2xsin
_
1
x
2
_
2
x
cos
_
1
x
2
_
if x = 0,
0 if x = 0.
(One has to use the denition of derivative to obtain f
2
(0).)
However, since f
2
(x) 0 as x 0, the derivative is not continuous. Is f
2
Lipschitz-
continuous?
Dene x
n
= (2n + /2)
1/2
and y
n
= (2n)
1/2
for n = 1, 2, . . . , and suppose that f
2
is
Lipschitz-continuous. Since x
n
, y
n
B for all n, there must exist such that
f
2
(x
n
) f
2
(y
n
)
x
n
y
n
for all n
=
(2n +
2
)
1
(2n)
1/2
(2n +
2
)
1/2
= 4n
_
(2n)
1/2
+
_
2n +
2
_
1/2
_
as n .
ADE (G1156) Spring 2006 Handout 3: Lipschitz condition and Lipschitz continuity9
Plainly no such can exist. Hence f
2
is not Lipschitz-continuous.
In the rst example we used the theorem continuously dierentiable =locally Lipschitz.
Here we saw an example where a dierentiable function whose derivative is not continuous turned
out not to be Lipschitz. However, this is not true of all such functions. For example, consider
the function (shown in the handout 2.2 Continuity and Dierentiabilitysome facts of life)
f(x) =
_
x
2
sin(1/x) if x = 0,
0 if x = 0,
which is dierentiable, but f
3
(x) =
_
1 if x < 0,
1 if x > 0.
Since
|f
3
(x) f
3
(y)| = ||x| |y|| |x y|, for all x, y R,
we see that f
3
is globally Lipschitz continuous, with Lipschitz constant = 1.
3.9 Example f
4
(x) = |x|
1/2
This function is not dierentiable at x = 0, but
f
4
(x) =
_
1
2
(x)
1/2
if x < 0,
1
2
x
1/2
if x > 0.
Is f
4
Lipschitz-continuous?
Dene x
n
= 1/n
2
and y
n
= 0 for n = 1, 2, . . . , and suppose that f
4
is Lipschitz-continuous.
Since x
n
, y
n
B for all n, there must exist such that
f
4
(x
n
) f
4
(y
n
)
x
n
y
n
for all n
= n as n .
Plainly no such can exist. Thus f
4
is not Lipschitz-continuous.
3.10 Relationships between Lipschitz continuity, continuity and dierentia-
bility
3.11 Theorem (Lipschitz C
0
) Every locally Lipschitz-continuous function is continuous.
The proof of this Theorem is left as an exercise.
3.12 Theorem (C
1
Lipschitz) Every continuously dierentiable function is locally Lipschitz.
ADE (G1156) Spring 2006 Handout 3: Lipschitz condition and Lipschitz continuity 10
Proof Let f : R
m
R
m
be continuously dierentiable. Fix any two points z, y R
m
and
dene the function f : [0, 1] R as f() := f(z + (y z)). It is clear that
f(0) = f(z) and f(1) = f(y)). (21)
Furthermore, by the chain rule, we know that f is dierentiable and that
d
d
f() = Df(z + (y z)) (y z). (22)
Here Df(w) is the Jacobian matrix of f at w:
Df(w) =
_
_
_
f
1
w
1
(w)
f
1
w
m
(w)
.
.
.
.
.
.
.
.
.
f
m
w
1
(w)
f
m
w
m
(w)
_
_
_
(23)
where
f
i
w
j
(w) is the partial derivative of the i-th component of f with respect to the j-th
coordinate.
By the denition of f and then by the fundamental theorem of calculus, we have
f(y) f(z)) = f(1) f(0) =
_
1
0
f
() d
=
__
1
0
Df
_
z + (y z)
_
d
_
(y z);
where the integral in the last line is a matrix whose i, j-th component is given by
_
1
0
f
i
w
j
_
z + (y z)
_
d.
It follows that
f(y) f(z)
_
1
0
Df
_
z + (y z)
_
d y z,
where we use the notation for both the vector norm and its associated matrix norm.
Notice that, by the triangle inequality for integrals, we have
_
1
0
Df
_
z + (v z)
_
d
_
1
0
Df
_
z + (v z)
_
d
sup
[0,1]
Df(z + (v z))
_
1
0
d
= sup
[0,1]
Df(z + (v z)).
ADE (G1156) Spring 2006 Handout 3: Lipschitz condition and Lipschitz continuity 11
Furthermore by the equivalence of matrix norms we have
c
0
> 0 : A c
0
A
, A R
mm
, (24)
where c
0
depends only on m and
, t
, t
), n X. (29)
Likewise, there exists (y
, t
, t
), n Y. (30)
Notice that (x
, t
), (y
, t
nY
A
n
= K
0
. We show next that x
= y
. Indeed, by the
continuity of f, it has to be bounded by a constant M over the closed and bounded set K
0
.
So (28) implies that x
n
y
n
2M/n, for n Y , which means, by passing to the limit, as
n , that
x
= 0, i.e., x
= y
. (31)
To conclude the proof it is sucient to observe that the function f fails to be Lipschitz-
continuous in any neighbourhood of (x
, t
, t