# Non-standard calculus

In mathematics, non-standard calculus is the modern application of infinitesimals, in the sense of non-standard analysis, to differential and integral calculus. It provides a rigorous justification for some arguments in calculus that were previously considered merely heuristic.

Calculations with infinitesimals were widely used before Karl Weierstrass sought to replace them with the (ε, δ)-definition of limit starting in the 1870s. (See history of calculus.) For almost one hundred years thereafter, mathematicians like Richard Courant viewed infinitesimals as being naive and vague or meaningless.[1]

Contrary to such views, Abraham Robinson showed in 1960 that infinitesimals are precise, clear, and meaningful, building upon work by Edwin Hewitt and Jerzy Łoś. According to Jerome Keisler, "Robinson solved a three hundred year old problem by giving a precise treatment of infinitesimals. Robinson's achievement will probably rank as one of the major mathematical advances of the twentieth century."[2]

## History

The history of non-standard calculus began with the use of infinitely small quantities, called infinitesimals in calculus. The use of infinitesimals can be found the foundations of calculus independently developed by Gottfried Leibniz and Isaac Newton starting in the 1660s. John Wallis refined earlier techniques of indivisibles of Cavalieri and others by exploiting an infinitesimal quantity he denoted ${\displaystyle {\tfrac {1}{\infty }}}$ in area calculations, preparing the ground for integral calculus.[3] They drew on the work of such mathematicians as Pierre de Fermat, Isaac Barrow and René Descartes.

In early calculus the use of infinitesimal quantities was criticized by a number of authors, most notably Michel Rolle and Bishop Berkeley in his book The Analyst.

Several mathematicians, including Maclaurin and d'Alembert, advocated the use of limits. Augustin Louis Cauchy developed a versatile spectrum of foundational approaches, including a definition of continuity in terms of infinitesimals and a (somewhat imprecise) prototype of an ε, δ argument in working with differentiation. Karl Weierstrass formalized the concept of limit in the context of a (real) number system without infinitesimals. Following the work of Weierstrass, it eventually became common to base calculus on ε, δ arguments instead of infinitesimals.

This approach formalized by Weierstrass came to be known as the standard calculus. After many years of the infinitesimal approach to calculus having fallen into disuse other than as an introductory pedagogical tool, use of infinitesimal quantities was finally given a rigorous foundation by Abraham Robinson in the 1960s. Robinson's approach is called non-standard analysis to distinguish it from the standard use of limits. This approach used technical machinery from mathematical logic to create a theory of hyperreal numbers that interpret infinitesimals in a manner that allows a Leibniz-like development of the usual rules of calculus. An alternative approach, developed by Edward Nelson, finds infinitesimals on the ordinary real line itself, and involves a modification of the foundational setting by extending ZFC through the introduction of a new unary predicate "standard".

## Motivation

