3

I recently came across this question on a function differentiable at only one point

It looks like the author of the answer has used the epsillion-delta definition of the limit, however, I'm familiar only with this definition $$ \frac{dy}{dx} = \lim \limits_{h \to 0}\frac{f(x+h)-f(x)}{h}$$

and I don't see how I can use this if a function is only continous at one point.

Could someone please help

  • "$\lim_{h\to 0}$" is only an abbreviation for the $\epsilon$-$\delta$ definition of a limit....$\frac{df(x)}{dx} = \lim \limits_{h \to 0}\frac{f(x+h)-f(x)}{h}$means $\forall \epsilon >0,\exists \delta >0,\forall h,(0<|h|<\delta\implies\left |\frac{df((x)}{dx}- \frac{f(x+h)-f(x)}{h}\right|<\epsilon).$ – DanielWainfleet Nov 19 '22 at 09:34
  • 1
    @math and physics forever A priori there is absolutely no need to even concern yourself with continuity before considering the limit which expresses the derivative at $a$. Assuming $f$ defined on a (nondegenerate) interval $I$ containing $a$, the map $g \colon I \setminus {a} \to \mathbb{R}$ given by $g(x)={\frac{f(x)-f(a)}{x-a}}$ is correctly defined, $a$ is an accumulation point of $I$, and therefore one can proceed to consider the problem of the existence of the limit of $g$ at $a$. How this problem relates to the global/local/pointwise continuity of $f$ is something else. – ΑΘΩ Nov 19 '22 at 12:18

3 Answers3

7

Differentiable, or even just continuous, at a single point is a bit surprising but it is possible. Some examples might help.

Example 0

$$q(x) = \begin{cases} 1 & x \in \mathbb{Q} \\ 0 & x \notin \mathbb{Q} \end{cases}$$

This is sometimes called the indicator function of the rationals. It is continuous nowhere and hence differentiable nowhere.

Example 1

$$x q(x)$$

This is continuous at $0$ but nowhere else. It is differentiable nowhere, not even $0$.

Example 2

$$x^2 q(x)$$

This is continuous and differentiable at $0$. It is neither continuous nor differentiable anywhere else.

badjohn
  • 8,204
4

I'll break this down into what I think the two questions being asked are:

How can we take the limit if the function is only differentiable at one point?

Well, the limit is the definition of differentiability at that point, differentiability does not rely on that of neighboring points. In fact, all you need is continuity at that point. Note that not all continuous functions are differentiable, however all differentiable functions are continuous (which this whole question ultimately demonstrates). Which takes me onto the next point.

How can we take this limit if the function is only continuous at one point

Continuity essentially guarantees that for small enough h, not only will it exist, $f(x+h) \approx f(x)$. It is also guaranteed by continuity that, as h gets smaller, the approximation becomes better. If $f(x+h)$ is getting closer and closer to $f(x)$ (definition of continuity), then the limit of the numerator makes the whole fraction an indeterminate form which allows the derivative to exist (again, continuity does not guarantee differentiability). There is a good example of this in the link you mentioned.

B Kosta
  • 119
4

It is possible to get a function, which is continuous and differentiable at one point only. First of all there exists a bounded, continuous and nowhere differentiable function $f(x)$ (see). Let $g(x)=x^2f(x).$ Then $g$ is not differentiable at any point $x\neq 0.$ On the other hand $g'(0)=0.$