# The misunderstood zero digit

##### The misunderstood zero numeral

Enrico Canuto, Former Faculty, Politecnico di Torino, Torino

July 23, 2020

Draft

I will show how zero digit is still misunderstood and careless treated also by people and companies (for instance banks) deeply involved in numerical data analysis and production.

###### Numeral systems

Numeral systems aim to represent natural numbers with a finite set of digits (numeral symbols). Natural numbers are unlimited as given any natural number you can increase the number to , where (one) is the small number (the unit). What about zero? Traditionally zero does not belong to natural numbers, and you can find the anomaly in the language of ordinal numbers, say first, second, third, … but not zeroth. You speak of first, second, … floor, but not of zeroth floor (the basement). Indeed, the Chinese basement is the first floor (第一楼)。We speak of the first year and century of the Gregorian Calendar, both BC and AD. Actually, zero numeral is claimed by the most efficient numeral system, the base-b position system, which makes use of the division with remainder (Euclidean division) of natural numbers.

Let b a natural number. We want to express another natural number  n as a multiple of b. To this end, we divide n by b, which allows to write n as

where quotient and remainder  are natural numbers. A pair of singular cases may occur: (i) n is a multiple of b, in which case no remainder exists, (ii) , in which case no quotient exists.  In both cases, non existence is indicated by the numeral zero, i.e.

This implies that natural numbers must be extended to include zero numeral and the set of digits of a base-b system is . In a similar way, also can be expressed as in (1), which allows us to rewrite n as

where . The division of the  last quotient  is performed until the next quotient disappears, i.e. . The final base-b representation of n holds

and, by subsuming b, it is simplified  into the right-to-left positional notation of order

Clearly, only the leftmost (highest order) remainder must be non zero.

The first known positional numeral system is credited to be the sexagesimal Babylonian, with , which appeared around 2000 BC. Only digits from 1 to 59 had their own cuneiform symbol. Zero was indicated by a space, but only amidst non zero digits, which implied ambiguity between base-60 digits and multiples of 60. For instance   could represent 2, , … The decimal system with , now in use, is credited to be invented by Indian mathematicians in the first centuries of the Cristian Era. The simplest numeral system is the base-1 system (binary system) employed by numerical computers, whose set of base digits (bits) is . The first binary, programmable mechanical computer, Z1, built by the German inventor K. Zuse in 1938, used a 24-bit binary representation.

###### Fractional numeral systems

The role of zero numeral may become clearer by introducing rational numbers, i.e. the ratio of two natural numbers , where  and .  The last inequality enlightens the singular role of zero, at the border of natural numbers  Let us rewrite equation (1) upon dividing both sides by the base , which provides

where . This suggests that rational numbers less than unit have a base-b representation in terms of the fractions . Indeed, consider equation (3) and the fraction .  From (3), the fraction representation becomes

which can be simplified into the notation

Remark. Comma vs dot.  The 22nd General Conference on Weights and Measures (2003) accepted both dot and comma as alternative fractional separators. But the ISO-8601 standard states that comma is preferable, which is our choice in (7).

It can be proved that, given a base b, any (nonnegative) rational number (i.e. any nonnegative fraction) less than unit can be represented as in (6) by the sum of a finite number of fractions . The result applies to periodic rational numbers as well, since a rightmost portion of the fractional digits (in the limit all digits after the comma) repeat themselves, as in .

Factorization. Notation (7) shows that any natural number can be factorized as the product of a natural number (the scale or characteristics) and a rational number possessing  digits (the mantissa or significand), that is

The fractional digits (after the comma) are known as the significant digits  of n, being the most significant and the least significant. The factorization in (8) separates the scale of n expressed by the characteristics and the numerical accuracy expressed by the mantissa. The factorization concept in (8) dates back to Archimedes (287-212 BC) who used the myriad  as a scale factor for counting the grains of sand that fit into the universe as required by the Syracusan king Gelo II. The modern scientific notation was eased by the exponential notation adopted by the French philosopher and mathematician R. Descartes (1596-1650) in the Discours de la Méthode (Discourse on the Method, 1637) and by the decimal point (or comma) adopted by European mathematicians during the same epoch.

