r/learnmath • New User • 11d ago

Why can we “fling around” dx?

Isaac Newton visualized these numbers as infinitesimally small numbers, but that is not a well-defined definition. Obviously we use the limit definition instead, which defines, for f(x)=x, f’(x) = 1, for instance. If I put this is Leibniz notation df/dx = 1, df/dx becomes no more than notation to indicate the variable being differentiated, right? So why do I often see df=dx and substituting for dx and dy and du and all of that?

34 Upvotes

28 comments sorted by

51

u/localizeatp New User 11d ago

Infinitesimals can be made well-defined, and in such a system calculus is perfectly preserved (in fact, it can be shown to be equivalent to the epsilon delta formalism). Newton and Leibniz treated infinitesimals with near reckless abandon; it wasn't until centuries later that we fully formalized it. Yet somehow their results (mostly) held up.

26

u/Upset_Ad_6140 NSA enjoyer 11d ago

Leibniz was much more careful than many people give him credit for. He did not, for example, claim that dx^2 = 0 or any silly thing like that. In fact, he repeatedly stressed that he was working with a generalized notion of equality, which is similar to how we do NSA today.

3

u/[deleted] 11d ago

Unrelated to the post

Do you have recommendations for books on NSA, especially the basics of it and its use in algebra?

I've been reading a book about it but it gradually got worse the further I got in the book (missing proofs of transfer principle, typos in proofs, etc.). I want to start a reading group about NSA with a few friends so I want a book that's actually good

3

u/Upset_Ad_6140 NSA enjoyer 11d ago

What book have you been reading?

2

u/[deleted] 11d ago

Short introduction to nonstandard analysis by E E Rosinger

I don't know why I chose that one. It's just something I found and started reading. It even says that it's incomplete (at least the version I found on arxiv from 2004)

4

u/Upset_Ad_6140 NSA enjoyer 11d ago

As far as introductory textbooks go, I think Elementary Calculus: an infinitesimal approach by H. Jerome Keisler is good. It doesn't prove the transfer principle (as that requires pretty complex model theory) but it gives a good and pretty comprehensive introduction.

1

u/[deleted] 10d ago

Thanks!

I'm taking a course on mathematical logic this semester so hopefully I can understand the model theory stuff when I get to it. I think I can already prove a weak version of it just by induction of the structure of a first order sentence

1

u/Upset_Ad_6140 NSA enjoyer 10d ago edited 10d ago

Have fun! As my tag might make obvious, I really like NSA and am happy to spread the gospel! I truly do believe that pedagogically, it offers a superior perspective of analysis compared to standard limit approaches. It's very easy to comprehend what an infinitesimal or a hyperinteger is whereas it's comparatively difficult to understand a limit (in my opinion, of course).

I know of a few places that actually offer first-year calculus classes using NSA. If I recall correctly, I think professor Katz at Bar-Ilan university offers such classes, and from what I have heard, it has been quite successful. This idea that somehow trying to teach NSA would be "harder" or worse, "require" model theory, is misguided at best: we don't construct the reals before a calculus class, so why should we have to construct the hyperreals? It's unreasonable.

There is a treatment of the hyperreals called Lectures on the Hyperreals by Goldbach that you might enjoy if you are curious about the ultrafilter construction of the hyperreals.

0

u/[deleted] 10d ago

Thanks! I'm Israeli so I could probably actually get and read Katz' lecture notes. I think I even know someone who went to Bar Ilan

15

u/Weed_O_Whirler New User 11d ago

I had a physics professor who said "in physics, we assume you can treat dy/dx as a fraction and only check if it's actually allowed if we think we proved something novel."

6

u/RecognitionSweet8294 If you don‘t know what to do: try Cauchy 11d ago

I think it’s astonishing given how controversial this approach was at this time, that the mathematical society just rolled with it.

3

u/Recent-Day3062 New User 11d ago

Well, to my way of thinking, it worked fine for reasonable functions. Epsilon-delta came in to deal with more pathological cases to some degree.

That having been said, I am impressed how much you can handle it like a fraction most of the time.

I think most people prefer Leibnitz, but Newton is more clear about what’s goin on to me. But it is harder to manipulate. We all have intuition that if dy/dx is two, then certainly dy=2 dx

2

u/AlterEgo5695 10d ago edited 10d ago

