# Extended real numbers

## Idea

An extended real number is usually a real number, but it might be $±\infty$. We can also think of an extended real number as a number of the form $\mathrm{log}\left(1/t-1\right)$ for $t\in \left[0,1\right]$ (including $t=0,1$) or a number of the form $\mathrm{tan}t$ for $t$ a real number (including an odd multiple of $\pi /2$).

There are actually two slightly different notions that both go by the name ‘extended real number’: one in which $\infty$ and $-\infty$ are distinct (the logarithm), and one in which they are identified (the tangent?). The latter kind forms a quotient space of the former.

## Definitions

Classically, one simply defines an extended real number to be either a real number, $\infty$, or (for the version in which these are distinguished) $-\infty$. However, one has to take more care for a definition that works in constructive mathematics. Such a definition may also be interesting to a classical mathematician for its own sake, of course.

### As extended Dedekind cuts

One way to define extended real numbers is to adjust the notion of Dedekind cut. This naturally defines the sort of extended real number in which $\infty \ne -\infty$.

So let an extended Dedekind cut be a pair $\left(L,U\right)$ of sets of rational numbers such that:

• For each $a\in L$, there is some $b\in L$ such that $a.
• For each $b\in U$, there is some $a\in U$ such that $a.
• Whenever $a are rational numbers, either $a\in L$ or $b\in U$ (non-exclusively).
• If $a\in L$ and $b\in U$, then $a.

(The usual slight variations available in the notion of Dedekind cut apply here as well, in the same ways.)

If $L$ is empty, then $U$ must be the set of all rational numbers; this extended cut represents $-\infty$. If $U$ is empty, then $L$ must be the set of all rational numbers; this extended cut represents $\infty$. An extended Dedekind cut is bounded if instead $L$ and $U$ are both inhabited. The bounded cuts are the usual Dedekind cuts that represent real numbers. So the only change is that we no longer require this boundedness condition.

The space of extended real numbers in this sense is often denoted $\overline{ℝ}$. As a topological space (or locale, constructively), it is the end compactification? of the locally compact space $ℝ$. Geometrically, this is a line segment?, the extended real number line segment.

### As ratios of real numbers

Another way to define extended real numbers is to represent them as ratios of real numbers. This naturally defines the sort of extended real number in which $\infty =-\infty$.

So let a nontrivial ratio of real numbers be a pair $\left(a,b\right)$ of real numbers such that either $a\ne 0$ or $b\ne 0$. (By $\ne$ we mean the usual apartness relation on real numbers.) We write the ratio as $a:b$, and we consider $a:b$ and $c:d$ to be equivalent, written $a:b\colon\colon c:d$, if $ad=bc$. This is an equivalence relation on nontrivial ratios; modulo this equivalence relation, the nontrivial ratios represent extended real numbers.

If $b\ne 0$, then the nontrivial ratio $a:b$ is equivalent to $a/b:1$ and represents the real number $a/b$. The nontrivial ratios $a:0$ for $a\ne 0$ are all equivalent and represent $\infty$. (The ratio $0:0$ is considered trivial and does not represent any extended real number.)

This is a special case of forming the projective line? of a field, in this case the field of real numbers. Accordingly, the space of extended real numbers in this sense is often denoted $ℙ{ℝ}^{1}$. As a topological space (or locale, constructively), it is the one-point compactification of the locally compact space $ℝ$. Geometrically, this is a circle, the extended real number circle.

## Orders

We can put a linear order on $\overline{ℝ}$ by setting $-\infty for any real number $x$. In terms of Dedekind cuts, this is the straightforward extension of the usual definition of $<$ on such cuts.

We can put a cyclic order $R$ on $ℙ{ℝ}^{1}$ by setting $R\left(x,y,z\right)$ true if any of the following hold:

• $x are all real numbers,
• $y are all real numbers,
• $z are all real numbers,
• $y are real numbers and $x=\infty$,
• $z are real numbers and $y=\infty$,
• $x are real numbers and $z=\infty$.

(These orders can be defined constructively too.)

## Arithmetic

In $\overline{ℝ}$, we take $x+\infty$, $\infty +x$, and $\infty +\infty$ to be $\infty$ (for $x$ a real number) and similarly $x-\infty$, $-\infty +x$, and $-\infty -\infty$ to be $-\infty$. Of course, $\infty$ and $-\infty$ are opposites (additive inverses). These are all straightforward extensions of the usual definition of addition for Dedekind cuts. However, when we try $\infty -\infty$ or $-\infty +\infty$, the Dedekind cut calculation gives us $\left(\varnothing ,\varnothing \right)$, which is not a cut, even extended. (Although some sources define these sums, it is most common to leave them undefined, I think.)

In $ℙ{ℝ}^{1}$, we similarly take $x+\infty$ and $\infty +x$ to be $\infty$ (for $x$ a real number). Now $\infty$ is its own opposite. These all agree with the additive rule $\left(a:b\right)+\left(c:d\right)=\left(ad+bc:bd\right)$. If we apply this to $\infty +\infty$, however, the result is $0:0$, so again we take that to be undefined. (However, in this case, the definition $\infty +\infty =\infty$ is also widely seen, I think.)

Note that although we have blithely referred to ‘additive inverses’, addition does not form a group in either case. The reason is that the opposites of $±\infty$ are not really additive inverses, since the result of the relevant addition is undefined rather than zero. (You can't fix this by any clever definition, either, since $0+\infty =1+\infty$ shows that the operation is not cancellative.)

In $\overline{ℝ}$, we take $x\cdot ±\infty$ to be $±\infty$ when $x>0$ but $x\cdot ±\infty =\mp \infty$ for $x<0$. (This continues to work even if $x$ is infinite too.) But now $0\cdot ±\infty$ is undefined. (Many sources define this to be zero, although I think this is really because they are using $0\cdot \infty =0$ in the lower reals, at least in applications to measure theory.)

In $ℙ{ℝ}^{1}$, we take $x\cdot \infty$ to be $\infty$ as long as $x\ne 0$; but $0\cdot \infty$ is undefined. We may write $1/\infty =0$ and $1/0=\infty$ to define division, but again these are not really multiplicative inverses. (With $0\cdot 0=0\cdot 1$, again multiplication is not cancellative.)

## In constructive mathematics

The definitions above give us located extended real numbers. We can of course consider unlocated extended real numbers, either one-sided or MacNeille?. The natural definitions of these are at least somewhat extended; the lower one-sided reals include $\infty$, the upper one-sided reals include $-\infty$, and the MacNeille reals include both (with $\infty \ne -\infty$). However, one can always restrict to bounded numbers or alternatively fully extend the one-sided numbers, so being extended and being located are technically independent. Still, whenever $±\infty$ shows up constructively (especially if only one of them appears), then this is a sign that one may want to generalise to one-sided (or even MacNeille) reals.

Revised on February 29, 2012 21:02:14 by Toby Bartels (64.89.53.36)