While we're at it, it's probably not the best idea to represent derivatives as fractions either (for the sake of notational consistency). But that notation will never die.
While we're at it, it's probably not the best idea to represent derivatives as fractions either (for the sake of notational consistency). But that notation will never die.
Do you mean dy/dx? Why isn't that a good idea? Isn't fractional form useful, for example solving differential equation y = dy/dx => dy/y = dx? What are the alternative you'd prefer: prime notation, D-notation, or else?
I think this notation is single handly the reason why i've never been comfortable with calculus.
PS: i've stumbled a few years ago on a math book that described the original concept of "infinitesimals" and how a whole different way of doing calculus exists. And it seems to me those kinds of computations over "dx" come from there. But the end result of mixing concepts really looks like trash.
Vectors is a great example: as soon as you're introduced to vectors, you immediately starts to be given definitions on how to multiply / add them together and with regular numbers.
dx remained a mystery even during my first 2 years of calculus in university. I used them purely as a notation tool, but really didn't understand them properly.
To measure the speed of a moving object you must divide the distance moved by the time it took to move that distance.
So how can you measure what the speed is at a given location? In a sense you cannot, you can only measure it at a given interval over the period of time it took to move that distance.
So it is kind of confusing. dx/dy represents the limit of measuring the speed over increasingly small distances and durations around a given point in space and time. If you take dx to 0 and dy to 0 it does not make sense because 0/0 is ill-defined. Therefore we need some notation that implies we are really not talking about a single point, but an increasingly small distance, and duration.
You will be delighted to discover that they are in fact not magical or garbage.
> What object is "dx" ? is it a number ? a limit ? is it zero ? can i divide another number by it ?
dx is a differential one-form. You can think of it as a generalisation of a gradient, if you like. These are very important in Differential Geometry.
You can use differential forms to do all sorts of things, but one example you may be familiar with is to compute area or volume forms over arbitrary manifolds. It gets a bit hard to define things on HN without TeX support, but using differential one-forms and the related exterior derivative, you can define a generalised Stokes' theorem that works for any smooth, oriented manifold.
I used this in my PhD, and implemented it directly in a numerical method, so this has very practical engineering uses also.
"Elementary Differential Geometry" by Barrett O'Neill is a pretty beginner-friendly introduction to some of these topics if you're interested, though there are many other good texts also.
This really doesn't help beginners. At all.
There are formal contexts where we can reinterpret division by zero and have it make sense. Should I start telling students that division by zero is allowed? Should I start teaching intro calculus students that 1+2+3+...=-1/12?
To some extent we have to speak to our audience. I consider that part of effective communication. I don't think "assume the person you're speaking to is/will be a mathematician" is an effective way to interact.
If you can come up with a more helpful reply in as many words, then please do so.
Δy = f(x + Δx) - f(x) and dy = f'(x) dx.
Then f'(x) = dy/dx. This may look like a stupid hack to make the last formula work, but actually it's a little more. If you use nonstandard analysis, you define the derivative of a function f from reals to reals by f'(a) = st( (f(a + Δx) - f(a)) / Δx )
where st takes the standard part of a hyperreal number and Δx is a nonzero infinitesimal. This is like the usual limit definition, without limits. Then you can use the formulas above and "dy" and "dx" are numbers, albeit hyperreal numbers.(The "dx as a differential form" vs. "dx as a number" is probably coming from the fact that the tangent space to the reals at a real number is isomorphic to the reals, so the dual space [where dx lives] is too.)
(Calculus via infinitesimals is pretty cool; a good resource for this is H. Jerome Keisler's "Elementary Calculus" and "Foundations of Infinitesimal Calculus", both available for free: https://people.math.wisc.edu/~hkeisler/)
I second the recommendation for Barrett O'Neill's book - I used it in my differential geometry class at MIT.
Was this book "Elementary Calculus: An Infinitesimal Approach", by Keisler? It's an awesome book. It's free to download at https://people.math.wisc.edu/~hkeisler/calc.html
Unfortunately, that realization came 25 years too late.
For example:
> Isn't fractional form useful, for example solving differential equation y = dy/dx => dy/y = dx?
What exactly does "dy/y = dx" mean? What is on the LHS and what is on the RHS?
It acts like a mnemonic scribble for an intermediate step. It doesn't have any mathematical meaning.
As I understand, dy/y = dx means that the derivative of 1/y with respect to y equals to the derivative of 1 with respect to x.
So you must be saying that the derivative of 1/f(x) with respect to x is zero for any f(x), where f is a differentiable function, with non-vanishing derivative near x (for it to be defined in the first place).
That doesn't make any sense.
Please don't respond to this. It's getting absurd.
That's about right. When you cover elementary solution methods for differential equations, you start with something like y = dy/dx. You're supposed to separate variables ("get the x's on one side and the y's on the other, then integrate"). So it's tempting to just write "dy/y = dx", even though as you say it doesn't have any mathematical meaning. But it's helpful in keeping track of the algebra. You then forget you wrote that meaningless but helpful step and write "∫ dy/y = ∫ dx" which is okay, and go from there.
Looking at one of my old diff eq books I see whole sections where this kind of casual algebra with differentials is the norm.
When anyone would ask me about this in class, I'd say something like this. Think of a solution curve for y = dy/dx as a parametrized curve, so x = f(t) and y = g(t). Then interpret the equation as y = (dy/dt)/(dx/dt), write dx/dt = (1/y) (dy/dt), then integrate both sides with respect to t:
∫ 1/y (dy/dt) dt = ∫ (dx/dt) dt
Change variables to get "∫ dy/y = ∫ dx". After a while we believe that this will always work, and we just suppress the stuff about parametric equations. f : R -> R
that is, f having a type signature as a function, and f(x) : R
having a type signature of a float (or: being a float). And so on.I've been using this approach to type-check calculus equations. Unfortunately the article in the top comment [0] says that
> Note that f means something different on the two sides of the equation!
so the Leibniz notation might be more ad-hoc than I thought, and I can't just type-check them, actually have to reverse engineer the intent of the authors. I have to think about this. For example I remember someone giving me 3 exercises from Stewart calculus, and I gave 2 back that those equations don't even type-check, maybe there are some notation abuses I am not aware of.
[0] https://mitp-content-server.mit.edu/books/content/sectbyfn/b...