     Somecounterexamplesonthebehaviourofreal-valued ... counterexamples and pecularities from many ¯¬¾elds

• View
0

0

Embed Size (px)

Text of Somecounterexamplesonthebehaviourofreal-valued ... counterexamples and pecularities from many...

• ar X

iv :1

30 2.

10 65

v2 [

m at

h. H

O ]

2 8

Se p

20 16

Some counterexamples on the behaviour of real-valued

functions and their derivatives

Jürgen Grahl and Shahar Nevo

2016, August 29

Abstract

We discuss some surprising phenomena from basic calculus related to oscillating functions and to the theorem on the differentiability of inverse functions. Among other things, we see that a continuously differentiable function with a strict min- imum doesn’t have to be decreasing to the left nor increasing to the right of the minimum, we present a function f whose derivative is discontinuous at one point x0 and oscillates only above f ′(x0) (i.e. f ′ has a strict minimum at x0), we compare several definitions of inflection point, and we discuss a general version of the theo- rem on the derivative of inverse functions where continuity of the inverse function is assumed merely at one point.

2000 Mathematics Subject Classification: 26A06, 26A24, 97I40

When preparing a lecture on basic calculus you are sometimes reminded of Hamlet’s famous words “There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy”: You are aware of the fact that differentiable real functions are not as tame as they might appear at first sight and that there are more surprising phenomena and pitfalls related to them than you would ever have imagined as a student, and you are faced with the challenge of finding illustrative examples that give your students a good impression of those pitfalls. In this paper we’d like to draw the reader’s attention to some surprising observations on differentiable functions of one variable which have arisen from our own experience as lecturers. Some of them seem to be little-known or even unknown, others can already be found in at least one of the many excellent calculus textbooks but are included since we consider them particularly instructive. We hope that this note is of interest to those who want to flavour their lectures with some unexpected or even weird examples. In this context we also refer the reader to the books of Appell , Gelbaum/Olmsted  and Rajwade/Bhandari  which contain rich collections of counterexamples and pecularities from many fields of real analysis.

1

http://arxiv.org/abs/1302.1065v2

• 1 Some more things you can do with x 7→ xk sin 1 xm

The functions x 7→ xk sin 1 xm

(where k ≥ 0, m ≥ 1) and related functions are a popular source of enlightening counterexamples in basic calculus, see, for example, [9, Chapter 3]) and for a more detailed discussion of the properties of those functions [2, Section 4.5],  and . For instance, the function x 7→ x2 sin 1

x2 shows that derivatives are not necessarily

continuous, that they can even be unbounded on compact intervals, and that differentiable functions need not be rectifiable on compact intervals, i.e. their graphs can have infinite length. (From the point of view of complex analysis, the interesting properties of these functions are of course related to the fact that z 7→ zk sin 1

zm has an essential singularity

at z = 0.)

Here we’d like to present some further applications of functions of this kind.

Example 1 Expressing monotonicity in terms of derivatives is very easy and elegant: A differentiable function f : I −→ R on an interval I is non-decreasing if and only if f ′(x) ≥ 0 for all x ∈ I. Things are a bit less elegant for strict monotonicity: The condition f ′(x) > 0 for all x ∈ I is sufficient but not necessary for f being strictly increasing. In fact, as known from elementary calculus, f is strictly increasing if and only if f ′(x) ≥ 0 for all x ∈ I and if there doesn’t exist a proper interval J ⊆ I such that f ′(x) = 0 for all x ∈ J . In particular, there must be strictly increasing functions which have infinitely many critical points within a compact interval. An example is provided by the function f : R −→ R defined by

f(x) :=

∫ x

0

t · (

1 + cos 1

t

)

dt for all x ∈ R

(Figure 1 (a)) which is obviously differentiable and whose critical points are 0 and the points 1

(2n+1)π (where n ∈ IN) which accumulate at the origin.

In [11, p. 186] a similar example is given: Define f : [0, 1] → R by f(0) = 0 and

f(x) := x · (2− sin(log(x))− cos(log(x))) for 0 < x ≤ 1.

An easy calculation shows that this function is strictly increasing with critical points at e−2πn (n ∈ IN). However, at x = 0 it is only continuous, but not differentiable. It’s worth noting that the (almost trivial) monotonicity criterion mentioned above can be extended as follows: Let f : [a, b] −→ R be a continuous function. Assume that there is a countable set S such that f is differentiable on [a, b]\S and f ′(x) > 0 for all x ∈ [a, b]\S. Then f is strictly monotonically increasing on [a, b]. An amazingly short proof for this classical result was given by L. Zalcman .

Example 2 If f : R −→ R is a continuously differentiable function which has a strict local minimum at some point x0, then most students tend to expect that there is a small

2

• -0.03 -0.02 -0.01 0.01 0.02 0.03

0.0001

0.0002

0.0003

0.0004

-0.015 -0.010 -0.005 0.005 0.010 0.015

