Nought
As a numerical digit, 0 plays a crucial role in decimal notation: it indicates that the power of ten corresponding to the place containing a 0 does not contribute to the total. For example, "205" in decimal means two hundreds, no tens, and five ones. The same principle applies in place-value notations that uses a base other than ten, such as binary and hexadecimal. The modern use of 0 in this manner derives from Indian mathematics that was transmitted to Europe via medieval Islamic mathematicians and popularized by Fibonacci. It was independently used by the Maya.
Common names for the number 0 in English include zero, nought, naught (/nɔːt/), and nil. In contexts where at least one adjacent digit distinguishes it from the letter O, the number is sometimes pronounced as oh or o (/oʊ/). Informal or slang terms for 0 include zilch and zip. Historically, ought, aught (/ɔːt/), and cipher have also been used.
Etymology
The word zero came into the English language via French zéro from the Italian zero, a contraction of the Venetian zevero form of Italian zefiro via ṣafira or ṣifr. In pre-Islamic time the word ṣifr (Arabic صفر) had the meaning "empty". Sifr evolved to mean zero when it was used to translate śūnya (Sanskrit: शून्य) from India. The first known English use of zero was in 1598.
The Italian mathematician Fibonacci (c. 1170 – c. 1250), who grew up in North Africa and is credited with introducing the decimal system to Europe, used the term zephyrum. This became zefiro in Italian, and was then contracted to zero in Venetian. The Italian word zefiro was already in existence (meaning "west wind" from Latin and Greek Zephyrus) and may have influenced the spelling when transcribing Arabic ṣifr.
Modern usage
Depending on the context, there may be different words used for the number zero, or the concept of zero. For the simple notion of lacking, the words "nothing" and "none" are often used. The British English words "nought" or "naught", and "nil" are also synonymous.
It is often called "oh" in the context of reading out a string of digits, such as telephone numbers, street addresses, credit card numbers, military time, or years. For example, the area code 201 may be pronounced "two oh one", and the year 1907 is often pronounced "nineteen oh seven". The presence of other digits, indicating that the string contains only numbers, avoids confusion with the letter O. For this reason, systems that include strings with both letters and numbers (such as Canadian postal codes) may exclude the use of the letter O.
Slang words for zero include "zip", "zilch", "nada", and "scratch". In the context of sports, "nil" is sometimes used, especially in British English. Several sports have specific words for a score of zero, such as "love" in tennis – from French l'œuf, "the egg" – and "duck" in cricket, a shortening of "duck's egg". "Goose egg" is another general slang term used for zero.
History
Ancient Near East
nfr |
heart with trachea beautiful, pleasant, good |
|
---|
Ancient Egyptian numerals were of base 10. They used hieroglyphs for the digits and were not positional. In one papyrus written around 1770 BC, a scribe recorded daily incomes and expenditures for the pharaoh's court, using the nfr hieroglyph to indicate cases where the amount of a foodstuff received was exactly equal to the amount disbursed. Egyptologist Alan Gardiner suggested that the nfr hieroglyph was being used as a symbol for zero. The same symbol was also used to indicate the base level in drawings of tombs and pyramids, and distances were measured relative to the base line as being above or below this line.
By the middle of the 2nd millennium BC, Babylonian mathematics had a sophisticated base 60 positional numeral system. The lack of a positional value (or zero) was indicated by a space between sexagesimal numerals. In a tablet unearthed at Kish (dating to as early as 700 BC), the scribe Bêl-bân-aplu used three hooks as a placeholder in the same Babylonian system. By 300 BC, a punctuation symbol (two slanted wedges) was repurposed as a placeholder.
The Babylonian positional numeral system differed from the later Hindu–Arabic system in that it did not explicitly specify the magnitude of the leading sexagesimal digit, so that for example the lone digit 1 () might represent any of 1, 60, 3600 = 60, etc., similar to the significand of a floating-point number but without an explicit exponent, and so only distinguished implicitly from context. The zero-like placeholder mark was only ever used in between digits, but never alone or at the end of a number.
Pre-Columbian Americas
![](http://upload.wikimedia.org/wikipedia/commons/thumb/7/7b/Cero_maya.svg/220px-Cero_maya.svg.png)
The Mesoamerican Long Count calendar developed in south-central Mexico and Central America required the use of zero as a placeholder within its vigesimal (base-20) positional numeral system. Many different glyphs, including the partial quatrefoil were used as a zero symbol for these Long Count dates, the earliest of which (on Stela 2 at Chiapa de Corzo, Chiapas) has a date of 36 BC.
Since the eight earliest Long Count dates appear outside the Maya homeland, it is generally believed that the use of zero in the Americas predated the Maya and was possibly the invention of the Olmecs. Many of the earliest Long Count dates were found within the Olmec heartland, although the Olmec civilization ended by the 4th century BC, several centuries before the earliest known Long Count dates.
Although zero became an integral part of Maya numerals, with a different, empty tortoise-like "shell shape" used for many depictions of the "zero" numeral, it is assumed not to have influenced Old World numeral systems.
Quipu, a knotted cord device, used in the Inca Empire and its predecessor societies in the Andean region to record accounting and other digital data, is encoded in a base ten positional system. Zero is represented by the absence of a knot in the appropriate position.
Classical antiquity
The ancient Greeks had no symbol for zero (μηδέν, pronounced 'midén'), and did not use a digit placeholder for it. According to mathematician Charles Seife, the ancient Greeks did begin to adopt the Babylonian placeholder zero for their work in astronomy after 500 BC, representing it with the lowercase Greek letter ό (όμικρον: omicron). However, after using the Babylonian placeholder zero for astronomical calculations they would typically convert the numbers back into Greek numerals. Greeks seemed to have a philosophical opposition to using zero as a number. Other scholars give the Greek partial adoption of the Babylonian zero a later date, with neuroscientist Andreas Nieder giving a date of after 400 BC and mathematician Robert Kaplan dating it after the conquests of Alexander.
Greeks seemed unsure about the status of zero as a number. Some of them asked themselves, "How can not being be?", leading to philosophical and, by the medieval period, religious arguments about the nature and existence of zero and the vacuum. The paradoxes of Zeno of Elea depend in large part on the uncertain interpretation of zero.
![Fragment of papyrus with clear Greek script, lower-right corner suggests a tiny zero with a double-headed arrow shape above it](http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/P._Lund%2C_Inv._35a.jpg/300px-P._Lund%2C_Inv._35a.jpg)
By AD 150, Ptolemy, influenced by Hipparchus and the Babylonians, was using a symbol for zero () in his work on mathematical astronomy called the Syntaxis Mathematica, also known as the Almagest. This Hellenistic zero was perhaps the earliest documented use of a numeral representing zero in the Old World. Ptolemy used it many times in his Almagest (VI.8) for the magnitude of solar and lunar eclipses. It represented the value of both digits and minutes of immersion at first and last contact. Digits varied continuously from 0 to 12 to 0 as the Moon passed over the Sun (a triangular pulse), where twelve digits was the angular diameter of the Sun. Minutes of immersion was tabulated from 0′0″ to 31′20″ to 0′0″, where 0′0″ used the symbol as a placeholder in two positions of his sexagesimal positional numeral system, while the combination meant a zero angle. Minutes of immersion was also a continuous function 1/12 31′20″ √d(24−d) (a triangular pulse with convex sides), where d was the digit function and 31′20″ was the sum of the radii of the Sun's and Moon's discs. Ptolemy's symbol was a placeholder as well as a number used by two continuous mathematical functions, one within another, so it meant zero, not none. Over time, Ptolemy's zero tended to increase in size and lose the overline, sometimes depicted as a large elongated 0-like omicron "Ο" or as omicron with overline "ō" instead of a dot with overline.
The earliest use of zero in the calculation of the Julian Easter occurred before AD 311, at the first entry in a table of epacts as preserved in an Ethiopic document for the years 311 to 369, using a Ge'ez word for "none" (English translation is "0" elsewhere) alongside Ge'ez numerals (based on Greek numerals), which was translated from an equivalent table published by the Church of Alexandria in Medieval Greek. This use was repeated in 525 in an equivalent table, that was translated via the Latin nulla ("none") by Dionysius Exiguus, alongside Roman numerals. When division produced zero as a remainder, nihil, meaning "nothing", was used. These medieval zeros were used by all future medieval calculators of Easter. The initial "N" was used as a zero symbol in a table of Roman numerals by Bede—or his colleagues—around AD 725.
In most cultures, 0 was identified before the idea of negative things (i.e., quantities less than zero) was accepted.
China
![Five illustrated boxes from left to right contain a T-shape, an empty box, three vertical bars, three lower horizontal bars with an inverted wide T-shape above, and another empty box. Numerals underneath left to right are six, zero, three, nine, and zero](http://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Zero_in_Rod_Calculus.png/220px-Zero_in_Rod_Calculus.png)
The Sūnzĭ Suànjīng, of unknown date but estimated to be dated from the 1st to 5th centuries AD, and Japanese records dated from the 18th century, describe how the 4th century BC Chinese counting rods system enabled one to perform decimal calculations. As noted in the Xiahou Yang Suanjing (425–468 AD), to multiply or divide a number by 10, 100, 1000, or 10000, all one needs to do, with rods on the counting board, is to move them forwards, or back, by 1, 2, 3, or 4 places. The rods gave the decimal representation of a number, with an empty space denoting zero. The counting rod system is a positional notation system.
Zero was not treated as a number at that time, but as a "vacant position". Qín Jiǔsháo's 1247 Mathematical Treatise in Nine Sections is the oldest surviving Chinese mathematical text using a round symbol 〇 for zero. The origin of this symbol is unknown; it may have been borrowed from Indian sources or produced by modifying a square symbol. Chinese authors had been familiar with the idea of negative numbers by the Han dynasty (2nd century AD), as seen in The Nine Chapters on the Mathematical Art.
India
Pingala (c. 3rd or 2nd century BC), a Sanskrit prosody scholar, used binary sequences, in the form of short and long syllables (the latter equal in length to two short syllables), to identify the possible valid Sanskrit meter, a notation similar to Morse code. Pingala used the Sanskrit word śūnya explicitly to refer to zero.
![](http://upload.wikimedia.org/wikipedia/commons/thumb/8/83/Bakhshali_manuscript_zero_detail.jpg/220px-Bakhshali_manuscript_zero_detail.jpg)
The concept of zero as a written digit in the decimal place value notation was developed in India. A symbol for zero, a large dot likely to be the precursor of the still-current hollow symbol, is used throughout the Bakhshali manuscript, a practical manual on arithmetic for merchants. In 2017, researchers at the Bodleian Library reported radiocarbon dating results for three samples from the manuscript, indicating that they came from three different centuries: from AD 224–383, AD 680–779, and AD 885–993. It is not known how the birch bark fragments from different centuries forming the manuscript came to be packaged together. If the writing on the oldest birch bark fragments is as old as those fragments, it represents South Asia's oldest recorded use of a zero symbol. However, it is possible that the writing dates instead to the time period of the youngest fragments, AD 885–993. The latter dating has been argued to be more consistent with the sophisticated use of zero within the document, as portions of it appear to show zero being employed as a number in its own right, rather than only as a positional placeholder.
The Lokavibhāga, a Jain text on cosmology surviving in a medieval Sanskrit translation of the Prakrit original, which is internally dated to AD 458 (Saka era 380), uses a decimal place-value system, including a zero. In this text, śūnya ("void, empty") is also used to refer to zero.
The Aryabhatiya (c. 499), states sthānāt sthānaṁ daśaguṇaṁ syāt "from place to place each is ten times the preceding".
Rules governing the use of zero appeared in Brahmagupta's Brahmasputha Siddhanta (7th century), which states the sum of zero with itself as zero, and incorrectly describes division by zero in the following way:
A positive or negative number when divided by zero is a fraction with the zero as denominator. Zero divided by a negative or positive number is either zero or is expressed as a fraction with zero as numerator and the finite quantity as denominator. Zero divided by zero is zero.
Epigraphy
A black dot is used as a decimal placeholder in the Bakhshali manuscript, portions of which date from AD 224–993.
There are numerous copper plate inscriptions, with the same small O in them, some of them possibly dated to the 6th century, but their date or authenticity may be open to doubt.
A stone tablet found in the ruins of a temple near Sambor on the Mekong, Kratié Province, Cambodia, includes the inscription of "605" in Khmer numerals (a set of numeral glyphs for the Hindu–Arabic numeral system). The number is the year of the inscription in the Saka era, corresponding to a date of AD 683.
The first known use of special glyphs for the decimal digits that includes the indubitable appearance of a symbol for the digit zero, a small circle, appears on a stone inscription found at the Chaturbhuj Temple, Gwalior, in India, dated AD 876.
Middle Ages
Transmission to Islamic culture
The Arabic-language inheritance of science was largely Greek, followed by Hindu influences. In 773, at Al-Mansur's behest, translations were made of many ancient treatises including Greek, Roman, Indian, and others.
In AD 813, astronomical tables were prepared by a Persian mathematician, Muḥammad ibn Mūsā al-Khwārizmī, using Hindu numerals; and about 825, he published a book synthesizing Greek and Hindu knowledge and also contained his own contribution to mathematics including an explanation of the use of zero. This book was later translated into Latin in the 12th century under the title Algoritmi de numero Indorum. This title means "al-Khwarizmi on the Numerals of the Indians". The word "Algoritmi" was the translator's Latinization of Al-Khwarizmi's name, and the word "Algorithm" or "Algorism" started to acquire a meaning of any arithmetic based on decimals.
Muhammad ibn Ahmad al-Khwarizmi, in 976, stated that if no number appears in the place of tens in a calculation, a little circle should be used "to keep the rows". This circle was called ṣifr.
Transmission to Europe
The Hindu–Arabic numeral system (base 10) reached Western Europe in the 11th century, via Al-Andalus, through Spanish Muslims, the Moors, together with knowledge of classical astronomy and instruments like the astrolabe. Gerbert of Aurillac is credited with reintroducing the lost teachings into Catholic Europe. For this reason, the numerals came to be known in Europe as "Arabic numerals". The Italian mathematician Fibonacci or Leonardo of Pisa was instrumental in bringing the system into European mathematics in 1202, stating:
After my father's appointment by his homeland as state official in the customs house of Bugia for the Pisan merchants who thronged to it, he took charge; and in view of its future usefulness and convenience, had me in my boyhood come to him and there wanted me to devote myself to and be instructed in the study of calculation for some days. There, following my introduction, as a consequence of marvelous instruction in the art, to the nine digits of the Hindus, the knowledge of the art very much appealed to me before all others, and for it I realized that all its aspects were studied in Egypt, Syria, Greece, Sicily, and Provence, with their varying methods; and at these places thereafter, while on business. I pursued my study in depth and learned the give-and-take of disputation. But all this even, and the algorism, as well as the art of Pythagoras, I considered as almost a mistake in respect to the method of the Hindus [Modus Indorum]. Therefore, embracing more stringently that method of the Hindus, and taking stricter pains in its study, while adding certain things from my own understanding and inserting also certain things from the niceties of Euclid's geometric art. I have striven to compose this book in its entirety as understandably as I could, dividing it into fifteen chapters. Almost everything which I have introduced I have displayed with exact proof, in order that those further seeking this knowledge, with its pre-eminent method, might be instructed, and further, in order that the Latin people might not be discovered to be without it, as they have been up to now. If I have perchance omitted anything more or less proper or necessary, I beg indulgence, since there is no one who is blameless and utterly provident in all things. The nine Indian figures are: 9 8 7 6 5 4 3 2 1. With these nine figures, and with the sign 0 ... any number may be written.
From the 13th century, manuals on calculation (adding, multiplying, extracting roots, etc.) became common in Europe where they were called algorismus after the Persian mathematician al-Khwārizmī. One popular manual was written by Johannes de Sacrobosco in the early 1200s and was one of the earliest scientific books to be printed, in 1488. The practice of calculating on paper using Hindu–Arabic numerals only gradually displaced calculation by abacus and recording with Roman numerals. In the 16th century, Hindu–Arabic numerals became the predominant numerals used in Europe.
Symbols and representations
![horizontal guidelines with a zero touching top and bottom, a three dipping below, and a six cresting above the guidelines, from left to right](http://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Text_figures_036.svg/71px-Text_figures_036.svg.png)
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Oslo_airport_train_station%2C_Platform_0.jpg/220px-Oslo_airport_train_station%2C_Platform_0.jpg)
Today, the numerical digit 0 is usually written as a circle or ellipse. Traditionally, many print typefaces made the capital letter O more rounded than the narrower, elliptical digit 0. Typewriters originally made no distinction in shape between O and 0; some models did not even have a separate key for the digit 0. The distinction came into prominence on modern character displays.
A slashed zero () is often used to distinguish the number from the letter (mostly in computing, navigation and in the military, for example). The digit 0 with a dot in the center seems to have originated as an option on IBM 3270 displays and has continued with some modern computer typefaces such as Andalé Mono, and in some airline reservation systems. One variation uses a short vertical bar instead of the dot. Some fonts designed for use with computers made one of the capital-O–digit-0 pair more rounded and the other more angular (closer to a rectangle). A further distinction is made in falsification-hindering typeface as used on German car number plates by slitting open the digit 0 on the upper right side. In some systems either the letter O or the numeral 0, or both, are excluded from use, to avoid confusion.
Mathematics
The concept of zero plays multiple roles in mathematics: as a digit, it is an important part of positional notation for representing numbers, while it also plays an important role as a number in its own right in many algebraic settings.
As a digit
In positional number systems (such as the usual decimal notation for representing numbers), the digit 0 plays the role of a placeholder, indicating that certain powers of the base do not contribute. For example, the decimal number 205 is the sum of two hundreds and five ones, with the 0 digit indicating that no tens are added. The digit plays the same role in decimal fractions and in the decimal representation of other real numbers (indicating whether any tenths, hundredths, thousandths, etc., are present) and in bases other than 10 (for example, in binary, where it indicates which powers of 2 are omitted).
Elementary algebra
![](http://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Number_line_with_numbers_-3_to_3.svg/300px-Number_line_with_numbers_-3_to_3.svg.png)
The number 0 is the smallest nonnegative integer, and the largest nonpositive integer. The natural number following 0 is 1 and no natural number precedes 0. The number 0 may or may not be considered a natural number, but it is an integer, and hence a rational number and a real number. All rational numbers are algebraic numbers, including 0. When the real numbers are extended to form the complex numbers, 0 becomes the origin of the complex plane.
The number 0 can be regarded as neither positive nor negative or, alternatively, both positive and negative and is usually displayed as the central number in a number line. Zero is even (that is, a multiple of 2), and is also an integer multiple of any other integer, rational, or real number. It is neither a prime number nor a composite number: it is not prime because prime numbers are greater than 1 by definition, and it is not composite because it cannot be expressed as the product of two smaller natural numbers. (However, the singleton set {0} is a prime ideal in the ring of the integers.)
The following are some basic rules for dealing with the number 0. These rules apply for any real or complex number x, unless otherwise stated.
- Addition: x + 0 = 0 + x = x. That is, 0 is an identity element (or neutral element) with respect to addition.
- Subtraction: x − 0 = x and 0 − x = −x.
- Multiplication: x · 0 = 0 · x = 0.
- Division: 0/x = 0, for nonzero x. But x/0 is undefined, because 0 has no multiplicative inverse (no real number multiplied by 0 produces 1), a consequence of the previous rule.
- Exponentiation: x = x/x = 1, except that the case x = 0 is considered undefined in some contexts. For all positive real x, 0 = 0.
The expression 0/0, which may be obtained in an attempt to determine the limit of an expression of the form f(x)/g(x) as a result of applying the lim operator independently to both operands of the fraction, is a so-called "indeterminate form". That does not mean that the limit sought is necessarily undefined; rather, it means that the limit of f(x)/g(x), if it exists, must be found by another method, such as l'Hôpital's rule.
The sum of 0 numbers (the empty sum) is 0, and the product of 0 numbers (the empty product) is 1. The factorial 0! evaluates to 1, as a special case of the empty product.
Other uses in mathematics
![](http://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Nullset.svg/100px-Nullset.svg.png)
The role of 0 as the smallest counting number can be generalized or extended in various ways. In set theory, 0 is the cardinality of the empty set: if one does not have any apples, then one has 0 apples. In fact, in certain axiomatic developments of mathematics from set theory, 0 is defined to be the empty set. When this is done, the empty set is the von Neumann cardinal assignment for a set with no elements, which is the empty set. The cardinality function, applied to the empty set, returns the empty set as a value, thereby assigning it 0 elements.
Also in set theory, 0 is the lowest ordinal number, corresponding to the empty set viewed as a well-ordered set. In order theory (and especially its subfield lattice theory), 0 may denote the least element of a lattice or other partially ordered set.
The role of 0 as additive identity generalizes beyond elementary algebra. In abstract algebra, 0 is commonly used to denote a zero element, which is the identity element for addition (if defined on the structure under consideration) and an absorbing element for multiplication (if defined). (Such elements may also be called zero elements.) Examples include identity elements of additive groups and vector spaces. Another example is the zero function (or zero map) on a domain D. This is the constant function with 0 as its only possible output value, that is, it is the function f defined by f(x) = 0 for all x in D. As a function from the real numbers to the real numbers, the zero function is the only function that is both even and odd.
The number 0 is also used in several other ways within various branches of mathematics:
- A zero of a function f is a point x in the domain of the function such that f(x) = 0.
- In propositional logic, 0 may be used to denote the truth value false.
- In probability theory, 0 is the smallest allowed value for the probability of any event.
- Category theory introduces the idea of a zero object, often denoted 0, and the related concept of zero morphisms, which generalize the zero function.
Physics
The value zero plays a special role for many physical quantities. For some quantities, the zero level is naturally distinguished from all other levels, whereas for others it is more or less arbitrarily chosen. For example, for an absolute temperature (typically measured in kelvins), zero is the lowest possible value. (Negative temperatures can be defined for some physical systems, but negative-temperature systems are not actually colder.) This is in contrast to temperatures on the Celsius scale, for example, where zero is arbitrarily defined to be at the freezing point of water. Measuring sound intensity in decibels or phons, the zero level is arbitrarily set at a reference value—for example, at a value for the threshold of hearing. In physics, the zero-point energy is the lowest possible energy that a quantum mechanical physical system may possess and is the energy of the ground state of the system.
Computer science
Modern computers store information in binary, that is, using an "alphabet" that contains only two symbols, usually chosen to be "0" and "1". Binary coding is convenient for digital electronics, where "0" and "1" can stand for the absence or presence of electrical current in a wire. Computer programmers typically use high-level programming languages that are more easily intelligible to humans than the binary instructions that are directly executed by the central processing unit. 0 plays various important roles in high-level languages. For example, a Boolean variable stores a value that is either true or false, and 0 is often the numerical representation of false.
0 also plays a role in array indexing. The most common practice throughout human history has been to start counting at one, and this is the practice in early classic programming languages such as Fortran and COBOL. However, in the late 1950s LISP introduced zero-based numbering for arrays while Algol 58 introduced completely flexible basing for array subscripts (allowing any positive, negative, or zero integer as base for array subscripts), and most subsequent programming languages adopted one or other of these positions. For example, the elements of an array are numbered starting from 0 in C, so that for an array of n items the sequence of array indices runs from 0 to n−1.
There can be confusion between 0- and 1-based indexing; for example, Java's JDBC indexes parameters from 1 although Java itself uses 0-based indexing.
In C, a byte containing the value 0 serves to indicate where a string of characters ends. Also, 0 is a standard way to refer to a null pointer in code.
In databases, it is possible for a field not to have a value. It is then said to have a null value. For numeric fields it is not the value zero. For text fields this is not blank nor the empty string. The presence of null values leads to three-valued logic. No longer is a condition either true or false, but it can be undetermined. Any computation including a null value delivers a null result.
In mathematics, there is no "positive zero" or "negative zero" distinct from zero; both −0 and +0 represent exactly the same number. However, in some computer hardware signed number representations, zero has two distinct representations, a positive one grouped with the positive numbers and a negative one grouped with the negatives. This kind of dual representation is known as signed zero, with the latter form sometimes called negative zero. These representations include the signed magnitude and ones' complement binary integer representations (but not the two's complement binary form used in most modern computers), and most floating-point number representations (such as IEEE 754 and IBM S/390 floating-point formats).
An epoch, in computing terminology, is the date and time associated with a zero timestamp. The Unix epoch begins the midnight before the first of January 1970. The Classic Mac OS epoch and Palm OS epoch begin the midnight before the first of January 1904.
Many APIs and operating systems that require applications to return an integer value as an exit status typically use zero to indicate success and non-zero values to indicate specific error or warning conditions.
Programmers often use a slashed zero to avoid confusion with the letter "O".
Other fields
Biology
In comparative zoology and cognitive science, recognition that some animals display awareness of the concept of zero leads to the conclusion that the capability for numerical abstraction arose early in the evolution of species.
Dating systems
In the BC calendar era, the year 1 BC is the first year before AD 1; there is not a year zero. By contrast, in astronomical year numbering, the year 1 BC is numbered 0, the year 2 BC is numbered −1, and so forth.
See also
Notes
- ^ No long count date actually using the number 0 has been found before the 3rd century AD, but since the long count system would make no sense without some placeholder, and since Mesoamerican glyphs do not typically leave empty spaces, these earlier dates are taken as indirect evidence that the concept of 0 already existed at the time.
- ^ Each place in Ptolemy's sexagesimal system was written in Greek numerals from 0 to 59, where 31 was written λα meaning 30+1, and 20 was written κ meaning 20.
References
- ^
- Harper, Douglas (2011). "Zero". Etymonline. Archived from the original on 3 July 2017.
"figure which stands for naught in the Arabic notation," also "the absence of all quantity considered as quantity," c. 1600, from French zéro or directly from Italian zero, from Medieval Latin zephirum, from Arabic sifr "cipher," translation of Sanskrit sunya-m "empty place, desert, naught
- Menninger, Karl (1992). Number Words and Number Symbols: A cultural history of numbers. Courier Dover Publications. pp. 399–404. ISBN 978-0-486-27096-8. Retrieved 5 January 2016.
- "zero, n." OED Online. Oxford University Press. December 2011. Archived from the original on 7 March 2012. Retrieved 4 March 2012.
French zéro (1515 in Hatzfeld & Darmesteter) or its source Italian zero, for *zefiro, < Arabic çifr
- Harper, Douglas (2011). "Zero". Etymonline. Archived from the original on 3 July 2017.
- ^
- Smithsonian Institution. Oriental Elements of Culture in the Occident, p. 518, at Google Books. Annual Report of the Board of Regents of the Smithsonian Institution; Harvard University Archives. "Sifr occurs in the meaning of "empty" even in the pre-Islamic time. ... Arabic sifr in the meaning of zero is a translation of the corresponding India sunya."
- Gullberg, Jan (1997). Mathematics: From the Birth of Numbers. W.W. Norton & Co. ISBN 978-0-393-04002-9. p. 26:
Zero derives from Hindu sunya – meaning void, emptiness – via Arabic sifr, Latin cephirum, Italian zevero.
- Logan, Robert (2010). The Poetry of Physics and the Physics of Poetry. World Scientific. ISBN 978-981-4295-92-5. p. 38:
The idea of sunya and place numbers was transmitted to the Arabs who translated sunya or "leave a space" into their language as sifr.
- ^ "Zero". Merriam Webster online Dictionary. Archived from the original on 6 December 2017. }}
- ^ Ifrah 2000, p. 589
- ^ "Collins - Free online dictionary".
- ^ "Collins - Free online dictionary, thesaurus and reference materials - nill".
- ^ "'Aught' synonyms". Thesaurus.com. Archived from the original on 23 August 2014. Retrieved 23 April 2013.
- ^ J J O'Connor; E F Robertson (2000). "Egyptian numerals". mathshistory.st-andrews.ac.uk. University of St Andrews. Archived from the original on 15 November 2019. Retrieved 21 December 2019.
- ^ Lumpkin, Beatrice (2002). "Mathematics Used in Egyptian Construction and Bookkeeping". The Mathematical Intelligencer. 24 (2): 20–25. doi:10.1007/BF03024613. S2CID 120648746.
- ^ Kaplan 2000.
- ^ J J O'Connor; E F Robertson (2000). "Zero". Maths History. University of St Andrews. Archived from the original on 21 September 2021. Retrieved 7 September 2021.
- ^ "Babylonian mathematics". The Open University. 2016. Archived from the original on 7 September 2021. Retrieved 7 September 2021.
- ^ Reimer 2014, p. 172.
- ^ "Cyclical views of time". www.mexicolore.co.uk. Retrieved 20 January 2024.
- ^ Diehl (2004), p. 186.
- ^ Mortaigne, Véronique (28 November 2014). "The golden age of Mayan civilisation – exhibition review". The Guardian. Archived from the original on 28 November 2014. Retrieved 10 October 2015.
- ^ Cyphers, Ann (2014), Renfrew, Colin; Bahn, Paul (eds.), "The Olmec, 1800–400 bce", The Cambridge World Prehistory, Cambridge: Cambridge University Press, pp. 1005–1025, ISBN 978-0-521-11993-1, retrieved 13 August 2024
- ^ "Expedition Magazine | Time, Kingship, and the Maya Universe Maya Calendars". Expedition Magazine. Retrieved 13 August 2024.
- ^ Leon, Manuel de (20 December 2022). "Knots representing numbers: The mathematics of the Incas". EL PAÍS English. Retrieved 5 June 2024.
- ^ Wallin, Nils-Bertil (19 November 2002). "The History of Zero". YaleGlobal online. The Whitney and Betty Macmillan Center for International and Area Studies at Yale. Archived from the original on 25 August 2016. Retrieved 1 September 2016.
- ^ Seife, Charles (1 September 2000). Zero: The Biography of a Dangerous Idea. Penguin. p. 39. ISBN 978-0-14-029647-1. OCLC 1005913932. Retrieved 30 April 2022.
- ^ Nieder, Andreas (19 November 2019). A Brain for Numbers: The Biology of the Number Instinct. MIT Press. p. 286. ISBN 978-0-262-35432-5. Retrieved 30 April 2022.
- ^ Kaplan 2000, p. 17.
- ^ Huggett, Nick (2019). "Zeno's Paradoxes". In Zalta, Edward N. (ed.). The Stanford Encyclopedia of Philosophy (Winter 2019 ed.). Metaphysics Research Lab, Stanford University. Archived from the original on 10 January 2021. Retrieved 9 August 2020.
- ^ Neugebauer, Otto (1969) [1957]. The Exact Sciences in Antiquity (2 ed.). Dover Publications. pp. 13–14, plate 2. ISBN 978-0-486-22332-2.
- ^ Mercier, Raymond. "Consideration of the Greek symbol 'zero'" (PDF). Home of Kairos. Archived (PDF) from the original on 5 November 2020. Retrieved 28 March 2020.
- ^ Ptolemy (1998) [1984, c.150]. Ptolemy's Almagest. Translated by Toomer, G. J. Princeton University Press. pp. 306–307. ISBN 0-691-00260-6.
- ^ O'Connor, J J; Robertson, E F. "A history of Zero". MacTutor History of Mathematics. Archived from the original on 7 April 2020. Retrieved 28 March 2020.
- ^ Pedersen, Olaf (2010) [1974]. Alexander Jones (ed.). A Survey of the Almagest. Sources and Studies in the History of Mathematics and Physical Sciences. Springer. pp. 232–235. doi:10.1007/978-0-387-84826-6_7. ISBN 978-0-387-84825-9.
- ^ "Proposal to encode the Greek Zero in the UCS" (PDF). 31 July 2024. Archived (PDF) from the original on 7 October 2022.
- ^ Neugebauer, Otto (2016) [1979]. Ethiopic Astronomy and Computus (Red Sea Press ed.). Red Sea Press. pp. 25, 53, 93, 183, Plate I. ISBN 978-1-56902-440-9.. The pages in this edition have numbers six less than the same pages in the original edition.
- ^ Deckers, Michael (2003) [525]. "Cyclus Decemnovennalis Dionysii" [Nineteen Year Cycle of Dionysius]. Archived from the original on 15 January 2019.
- ^ C. W. Jones, ed., Opera Didascalica, vol. 123C in Corpus Christianorum, Series Latina.
- ^ Hodgkin, Luke (2005). A History of Mathematics: From Mesopotamia to Modernity. Oxford University Press. p. 85. ISBN 978-0-19-152383-0.
- ^ O'Connor, John J.; Robertson, Edmund F. (January 2004), "Chinese numerals", MacTutor History of Mathematics Archive, University of St Andrews
- ^ "Chinese numerals". Maths History. Retrieved 28 April 2024.
- ^ Shen, Crossley & Lun 1999, p. 12: "the ancient Chinese system is a place notation system"
- ^ Eberhard-Bréard, Andrea (2008), "Mathematics in China", in Selin, Helaine (ed.), Encyclopaedia of the History of Science, Technology, and Medicine in Non-Western Cultures, Dordrecht: Springer Netherlands, pp. 1371–1378, doi:10.1007/978-1-4020-4425-0_9453, ISBN 978-1-4020-4425-0, retrieved 28 April 2024
- ^ Shen Kanshen Crossley, John N.; Lun, Anthony W.-C. (1999). The Nine Chapters on the Mathematical Art: Companion and Commentary. Oxford University Press. p. 35. ISBN 978-0-19-853936-0.
zero was regarded as a number in India ... whereas the Chinese employed a vacant position
- ^ "Mathematics in the Near and Far East" (PDF). grmath4.phpnet.us. p. 262. Archived (PDF) from the original on 4 November 2013. Retrieved 7 June 2012.
- ^ Martzloff, Jean-Claude (2007). A History of Chinese Mathematics. Translated by Wilson, Stephen S. Springer. p. 208. ISBN 978-3-540-33783-6.
- ^ Struik, Dirk J. (1987). A Concise History of Mathematics. New York: Dover Publications. pp. 32–33. "In these matrices we find negative numbers, which appear here for the first time in history."
- ^ Plofker, Kim (2009). Mathematics in India. Princeton University Press. pp. 54–56. ISBN 978-0-691-12067-6.
In the Chandah-sutra of Pingala, dating perhaps the third or second century BC, [ ...] Pingala's use of a zero symbol [śūnya] as a marker seems to be the first known explicit reference to zero. ... In the Chandah-sutra of Pingala, dating perhaps the third or second century BC, there are five questions concerning the possible meters for any value "n". [ ...] The answer is (2) = 128, as expected, but instead of seven doublings, the process (explained by the sutra) required only three doublings and two squarings – a handy time saver where "n" is large. Pingala's use of a zero symbol as a marker seems to be the first known explicit reference to zero
- ^ Vaman Shivaram Apte (1970). "Sanskrit Prosody and Important Literary and Geographical Names in the Ancient History of India". The Student's Sanskrit-English Dictionary. Motilal Banarsidass. pp. 648–649. ISBN 978-81-208-0045-8. Retrieved 21 April 2017.
- ^ Hall, Rachel (15 February 2005). "Math for Poets and Drummers: The Mathematics of Rhythm" (PDF) (slideshow). Saint Joseph's University. Archived from the original (PDF) on 22 January 2019. Retrieved 20 December 2015.
- ^ Bourbaki 1998, p. 46
- ^ Weiss, Ittay (20 September 2017). "Nothing matters: How India's invention of zero helped create modern mathematics". The Conversation. Archived from the original on 12 July 2018. Retrieved 12 July 2018.
- ^ Devlin, Hannah (13 September 2017). "Much ado about nothing: ancient Indian text contains earliest zero symbol". The Guardian. ISSN 0261-3077. Archived from the original on 20 November 2017. Retrieved 14 September 2017.
- ^ "Carbon dating finds Bakhshali manuscript contains oldest recorded origins of the symbol 'zero'". Bodleian Library. 14 September 2017. Archived from the original on 14 September 2017. Retrieved 25 October 2017.
- ^ Plofker, Kim; Keller, Agathe; Hayashi, Takao; Montelle, Clemency; Wujastyk, Dominik (6 October 2017). "The Bakhshālī Manuscript: A Response to the Bodleian Library's Radiocarbon Dating". History of Science in South Asia. 5 (1): 134–150. doi:10.18732/H2XT07.
- ^ Ifrah (2000), p. 416.
- ^ Aryabhatiya of Aryabhata, translated by Walter Eugene Clark.
- ^ J J O'Connor; E F Robertson (2000). "Aryabhata the Elder". School of Mathematics and Statistics University of St Andrews, Scotland. Archived from the original on 11 July 2015. Retrieved 26 May 2013.
- ^ William L. Hosch, ed. (15 August 2010). The Britannica Guide to Numbers and Measurement (Math Explained). The Rosen Publishing Group. pp. 97–98. ISBN 978-1-61530-108-9. Retrieved 26 September 2016.
- ^ Algebra, with Arithmetic and Mensuration from the Sanscrit of Brahmegupta and Bháscara. Translated by Henry Thomas Colebrooke. London: John Murray. 1817. OCLC 1039515732.
- ^ Kaplan 2000, p. 68–75.
- ^
- Cœdès, George (1931). "A propos de l'origine des chiffres arabes". Bulletin of the School of Oriental Studies, University of London (in French). 6 (2). Cambridge University Press: 323–328. doi:10.1017/S0041977X00092806. JSTOR 607661. S2CID 130482979.
- Diller, Anthony (1996). "New Zeros and Old Khmer" (PDF). The Mon-Khmer Studies Journal. 25: 125–132.
- ^ Casselman, Bill. "All for Nought". ams.org. University of British Columbia), American Mathematical Society. Archived from the original on 6 December 2015. Retrieved 20 December 2015.
- ^ Ifrah (2000), p. 400.
- ^ Pannekoek, Anton (1961). A History of Astronomy. George Allen & Unwin. p. 165. ISBN 9780045200023. OCLC 840043.
- ^ Durant, Will (1950). The Story of Civilization, Volume 4, The Age of Faith: Constantine to Dante – A.D. 325–1300. Simon & Schuster. ISBN 978-0-9650007-5-8. p. 241:
The Arabic inheritance of science was overwhelmingly Greek, but Hindu influences ranked next. In 773, at Mansur's behest, translations were made of the Siddhantas – Indian astronomical treatises dating as far back as 425 BC; these versions may have the vehicle through which the "Arabic" numerals and the zero were brought from India into Islam. In 813, al-Khwarizmi used the Hindu numerals in his astronomical tables.
- ^ Brezina, Corona (2006). Al-Khwarizmi: The Inventor of Algebra. The Rosen Publishing Group. ISBN 978-1-4042-0513-0. Retrieved 26 September 2016.
- ^ Durant 1950, p. 241: "In 976, Muhammad ibn Ahmad, in his Keys of the Sciences, remarked that if, in a calculation, no number appears in the place of tens, a little circle should be used "to keep the rows". This circle the Mosloems called ṣifr, "empty" whence our cipher."
- ^
- Sigler, Laurence (2003). Fibonacci's Liber Abaci: A Translation into Modern English of Leonardo Pisano's Book of Calculation. Sources and Studies in the History of Mathematics and Physical Sciences. Translated by Sigler, Laurence E. Springer. doi:10.1007/978-1-4613-0079-3. ISBN 978-1-4613-0079-3.
- Grimm, Richard E. (February 1973). "The Autobiography of Leonardo Pisano". Fibonacci Quarterly. Vol. 11, no. 1. pp. 99–104. Archived from the original on 26 November 2023.
- Hansen, Alice (2008). Primary Mathematics: Extending Knowledge in Practice. SAGE. doi:10.4135/9781446276532. ISBN 978-0-85725-233-3. Archived from the original on 7 March 2021. Retrieved 7 November 2020.
- ^ Smith, D. E.; Karpinski, L. C. (1911). "The spread of the [Hindu–Arabic] numerals in Europe". The Hindu–Arabic Numerals. Ginn and Company. pp. 134–136 – via Internet Archive.
- ^ Pedersen, Olaf (1985). "In Quest of Sacrobosco". Journal for the History of Astronomy. 16 (3): 175–221. Bibcode:1985JHA....16..175P. doi:10.1177/002182868501600302. S2CID 118227787.
- ^ Ifrah 2000, pp. 588–590.
- ^ Bemer, R. W. (1967). "Towards standards for handwritten zero and oh: much ado about nothing (and a letter), or a partial dossier on distinguishing between handwritten zero and oh". Communications of the ACM. 10 (8): 513–518. doi:10.1145/363534.363563. S2CID 294510.
- ^ Reimer 2014, pp. 156, 199–204.
- ^ Bunt, Lucas Nicolaas Hendrik; Jones, Phillip S.; Bedient, Jack D. (1976). The historical roots of elementary mathematics. Courier Dover Publications. pp. 254–255. ISBN 978-0-486-13968-5. Archived from the original on 23 June 2016. Retrieved 5 January 2016., Extract of pp. 254–255 Archived 10 May 2016 at the Wayback Machine
- ^ Cheng 2017, p. 32.
- ^ Cheng 2017, pp. 41, 48–53.
- ^ Weisstein, Eric W. "Zero". Wolfram. Archived from the original on 1 June 2013. Retrieved 4 April 2018.
- ^ Weil, André (6 December 2012). Number Theory for Beginners. Springer Science & Business Media. ISBN 978-1-4612-9957-8. Archived from the original on 14 June 2021. Retrieved 6 April 2021.
- ^ Lemma B.2.2, The integer 0 is even and is not odd, in Penner, Robert C. (1999). Discrete Mathematics: Proof Techniques and Mathematical Structures. World Scientific. p. 34. ISBN 978-981-02-4088-2.
- ^ Reid, Constance (1992). From zero to infinity: what makes numbers interesting (4th ed.). Mathematical Association of America. p. 23. ISBN 978-0-88385-505-8.
zero neither prime nor composite
- ^ Cheng 2017, p. 47.
- ^ Herman, Edwin; Strang, Gilbert; et al. (2017). Calculus. Vol. 1. Houston, Texas: OpenStax. pp. 454–459. ISBN 978-1-938168-02-4. OCLC 1022848630. Archived from the original on 23 September 2022. Retrieved 26 July 2022.
- ^ Graham, Ronald L.; Knuth, Donald E.; Patashnik, Oren (1988). Concrete Mathematics. Reading, MA: Addison-Wesley. p. 111. ISBN 0-201-14236-8.
- ^ Cheng 2017, p. 60.
- ^ Kardar 2007, p. 35.
- ^ Riehl, Emily (2016). Category Theory in Context. Dover. p. 103. ISBN 978-0-486-80903-8.
- ^ Rex, Andrew; Finn, C. B. P. (2017). Finn's Thermal Physics (3rd ed.). CRC Press. pp. 8–16. ISBN 978-1-4987-1887-5.
- ^ Kardar 2007, pp. 4–5, 103–104.
- ^ Woodford 2006, p. 9.
- ^ Hill 2020, p. 20.
- ^ Overland, Brian (14 September 2004). C++ Without Fear: A Beginner's Guide That Makes You Feel Smart. Pearson Education. p. 132. ISBN 978-0-7686-8488-9.
- ^ Oliveira, Suely; Stewart, David E. (7 September 2006). Writing Scientific Software: A Guide to Good Style. Cambridge University Press. p. 64. ISBN 978-1-139-45862-7.
- ^ "ResultSet (Java Platform SE 8 )". docs.oracle.com. Archived from the original on 9 May 2022. Retrieved 9 May 2022.
- ^ Reese, Richard M. (2013). Understanding and Using C Pointers: Core Techniques for Memory Management. O'Reilly Media. ISBN 978-1-449-34455-9.
- ^ Wu, X.; Ichikawa, T.; Cercone, N. (25 October 1996). Knowledge-Base Assisted Database Retrieval Systems. World Scientific. ISBN 978-981-4501-75-0. Archived from the original on 31 March 2022. Retrieved 7 November 2020.
- ^ "Null values and the nullable type". IBM. 12 December 2018. Archived from the original on 23 November 2021. Retrieved 23 November 2021.
In regard to services, sending a null value as an argument in a remote service call means that no data is sent. Because the receiving parameter is nullable, the receiving function creates a new, uninitialized value for the missing data then passes it to the requested service function.
- ^ Paul DuBois. "MySQL Cookbook: Solutions for Database Developers and Administrators" Archived 24 February 2017 at the Wayback Machine 2014. p. 204.
- ^ Arnold Robbins; Nelson Beebe. "Classic Shell Scripting" Archived 24 February 2017 at the Wayback Machine. 2005. p. 274
- ^ Iztok Fajfar. "Start Programming Using HTML, CSS, and JavaScript" Archived 24 February 2017 at the Wayback Machine. 2015. p. 160.
- ^ Darren R. Hayes. "A Practical Guide to Computer Forensics Investigations" Archived 24 February 2017 at the Wayback Machine. 2014. p. 399
- ^ Marc J. Rochkind (1985). Advanced UNIX Programming. Prentice-Hall Software Series. Englewood Cliffs, NJ: Prentice Hall. ISBN 0-13-011818-4. Here: Sect.5.5 "Exit system call", p.114.
- ^ "Font Survey: 42 of the Best Monospaced Programming Fonts". codeproject.com. 18 August 2010. Archived from the original on 24 January 2012. Retrieved 22 July 2021.
- ^ Cepelewicz, Jordana (9 August 2021). "Animals Count and Use Zero. How Far Does Their Number Sense Go?". Quanta Magazine. Archived from the original on 18 August 2021.
- ^ Steel, Duncan (2000). Marking Time: The epic quest to invent the perfect calendar. John Wiley & Sons. p. 113. ISBN 978-0-471-29827-4. OCLC 1135427740.
In the B.C./A.D. scheme there is no year zero. After 31 December 1 BC came 1 January AD 1. ... If you object to that no-year-zero scheme, then don't use it: use the astronomer's counting scheme, with negative year numbers.
Bibliography
- Aczel, Amir D. (2015). Finding Zero. New York: Palgrave Macmillan. ISBN 978-1-137-27984-2.
- Asimov, Isaac (1978). "Nothing Counts". Asimov on Numbers. New York: Pocket Books. ISBN 978-0-671-82134-0. OCLC 1105483009.
- Barrow, John D. (2001). The Book of Nothing. Vintage. ISBN 0-09-928845-1.
- Cheng, Eugenia (2017). Beyond Infinity: An Expedition to the Outer Limits of Mathematics. Basic Books. ISBN 978-1-5416-4413-7.
- Kardar, Mehran (2007). Statistical Physics of Particles. Cambridge University Press. ISBN 978-0-521-87342-0.
- Reimer, David (2014). Count Like an Egyptian. Princeton University Press. ISBN 978-0-691-16012-2.
- Woodford, Chris (2006). Digital Technology. Evans Brothers. ISBN 978-0-237-52725-9. Archived from the original on 17 August 2019. Retrieved 24 March 2016.
- Hill, Christian (2020). Learning Scientific Programming with Python (2nd ed.). Cambridge University Press. ISBN 978-1-10707541-2.
Historical studies
- Bourbaki, Nicolas (1998). Elements of the History of Mathematics. Berlin, Heidelberg, and New York: Springer-Verlag. ISBN 3-540-64767-8.
- Diehl, Richard A. (2004). The Olmecs: America's First Civilization. London: Thames & Hudson. ISBN 978-0-500-28503-9.
- Ifrah, Georges (2000). The Universal History of Numbers: From Prehistory to the Invention of the Computer. Wiley. ISBN 0-471-39340-1.
- Kaplan, Robert (2000). The Nothing That Is: A Natural History of Zero. Oxford University Press. ISBN 978-0-198-02945-8.
- Seife, Charles (2000). Zero: The Biography of a Dangerous Idea. Penguin USA. ISBN 0-14-029647-6.
External links
![](http://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/40px-Wiktionary-logo-en-v2.svg.png)
- Searching for the World's First Zero
- A History of Zero
- Zero Saga
- The History of Algebra
- Edsger W. Dijkstra: Why numbering should start at zero, EWD831 (PDF of a handwritten manuscript)
- Zero on In Our Time at the BBC
- Weisstein, Eric W. "0". MathWorld.
Texts on Wikisource:
- "Zero". Encyclopædia Britannica (11th ed.). 1911.
- "Zero". Encyclopedia Americana. 1920.