# Standard part function

In nonstandard analysis, the standard part function is a function from the limited (finite) hyperreal numbers to the real numbers. Briefly, the standard part function "rounds off" a finite hyperreal to the nearest real. It associates to every such hyperreal $x$, the unique real $x_{0}$ infinitely close to it, i.e. $x-x_{0}$ is infinitesimal. As such, it is a mathematical implementation of the historical concept of adequality introduced by Pierre de Fermat, as well as Leibniz's Transcendental law of homogeneity.
The standard part function was first defined by Abraham Robinson who used the notation $^{\circ }x$ for the standard part of a hyperreal $x$ (see Robinson 1974). This concept plays a key role in defining the concepts of the calculus, such as continuity, the derivative, and the integral, in nonstandard analysis. The latter theory is a rigorous formalization of calculations with infinitesimals. The standard part of x is sometimes referred to as its shadow.

## Definition

Nonstandard analysis deals primarily with the pair $\mathbb {R} \subseteq^{*}\mathbb {R}$, where the hyperreals $^{*}\mathbb {R}$ are an ordered field extension of the reals $\mathbb {R}$, and contain infinitesimals, in addition to the reals. In the hyperreal line every real number has a collection of numbers (called a monad, or halo) of hyperreals infinitely close to it. The standard part function associates to a finite hyperreal x, the unique standard real number x$_0$ that is infinitely close to it. The relationship is expressed symbolically by writing
    $\operatorname {st} (x)=x_{0}.$
The standard part of any infinitesimal is 0. Thus if N is an infinite hypernatural, then 1/N is infinitesimal, and st(1/N) = 0.
If a hyperreal $u$ is represented by a Cauchy sequence $\langle u_{n}:n\in \mathbb {N} \rangle$ in the ultrapower construction, then
    $\operatorname {st} (u)=\lim _{n\to \infty }u_{n}.$
More generally, each finite $u\in^{*}\mathbb {R}$ defines a Dedekind cut on the subset $\mathbb {R} \subseteq^{*}\mathbb {R}$ (via the total order on $^{\ast }\mathbb {R}$) and the corresponding real number is the standard part of u.

## Not internal

The standard part function "st" is not defined by an internal set. There are several ways of explaining this. Perhaps the simplest is that its domain L, which is the collection of limited (i.e. finite) hyperreals, is not an internal set. Namely, since L is bounded (by any infinite hypernatural, for instance), L would have to have a least upper bound if L were internal, but L doesn't have a least upper bound. Alternatively, the range of "st" is $\mathbb {R} \subseteq^{*}\mathbb {R}$, which is not internal; in fact every internal set in $^{*}\mathbb {R}$ that is a subset of $\mathbb {R}$ is necessarily finite.

## Applications

All the traditional notions of calculus can be expressed in terms of the standard part function, as follows.

### Derivative

The standard part function is used to define the derivative of a function f. If f is a real function, and h is infinitesimal, and if f′(x) exists, then
    $f'(x)=\operatorname {st} \left({\frac {f(x+h)-f(x)}{h}}\right).$
Alternatively, if $y=f(x)$, one takes an infinitesimal increment $\Delta x$, and computes the corresponding $\Delta y=f(x+\Delta x)-f(x)$. One forms the ratio Δy/Δx {\textstyle {\frac {\Delta y}{\Delta x}}}. The derivative is then defined as the standard part of the ratio:
    ${\frac {dy}{dx}}=\operatorname {st} \left({\frac {\Delta y}{\Delta x}}\right).$

### Integral

Given a function $f$ on $[a,b]$, one defines the integral ∫$_a$$^b$f(x)dx{\textstyle \int _{a}^{b}f(x)\, dx} as the standard part of an infinite Riemann sum $S(f,a,b,\Delta x)$ when the value of $\Delta x$ is taken to be infinitesimal, exploiting a hyperfinite partition of the interval [a,b].

### Limit

Given a sequence $(u_{n})$, its limit is defined by lim$_{n→∞}$u$_n$=st⁡(u$_H$){\textstyle \lim _{n\to \infty }u_{n}=\operatorname {st} (u_{H})} where $H\in^{*}\mathbb {N} \setminus \mathbb {N}$ is an infinite index. Here the limit is said to exist if the standard part is the same regardless of the infinite index chosen.

### Continuity

A real function $f$ is continuous at a real point $x$ if and only if the composition $\operatorname {st} \circ f$ is constant on the halo of $x$. See microcontinuity for more details.