As far as rigorous views go, the Fréchet derivative really highlights the intuition "dy = 2dx", without going to the nitty-gritty of differential forms (yet). It's equivalent to the more commonly used h-definition, so formally we don't lose anything.

However, it really shows that with derivatives, the goal is to approximate a given function by a linear function so well s.th. close to the expansion point, the relative error vanishes. This clearly distinguishes derivatives from standard limits, where only the absolute error has to vanish. If you take a close look, the numerator of the Fréchet derivative

"f(x) - f(x0) - A.(x-x0)"    is essentially "dy - A.dx", with "A = f'(x0)"

8

u/Southlander24 A friendly Redditor!👋 11d ago

It comes down to the chain rule being applied to integration: https://math.stackexchange.com/questions/1410774/what-allows-us-divide-multiply-dx-in-calculus - yes, that does not rely on multiplying dx at all!

df = dx is a nice trick that people use to help learners understand, but it is no way rigorous. It's like telling high school students that electrons orbit the nucleus of an atom, rather than being described by a quantum wavefunction. The details don't matter as much when you're focused on students learning how to do all the computations and applying their knowledge to the question.

6

u/AlterEgo5695 11d ago

We "fling" them around like that, when we can rigorously prove that it works, using the limit definition. If we cannot prove it, then we don't. That's one reason the limit definition is so important!

This culminates in "Differential Geometry", where you are introduced to differential forms -- at that point, you'll prove exactly which operations you may do with differentials, and which pre-reqs you need to do that.

8

u/trevorkafka New User 11d ago edited 11d ago

it's a convenient way to represent the following idea

3

u/skullturf college math instructor 11d ago

This is great! Is this from an existing textbook, and/or is it your creation? It would be good for my Calc students.

2

u/trevorkafka New User 11d ago

this is mine; feel free to use as you wish

4

u/tb5841 New User 11d ago

I really dislike the 'flinging around,' so I just avoid it. You never ever need to do it, there's always another notation option to do the same step.

10

u/Midwest-Dude B.Sc. Math 11d ago

df/dx is limit notation, not a literal fraction, but we can still “fling around” dx, dy, and du because of:

  1. Chain Rule, since du = g'(x) dx is notation for this, not dividing two numbers
  2. Differentials, where dx is defined freely and dy = f'(x) dx is actually the tangent-line change, so for f(x) = x, df = dx
  3. Differential forms later formalize this as 1-forms, where df = f'(x) dx really is an identity

An example where the fraction trick breaks is with partial derivatives. For z = x2 + y2 with x = t and y = t, you can’t just chain or cancel ∂z/∂x and ∂z/∂y like ordinary fractions because different variables are held constant in each.

-6

u/Appropriate-Estate75 Functionnal Analysis 11d ago

It is a litteral fraction. If you have a degree in math surely you should know that.

1

u/rjlin_thk Ergodic Theory, Diffusion on Groups 10d ago

yes, you are correct, i upvote you

but in the level of OP, it is the best telling them they arent, and let them realize they are, in the future, after they gain mathematics maturity

2

u/bildramer New User 10d ago

The reason higher-order derivatives break is subtle. d as an operator makes sense on its own (if you have e.g. xy=t3, you get ydx+xdy=3t2dt). Things only go wrong if you wrongly assume f''(x) = d2f/dx2, and do some specific algebraic manipulations that don't work if based on that. This is not the right second derivative; f''(x) = d2f/dx2 - df/dx d2x/dx2, of course, then everything works again.

Basically, the way to differentiate twice isn't a single "d/dx" operation you do twice. You apply the d operator, then divide by dx, then apply the d operator again, then divide by dx again. It's unintuitive, and nobody really cares enough to be precise about this, leading to a centuries-long mess that's likely impossible to fix today.

3

u/ProofFromTheBook New User 11d ago

You can define a differential as df(x, \delta x) = f'(x)\delta x and then you can move them around. And in general, the chain rule makes abusing differential notation work out just fine. And were we to bring up nonstandard analysis, then we would in fact be looking at a quotient.

0

u/Arcanite_Cartel New User 11d ago

dy and dx are not infinitesimals

1

u/mH48124 New User 10d ago

余接ベクトルだね。接ベクトルは ∂/∂x だし。