To calculate the derivative ${\displaystyle f'\,}$ of the function ${\displaystyle y=f(x)=x^{2}}$ at x, both approaches agree on the algebraic manipulations:

${\displaystyle {\frac {\Delta y}{\Delta x}}={\frac {(x+\Delta x)^{2}-x^{2}}{\Delta x}}=2x+\Delta x\approx 2x}$

This becomes a computation of the derivatives using the hyperreals if we interpret Δx as an infinitesimal and let the symbol "${\displaystyle \approx }$" be the relation "is infinitely close to".

In order to make f ' a real-valued function, we must dispense with the final term ${\displaystyle \Delta x}$. In the standard approach using only real numbers, that is done by taking the limit as ${\displaystyle \Delta x}$ tends to zero. In the hyperreal approach, the quantity ${\displaystyle \Delta x}$ is taken to be an infinitesimal, a nonzero number that is closer to 0 than to any nonzero real. The manipulations displayed above then show that ${\displaystyle \Delta y/\Delta x}$ is infinitely close to 2x, so the derivative of f at x is then 2x.

Discarding the "error term" is accomplished by an application of the standard part function. Dispensing with infinitesimal error terms was historically considered paradoxical by some writers, most notably George Berkeley.

Once the hyperreal number system (an infinitesimal-enriched continuum) is in place, one has successfully incorporated a large part of the technical difficulties at the foundational level. Thus, the epsilon, delta techniques that some believe to be the essence of analysis can be implemented once and for all at the foundational level, and the students needn't be "dressed to perform multiple-quantifier logical stunts on pretense of being taught infinitesimal calculus", to quote a recent study.[4] More specifically, the basic concepts of calculus such as continuity, derivative, and integral can be defined using infinitesimals without reference to epsilon, delta (see next section).

## Keisler's textbook

Keisler's Elementary Calculus: An Infinitesimal Approach defines continuity on page 125 in terms of infinitesimals, to the exclusion of epsilon, delta methods. The derivative is defined on page 45 using infinitesimals rather than an epsilon-delta approach. The integral is defined on page 183 in terms of infinitesimals. Epsilon, delta definitions are introduced on page 282.

## Definition of derivative

The hyperreals can be constructed in the framework of Zermelo-Fraenkel set theory, the standard axiomatisation of set theory used elsewhere in mathematics. To give an intuitive idea for the hyperreal approach, note that, naively speaking, non-standard analysis postulates the existence of positive numbers ε which are infinitely small, meaning that ε is smaller than any standard positive real, yet greater than zero. Every real number x is surrounded by an infinitesimal "cloud" of hyperreal numbers infinitely close to it. To define the derivative of f at a standard real number x in this approach, one no longer needs an infinite limiting process as in standard calculus. Instead, one sets

${\displaystyle f'(x)={\mathrm {st} }\left({\frac {f^{*}(x+\epsilon )-f^{*}(x)}{\epsilon }}\right),}$

where st is the standard part function, yielding the real number infinitely close to the hyperreal argument of st, and ${\displaystyle f^{*}}$ is the natural extension of ${\displaystyle f}$ to the hyperreals.

## Continuity

A real function f is continuous at a standard real number x if for every hyperreal x' infinitely close to x, the value f(x' ) is also infinitely close to f(x). This captures Cauchy's definition of continuity as presented in his 1821 textbook Cours d'Analyse, p. 34.

Here to be precise, f would have to be replaced by its natural hyperreal extension usually denoted f* (see discussion of Transfer principle in main article at non-standard analysis).

Using the notation ${\displaystyle \approx }$ for the relation of being infinitely close as above, the definition can be extended to arbitrary (standard or non-standard) points as follows:

Here the point x' is assumed to be in the domain of (the natural extension of) f.

The above requires fewer quantifiers than the (εδ)-definition familiar from standard elementary calculus:

f is continuous at x if for every ε > 0, there exists a δ > 0 such that for every x' , whenever |x − x' | < δ, one has |ƒ(x) − ƒ(x' )| < ε.

## Uniform continuity

A function f on an interval I is uniformly continuous if its natural extension f* in I* has the following property (see Keisler, Foundations of Infinitesimal Calculus ('07), p. 45):

for every pair of hyperreals x and y in I*, if ${\displaystyle x\approx y}$ then ${\displaystyle f^{*}(x)\approx f^{*}(y)}$.

In terms of microcontinuity defined in the previous section, this can be stated as follows: a real function is uniformly continuous if its natural extension f* is microcontinuous at every point of the domain of f*.

This definition has a reduced quantifier complexity when compared with the standard (ε, δ)-definition. Namely, the epsilon-delta definition of uniform continuity requires four quantifiers, while the infinitesimal definition requires only two quantifiers. It has the same quantifier complexity as the definition of uniform continuity in terms of sequences in standard calculus, which however is not expressible in the first-order language of the real numbers.

The hyperreal definition can be illustrated by the following three examples.

Example 1: a function f is uniformly continuous on the semi-open interval (0,1], if and only if its natural extension f* is microcontinuous (in the sense of the formula above) at every positive infinitesimal, in addition to continuity at the standard points of the interval.

Example 2: a function f is uniformly continuous on the semi-open interval [0,∞) if and only if it is continuous at the standard points of the interval, and in addition, the natural extension f* is microcontinuous at every positive infinite hyperreal point.

Example 3: similarly, the failure of uniform continuity for the squaring function

${\displaystyle x^{2}\,}$

is due to the absence of microcontinuity at a single infinite hyperreal point, see below.

Concerning quantifier complexity, the following remarks were made by Kevin Houston:[5]

The number of quantifiers in a mathematical statement gives a rough measure of the statement’s complexity. Statements involving three or more quantifiers can be difficult to understand. This is the main reason why it is hard to understand the rigorous definitions of limit, convergence, continuity and differentiability in analysis as they have many quantifiers. In fact, it is the alternation of the ${\displaystyle \forall }$ and ${\displaystyle \exists }$ that causes the complexity.

Andreas Blass wrote as follows:

Often ... the nonstandard definition of a concept is simpler than the standard definition (both intuitively simpler and simpler in a technical sense, such as quantifiers over lower types or fewer alternations of quantifiers).[6]

## Compactness

A set A is compact if and only if its natural extension A* has the following property: every point in A* is infinitely close to a point of A. Thus, the open interval (0,1) is not compact because its natural extension contains positive infinitesimals which are not infinitely close to any positive real number.

## Heine–Cantor theorem

The fact that a continuous function on a compact interval I is necessarily uniformly continuous (the Heine–Cantor theorem) admits a succinct hyperreal proof. Let x, y be hyperreals in the natural extension I* of I. Since I is compact, both st(x) and st(y) belong to I. If x and y were infinitely close, then by the triangle inequality, they would have the same standard part

${\displaystyle c=\operatorname {st} (x)=\operatorname {st} (y).\,}$

Since the function is assumed continuous at c, we have

${\displaystyle f(x)\approx f(c)\approx f(y),\,}$

and therefore f(x) and f(y) are infinitely close, proving uniform continuity of f.

## Why is the squaring function not uniformly continuous?

Let f(x) = x2 defined on ${\displaystyle {\mathbb {R} }}$. Let ${\displaystyle N\in {\mathbb {R} }^{*}}$ be an infinite hyperreal. The hyperreal number ${\displaystyle N+{\tfrac {1}{N}}}$ is infinitely close to N. Meanwhile, the difference

${\displaystyle f(N+{\tfrac {1}{N}})-f(N)=N^{2}+2+{\tfrac {1}{N^{2}}}-N^{2}=2+{\tfrac {1}{N^{2}}}}$

is not infinitesimal. Therefore f* fails to be microcontinuous at the hyperreal point N. Thus, the squaring function is not uniformly continuous, according to the definition in uniform continuity above.

A similar proof may be given in the standard setting Template:Harv.

## Example: Dirichlet function

Consider the Dirichlet function

${\displaystyle I_{Q}(x):={\begin{cases}1&{\text{ if }}x{\text{ is rational}},\\0&{\text{ if }}x{\text{ is irrational}}.\end{cases}}}$

It is well known that the function is discontinuous at every point. Let us check this in terms of the hyperreal definition of continuity above, for instance let us show that the Dirichlet function is not continuous at π. Consider the continued fraction approximation an of π. Now let the index n be an infinite hypernatural number. By the transfer principle, the natural extension of the Dirichlet function takes the value 1 at an. Note that the hyperrational point an is infinitely close to π. Thus the natural extension of the Dirichlet function takes different values (0 and 1) at these two infinitely close points, and therefore the Dirichlet function is not continuous at π.

## Limit

While the thrust of Robinson's approach is that one can dispense with the approach using multiple quantifiers, the notion of limit can be easily recaptured in terms of the standard part function st, namely

${\displaystyle \lim _{x\to a}f(x)=L\,}$

if and only if whenever the difference x − a is infinitesimal, the difference ƒ(x) − L is infinitesimal, as well, or in formulas:

if st(x) = a  then st(ƒ(x)) = L,

## Limit of sequence

Given a sequence of real numbers ${\displaystyle \{x_{n}|n\in {\mathbb {N} }\}\;}$, if ${\displaystyle L\in {\mathbb {R} }\;}$ we say L is the limit of the sequence and write

${\displaystyle L=\lim _{n\to \infty }x_{n}}$

if for every infinite hypernatural n, we have st(xn)=L (here the extension principle is used to define xn for every hyperinteger n).

This definition has no quantifier alternations.The standard (ε, δ)-style definition on the other hand does have quantifier alternations:

${\displaystyle L=\lim _{n\to \infty }x_{n}\Longleftrightarrow \forall \epsilon >0\;,\exists N\in {\mathbb {N} }\;,\forall n\in {\mathbb {N} }:n>N\rightarrow |x_{n}-L|<\epsilon .\;}$

## Extreme value theorem

To show that a real continuous function f on [0,1] has a maximum, let N be an infinite hyperinteger. The interval [0, 1] has a natural hyperreal extension. The function ƒ is also naturally extended to hyperreals between 0 and 1. Consider the partition of the hyperreal interval [0,1] into N subintervals of equal infinitesimal length 1/N, with partition points xi = i /N as i "runs" from 0 to N. In the standard setting (when N is finite), a point with the maximal value of ƒ can always be chosen among the N+1 points xi, by induction. Hence, by the transfer principle, there is a hyperinteger i0 such that 0 ≤ i0 ≤ N and ${\displaystyle f(x_{i_{0}})\geq f(x_{i})}$ for all i = 0, …, N (an alternative explanation is that every hyperfinite set admits a maximum). Consider the real point

${\displaystyle c={\rm {st}}(x_{i_{0}})}$

where st is the standard part function. An arbitrary real point x lies in a suitable sub-interval of the partition, namely ${\displaystyle x\in [x_{i},x_{i+1}]}$, so that st(xi) = x. Applying st to the inequality ${\displaystyle f(x_{i_{0}})\geq f(x_{i})}$, we obtain ${\displaystyle {\rm {st}}(f(x_{i_{0}}))\geq {\rm {st}}(f(x_{i}))}$. By continuity of ƒ we have

${\displaystyle {\rm {st}}(f(x_{i_{0}}))=f({\rm {st}}(x_{i_{0}}))=f(c)}$.

Hence ƒ(c) ≥ ƒ(x), for all x, proving c to be a maximum of the real function ƒ. See Template:Harvtxt.

## Intermediate value theorem

As another illustration of the power of Robinson's approach, we present a short proof of the intermediate value theorem (Bolzano's theorem) using infinitesimals.

Let f be a continuous function on [a,b] such that f(a)<0 while f(b)>0. Then there exists a point c in [a,b] such that f(c)=0.

The proof proceeds as follows. Let N be an infinite hyperinteger. Consider a partition of [a,b] into N intervals of equal length, with partition points xi as i runs from 0 to N. Consider the collection I of indices such that f(xi)>0. Let i0 be the least element in I (such an element exists by the transfer principle, as I is a hyperfinite set). Then the real number

is the desired zero of f. Such a proof reduces the quantifier complexity of a standard proof of the IVT.

## Basic theorems

If f is a real valued function defined on an interval [a, b], then the transfer operator applied to f, denoted by *f, is an internal, hyperreal-valued function defined on the hyperreal interval [*a, *b].

Theorem. Let f be a real-valued function defined on an interval [a, b]. Then f is differentiable at a < x < b if and only if for every non-zero infinitesimal h, the value

${\displaystyle \Delta _{h}f:=\operatorname {st} {\frac {[{}^{*}\!f](x+h)-[{}^{*}\!f](x)}{h}}}$

is independent of h. In that case, the common value is the derivative of f at x.

This fact follows from the transfer principle of non-standard analysis and overspill.

Note that a similar result holds for differentiability at the endpoints a, b provided the sign of the infinitesimal h is suitably restricted.

For the second theorem, we consider the Riemann integral. This integral is defined as the limit, if it exists, of a directed family of Riemann sums; these are sums of the form

${\displaystyle \sum _{k=0}^{n-1}f(\xi _{k})(x_{k+1}-x_{k})}$

where

${\displaystyle a=x_{0}\leq \xi _{0}\leq x_{1}\leq \ldots x_{n-1}\leq \xi _{n-1}\leq x_{n}=b.}$

We will call such a sequence of values a partition or mesh and

${\displaystyle \sup _{k}(x_{k+1}-x_{k})}$

the width of the mesh. In the definition of the Riemann integral, the limit of the Riemann sums is taken as the width of the mesh goes to 0.

Theorem. Let f be a real-valued function defined on an interval [a, b]. Then f is Riemann-integrable on [a, b] if and only if for every internal mesh of infinitesimal width, the quantity

${\displaystyle S_{M}=\operatorname {st} \sum _{k=0}^{n-1}[*f](\xi _{k})(x_{k+1}-x_{k})}$

is independent of the mesh. In this case, the common value is the Riemann integral of f over [a, b].

## Applications

One immediate application is an extension of the standard definitions of differentiation and integration to internal functions on intervals of hyperreal numbers.

An internal hyperreal-valued function f on [a, b] is S-differentiable at x, provided

${\displaystyle \Delta _{h}f=\operatorname {st} {\frac {f(x+h)-f(x)}{h}}}$

exists and is independent of the infinitesimal h. The value is the S derivative at x.

Theorem. Suppose f is S-differentiable at every point of [a, b] where ba is a bounded hyperreal. Suppose furthermore that

${\displaystyle |f'(x)|\leq M\quad a\leq x\leq b.}$

Then for some infinitesimal ε

${\displaystyle |f(b)-f(a)|\leq M(b-a)+\epsilon .}$

To prove this, let N be a non-standard natural number. Divide the interval [a, b] into N subintervals by placing N − 1 equally spaced intermediate points:

${\displaystyle a=x_{0}

Then

${\displaystyle |f(b)-f(a)|\leq \sum _{k=1}^{N-1}|f(x_{k+1})-f(x_{k})|\leq \sum _{k=1}^{N-1}\left\{|f'(x_{k})|+\epsilon _{k}\right\}|x_{k+1}-x_{k}|.}$

Now the maximum of any internal set of infinitesimals is infinitesimal. Thus all the εk's are dominated by an infinitesimal ε. Therefore,

${\displaystyle |f(b)-f(a)|\leq \sum _{k=1}^{N-1}(M+\epsilon )(x_{k+1}-x_{k})=M(b-a)+\epsilon (b-a)}$

from which the result follows.

## Notes

1. Courant described infinitesimals on page 81 of Differential and Integral Calculus, Vol I, as "devoid of any clear meaning" and "naive befogging". Similarly on page 101, Courant described them as "incompatible with the clarity of ideas demanded in mathematics", "entirely meaningless", "fog which hung round the foundations", and a "hazy idea".
2. Elementary Calculus: An Infinitesimal Approach
3. Scott, J.F. 1981. "The Mathematical Work of John Wallis, D.D., F.R.S. (1616–1703)". Chelsea Publishing Co. New York, NY. p. 18.
4. {{#invoke:citation/CS1|citation |CitationClass=citation }}
5. Kevin Houston, How to Think Like a Mathematician, ISBN 978-0-521-71978-0
6. {{#invoke:citation/CS1|citation |CitationClass=citation }}, p. 37.

## References

• {{#invoke:citation/CS1|citation

|CitationClass=citation }}

• H. Jerome Keisler: Elementary Calculus: An Approach Using Infinitesimals. First edition 1976; 2nd edition 1986. (This book is now out of print. The publisher has reverted the copyright to the author, who has made available the 2nd edition in .pdf format available for downloading at http://www.math.wisc.edu/~keisler/calc.html.)