Rigorous definition of derivative

In summary, the definition of derivative for a real valued function f at a is (f(x+h)-f(x))/h as h → 0, and if it exists, f is said to be differentiable at x. Differentiability is defined for maps whose domain is an open interval or a union of such intervals. One-sided derivatives exist for f'(x) at points 1 and 2 in the given examples. However, it is not possible to have f'(x) = ∞ for some number x, and it is more accurate to say that the limit of f'(x) approaches infinity as x approaches 0. The statement "f is differentiable on [a,b]" can have different interpretations, but one common one
  • #1
Chsoviz0716
13
0
Hi, I have a question about the definition of derivative.

As far as I know, for a real valued function f defined on a subset of R, the derivative of f at a is

(f(x+h)-f(x))/h as h → 0.

And if it exists it's said f is differentiable at x.

What if I define f : Q → R as follows,

f(x) = sin(x) (the domain of f is all rational numbers.)

Then it satisfies every condition to be a differentiable function, thus it's a differentiable function on its domain.

Is this a valid argument?

Or what about f : [0,1]U[2,3] → R defined as follows,

f(x) = 1 when x belongs in the first closed interval
2 when x belongs in the second closed interval

f'(x) at points 1 and 2 seem to exist. But do they really?

And one small question; when you have f'(x) = ∞, it implies f isn't defined at x. Is it even possible to have such an equality? If f(x) isn't defined, how can f'(x) can be calculated in the first place when the definition of f'(x) requires the existence of f(x)?

Thank you in advance.
 
Physics news on Phys.org
  • #2
Chsoviz0716 said:
Hi, I have a question about the definition of derivative.

As far as I know, for a real valued function f defined on a subset of R, the derivative of f at a is

(f(x+h)-f(x))/h as h → 0.

And if it exists it's said f is differentiable at x.

What if I define f : Q → R as follows,

f(x) = sin(x) (the domain of f is all rational numbers.)

Then it satisfies every condition to be a differentiable function, thus it's a differentiable function on its domain.

Is this a valid argument?

As far as I know, differentiability is defined for maps whose domain is an open interval (a,b), or a union of such intervals.

Or what about f : [0,1]U[2,3] → R defined as follows,

f(x) = 1 when x belongs in the first closed interval
2 when x belongs in the second closed interval

f'(x) at points 1 and 2 seem to exist. But do they really?

f'(1) and f'(2) are considered one-sided derivatives. For example, for f'(1) the difference quotient [itex] \frac{f(1+h) - f(1)}{h} [/itex] cannot be formed if h > 0, so we would calculate f'(1) by evaluating the limit [itex] \lim_{h \rightarrow 0^{-}} \frac{f(1+h) - f(1)}{h} [/itex].

However, more formally, if [itex] f: S \rightarrow R [/itex] is a map where [itex] S \subset \mathbb{R} [/itex] and S isn't necessarily an open interval, we say that f is differentiable if we can find a map [itex] g: T \rightarrow \mathbb{R} [/itex] such that:

1) [itex] S \subset T [/itex]
2) [itex] g = f [/itex] on [itex] S \cap T [/itex]
3) T is an open interval.

In this case we say that we have extended f to a map g.


And one small question; when you have f'(x) = ∞, it implies f isn't defined at x. Is it even possible to have such an equality? If f(x) isn't defined, how can f'(x) can be calculated in the first place when the definition of f'(x) requires the existence of f(x)?

Saying that [itex] f'(x) = \infty [/itex] for some number x doesn't really make sense. What you are really trying to say is that [itex] \lim_{x \rightarrow a} f'(x) = \infty [/itex].

For example, look at the graph of [itex] f(x) = \frac{1}{x} [/itex]. If you look at the graph, you can see that as x approaches 0, f'(x) will approach infinity since the tangent lines will become increasingly steeper. To algebraically verify this just note that [itex] \frac{d}{dx} (\frac{1}{x}) = \frac{-1}{x^2} [/itex] and that upon letting [itex] x \rightarrow 0 [/itex] we see that [itex] \frac{d}{dx} (\frac{1}{x}) [/itex] becomes infinite.
 
  • #3
