MENTAL
 Main Menu
 Applications
 Mathematics
 Division by Zero


Division by Zero
 DIVISION BY ZERO

"Zero, a dangerous Idea" (Charles Seife)

"Nullity is the missing link that turns real arithmetic into total arithmetic" (James Anderson).



The Division by Zero Problem

A historical problem

Since the invention of zero by the Hindus, more than a thousand years ago, people have been perplexed, astonished, doubtful when confronted with dividing a number by zero. Faced with this situation there are several opinions about the result: Of all these interpretations, the most widely accepted is that the result is infinite.

Another problem, related to the previous one, is the expression 0/0. In this case, there are also several opinions about the result: In this case, the most accepted interpretation is the latter.

Two conclusions are drawn from these two problems:
  1. The arithmetic is not complete, since the operations 1/0 and 0/0 are not defined.

  2. The two interpretations of 1/0 and 0/0 imply transcending arithmetic itself, since they are abstractions superior to the abstraction of number. Moreover, they can give rise to mathematical paradoxes. One of them is: 0×1 = 0×2 = 0. Dividing by zero, (0/0)×1 = (0/0)×2. Eliminating the common factor, 1 = 2.

The IEEE 754 standard

In computing, an attempt to divide by zero produces an exception, an error message, and the result is "Not a Number" (NaN). This acronym is part of the IEEE 754 standard, a term used in computer floating-point arithmetic.

To prevent division by zero, programs should always ask if the divisor is zero, and if so, branch to a routine that deals with this circumstance. It should also be checked if the divisor is less than a certain value, as the result may cause overflow. It should also be checked that it is not too large so that it does not produce underflow.

According to IEEE 754, the result NaN can be represented in floating point format with ones in the exponent and non-zero numbers in the mantissa.

Arithmetic operations involving a NaN produce a NaN, whereupon this value is propagated through the calculations. In the standard there are two types of NaN: quiet NaN, which generate no additional exceptions in propagation), and signalling NaN, where it propagates.

