|Cardinal||0, zero, "oh" (), nought, naught, nil, null|
0 (zero) is both a number and the numerical digit used to represent that number in numerals. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures. As a digit, zero is used as a placeholder in place value systems. In the English language, zero may also be called oh, null, nil, zilch  or naught.
Zero is a number which quantifies a count or an amount of null size; that is, if the number of your brothers is zero, that means the same thing as having no brothers, and if something has a weight of zero, it has no weight. If the difference between the number of pieces in two piles is zero, it means the two piles have an equal number of pieces. Before counting starts, the result can be assumed to be zero; that is the number of items counted before you count the first item and counting the first item brings the result to one. And if there are no items to be counted, zero remains the final result.
Almost all historians omit the year zero from the proleptic Gregorian and Julian calendars, but astronomers include it in these same calendars. However, the phrase Year Zero may be used to describe any event considered so significant that it serves as a new base point in time.
The modern numerical digit 0 is usually written as a circle, an ellipse, or a rounded rectangle. In most modern typefaces, the height of the 0 character is the same as the other digits. However, in typefaces with text figures, the character is often less tall (x-height).
On the seven-segment displays of calculators, watches, and household appliances, 0 is usually written with six line segments, though on some historical calculator models it was written with four line segments.
The value, or number, zero is not the same as the digit zero, used in numeral systems using positional notation. Successive positions of digits have higher weights, so inside a numeral the digit zero is used to skip a position and give appropriate weights to the preceding and following digits. A zero digit is not always necessary in a positional number system, for example, in the number 02.
Traditionally, many print typefaces made the capital letter O more rounded than narrower, oval 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.
The digit 0 with a dot in the centre seems to have originated as an option on IBM 3270 displays. Its appearance has continued with the Microsoft Windows typeface Andalé Mono. One variation used a short vertical bar instead of the dot. This could be confused with the Greek letter Theta on a badly focused display, but in practice there was no confusion because theta was not (then) a displayable character and very little used anyway.
An alternative, the slashed zero (looking similar to the letter O except for the slash), was primarily used in hand-written coding sheets before transcription to punched cards or tape, and is also used in old-style ASCII graphic sets descended from the default typewheel on the ASR-33 Teletype. This form is similar to the symbol
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). The Texas Instruments TI-99/4A computer featured a more angular capital O and a more rounded digit 0, whereas others made the choice the other way around.
The typeface used on most European vehicle registration plates distinguishes the two symbols partially in this manner (having a more rectangular or wider shape for the capital O than the digit 0), but in several countries a further distinction is made by slitting open the digit 0 on the upper right side (as in German plates using the fälschungserschwerende Schrift, "harder-to-falsify script").
Sometimes the digit 0 is used either exclusively, or not at all, to avoid confusion altogether. For example, confirmation numbers used by Southwest Airlines use only the capital letters O and I instead of the digits 0 and 1, while Canadian postal codes use only the digits 1 and 0 and never the capital letters O and I, although letters and numbers always alternate.
See main article: Names for the number 0. The word "zero" came via French zéro from Venetian zero, which (together with cipher) came via Italian zefiro from Arabic صفر, ṣafira = "it was empty", ṣifr = "zero", "nothing", which was used to translate Sanskrit ( शून्य ), meaning void or empty.
Italian zefiro already meant "west wind" from Latin and Greek zephyrus; this may have influenced the spelling when transcribing Arabic şifr. The Italian mathematician Fibonacci (c.1170-1250), who grew up in Arab North Africa and is credited with introducing the Hindu decimal system to Europe, used the term zephyrum. This became zefiro in Italian, which was contracted to zero in Venetian, the modern English word.
As the Hindu decimal zero and its new mathematics spread from the Arab world to Europe in the Middle Ages, words derived from ṣifr and zephyrus came to refer to calculation, as well as to privileged knowledge and secret codes. According to Ifrah, "in thirteenth-century Paris, a 'worthless fellow' was called a "... cifre en algorisme", i.e., an "arithmetical nothing"." From ṣifr also came French chiffre = "digit", "figure", "number", chiffrer = "to calculate or compute", chiffré = "encrypted". Today, the word in Arabic is still ṣifr, and cognates of ṣifr are common in the languages of Europe and southwest Asia.
By the middle of the 2nd millennium BCE, the Babylonian mathematics had a sophisticated sexagesimal positional numeral system. The lack of a positional value (or zero) was indicated by a space between sexagesimal numerals. By 300 BCE, a punctuation symbol (two slanted wedges) was co-opted as a placeholder in the same Babylonian system. In a tablet unearthed at Kish (dating from about 700 BCE), the scribe Bêl-bân-aplu wrote his zeros with three hooks, rather than two slanted wedges.
The Babylonian placeholder was not a true zero because it was not used alone. Nor was it used at the end of a number. Thus numbers like 2 and 120 (2×60), 3 and 180 (3×60), 4 and 240 (4×60), looked the same because the larger numbers lacked a final sexagesimal placeholder. Only context could differentiate them.
Records show that the ancient Greeks seemed unsure about the status of zero as a number. They asked themselves, "How can nothing be something?", 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.
The concept of zero as a number and not merely a symbol for separation is attributed to Indiawhere by the 9th century CE practical calculations were carried out using zero, which was treated like any other number, even in case of division.  The Indian scholar Pingala (circa 5th-2nd century BCE) used binary numbers in the form of short and long syllables (the latter equal in length to two short syllables), making it similar to Morse code.  He and his contemporary Indian scholars used the Sanskrit word śūnya to refer to zero or void.
The Mesoamerican Long Count calendar developed in south-central Mexico required the use of zero as a place-holder within its vigesimal (base-20) positional numeral system. Many different glyphs, including this 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 BCE. Since the eight earliest Long Count dates appear outside the Maya homeland, it is assumed 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 BCE, several centuries before the earliest known Long Count dates.
The use of a blank on a counting board to represent 0 dated back in India to 4th century BCE.
In China, counting rods were used for calculation since the 4th century BCE. Chinese mathematicians understood negative numbers and zero, though they had no symbol for the latter, until the work of Song Dynasty mathematician Qin Jiushao in 1247 established a symbol for zero in China. The Nine Chapters on the Mathematical Art, which was mainly composed in the 1st century CE, stated "[when subtracting] subtract same signed numbers, add differently signed numbers, subtract a positive number from zero to make a negative number, and subtract a negative number from zero to make a positive number."
By 130, Ptolemy, influenced by Hipparchus and the Babylonians, was using a symbol for zero (a small circle with a long overbar) within a sexagesimal numeral system otherwise using alphabetic Greek numerals. Because it was used alone, not just as a placeholder, this Hellenistic zero was perhaps the first documented use of a number zero in the Old World. However, the positions were usually limited to the fractional part of a number (called minutes, seconds, thirds, fourths, etc.) - they were not used for the integral part of a number. In later Byzantine manuscripts of Ptolemy's Syntaxis Mathematica (also known as the Almagest), the Hellenistic zero had morphed into the Greek letter omicron (otherwise meaning 70).
Another zero was used in tables alongside Roman numerals by 525 (first known use by Dionysius Exiguus), but as a word, nulla meaning "nothing," not as a symbol. When division produced zero as a remainder, nihil, also meaning "nothing," was used. These medieval zeros were used by all future medieval computists (calculators of Easter). An isolated use of the initial, N, was used in a table of Roman numerals by Bede or a colleague about 725, a zero symbol.
In 498 CE, Indian mathematician and astronomer Aryabhata stated that "Sthanam sthanam dasa gunam" or place to place in ten times in value, which may be the origin of the modern decimal-based place value notation.
The oldest known text to use a decimal place-value system, including a zero, is the Jain text from India entitled the Lokavibhâga, dated 458 CE. This text uses Sanskrit numeral words for the digits, with words such as the Sanskrit word for void for zero (see also the section Etymology above). 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 Chaturbhuja Temple at Gwalior in India, dated 876 CE.  There are many documents on copper plates, with the same small o in them, dated back as far as the sixth century CE, but their authenticity may be doubted.
The Indian numerals and the positional number system were introduced to the Islamic civilization by Al-Khwarizmi, the founder of several branches and basic concepts of mathematics. Al-Khwarizmi's book on arithmetic synthesized Greek and Hindu knowledge and also contained his own fundamental contribution to mathematics and science including an explanation of the use of zero.
The rules governing the use of zero appeared for the first time in Brahmagupta's book Brahmasputha Siddhanta (The Opening of the Universe), written in 628. Here Brahmagupta considers not only zero, but negative numbers, and the algebraic rules for the elementary operations of arithmetic with such numbers. In some instances, his rules differ from the modern standard. Here are the rules of Brahmagupta:
In saying zero divided by zero is zero, Brahmagupta differs from the modern position. Mathematicians normally do not assign a value to this, whereas computers and calculators sometimes assign NaN, which means "not a number." Moreover, non-zero positive or negative numbers when divided by zero are either assigned no value, or a value of unsigned infinity, positive infinity, or negative infinity. Once again, these assignments are not numbers, and are associated more with computer science than pure mathematics, where in most contexts no assignment is done.
See also: History of the Hindu-Arabic numeral system.
Positional notation without the use of zero (using an empty space in tabular arrangements, or the word kha "emptiness") is known to have been in use in India from the 6th century. The earliest certain use of zero as a decimal positional digit dates to the 5th century mention in the text Lokavibhaga. The glyph for the zero digit was written in the shape of a dot, and consequently called bindu ("dot"). The dot had been used in Greece during earlier ciphered numeral periods.
The Indian numeral system (base 10) reached Europe in the 11th century, via the Iberian Peninsula through Spanish Muslims, the Moors, together with knowledge of astronomy and instruments like the astrolabe, first imported by Gerbert of Aurillac. 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. 
Here Leonardo of Pisa uses the word sign "0", indicating it is like a sign to do operations like addition or multiplication. From the 13th century, manuals on calculation (adding, multiplying, extracting roots, etc.) became common in Europe where they were called algorimus after the Persian mathematician al-Khwarizmi. The most popular was written by Johannes de Sacrobosco, about 1235 and was one of the earliest scientific books to be printed in 1488. Until the late 15th century, Hindu-Arabic numerals seem to have predominated among mathematicians, while merchants preferred to use the Roman numerals. In the 16th century, they became commonly used in Europe.
The number 0 is the least non-negative 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 a whole number and hence a rational number and a real number (as well as an algebraic number and a complex number).
The following are some basic (elementary) rules for dealing with the number 0. These rules apply for any real or complex number x, unless otherwise stated.
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 simply 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 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, on the Kelvin temperature scale, zero is the coldest possible temperature (negative temperatures exist but are not actually colder), whereas on the Celsius scale, 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.
Zero has been proposed as the atomic number of the theoretical element tetraneutron. It has been shown that a cluster of four neutrons may be stable enough to be considered an atom in its own right. This would create an element with no protons and no charge on its nucleus.
As early as 1926, Professor Andreas von Antropoff coined the term neutronium for a conjectured form of matter made up of neutrons with no protons, which he placed as the chemical element of atomic number zero at the head of his new version of the periodic table. It was subsequently placed as a noble gas in the middle of several spiral representations of the periodic system for classifying the chemical elements. It is at the centre of the Chemical Galaxy (2005).
The most common practice throughout human history has been to start counting at one. Nevertheless, in computer science zero is often used as the starting point. For example, in almost all old programming languages, an array starts from 1 by default. As programming languages have developed, it has become more common that an array starts from zero by default, the "first" index in the array being 0. In particular, the popularity of the C programming language in the 1980s has made this approach common.
One advantage of this convention is in the use of modular arithmetic. Every integer is congruent modulo N to one of the numbers 0, 1, 2, ..., N−1, where N ≥ 1. Because of this, many arithmetic concepts (such as hash tables) are more elegantly expressed in code when the array starts at zero.
A second advantage of zero-based array indexes is that this can improve efficiency under certain circumstances. To illustrate, suppose a is the memory address of the first element of an array, and i is the index of the desired element. In this fairly typical scenario, it is quite common to want the address of the desired element. If the index numbers count from 1, the desired address is computed by this expression:
a+s x (i-1)
where s is the size of each element. In contrast, if the index numbers count from 0, the expression becomes this:
a+s x i
This simpler expression can be more efficient to compute in certain situations.
Note, however, that a language wishing to index arrays from 1 could simply adopt the convention that every "array address" is represented by
a'+s x i
Hence, the efficiency benefit of zero-based indexing is not inherent, but is an artifact of the decision to represent an array by the address of its first element.
A third advantage is that ranges are more elegantly expressed as the half-open interval,
This situation can lead to some confusion in terminology. In a zero-based indexing scheme, the first element is "element number zero"; likewise, the twelfth element is "element number eleven". Therefore, an analogy from the ordinal numbers to the quantity of objects numbered appears; the highest index of n objects will be (n-1) and referred to the n:th element. For this reason, the first element is often referred to as the zeroth element to eliminate any possible doubt (though, strictly speaking, this is unnecessary and arguably incorrect, since the meanings of the ordinal numbers are not ambiguous).
In databases a field can have a null value. This is equivalent to the field not having a 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. Asking for all records with value 0 or value not equal 0 will not yield all records, since the records with value null are excluded.
A null pointer is a pointer in a computer program that does not point to any object or function. In C, the integer constant 0 is converted into the null pointer at compile time when it appears in a pointer context, and so 0 is a standard way to refer to the null pointer in code. However, the internal representation of the null pointer may be any bit pattern (possibly different values for different data types).
(Note that on most common architectures, the null pointer is represented internally the same way an integer of the same byte width having a value of zero is represented, so C compilers on such systems perform no actual conversion.)
See main article: −0 (number). In mathematics
The importance of the creation of the zero mark can never be exaggerated. This giving to airy nothing, not merely a local habitation and a name, a picture, a symbol, but helpful power, is the characteristic of the Hindu race from whence it sprang. It is like coining the Nirvana into dynamos. No single mathematical creation has been more potent for the general on-go of intelligence and power. G. B. Halsted
Dividing by zero...allows you to prove, mathematically, anything in the universe. You can prove that 1+1=42, and from there you can prove that J. Edgar Hoover is a space alien, that William Shakespeare came from Uzbekistan, or even that the sky is polka-dotted. (See appendix A for a proof that Winston Churchill was a carrot.) Charles Seife, from: Zero: The Biography of a Dangerous Idea
...a profound and important idea which appears so simple to us now that we ignore its true merit. But its very simplicity and the great ease which it lent to all computations put our arithmetic in the first rank of useful inventions. Pierre-Simon Laplace
The point about zero is that we do not need to use it in the operations of daily life. No one goes out to buy zero fish. It is in a way the most civilized of all the cardinals, and its use is only forced on us by the needs of cultivated modes of thought. Alfred North Whitehead
...a fine and wonderful refuge of the divine spirit – almost an amphibian between being and non-being. Gottfried Leibniz