Chsoviz0716 said:
And one small question; when you have f'(x) = ∞, it implies f isn't defined at x.

Consider f(x) = x^{1/3} when x=0.
 
  • #4
Thank you very much!

There's one thing I'm still not sure about.

If it says f'(a) exists, can I take it that f is defined on some open interval that includes a?
Or does it cover the case where 'a' can be an end point of some close interval such as [a,b] on which f is defined?
 
  • #5
Well consider the map [itex] f: [a,b] \rightarrow R [/itex] where [itex] f(x) = x^2 [/itex]. One would surely say that f'(a) exists, however f isn't defined on an open interval containing 'a'. One could of course extend f to make this possible, but you aren't asking about the extended map, you're asking about f and we have defined it so its domain is [a,b]!.
 
  • #6
The statement "f is differentiable on [a,b]" is sometimes defined to mean that the domain of f is an open set that contains [a,b], and for some ε>0, f is differentiable on (a-ε,b+ε). I think I saw something like this in "Introduction to smooth manifolds", by John M. Lee.

"f is differentiable" usually means that "the limit that defines f'(x) exists for all x in the domain of f". It only makes sense to talk about that limit when x is an interior point of the domain, so if we are to use phrases like "f is differentiable" without fancy definitions like the one above, the domain must be an open set.
 
  • #7
As a general note, it is possible to define the derivative of mappings between normed vector spaces using bounded linear operators. I think that this is generally introduced in functional analysis type courses so I am guessing it is not what the OP is looking for.

Fredrik said:
The statement "f is differentiable on [a,b]" is sometimes defined to mean that the domain of f is an open set that contains [a,b], and for some ε>0, f is differentiable on (a-ε,b+ε). I think I saw something like this in "Introduction to smooth manifolds", by John M. Lee.

This is a fairly common interpretation. Another interpretation just requires the left- or right-hand limits to exist at the end points.
 
  • #8
You only need an accumulation point to define a limit. So, why not on the set of rational numbers?

The only problem... maybe it's useless, at least for physical purposes. But you can take the limits in such rational-real function
 
  • #9
Tarantinism said:
You only need an accumulation point to define a limit. So, why not on the set of rational numbers?
Because the limit we're talking about is the limit of
$$\frac{f(x+h)-f(x)}{h}$$ as ##h\to 0##, and the numerator (specifically "f(x)") makes sense only when x is in the domain.
 
  • #10
Fredrik said:
Because the limit we're talking about is the limit of
$$\frac{f(x+h)-f(x)}{h}$$ as ##h\to 0##, and the numerator (specifically "f(x)") makes sense only when x is in the domain.

Of course, so let x be the rational (an accumulation point) and h run over the neighborhood of x;

you only need an acc point to define the limit
 
  • #11
f(x) = sin(x) (the domain of f is all rational numbers.)

Why have you chosen this and what does your book say about continuity?
 
  • #12
Studiot said:
Why have you chosen this and what does your book say about continuity?

The weird examples from mathematicians... :D

Just to ask whether it is differentiable.

I think yes: you can take the derivative in the whole domain (all points are accumulation points, so you can take the limit), they exist so they define the derivative.

This would not be possible provided that the domain was the set of integers: they are not accumulation points.
 
  • #13
Tarantinism said:
Of course, so let x be the rational (an accumulation point) and h run over the neighborhood of x;

you only need an acc point to define the limit
An accumulation point of what? I would have guessed that you meant an accumulation point of the domain of f, but then you agreed that x needs to be a member of the domain.