The proposed revised standard (IEEE 754r) also establishes maximum (maxnum) and minimum (minnum) values, so that a NaN can occur under various circumstances: division by zero, when trying to calculate the square root of a negative number, by underflow (generating a value less than minnum, by overflow (generating a value greater than maxnum), and so on.

The IEEE 754 standard contemplates, in addition to NaN, signed zero (+0 and −0) and signed infinity (+∞ and −∞). It contemplates a series of axioms involving these three elements (they are detailed in the following section). The justification of the sign is based on knowing the sign of the result, in the case of underflow.

A case of severe divide-by-zero problem occurred in the Remote Data Base Manager aboard the USS Yorktown (CG-48), causing the ship's propulsion system to fail.


James Anderson's solution

James Arthur Dean Dean Anderson (known as James Anderson), a professor of computer science at the University of Reading (UK), gained public prominence in 2006 when he claimed to have "solved a 1200-year-old problem: division by zero." It was eventually concluded that it was actually a variant of the NaN concept.

Anderson invented transreal arithmetic, later called transarithmetic or transmathematics. It included all real numbers and three others: +∞, −∞ and Φ (nullity), where Φ is the representation of 0÷0, a number that falls outside the real line. Φ symbolizes a zero divided by itself.

The axioms of transreal arithmetic are identical to those of IEEE standard floating arithmetic, except for the last one. The comparative table is :

Transreal
arithmetic
IEEE
0 ÷ 0 = Φ0 ÷ 0 = NaN
+1 ÷ 0 = +∞1 ÷ +0 = −1 ÷ −0 = +∞
−1 ÷ 0 = −∞1 ÷ −0 = −1 ÷ 0 = −∞
∞ × 0 = Φ∞ × 0 = NaN
∞ − ∞ = Φ∞ − ∞ = NaN
Φ + a = ΦNaN + a = NaN
Φ × a = ΦNaN × a = NaN
−Φ = Φ−NaN = NaN
PΦ = Φ? = TPΦ = Φ? = F

In transreal arithmetic xx is not always 0, because Φ − Φ = Φ. And neither x÷x = 1 because Φ÷Φ = Φ.

Anderson calls his arithmetic "total" in the sense that division is applicable to all numbers, as in the operations of addition, subtraction, and multiplication.


Jesper Carlström's solution

Carlström (Stockholm University) invented the concept of the "wheel" (wheel), the wheel theory (wheel theory), where the real numbers are extended to a wheel. The term "wheel" is inspired by the image of a circle projected onto the real line, which includes the point 0/0.

It is a type of algebra where division is always defined, and where division by zero makes sense. In this algebra division is not a binary (two-argument) operation, but division is considered a unary (one-argument) operation. The operation /x indicates something similar (but not identical) to x−1, where. A wheel is an algebraic structure (commutative ring) (W, 0, 1, +, ·, /) with the binary operations of addition and product, the unary operator "/" and the constants 0 and 1, with the following axioms: In this algebra it is fulfilled:
The Solution in MENTAL

Division by zero is a problem, but it is also an opportunity. Zero symbolizes consciousness. And division by zero is a moment of maximum awareness. It is not a curiosity. It is of great interest, as is the case with paradoxes, with everything that defies the rational and logic, that forces us to seek a solution that transcends arithmetic.

In MENTAL we can capture the event of a division by zero by means of the generic expression In this way, programs need not always ask at each operation whether the divisor is zero, since this generic expression covers all cases.

It is clear that 0/0 is an indeterminate value because if we consider that result is r, the product of r by 0 is zero. Then any r satisfies it.

In MENTAL we already have an expression that represents any (non-zero) expression, numeric or not: α, the existential expression. Then we can infer and define that
0÷0 = α, and it is fulfilled: Analogously we can define 1÷0 = β.


The calculation with α and β

When a calculation process finds a value of 0÷0, by inverse evaluation, it is replaced by α. And, similarly, when it finds 1÷0, it is replaced by β.

The tables of arithmetic operations are:

+01αβ
000αβ
112αβ
ααααα
βββαα
rrr+1αβ

01αβ
00−1α−β
1β1α0
ααααα
βββαα
rrr−1α−β

×01αβ
000αα
101αβ
ααααα
βαβαβ
r0rαrβ

÷01αβ
0α0α0
1β1α0
ααααα
βββαα
rrα0

With the elements α and β, and with these operations defined, computer programs produce no exceptions and can arrive at a final result, which may include α, β or both.

Notes:
The transcendent

The expressions α and β are higher order abstractions, and can be considered two imaginary numbers. They represent two dual and transcendent elements, where α is more transcendent (or superior) to β, because α is of qualitative type: it is an invariant with respect to all arithmetic operations, including itself and β (α×β = α). And β is a quantitative element: β+β = 2β.

Advances in mathematics have been linked to the discovery of unknown elements in operations and expressions. This is how they were discovered: Now it is necessary to consider the expressions α and β as the foundation of an extended and complete arithmetic based on division by zero. A new paradigm.


Transreal arithmetic vs. MENTAL

Both systems are similar, but with some differences:

Addenda

The diffusion of transreal arithmetic

Anderson has been trying to market his ideas of transreal arithmetic and Perspex machines to investors. He believes his work can produce computers that run several orders of magnitude faster than today's computers. And that this can help enrich our understanding of the universe and mathematics, improve our lives, as well as solve problems such as quantum gravity, the mind-body connection, consciousness and free will.

Anderson introduced his transreal arithmetic, along with the concept of Nullity, to the public on the BBC in December 2006. He was presented as the "discoverer" of the solution to the division-by-zero problem, rather than an attempt to formalize it. After the presentation, there were many, many people who were interested in his work.

Anderson has tried to generalize his transreal arithmetic to complex numbers (transcomplex numbers) and differential calculus (transdifferential numbers?).


A short history of the division by zero problem

The number zero was known in the 7th century in India. Brahmagupta (eln his text Brahmasphutasiddhanta) treated zero as a number in its own right (and not as a mere placeholder symbol) and described various rules for operating with it, and its properties relating to addition, subtraction and product, stating that "zero divided by zero is zero".

In the 9th century, in India, Mahavira, updated Brahmagupta's ideas and stated that "a number remains unchanged when divided by zero".

In the 12th century, Bhaskara wrote on the subject of division by zero. Although he did not state it clearly, he is usually interpreted as stating that division by zero is infinity.

In the 18th century, Newton and Leibniz invented differential calculus, an extraordinarily useful calculus based on infinitesimal numbers, close to zero, but not equal to zero.

In 1985 the IEEE 754 standard appeared, which was born to detect division by zero in the execution of computer programs, and where it adopted the concept NaN (Not a Number).

In 2004, Jesper Carlström invented algebraic structures called "wheels" that allow division by zero. It also uses axioms, but not very intuitive.

In 2006, James Anderson invented transreal arithmetic using a series of axioms.

Finally, MENTAL appears, a universal formal language, which solves the problem in the simplest possible way by defining two imaginary expressions (α and β) that make arithmetic complete, and without the need for axioms.

The conclusion is that in zero (in nothingness), paradoxically, resides everything, resides an enormous power, precisely because zero symbolizes consciousness (because it is the union of opposites) and the soul (because in it there is neither space nor time).


Bibliography