If f is twice differentiable at say b, then f is differentiable in a neighbourhood of b.

Why this is true. Can someone explain?

Posted Aug 11, 2018, 8:19 AM UTC

69

You can't even talk about taking the second derivative of a function unless there is a first derivative. It would be like talking about the second floor of a building without a first floor. However, since the derivative of a function at a point only requires the function being defined on a neighborhood of that point, you only know that there must be some neighborhood of b where the derivative is defined.

So this isn't a theorem, just a necessary condition for the definition to make sense.

10
mathamanOP•

Thanks for the reply. I was dumb. I got it. Thanks.

2
MidtekPh.D.•

If a function is differentiable at a point, then it is also continuous at that point. So if f''(b) exists, then you can conclude that f'(x) is continuous at x = b. By definition of continuity, this means there is some neighborhood of x = b such that f'(x) exists for every x in that neighborhood. In other words, f is differentiable on a neighborhood of x = b.

2
liquidsoapsensual•

I assume you are talking about functions that map subsets of R into subsets of R. If f is such a function, defined on A, and a is interior point of A (that is there exists r>0 such that (a-r, a+r) is contained in A). if the lim(f(x) - f(a)) /(x-a) as x goes to a exists then f is said to be differentiable at a and it's derivative denoted f'(a) is the limit above. Note that derivatives are only defined for interior points of A, so for example if f is a function defined on say {0} U(1, 2), it makes no sense to talk about the derivative of f at 0, as there are no points x such that f is defined whenever |x-0|<r<1. Sometimes it is useful to define derivatives at the endpoints of intervals of the form [a, b] to be the corresponding one sided limits.

With that being said, in order for f to be twice differentiable at a, f' needs to be differentiable at a, so a must lie interior to the domain of f', that is there exists a neighbourhood of a on which f' exists, and at that neighbourhood f is differentiable by definition.

1
circumbendibus•

What about the function that is x^2 on irrationals and -x^2 on rationals? Most textbooks I've seen omit interiority in the definition, only where the limit is defined. And the limit definition gives a derivative 0 at 0. It exists!

2
liquidsoapsensual•

Hmm that function is defined on the entire real line so 0 is interior point to the domain of the function, for example the function is defined on (-1,1) so we could ask if the derivative exists.

The problem would be for example to find the derivative if f is defined only on the rationals and NOT defined on the irationals, kinda like the function 1/x is simply not defined on 0.

1
circumbendibus•

Oh good catch. Just remove non constructable numbers from the domain.

1
liquidsoapsensual•

You can also define '' derivative'' for non interior points, but with this definition many Classical theorems arent true anymore. Assume D is subset of R and a is a point of D such that for every r>0 you can find x in D with 0<|x-a|<r. ( for example if you take D to be the set of rational numbers, every point of D will satisfy the property above) . Then we can ask the same question, what happens to ( f(x)-f(a)) /(x-a) for x in D and 0<|x-a|<r that is we again seek the limit. Namely if a in D satisfies the conditions above, and if there exists a real number L such that given r>0 we can find r'>0 with |(f(x) - f(a)) /(x-a) - L|<r whenever |x-a|<r' AND x is in D, we say f is diferentiable at a with derivative L If you define derivatives this way, the lagrange mean value theorem fails (and many others, this is just what i could think of at the moment)

For example take f(x) =1-x^2 defined on {0,2} and all irational numbers between 0 and 2.

Verify that f is differentiable according to the new definition i just gave, and that f'(x) =-2x for all x for which f is defined

Normaly by lagrange's mean value we would expect f(2)-f(0)=f'(t)(2-0) for some t between 0 and 2, but this fails as you can easily check.

So if we want all the standars theorems about differentiable functions to hold, we want to consider the derivative only at interior points

1