##f(x)\to y## as ##x\to a## if for all ##\varepsilon>0##, there's a ##\delta>0## such that for all x in the domain, ##|x-a|<\delta\ \Rightarrow\ 0<|f(x)-y|<\varepsilon##. Note that the entire interval ##(a-\delta,a+\delta)## is mapped into ##\{z\in\mathbb R:0<|z-y|<\varepsilon\}##, so f must be defined on that entire interval. This is why this definition doesn't work for functions defined on e.g. ##[0,1]\cap\mathbb Q##.

To define f'(x), x must be an interior point of an open subset of the domain of f. It certainly isn't enough that x is an accumulation point of the domain, if that's what you meant.
 
  • #14
Is f(x) = {sin(x) such that x is rational} a continuous function?

What about all the non rational x for which sin(x) are not defined?
 
  • #15
Studiot said:
Is f(x) = {sin(x) such that x is rational} a continuous function?

What about all the non rational x for which sin(x) are not defined?
I assume that you're asking about the function ##f:\mathbb Q\to\mathbb R## defined by f(x)=sin x for all ##x\in\mathbb Q##. Since it's not defined on any open subset of ##\mathbb R##, it can't satisfy the definition of "continuous at x" for any x.

So it's not continuous with respect to the topology of ##\mathbb R##. It is however continuous with respect to the topology of ##\mathbb Q##.
 
  • #16
I'm just trying to clarify why the OP specified a sine function with lots of 'gaps' in it, by restricting the domain to Q.

For instance if we consider an epsilon-delta argument should the values of epsilon and delta be restricted to rational numbers, and if so why?
 
  • #17
Fredrik said:
To define f'(x), x must be an interior point of an open subset of the domain of f. It certainly isn't enough that x is an accumulation point of the domain, if that's what you meant.

Why not? You can take a limit as well. You are too restrictive with your real-analysis definition.
 
  • #18
Tarantinism said:
Why not?
I already answered that. If x isn't in the domain, "f(x)" doesn't make sense, and we're talking about the limit of
$$\frac{f(x+h)-f(x)}{h}$$ as ##h\to 0##.
 
  • #19
If x isn't in the domain....

Not only x but also h?
 
  • #20
Fredrik said:
I already answered that. If x isn't in the domain, "f(x)" doesn't make sense, and we're talking about the limit of
$$\frac{f(x+h)-f(x)}{h}$$ as ##h\to 0##.

Ah, of course. But on the domain intersection accumulation points of the domain (any rational in this case). It's not necessary rigorously to have an interior point to take the limit in a topological sense, right?
 
  • #21
Tarantinism said:
Ah, of course. But on the domain intersection accumulation points of the domain (any rational in this case). It's not necessary rigorously to have an interior point to take the limit in a topological sense, right?
I don't understand the middle sentence. If the last sentence is asking if the definition of the limit of f(x) as x→b requires b to be an interior point of the domain, then the answer is that b doesn't have to be an interior point of the domain, or even a member of the domain. It just needs to be an accumulation point of the domain,

I made a mistake before when I tried to state and interpret the definition of the limit of a function. I'll try harder to get it right this time:

Suppose that ##E\subset\mathbb R##, that ##f:E\to\mathbb R##, and that ##a## is an accumulation point of ##E##. A real number y is said to be a limit of ##f## at ##a##, or a limit of ##f(x)## as ##x\to a##, if for all ##\varepsilon>0##, there's a ##\delta>0## such that for all ##x\in E##,
$$0<|x-a|<\delta\ \Rightarrow\ |f(x)-y|<\varepsilon.$$ I had a temporary brain malfunction before and put the "0<" on the right instead of on the left. Because of the same brain malfunction, I thought that the definition only makes sense if there's a t>0 such that (ε-t,ε+t)-{a} is a subset of E, but that's not the case at all.

So it looks like I'm going to have to take back my previous claim about functions like ##g:\mathbb Q\to\mathbb R## defined by g(x)=sin x for all x in the domain. This function is continuous at all points in its domain. Just look at the definition:

