Idea about single-point differentiability and continuity

  • #1
hilbert2
Science Advisor
Insights Author
Gold Member
1,567
591
TL;DR Summary
About function that are continuous or differentiable at isolated points.
Many have probably seen an example of a function that is continuous at only one point, for example

##f:\mathbb{R}\rightarrow\mathbb{R}\hspace{5pt}:\hspace{5pt}f(x)=\left\{\begin{array}{cc}x, & \hspace{6pt}when\hspace{3pt}x\in\mathbb{Q} \\ -x, & \hspace{6pt}when\hspace{3pt}x\in\mathbb{R}\setminus\mathbb{Q}\end{array}\right.##

It is also possible to define a function for which the derivative defined as

##f'(x) = \underset{h\rightarrow 0}{\lim}\frac{f(x+h)-f(x)}{h}##

exists at only the point ##x=0##. One of the simplest examples is

##f:\mathbb{R}\rightarrow\mathbb{R}\hspace{5pt}:\hspace{5pt}f(x)=\left\{\begin{array}{cc}x^2 , & \hspace{6pt}when\hspace{3pt}x\in\mathbb{Q} \\ -x^2 , & \hspace{6pt}when\hspace{3pt}x\in\mathbb{R}\setminus\mathbb{Q}\end{array}\right.##

for which the derivative at the origin is zero. Extending this to higher derivatives is not as easy, because the second derivative is usually seen as the same finite difference applied to the first derivative:

##f''(x) = \underset{h\rightarrow 0}{\lim}\frac{f'(x+h)-f'(x)}{h}##

and it doesn't make much sense to start calculating this for a function that has only ##x=0## as its domain.

However, the second derivative of

##f:\mathbb{R}\rightarrow\mathbb{R}\hspace{5pt}:\hspace{5pt}f(x)=\left\{\begin{array}{cc}|x|^3 , & \hspace{6pt}when\hspace{3pt}x\in\mathbb{Q} \\ -|x|^3 , & \hspace{6pt}when\hspace{3pt}x\in\mathbb{R}\setminus\mathbb{Q}\end{array}\right.##

at ##x=0## could be calculated by the central finite difference

##f''(0) = \underset{h\rightarrow 0}{\lim}\frac{f(-h)-2f(0)+f(h)}{h}##

and found to have value zero.

A function with derivatives of arbitrary order being zero at ##x=0## and existing nowhere else could be defined by saying, e.g. ##f(0)=0## and ##f(x)=\pm\exp (-1/|x|)## when ##x\neq 0##.

Does the most conventional definition of 2nd and higher derivatives require that the derivative of previous order exist on some interval instead of just a single point?
 
Last edited:

Answers and Replies

  • #2
fresh_42
Mentor
Insights Author
2022 Award
17,796
18,965
Does the most conventional definition of 2nd and higher derivatives require that the derivative of previous order exist on some interval instead of just a single point?
Yes. Differentiation is a local process. It requires all functions to exist in a neighborhood of the point. The limit process has to exist, i.e. all limits for ##t## in a neighborhood of ##t=0##.
 

Suggested for: Idea about single-point differentiability and continuity

  • Last Post
Replies
1
Views
743
  • Last Post
Replies
3
Views
600
Replies
12
Views
157
Replies
20
Views
1K
Replies
1
Views
248
Replies
46
Views
3K
  • Last Post
Replies
9
Views
1K
Top