Numerical accuracy. Per se, a natural number is numerically accurate since the cardinality of significant digits is finite and equal to the exponent of the characteristics . In practice, some of the rightmost digits (the less significant ones) have to be truncated to fit available memory space in computers or accounting tables. In that case, equation (8) is rewritten as

and the truncated representation is numerically accurate for and inaccurate for . To clearly distinguish between accurate and inaccurate representations, the rightmost zero digits  should not be dropped as they cannot be dropped form original notation (4). For instance, given , the truncated notation should be kept as inaccurate in the least significant digit, although . The issue looks subtle and at first sight idle, but becomes prominent when treating irrational numbers. Before passing to them, we define the truncation (numerical) error as follows

Clearly, the truncation error is equal to zero (again, the difference ask for the zero numeral) without truncation, i.e. .  The fractional (or relative) error

becomes independent of the scale . Since , an upper

###### Irrational number representation

To speak of irrational numbers, we have to extend natural numbers to integers, by considering negative natural numbers  -n, as they are the result of the subtraction n-m, when m>n. Zero numeral separates positive and negative integers.

Irrational numbers cannot be expressed as the ratio of two integer numbers, and they are the result of non arithmetic operations, like the square root. Addition, subtraction, multiplication and division of rational numbers produce other rational numbers.

The first proof of the existence of irrational numbers, or of incommensurable (άλογος) line segments, is credited to the ancient Greek mathematicians, and specifically to the Pythagorean school in the 5th century BC. The proof that   is irrational was ascribed to Hippasus of Metapontum (Magna Graecia, see the Appendix) and mentioned by Aristotle in his Prior Analytics (Άναλυικά Πρότερα) work on deductive reasoning (syllogism). The concept of the magnitude of line segments (the precursor of the modern length or norm concept) which was developed in the 4th century BC by Eudoxus of Cnidus (South-west Asia Minor) enabled him to work with abstract geometrical entities, thus avoiding the need of irrational numbers and reversing the emphasis of Pythagoreans on numbers and arithmetic. Eudoxus’ theory laid down the foundations of the abstract geometry, later formulated in an axiomatic way by the influential Euclid’s Elements (Στοιχεϊα, 3rd century BC) .

The set which combines rational and irrational numbers is the set of real numbers, formulated in the XIX century. It was demonstrated that real numbers cannot be counted, in other terms a real number cannot be associated to an integer number, unlike rational numbers that are countable. Thus in the sequel we will refer to real numbers.

Coming back to base-b representations,  a real number r, positive or negative, can be represented as in (8) as the product of sign , characteristics and mantissa, but the mantissa has an unlimited number of digits

Real number approximation by rational numbers. A careful examination of (10) shows that the fractional factor has an unlimited but countable set of digits as they are denoted by the integer subscript k. Is there a contradiction with the uncountability of real numbers?

The significant property of rational numbers coherent with the countable digits of is that any real number can be arbitrarily approximated by rational numbers. In other terms, the absolute value of their difference can be made arbitrarily small. In other terms, given areal r and a rational

###### Appendix – The proof of Hippasus

Hippasus proved that the ratio  h/l between the length h of the hypotenuse and the length of the legs of an isosceles right triangle cannot be rational. Let us assume that h/l is rational and that both integers have no common factors. by Pythagorean theorem we get and that h must be even. If h is even, we can write h=2y where y is an integer, and in turn . The last identity would imply that l also is even, and that h and l have the factor 2 in common, which contradicts the assumption. Thus, h and l cannot both be integers and their ratio cannot be rational. Indeed, from  Pythagorean theorem we get  which is an irrational number. If their ratio is not rational, no small segment exists such that both lengths are multiple of it, in other terms, both hypotenuse and leg are incommensurable.

TBC