Differentiability implies continuous derivative?

Click For Summary

Discussion Overview

The discussion revolves around the relationship between differentiability and the continuity of derivatives, particularly in the context of functions of one variable. Participants explore examples and counterexamples to question whether a function can be differentiable while having a derivative that is not continuous.

Discussion Character

  • Debate/contested
  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that differentiability implies continuity of the function, but question whether a function can be differentiable with a discontinuous derivative.
  • One example provided is the function f(x) = x² sin(x) for x ≠ 0, with f(0) = 0, suggesting it is differentiable but its derivative may not be continuous.
  • Another participant mentions f(x) = |x| on the interval [-1, 1], noting issues with f'(0) but proposing to define f'(0) = 0 to explore implications.
  • It is suggested that many functions with discontinuous derivatives can be constructed from discontinuous functions g(x) through integration, such as f(x) = ∫₀ˣ g(t) dt.
  • Some participants highlight that the derivative f' may satisfy the intermediate value property, referencing Darboux's theorem, which implies that f' cannot have a step discontinuity.
  • There is mention of functions that are continuous but nowhere differentiable, as well as those differentiable only at finitely many points or except on a Cantor set.
  • One participant notes that continuity of partial derivatives is sufficient but not necessary for differentiability in multiple variables, emphasizing the definition of differentiability in terms of an approximating linear function.
  • A participant introduces a function that is smooth (C∞) on a closed interval but takes on different values outside of it, further complicating the discussion.

Areas of Agreement / Disagreement

Participants generally agree that a differentiable function need not have a continuous derivative, but there are multiple competing views and examples presented, leaving the discussion unresolved.

Contextual Notes

Some claims depend on specific definitions and assumptions about differentiability and continuity, and the examples provided may not universally apply without additional context or constraints.

kelvin490
Gold Member
Messages
227
Reaction score
3
We know differentiability implies continuity, and in 2 independent variables cases both partial derivatives fx and fy must be continuous functions in order for the primary function f(x,y) to be defined as differentiable.

However in the case of 1 independent variable, is it possible for a function f(x) to be differentiable throughout an interval R but it's derivative f ' (x) is not continuous?
 
Physics news on Phys.org
Yes, it is. I gave an example, f(x)= x^2 sin(x) if x is not 0, f(0)= 0, when you asked this question on another board.
 
HallsofIvy said:
Yes, it is. I gave an example, f(x)= x^2 sin(x) if x is not 0, f(0)= 0, when you asked this question on another board.

I think you meant ## x^{2}sin(1/x)## when x is not zero.
 
kelvin490 said:
However in the case of 1 independent variable, is it possible for a function f(x) to be differentiable throughout an interval R but it's derivative f ' (x) is not continuous?
The simplest such function is f(x) = |x| on [-1, 1] (I know, there is a problem with f'(0), but let f'(0)=0 and see what happens).

A lot of functions with discontinuous derivatives can be found by starting with a discontinuous function g(x) and let f(x) = \int_{0}^{x}g(t) dt.
 
Svein said:
The simplest such function is f(x) = |x| on [-1, 1] (I know, there is a problem with f'(0), but let f'(0)=0 and see what happens).

A lot of functions with discontinuous derivatives can be found by starting with a discontinuous function g(x) and let f(x) = \int_{0}^{x}g(t) dt.

The function ##f(x)=|x|## is not differentiable at ##x=0##. For the second example, the function ##f## is usually not differentiable everywhere, one can only prove that it is differentiable almost everywhere. Fro the function ##f## in this example to be differentiable at all points, the function ##g## has to be very special.

The simplest example of the function differentiable everywhere with non-continuous derivative is probably the example by HallsofIvy (with the correction by lavina)
 
Hawkeye18 said:
For the second example, the function ff is usually not differentiable everywhere, one can only prove that it is differentiable almost everywhere. Fro the function ff in this example to be differentiable at all points, the function gg has to be very special.
What happened to the old rule: "To derive with respect to the upper limit of an integral, insert the upper limit into the integrand".
 
Svein said:
What happened to the old rule: "To derive with respect to the upper limit of an integral, insert the upper limit into the integrand".
As quoted this rule work only for continuous integrands. In the general case it only guaranties equality almost everywhere.
 
Svein said:
The simplest such function is f(x) = |x| on [-1, 1] (I know, there is a problem with f'(0), but let f'(0)=0 and see what happens).

A lot of functions with discontinuous derivatives can be found by starting with a discontinuous function g(x) and let f(x) = \int_{0}^{x}g(t) dt.

There are also functions that are continuous but nowhere differentiable or differentiable only at finitely many points.
There are functions that are differentiable except on a Cantor set.
 
Last edited:
As others have pointed out, a differentiable function need not have a continuous derivative. However, the derivative ##f'## does satisfy the "intermediate value property," which means that if there are points ##x## and ##y## with ##f'(x) = a## and ##f'(y) = b##, then for any given ##c## between ##a## and ##b##, there is some point ##z## such that ##f'(z) = c##. This fact is known as Darboux's theorem and is interesting because it implies that ##f'## cannot have a step discontinuity. This does not contradict the example given by HallsOfIvy, in which ##f'## has an "oscillate to death" discontinuity, not a step discontinuity.
 
  • Informative
Likes   Reactions: Not anonymous
  • #10
It took me absurdly long to realize how trivial Darboux's theorem is: if f' > 0 at some point and < 0 at another point then f cannot be monotone in between (by the intermediate value theorem), so f has a local extremum where f' = 0.by the way @Kelvin, the continuity of the partials is sufficient but not necessary for differentiability in several variables. the definition of differentiability is in terms of an approximating linear function.
 
  • #11
To maximize the confusion: Let I = [0, 1] and J be an open interval such that I ⊂ J. Then there exists a function that is C, equal to 1 on I and equal to 0 outside J.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K