##f:E\to\mathbb R## is said to be continuous at ##a\in E## if for ##\varepsilon>0##, there's a ##\delta>0## such that for all ##x\in E##,
$$|x-a|<\delta\ \Rightarrow\ |f(x)-f(a)|<\varepsilon.$$ Note that f has to be defined at ##a## to be continuous at ##a##.

So what about derivatives? Rudin (Principles of mathematical analysis) defines derivatives only for functions defined on closed intervals, not on dense subsets like ##\mathbb Q##. So Rudin's definition doesn't even apply to the g defined above. It seems to me that if we simply drop that requirement on the domain, then g would be differentiable at every rational number. The question is, why would we?
 
Last edited:
  • #22
Fredrik said:
why would we?

Yes, but that's mathematics, and not physics, so all weird examples or counterexamples are welcome, right?

Of course, we define usually differential calculus only on real or complex functions (or complete -Banach- normed spaces), so a function in Q would not be that common. But someone asked, so, in that case, why wouldn't we?

Just matter of definitions, I think. Semantic.

Tarantinism said:
You only need an accumulation point to define a limit. And, of course, on the DOMAIN! (a not isolated point) So, why not on the set of rational numbers?

The only problem... maybe it's useless, at least for physical purposes. But you can take the limits in such rational-real function
 
  • #23
Well, I think that I should recall also, that in complex calclus, the concept of holomorphy is universally taken only on open sets, I mean, all definitions in all books deal with holomorphic -derivable- functions only whose domain is an open set, at least in dimension 1 (more dimensions require another concept based on Cartan-Thullen theorem).

In that case, I guess that many books (or all, I don't remember such details) may define a derivative (in REAL calculus) only in interior points of the domain.

My point is that, in the topological point of view, only a point in the domain, which is also an accumulation point (I mean, the intersection of the sets DOMAIN and ACCUM_POINTS(Domain) ) , would be enough. But maybe an useless extension of the simple definition, where you require more: an interior point of the domain.
 
  • #24
Tarantinism said:
In that case, I guess that many books (or all, I don't remember such details) may define a derivative (in REAL calculus) only in interior points of the domain.
Rudin doesn't. The derivative of a function defined on [a,b] is defined at every point in [a,b] where the limit exists.
 

1. What is a rigorous definition of derivative?

A rigorous definition of derivative is a mathematical concept that measures the instantaneous rate of change of a function at a specific point. It is defined as the limit of the difference quotient as the change in independent variable approaches zero.

2. How is the derivative different from the slope of a tangent line?

The derivative is a precise measure of the instantaneous rate of change at a specific point, while the slope of a tangent line is an approximation of the average rate of change over a small interval. The derivative provides a more accurate understanding of the behavior of a function at a specific point.

3. What is the difference between the derivative and the differential?

The derivative is a function that represents the rate of change of a given function, while the differential is a small change in the value of the function. The derivative can be thought of as the slope of the tangent line, while the differential is the corresponding change in the y-value.

4. How is the rigorous definition of derivative used in real-world applications?

The rigorous definition of derivative is used in a wide range of fields, including physics, economics, and engineering. It is used to model and analyze the behavior of complex systems, such as the motion of objects, the growth of populations, and the behavior of financial markets.

5. What are some common misconceptions about the rigorous definition of derivative?

One common misconception is that the derivative is equal to the slope of the secant line between two points on a graph. Another misconception is that the derivative is only defined for continuous functions, when in fact it can also be defined for non-continuous functions. It is important to understand the precise definition of derivative to avoid these and other common misconceptions.

Similar threads

Replies
1
Views
177
  • Calculus
Replies
12
Views
482
Replies
4
Views
2K
Replies
2
Views
1K
  • Calculus
Replies
6
Views
1K
  • Calculus
Replies
9
Views
2K
Replies
11
Views
1K
Replies
20
Views
2K
Back
Top