2.×10-8

4.×10-8

6.×10-8

8.×10-8

1.×10-7

1.2×10-7

Figure 1: (a) x 7→ ∫ x

0 t · (

1 + cos 1 t

)

dt (b) x 7→ x4 (

2 + sin 1 x

)

neighbourhood (x0 − δ, x0 + δ) such that f is decreasing on (x0 − δ, x0] and increasing on [x0, x0 + δ).

The function [9, p. 36]

f(x) :=

{

x4 (

2 + sin 1 x

)

for x ∈ R \ {0} ,

0 for x = 0

shows that this is wrong (Figure 1 (b)). Obviously, f has a strict local minimum at 0, and f is even continuously differentiable on R with f ′(0) = 0, but f ′ assumes both positive and negative values in any neighbourhood of 0 as we can easily see from

f ′(x) = x2 · (

8x+ 4x sin 1

x − cos 1

x

)

for x 6= 0.

Example 3 If f : R −→ R is differentiable and f ′(x0) 6= 0, this does not imply that f is monotonic in some neighbourhood of x0. This is illustrated by the function [9, p. 37]

f : R −→ R, f(x) := {

x+ αx2 sin 1 x2

for x 6= 0 0 for x = 0,

where α 6= 0

which is differentiable everywhere with f ′(0) = 1 6= 0, but is not monotonic (hence not one-to-one) on any neighbourhood of 0 since f ′ assumes both positive and negative values there. In fact, f ′ is unbounded in both directions on each such neighbourhood (see Figure 2).

Example 4 By Darboux’s intermediate value theorem for derivatives, if a derivative f ′ is not continuous at some point x0, then x0 has to be an oscillation point of f

′ (i.e. there is a certain interval J of positive length such that f ′ assumes all values in J in arbitrarily small neighbourhoods of x0). In the usual examples for this situation (like

3

• -0.3 -0.2 -0.1 0.1 0.2 0.3

-0.6

-0.4

-0.2

0.2

0.4

0.6

-0.3 -0.2 -0.1 0.1 0.2 0.3

-1000

-500

500

1000

Figure 2: x 7→ x+ 5x2 sin 1 x2

and its derivative

x 7→ x2 sin 1 x ), f ′ oscillates in both directions, above and below f ′(x0), i.e. for arbitrary

small neighbourhoods U of x0, f ′(x0) is an inner point of f

′(U).

The function

f(x) := x3 +

∫ x

0

cos 1

t

1/|t| dt

(a slight variation of the function from Example 1) is an example of a differentiable function f : R −→ R which satisfies f ′(0) = 0 < f ′(x) for all x ∈ R \ {0} and whose derivative f ′ is not continuous at 0, i.e. f ′ oscillates only above f ′(0) (see Figure 3). In other words, f ′ has even a strict minimum at the origin. Here, f ′(0) = 0 is not obvious, so we provide the details.

Proof. The function t 7→ ∣

∣cos 1 t

1/|t| is bounded and continuous almost everywhere,

so by Lebesgue’s criterion it is integrable (even in the sense of Riemann) on compact intervals. Therefore, f is well-defined. For x 6= 0 it is clear from the fundamental theorem of calculus that f ′(x) = 3x2 +

∣cos 1 x

1/|x| > 0.

So it remains to show that f ′(0) = 0. For this purpose we substitute u := 1 t to write f(x)

in the form

f(x) = x3 +

∫ ∞

1/x

| cosu|u u2

du for x > 0

and consider the points

ak := kπ, bk :=

(

k + 1

k1/4

)

· π, ck := (

k + 1− 1 k1/4

)

· π (k ∈ IN).

For k ≥ 16 we have ak ≤ bk ≤ ck ≤ ak+1, ∫ bk

ak

| cosu|u u2

du ≤ bk − ak a2k

= 1

π · k9/4

4

• 0.02 0.04 0.06 0.08 0.10 0.12 0.000

0.005

0.010

0.015

0.020

0.025

0.02 0.04 0.06 0.08 0.10 0.12 0.0

0.2

0.4

0.6

0.8

1.0

1.2

Figure 3: x 7→ x3 + ∫ x

0

∣cos 1 t

1/|t| dt The Brickï¬ elds Project St Helens, Context...  Brickï¬ elds project The Brickï¬ elds project
Documents Some Counterexamples to Causal Decision Theory1 Andy .1 Some Counterexamples to Causal Decision Theory1
Documents COUNTEREXAMPLES TO THE BAUM¢â‚¬â€œCONNES GAFA Geometric And Functional Analysis COUNTEREXAMPLES TO THE BAUM¢â‚¬â€œCONNES
Documents Counterexamples in Optimization and non-smooth Analysis kummer/scripts/... Counterexamples in Optimization
Documents Counterexamples for Timed Reachability Analysis Counterexamples defined counterexamples for CTMCs, including
Documents Documents