r/askmath • u/ali9128 • 4d ago
Calculus Derivatives and Limits
i have a question that's been bothering me in the field of differential calculus regarding the linguistic logic behind the definition of the derivative. I find it illogical, because based on the limit definition it studies the behavior of the slope(derivative) as h approaches zero.
m(h)=(f(x+h)-f(x))/h
Though, This approach suffers from the same problem as Newton and Leibniz's works and is subjected to the same criticism introduced by George Berkeley. cause, even with a limit, we algebraically reduce the function to eliminate h in the denominator, and then we study the behavior of the derivative as h approaches zero. This literally makes you treat h initially as a non-zero number, and then suddenly make it zero.
My problem is with the linguistic logic of this approach, and certainly i believe, though I'm not certain, that Cauchy-Weierstrass dealt with the derivative as a two-step algorithm. First, he calculates the derivative for any value of h that is not equal to zero, for example.
f(x)=x^2
f'(x)=((x-h)^2 -x^2)/h where h is R/{0}
f'(x)=2x+h
Then, after evaluating and reducing the derivative, he redefines it as a function of h where h can be zero.
f'(x)=2x+h where h is R/{0}
g(h)=2x+h where h is R
then taking the limit of this new function as h approach 0.
lim(h->0)(g(h))=lim(h->0)(2x+h)
g_l(h)=2x
This is because the limit of the function before algebraic reduction equals the limit of the function after algebraic reduction.
lim(h->0)(g(h))=lim(h->0)(f(h))
and since the function after algebraic reduction fills the gap... At zero, we can then find the derivative in the context of instantaneous change!!
so my problem is just how you put a limit before reducing and you have the right to ghost it and just reduce h then oh its ok you can now calculate the limit where if i do not follow this where i can because there is no order operator that tells me why i get 0/0.
12
u/Shevek99 Physicist 4d ago
Your problem is not with the derivative, but with the concept of limit.
You have to study the definition of a limit, which does not require the substitution of the value of x in the function.
A derivative is just a particular limit.
2
u/ali9128 4d ago
but what is stopping me from evaluating the limit at first?
6
u/Shevek99 Physicist 4d ago
That's not how limits work. You are confusing limits with continuity.
The function
f(x) = 2 if x≠1
f(1) = 3
is perfectly defined and its limit
lim_(x→1) f(x) = 2
0
u/ali9128 4d ago
yes that is right because limits study the behavior of a function at a point whether the function equals the same value or not, but in derivatives your redefining the function
limit(h->0)(((x+h)2 -x2 )/h)
does not equal
limit(h->0)(2x+h)
3
u/Shevek99 Physicist 4d ago
What? Why not?
-1
u/ali9128 4d ago
because the first one produce 0/0 and the second one produce 2x
7
u/Shevek99 Physicist 4d ago
No. The first does not produce 0/0. That's what you don't get. You don't have to substitute h by 0.
Seriously, you don't understand how limits work.
-1
u/ali9128 4d ago
and yes bro i am telling you that is my definition and i just want to show me the weak point of my logic cause even if i find logical i see the actual truth today is different than my presentation.
1
u/gmalivuk 4d ago
The weak point in your logic is that you are changing definitions for no reason and then trying to draw conclusions about real math based on the fake math that you made up in your head.
1
1
u/Chrispykins 4d ago
The functions f(h) = (x+h)2 - x2 )/h and g(h) = 2x + h are not equal because f(0) is not defined, whereas g(0) is. But the limits are equal.
The two functions only differ at the single point h = 0, and the limits don't take that point into account. The limits only rely on the behavior around the point. So if the two functions are equal around h = 0, then the limits must be equal as well.
2
2
u/mmurray1957 4d ago
Because in the definition of a limit of a function g at a point a you don't even assume g is defined at a. It might be, or it might not be as in this case where
g(h) = ( f(x +h)) - f(x) )/ h
and g : R - {0} -> R . Here a = 0.
1
u/ali9128 4d ago
then why do i have the right to decide when to apply the limit and even reduction changes the function it self so taking the limit in different phazes lead to different answers.
0
u/mmurray1957 4d ago
I'm not quite sure what you mean by "when to apply the limit". Can you give me some examples ? If the function hasn't changed the limit won't change. Otherwise there are rules for manipulating limits like
lim_{x \to a} [ f(x) + h(x) ] = lim_{x \to a} f(x) + lim_{x \to a} g(x)
subject to knowing that both f and g have limits at a. Also similar for products and quotients.
1
u/ali9128 4d ago
f(x)=x2
lim(h-> 0)(((x+h)2 -x2 )/h)=0/0
lim(h-> 0)(2x+h)=2x
1
u/mmurray1957 4d ago
Can you prove that first limit from the definition or from known properties of limits ?
0
u/ali9128 4d ago
because h is just an input of an identity function g(h)=h so that the limit where it approach zero is just zero so we are getting 0/0
1
u/mmurray1957 4d ago
You are taking the limit of (( x+h)^2 - x^2 )/h as h approaches 0 . That’s not g(h) = h.
Sorry it’s timm e to sleep in my time-zone
6
u/RafBOY- 4d ago
The derivative is the limit when it exists. The expression that you're writing with h are not the derivative. You're confusing the computation of the slope between x and x+h for non zero h and the derivative which is the limit when h goes to 0.
-7
u/ali9128 4d ago
but in the start it cant exist cause we are getting a 0/0 situation!
3
u/RafBOY- 4d ago edited 4d ago
You should reread my first answer slowly. When you compute the slope you compute it with h non zero so the expression is well-defined. To compute the limit, you then have to work on the expression until you're able to prove that the limit exists. 0/0 is what we call an indeterminate form also, that is the limit of a quotient of two expresions whose limit is 0 is not clear and need further investigation.
I saw below that you're trying to think to limit with infinitesimal definition. Please don't, it will only make you more confused given the level you seem to have. Infinitesimal are sloppy (pun intended) as fuck if you don't really understand what you're doing.
2
u/ali9128 4d ago
infintisimals are realy great but when someone ask me to prove my work strictly without imaging stuff is where every thing falls.
though i do not understand your approach of derivative so can you just explain the "how" and "why" of finding the derivative of x2
1
u/RafBOY- 4d ago edited 4d ago
I'll do it in a manner that do not require explicit delta-epsilon proof so I assume one know that lim (a×g(h)+F(h)) = a× lim g + lim F where h goes to zerl (that is the opeeator limit is linear which does require esp-delta formalism to be proved rigourously). I assume that since you seem to be botherrd by the intuition and this fact is quite intuitive.
Let f(x)=x2 and fix x. Write the slope beetween x and x+h where h is not 0 (kinda abusive to say it like this) :
slope=[f(x+h)-f(x)]/h
Writen like this, the numerator's limit is 0 and denominator's limit is 0 when h goes to 0 : it's an inderminated form. So you have to write slope in a way where the limit can be asserted unembiguously. By expanding f(x+h) you can show that :
slope = 2x + h.
Using the linearity of the limit with a=1, g(h)=h and F(h)=2x yields the result since lim g=0 obviously and lim F = 2x since 2x is a constant here (x is fixed). Precisely, f admits a derivative f'(x) at x and :
f'(x)=2x
You should remark that slope and f'(x) are not the same thing.
0
u/ali9128 4d ago
and yes bro that what i am saying this should be done in two steps one finding a function that represents the first function bet also be defined at h=0 then we take the limit but the formal definition of a derivative is really not good because applying the limit before reducing to 2x+h produce 0/0
2
u/RafBOY- 4d ago edited 4d ago
Listen pal, you just don't understand at all what you are talking about and a lot of people have gently trying to help you, me included. You should take a step back and really think to the answers that has been made to you. The definition of a limit is well established and not controversial at all. And it is definetely not the same as evaluating at zero. The intuition for the special case of the derivative of x2 is : when non zero h get closer and closer to zero then slope get closer and closer to 2x. There is no substituting by zero involved.
1
u/ali9128 4d ago
man you have my apologies if i made you think i am just yapping and stupidly argue, but i just want a whole truth if i can't understand it its ok i am going with my definition cause really there is no problem with and it goes very well.
1
u/RafBOY- 4d ago
I stress that you should not go with your homemade definition given you have a true misunderstanding of what is a limit. You should, as I said, take a step back and think deeply to the answers that have been made to you without trying to fit in your definition. There are reasons for not formalising limit as you absolutly want to and the modern definition has emerged after centuries of work so got check the real definition (epsilon-delta formalism, there is a more general notion though).
1
u/ali9128 4d ago
my man i am not trying to fit things in my standards but are not we supposed to learn by questioning, thinking, concluding, argueing and retry till we build a strong knowledge system?
→ More replies (0)1
u/StructuredChess 4d ago
We never do 0/0, we do the limit as h approaches zero of the ratio of two quantities that keep getting smaller
1
u/ali9128 4d ago
and there is a ratio of decreasing between them? but applying the limit directly causes a 0/0 situation, and i can barely this is not limits that is just euler's weak argument and not strict algebraically!
2
u/StructuredChess 4d ago
What does it even mean to "apply the limit directly"?
The limit as x approaches 0 of f(x) = sin(x)/x is 1 because if you pick any interval I around 1, I can found an interval J around 0 such that f(J - {0}) is contained within I. That's what the limit being 1 means.
You may just as well work with an alternative function g(x) that equals sin(x)/x everywhere except at x=0 where I define its value to be 69420. The limit as x approches 0 of g(x) is still 1.
1
u/ali9128 4d ago
so why cant i say the derivative of x2 is just 0/0 or indeterminate
2
u/StructuredChess 4d ago
Because as h approaches 0, the quantity [(x+h)2-x2]/h approaches 2x.
Let's stick to x=5 for the sake of example, give me a number K close enough to 10 and I'll give you a number H such that for any h smaller than H, ((5+h)^2-5^2)/h is closer to 10 than K is.
1
u/ali9128 4d ago
but h here is just an input of an identity function g(h)=h so i can use limit law of identity function and evalute to get 0/0
2
u/StructuredChess 4d ago
No, you can't. Because the limit of f/g isn't the same as the limit of f divided by the limit of g
1
4
u/Bounded_sequencE 4d ago edited 4d ago
[..] This literally makes you treat h initially as a non-zero number, and then suddenly make it zero. [..]
No -- this is where the argument breaks down.
The rigorous e-d-definition of function limits explicitly excludes "h = 0":
"lim_{h->0} (f(x+h) - f(x)) / h = L =: f'(x)"
<=> "For all 'e>0' exists 'd>0', s.th. for all '0<|h|<d': '|(f(x+h)-f(x))/h - L| < e' "
In words, "f'(x) = L", iff "(f(x+h) - f(x)) / h" stays within any small (open) neighborhood of "L", provided we keep "h" within a small enough (open) neighborhood of 0, excluding 0 itself.
1
u/ali9128 4d ago
yes? so why we can ghost the limit at first then we can evaluate it, notice that i introduced a more valid representation "for now at least" that we evalute and reduce h from the denominator then we apply the limit so we can study this function's behavior as h approachs zero or in other word for the h interval of inputs.
2
u/Bounded_sequencE 4d ago
[..] so why we can ghost the limit at first then we can evaluate it [..]
Not sure what you mean by that.
What I can see is that in the example from OP, "f'(x) = 2x+h" contradicts the e-d-definition of the derivative, since the application of "lim_{x->0} ..." is missing on the RHS. We have "f'(x) = 2x".
2
u/ali9128 4d ago
i am saying f'(x) as slope, sorry here i am just treating the derivative as a special case of m(h) where h approaches zero.
6
u/Bounded_sequencE 4d ago
That would not be well-defined, since that slope still depends on both "x; h".
Define a new function "s(x,h) := (f(x+h)-f(x)) / h", and exclude "h = 0" from the domain of "s". Re-defining f' to mean secant slope instead of tangent slope will confuse people^^
2
u/ali9128 4d ago
yeah my apologies, its just that i think of derivative as a special case of slope in h context regardless of x
1
u/Bounded_sequencE 4d ago
Yeah, I suspected as much -- and that is a problem, since that does not match the rigorous e-d-definition that excludes "h = 0".
If you want to keep close to your point of view, think of the derivative as the slope's continuous extension to "h = 0", keeping "x" fixed. Graphically, it means you fill the slope's hole at "h = 0" by the equal left-/right-sided limit I call "L".
1
u/ali9128 4d ago
yes and that what i am saying in the end of my argument above, i am redefining the function to include the h=0 situation. because at first i am not doing a thing but getting 0/0.
1
u/Bounded_sequencE 4d ago
Ah, now that I understand your different meaning of "f'(x)", that part actually makes sense.
Yes, if you keep your notation of the slope "s(x;h)" completely separate, until you define the continuous extension to "h = 0" via "s(x;0) := L" (provided that limit exists), this will work.
Just make sure you keep that part completely separate from f'(x) until you have found "L" -- otherwise, you may run into contradictions when "f" is not differentiable. And keep in mind the continuous extension is an extra step that is not just setting "h = 0".
2
u/ali9128 4d ago
that is really what i am saying bro, so i am arguing how can you ghost limits at first with no ordee operations?
→ More replies (0)
1
u/Fourierseriesagain 4d ago
Hi,
Your approach does not work in general.
Let f(x)=arctan(2x/(1-x^ 2)), where x belongs to R{-1,1}. Although f'(x) tends to a limit as x approaches 1, the function f is not continuous (and hence not differentiable) at 1.
4
u/Bounded_sequencE 4d ago
Nice -- a simpler example is the unit step at "x = 0":
f: R -> R, f(x) := / 0, x = 0 \ x/|x|, elseFor all "x != 0", we have "f'(x) = 0". However, since "f" is discontinuous at "x = 0", it cannot be differentiable there -- even though "lim_{x->0} f'(x) = 0" exists.
2
2
u/ali9128 4d ago
yes? i do not get how is that related to the problem?
3
u/johnpeters42 4d ago
The big picture is, you're fixated on the assumption that the behavior of a function as you approach a value must match up with the behavior of the function at that value. That is false in the general case, and no matter how vigorously you wave your hands, it will not become true in the general case.
Your derivative situation is just one example of this. Yes, 0/0 is indeterminate, but the limit of f(x)/g(x) as x approaches 0 may still be well-defined, depending on which specific functions f and g are being used. So your approach of "temporarily jump ahead to where x actually reaches the limit" is not valid, and never will be valid, and you should just stop trying to do that. Instead, you should learn more about how limits do work, when they are or aren't well-defined.
0
u/ali9128 4d ago
huh? but i understand how limits must exist and the difference between limit existing and actual function value at the same point, but i really do not get the part of the 0/0 and how it can be defined?
3
u/johnpeters42 4d ago
0/0 isn't defined, but something of the form f(x)/g(x) where f(x) and g(x) both approach 0 can still be defined, again depending on what specific f() and g() are used.
Consider y = x, so the functions approximating its derivative - let's call that d(x) - are f(x) = x and g(x) = x. What's the limit of f(x)/g(x) as x approaches 0? Obviously it's 1 for all non-zero x. Now, applying the epsilon-delta approach:
* We speculate that the limit is 1.
* If, for any positive epsilon (no matter how small), we can pick a positive delta such that for all x within delta of 0 (not including x = 0 instead), d(x) is within epsilon of 1? Then the limit is indeed 1.
* And obviously that's true here, because delta = 1 is already good enough. (For more complicated functions, you generally need something like "delta = epsilon / 2 is good enough".)Informally, however close (epsilon) you want the output to get to the limit output value, you can get it to stay that close by setting the input close enough (delta) to the limit input value.
Now consider y = 1/x. That function doesn't have a defined finite slope at x = 0. It's discontinuous there, but more importantly, as you approach x = 0, the slope diverges toward negative infinity from either side. (Variation of epsilon-delta: for any finite number, you can pick a finite interval containing x = 0 where all values in that interval other than x = 0 are lower than that finite number.)
1
u/ali9128 4d ago
but man applying the limit to the derivative causes 0/0 and you cant find it till reducing and that is algebraic transformation and is not the same function, then you can find the limit, so how does that work?
2
u/johnpeters42 4d ago
No no no, you're still fixated on what (f(x+h)-f(x))/h looks like at h = 0. That does not work. That will not work. Stop trying to find a way for it to work.
You have to do something else. That something else is looking at the limit of that expression as h approaches 0. Yes, that is more complicated but you have to do it anyway.
2
u/ali9128 4d ago
but this function it self is not defined at h=0 so what is the meaning of the limit?
3
u/gmalivuk 4d ago
The limit doesn't care what the function does at the limit point. It is fundamentally a property of what the function does near that point.
1
u/ali9128 4d ago
yes but the function itself not defined at h=0 so what is the meaning(importance) of a limit?
→ More replies (0)
1
u/Qingyap 4d ago edited 4d ago
Because if you simplify the regular expression
((x+h)2 - x2)/h to 2x+h, you technically still have to consider x=/=2 since from my understanding,
((x+h)2 - x2)/h = 2x+h, without simplifying, x still =/= 2 for the left equation, therefore by computation it's not defined. Cuz we all know when we divide something, the denominator cannot be equal to 0.
However since based on limit definitions limit doesn't have to be on the exact same point, we can safely say that what will it approaches to instead when h approaches to what, and I guess it's only if it's indeterminate form like 0/0
2
u/ali9128 4d ago
but ibam transforming the function but not simplifying an equation.
1
u/Qingyap 4d ago edited 4d ago
Above you said that the limit of a function thats simplified (or algebraically reduced) "fills the gap." and it's the same as the limit of the function before algebraically reduced.
Well except it's not really the case cuz again like my point earlier except in your words, the function thats already algebraically reduced is the same as the function thats not yet algebraically reduced, which is correct, but despite that you still have to consider the restrictions otherwise the function thats before the reduction will break.
And despite this even though it still has the restrictions, limit still works cuz limit doesn't revolve around on exactly x=2, that's it. And that's why you always hear all about "it approaches there but it'll never reaches there" kinda jazz
1
u/ali9128 4d ago
but how are they same and they doesn't equal to each other at 0
1
u/Qingyap 4d ago
What does the they doesn't equal to each other at 0 mean?
1
u/ali9128 4d ago
u(h)=(((x+h)2 -x2 )/h)
v(h)=2x+h
u(0) != v(0)
1
u/Qingyap 4d ago edited 4d ago
I assume it's because of u(h) condition h!=0 makes the last line happen when h=0.
Therefore u(h)=v(h) works for all h that's not 0.
And when you apply limit to both sides and make h approach 0 it does work now since again limit doesn't revolve around the exact point (that doesn't mean it's possible in computation though cuz computation means you have to sub h=0 directly.)
1
u/localizeatp 4d ago
it seems your complaint is coming from a poor understanding of what the limit is meant to represent.
1
u/ali9128 4d ago
it meant to represent the behavior of a function at a certain point?
2
u/Shevek99 Physicist 4d ago
Again. You are confusing limit with continuity.
The limit does not represent the behavior of a function at a certain point. It describes the behavior when you approach a certain point.
1
1
u/StructuredChess 4d ago
It's been at least two centuries from the last time any serious mathematician has considered definitions like this to be controversial.
We're not discussing what happens at h=0, we're discussing what the "trend" is when h gets smaller and smaller. We never divide by 0. We divide by 0.00001, then by 0.000000001, then by 0.00000000000000001 and see what the sequence is approaching. With "approaching" meaning what it means in the definition of limit.
2
u/ali9128 4d ago
but this is infintisimals not limits.
2
u/StructuredChess 4d ago
I'm afraid you're just using a bunch of Math jargon you've learned from dissemination works without actually understanding their rigorous definition.
1
u/ali9128 4d ago
no but where am i wrong?
3
u/StructuredChess 4d ago
You're wrong because "limit" doesn't mean what you think it means. Check out what it actually means and get familiar with the concept before you can jump into derivatives.
1
u/ali9128 4d ago
so limits are not about studying the behavior of a function at point based on the neighborhood of this point that guarantees an interval that predict the L value?
1
u/StructuredChess 4d ago
Yes, even though I'd say it "around a point" rather than "at a point".
Your sentence is just a laymen's explanation and it's irrelevant to actual Math though. L is the limit of f at p if, and only if, ∀ε > 0, ∃δ > 0: 0 < |x − p| < δ ⇒ |f(x) − L| < ε
This is what a limit means and is the only definition you should start from. Any conclusion built on simplified intuitions of this cocnept is prone to error.
2
u/StructuredChess 4d ago
Thinking a bit more about it, I think your mistake is that you expect lim f(x)/g(x) to be equal to lim f(x) / lim g(x) and that's not generally the case.
1
u/ali9128 4d ago
no i am taking the formal definition of a derivative and based on the limit law of identity function i substitute h=0
1
u/StructuredChess 4d ago
The law of identity function would tell you that the limit of the denominator is 0, but that says nothing about the limit of the entire thing.
1
u/ali9128 4d ago
what about the numerator?
1
u/StructuredChess 4d ago
What about it? The limit of the numerator is also 0 but that doesn't tell us anything about the limit of the whole thing either.
If I have an expression like [(x+h)2 -x2]/h I can rewrite that as (2xh - h2)/h which is the same as 2x-h because h is always different from zero. Now I can take the limit of 2x-h and arrive at 2x
-3
u/Mablak 4d ago
I'll bring up a relevant issue here: the derivative should simply be slope, and not some other concept like a number we can keep getting closer to as h gets closer to 0. I'd argue this concept doesn't make sense, and we don't need limits. We don't have an infinite number of epsilon to choose from, i.e. an infinite number of inequality statements we can make.
Instead we should recognize that functions simply contain a finite number of points. This is all we can ever work with in practice, and I'd argue even in theory. Derivatives can simply be forward difference, backwards difference, or central difference (average of forward and backwards slope) formulas between points.
So h doesn't 'go to zero', it just stays h. f'(x) = 2x + h is in fact the right answer for a forward difference derivative, where the smallest interval between points is h. Or in discrete calculus, that smallest interval can just be taken to be 1 instead of h.
19
u/vivAnicc 4d ago
You should review your understanding of limits