Hyperreals In A Nutshell
October 15, 2023
Epistemic status: Vaguely confused and probably lacking a sufficient technical background to get all the terms right. Is very cool though, so I figured I'd write this.
And what are these Fluxions? The Velocities of evanescent Increments? And what are these same evanescent Increments? They are neither finite Quantities nor Quantities infinitely small, nor yet nothing. May we not call them the ghosts of departed quantities?
George Berkeley, The Analyst
When calculus was invented, it didn't make sense. Newton and Leibniz played fast and dirty with mathematical rigor to develop methods that arrived at the correct answers, but no one knew why. It took another one and a half centuries for Cauchy and Weierstrass develop analysis, and in the meantime people like Berkeley refused to accept the methods utilizing these "ghosts of departed quantities."
Cauchy's and Weierstrass's solution to the crisis of calculus was to define infinitesimals in terms of limits. In other words, to not describe the behavior of functions directly acting on infinitesimals, but rather to frame the the entire endeavour as studying the behaviors of certain operations in the limit, in that weird superposition of being arbitrarily close to something yet not it.
(And here I realize that math is better shown, not told)
The limit of a function
then
Essentially, the limit exists if there's some value
From this we get the well-known definition of the derivative:
and you can define the integral similarly.
The limit solved calculus's rigor problem. From the limit the entire field of analysis was invented and placed on solid ground, and this foundation has stood to this day.
Yet, it seems like we lose something important when we replace the idea of the "infinitesimally small" with the "arbitrarily close to." Could we actually make numbers that were infinitely small?
The Sequence Construction
Imagine some mathematical object that had all the relevant properties of the real numbers (addition, multiplication are associative and commutative, is closed, etc.) but had infinitely small and infinitely large numbers. What does this object look like?
We can take the set of all infinite sequences of real numbers
where
We can define addition and multiplication element-wise as:
You can verify that this is a commutative ring, which means that these operations behave nicely. Yet, being a commutative ring is not the same thing as being an ordered field, which is what we eventually want if our desired object is to have the same properties as the reals.
To get from
If we let
and
then neither of these are the zero element, yet their product is zero.
How do we fix this? Equivalence classes!
Our problem is that there are too many distinct "zero-like" things in the ring of real numbered sequences. Intuitively, we should expect the sequence
In other words, how do we make all the sequences with "almost all" their elements as zero to be equal to zero?
Almost All Agreement ft. Ultrafilters
Taken from "five ways to say "Almost Always" and actually mean it":
A filter
on an arbitrary set is a collection of subsets of that is closed under set intersections and supersets. (Note that this means that the smallest filter on is itself). An ultrafilter is a filter which, for every
, contains either or its complement. A principal ultrafilter contains a finite set. A nonprincipal ultrafilter does not.
This turns out to be an incredibly powerful mathematical tool, and can be used to generalize the concept of "almost all" to esoteric mathematical objects that might not have well-defined or intuitive properties.
Let's say we define some nonprincipal ultrafilter
Observe that
Voila! We have a suitable definition of "almost all agreement": if the agreement set
Let
(Notation note: we will let
Yes, This Behaves Like The Real Numbers
Let
Therefore, division is well defined on \(^\mathbb{R}\)! Now all we need is an ordering, and luckily almost all agreement saves the day again. We can say for \(a,b \in ^\mathbb{R}\) that
So,
Infinitesimals and Infinitely Large Numbers
We have the following hyperreal:
Recall that we embed the real numbers into the hyperreals by assigning every real number
Pick some arbitrary real number
This is an infinitesimal! This is a rigorously defined, coherently defined, infinitesimal number smaller than all real numbers! In a number system which shares all of the important properties of the real numbers! (except the Archimedean one, as we will shortly see, but that doesn't really matter).
Consider the following
By a similar argument this is larger than all possible real numbers. I encourage you to try to prove this for yourself!
(The Archimedean principle is that which guarantees that if you have any two real numbers, you can multiply the smaller by some natural number to become greater than the other. This is not true in the hyperreals. Why? (Hint:
How does this tie into calculus, exactly?🔗
Well, we have a coherent way of defining infinitesimals!
The short answer is that we can define the star operator (also called the standard part operator)
where
It also turns out the hyperreals have a bunch of really cool applications in fields far removed from analysis. Check out my expository paper on the intersection of nonstandard analysis and Ramsey theory for an example!
Yet, the biggest effect I think this will have is pedadogical. I've always found the definition of a limit kind of unintuitive, and it was specifically invented to add post hoc coherence to calculus after it had been invented and used widely. I suspect that formulating calculus via infinitesimals in introductory calculus classes would go a long way to making it more intuitive.