0 (n 1)
   HOME

TheInfoList



OR:

0 (zero) is a
number A number is a mathematical object used to count, measure, and label. The original examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers ...
representing an empty
quantity Quantity or amount is a property that can exist as a multitude or magnitude, which illustrate discontinuity and continuity. Quantities can be compared in terms of "more", "less", or "equal", or by assigning a numerical value multiple of a uni ...
. Adding 0 to any number leaves that number unchanged. In mathematical terminology, 0 is the
additive identity In mathematics, the additive identity of a set that is equipped with the operation of addition is an element which, when added to any element ''x'' in the set, yields ''x''. One of the most familiar additive identities is the number 0 from eleme ...
of the
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s,
rational numbers In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all r ...
,
real number In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
s, and
complex numbers In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
, as well as other
algebraic structures In mathematics, an algebraic structure consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplication), and a finite set ...
. Multiplying any number by 0 has the result 0, and consequently,
division by zero In mathematics, division by zero is division where the divisor (denominator) is zero. Such a division can be formally expressed as \tfrac, where is the dividend (numerator). In ordinary arithmetic, the expression has no meaning, as there is ...
has no meaning in arithmetic. As a
numerical digit A numerical digit (often shortened to just digit) is a single symbol used alone (such as "2") or in combinations (such as "25"), to represent numbers in a positional numeral system. The name "digit" comes from the fact that the ten digits (Latin ...
, 0 plays a crucial role in decimal notation: it indicates that the
power of ten A power of 10 is any of the integer powers of the number ten; in other words, ten multiplied by itself a certain number of times (when the power is a positive integer). By definition, the number one is a power (the zeroth power) of ten. The fir ...
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 notation Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or decimal system). More generally, a positional system is a numeral system in which the ...
s that uses a base other than ten, such as
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
and
hexadecimal In mathematics and computing, the hexadecimal (also base-16 or simply hex) numeral system is a positional numeral system that represents numbers using a radix (base) of 16. Unlike the decimal system representing numbers using 10 symbols, h ...
. The modern use of 0 in this manner derives from
Indian mathematics Indian mathematics emerged in the Indian subcontinent from 1200 BCE until the end of the 18th century. In the classical period of Indian mathematics (400 CE to 1200 CE), important contributions were made by scholars like Aryabhata, Brahmagupt ...
that was transmitted to Europe via medieval Islamic mathematicians and popularized by
Fibonacci Fibonacci (; also , ; – ), also known as Leonardo Bonacci, Leonardo of Pisa, or Leonardo Bigollo Pisano ('Leonardo the Traveller from Pisa'), was an Italian mathematician from the Republic of Pisa, considered to be "the most talented Western ...
. It was independently used by the
Maya Maya may refer to: Civilizations * Maya peoples, of southern Mexico and northern Central America ** Maya civilization, the historical civilization of the Maya peoples ** Maya language, the languages of the Maya peoples * Maya (Ethiopia), a popu ...
. Common
names for the number 0 in English "Zero" is the usual name for the number 0 in English. In British English "nought" is also used. In American English "naught" is used occasionally for zero, but (as with British English) "naught" is more often used as an archaic word for nothing. " ...
include ''zero'', ''nought'', ''naught'' (), 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'' (). Informal or
slang Slang is vocabulary (words, phrases, and usage (language), linguistic usages) of an informal register, common in spoken conversation but avoided in formal writing. It also sometimes refers to the language generally exclusive to the members of p ...
terms for 0 include ''zilch'' and ''zip''. Historically, ''ought'', ''aught'' (), and ''cipher'' have also been used.


Etymology

The word ''zero'' came into the English language via French from the
Italian Italian(s) may refer to: * Anything of, from, or related to the people of Italy over the centuries ** Italians, an ethnic group or simply a citizen of the Italian Republic or Italian Kingdom ** Italian language, a Romance language *** Regional Ita ...
, a contraction of the Venetian form of Italian via ''ṣafira'' or ''ṣifr''. In pre-Islamic time the word (Arabic ) had the meaning "empty". evolved to mean zero when it was used to translate ( sa, शून्य) from India. The first known English use of ''zero'' was in 1598. The Italian mathematician
Fibonacci Fibonacci (; also , ; – ), also known as Leonardo Bonacci, Leonardo of Pisa, or Leonardo Bigollo Pisano ('Leonardo the Traveller from Pisa'), was an Italian mathematician from the Republic of Pisa, considered to be "the most talented Western ...
(), who grew up in North Africa and is credited with introducing the decimal system to Europe, used the term ''zephyrum''. This became in Italian, and was then contracted to in Venetian. The Italian word was already in existence (meaning "west wind" from Latin and Greek ) and may have influenced the spelling when transcribing Arabic .


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 number A telephone number is a sequence of digits assigned to a landline telephone subscriber station connected to a telephone line or to a wireless electronic telephony device, such as a radio telephone or a mobile telephone, or to other devices f ...
s,
street address An address is a collection of information, presented in a mostly fixed format, used to give the location of a building, apartment, or other structure or a plot of land, generally using political boundaries and street names as references, along ...
es,
credit card number A payment card number, primary account number (PAN), or simply a card number, is the card identifier found on payment cards, such as credit cards and debit cards, as well as stored-value cards, gift cards and other similar cards. In some situ ...
s,
military time The modern 24-hour clock, popularly referred to in the United States as military time, is the convention of timekeeping in which the day runs from midnight to midnight and is divided into 24 hours. This is indicated by the hours (and minutes) pass ...
, or years. For example, the
area code A telephone numbering plan is a type of numbering scheme used in telecommunication to assign telephone numbers to subscriber telephones or other telephony endpoints. Telephone numbers are the addresses of participants in a telephone network, re ...
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 British English (BrE, en-GB, or BE) is, according to Lexico, Oxford Dictionaries, "English language, English as used in Great Britain, as distinct from that used elsewhere". More narrowly, it can refer specifically to the English language in ...
. Several sports have specific words for a score of zero, such as "
love Love encompasses a range of strong and positive emotional and mental states, from the most sublime virtue or good habit, the deepest Interpersonal relationship, interpersonal affection, to the simplest pleasure. An example of this range of ...
" in
tennis Tennis is a racket sport that is played either individually against a single opponent ( singles) or between two teams of two players each ( doubles). Each player uses a tennis racket that is strung with cord to strike a hollow rubber ball c ...
– from French , "the egg" – and "
duck Duck is the common name for numerous species of waterfowl in the family Anatidae. Ducks are generally smaller and shorter-necked than swans and geese, which are members of the same family. Divided among several subfamilies, they are a fo ...
" in
cricket Cricket is a bat-and-ball game played between two teams of eleven players on a field at the centre of which is a pitch with a wicket at each end, each comprising two bails balanced on three stumps. The batting side scores runs by st ...
, a shortening of "duck's egg". "Goose egg" is another general slang term used for zero.


History


Ancient Near East

Ancient
Egyptian numerals The system of ancient Egyptian numerals was used in Ancient Egypt from around 3000 BCE until the early first millennium CE. It was a system of numeration based on multiples of ten, often rounded off to the higher power, written in hieroglyphs. Th ...
were of
base 10 The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
. They used
hieroglyphs A hieroglyph (Greek for "sacred carvings") was a character of the ancient Egyptian writing system. Logographic scripts that are pictographic in form in a way reminiscent of ancient Egyptian are also sometimes called "hieroglyphs". In Neoplatonis ...
for the digits and were not
positional Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or decimal system). More generally, a positional system is a numeral system in which the ...
. In one papyrus written around , a scribe recorded daily incomes and expenditures for the
pharaoh Pharaoh (, ; Egyptian: '' pr ꜥꜣ''; cop, , Pǝrro; Biblical Hebrew: ''Parʿō'') is the vernacular term often used by modern authors for the kings of ancient Egypt who ruled as monarchs from the First Dynasty (c. 3150 BC) until th ...
'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 Sir Alan Henderson Gardiner, (29 March 1879 – 19 December 1963) was an English Egyptologist, linguist, philologist, and independent scholar. He is regarded as one of the premier Egyptologists of the early and mid-20th century. Personal life ...
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 Babylonian mathematics (also known as ''Assyro-Babylonian mathematics'') are the mathematics developed or practiced by the people of Mesopotamia, from the days of the early Sumerians to the centuries following the fall of Babylon in 539 BC. Bab ...
had a sophisticated
base 60 Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form� ...
positional numeral system. The lack of a positional value (or zero) was indicated by a ''space'' between
sexagesimal Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form� ...
numerals. In a tablet unearthed at
Kish Kish may refer to: Geography * Gishi, Nagorno-Karabakh, Azerbaijan, a village also called Kish * Kiş, Shaki, Azerbaijan, a village and municipality also spelled Kish * Kish Island, an Iranian island and a city in the Persian Gulf * Kish, Iran ...
(dating to as early as ), the scribe Bêl-bân-aplu used three hooks as a
placeholder Placeholder may refer to: Language * Placeholder name, a term or terms referring to something or somebody whose name is not known or, in that particular context, is not significant or relevant. * Filler text, text generated to fill space or pro ...
in the same Babylonian system. By , 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 = 602, etc., similar to the significand of a
floating-point number In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be r ...
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

The
Mesoamerican Long Count calendar The Mesoamerican Long Count calendar is a non-repeating, vigesimal (base 20) and octodecimal (base 18) calendar used by several pre-Columbian Mesoamerican cultures, most notably the Maya. For this reason, it is often known as the May ...
developed in south-central Mexico and Central America required the use of zero as a placeholder within its
vigesimal vigesimal () or base-20 (base-score) numeral system is based on twenty (in the same way in which the decimal numeral system is based on ten). '' Vigesimal'' is derived from the Latin adjective '' vicesimus'', meaning 'twentieth'. Places In ...
(base-20) positional numeral system. Many different glyphs, including the partial
quatrefoil A quatrefoil (anciently caterfoil) is a decorative element consisting of a symmetrical shape which forms the overall outline of four partially overlapping circles of the same diameter. It is found in art, architecture, heraldry and traditional ...
were used as a zero symbol for these Long Count dates, the earliest of which (on Stela 2 at Chiapa de Corzo,
Chiapas Chiapas (; Tzotzil and Tzeltal: ''Chyapas'' ), officially the Free and Sovereign State of Chiapas ( es, Estado Libre y Soberano de Chiapas), is one of the states that make up the 32 federal entities of Mexico. It comprises 124 municipalities ...
) 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
Olmec The Olmecs () were the earliest known major Mesoamerican civilization. Following a progressive development in Soconusco, they occupied the tropical lowlands of the modern-day Mexican states of Veracruz and Tabasco. It has been speculated that ...
s. Many of the earliest Long Count dates were found within the Olmec heartland, although the Olmec civilization ended by the , several centuries before the earliest known Long Count dates. Although zero became an integral part of
Maya numerals The Mayan numeral system was the system to represent numbers and calendar dates in the Maya civilization. It was a vigesimal (base-20) positional numeral system. The numerals are made up of three symbols; zero (a shell), one (a dot) and fi ...
, with a different, empty
tortoise Tortoises () are reptiles of the family Testudinidae of the order Testudines (Latin: ''tortoise''). Like other turtles, tortoises have a shell to protect from predation and other threats. The shell in tortoises is generally hard, and like ot ...
-like " shell shape" used for many depictions of the "zero" numeral, it is assumed not to have influenced
Old World The "Old World" is a term for Afro-Eurasia that originated in Europe , after Europeans became aware of the existence of the Americas. It is used to contrast the continents of Africa, Europe, and Asia, which were previously thought of by th ...
numeral systems.
Quipu ''Quipu'' (also spelled ''khipu'') are recording devices fashioned from strings historically used by a number of cultures in the region of Andean South America. A ''quipu'' usually consisted of cotton or camelid fiber strings. The Inca peop ...
, a knotted cord device, used in the
Inca Empire The Inca Empire (also known as the Incan Empire and the Inka Empire), called ''Tawantinsuyu'' by its subjects, ( Quechua for the "Realm of the Four Parts",  "four parts together" ) was the largest empire in pre-Columbian America. The adm ...
and its predecessor societies in the
Andean The Andes, Andes Mountains or Andean Mountains (; ) are the longest continental mountain range in the world, forming a continuous highland along the western edge of South America. The range is long, wide (widest between 18°S – 20°S l ...
region to record accounting and other digital data, is encoded in a
base ten The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numeral ...
positional system. Zero is represented by the absence of a knot in the appropriate position.


Classical antiquity

The
ancient Greeks Ancient Greece ( el, Ἑλλάς, Hellás) was a northeastern Mediterranean civilization, existing from the Greek Dark Ages of the 12th–9th centuries BC to the end of classical antiquity ( AD 600), that comprised a loose collection of cult ...
had no symbol for zero (μηδέν, pronounced 'midén'), and did not use a digit placeholder for it. According to mathematician
Charles Seife Charles Seife is an American author and journalist, and a professor at New York University. He has written extensively on scientific and mathematical topics. Career Seife holds a mathematics degree from Princeton University (1993),Greenwood, Kath ...
, the ancient Greeks did begin to adopt the Babylonian placeholder zero for their work in
astronomy Astronomy () is a natural science that studies astronomical object, celestial objects and phenomena. It uses mathematics, physics, and chemistry in order to explain their origin and chronology of the Universe, evolution. Objects of interest ...
after 500 BC, representing it with the lowercase Greek letter ''ό'' (''όμικρον'':
omicron Omicron (; uppercase Ο, lowercase ο, ell, όμικρον) is the 15th letter of the Greek alphabet. This letter is derived from the Phoenician letter ayin: . In classical Greek, omicron represented the close-mid back rounded vowel in contr ...
). However, after using the Babylonian placeholder zero for astronomical calculations they would typically convert the numbers back into
Greek numerals Greek numerals, also known as Ionic, Ionian, Milesian, or Alexandrian numerals, are a system of writing numbers using the letters of the Greek alphabet. In modern Greece, they are still used for ordinal numbers and in contexts similar to those ...
. 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 In the history of Europe, the Middle Ages or medieval period lasted approximately from the late 5th to the late 15th centuries, similar to the post-classical period of global history. It began with the fall of the Western Roman Empire a ...
period, religious arguments about the nature and existence of zero and the
vacuum A vacuum is a space devoid of matter. The word is derived from the Latin adjective ''vacuus'' for "vacant" or " void". An approximation to such vacuum is a region with a gaseous pressure much less than atmospheric pressure. Physicists often di ...
. The
paradoxes A paradox is a logically self-contradictory statement or a statement that runs contrary to one's expectation. It is a statement that, despite apparently valid reasoning from true premises, leads to a seemingly self-contradictory or a logically u ...
of
Zeno of Elea Zeno of Elea (; grc, Ζήνων ὁ Ἐλεᾱ́της; ) was a pre-Socratic Greek philosopher of Magna Graecia and a member of the Eleatic School founded by Parmenides. Aristotle called him the inventor of the dialectic. He is best known ...
depend in large part on the uncertain interpretation of zero. By AD150,
Ptolemy Claudius Ptolemy (; grc-gre, Πτολεμαῖος, ; la, Claudius Ptolemaeus; AD) was a mathematician, astronomer, astrologer, geographer, and music theorist, who wrote about a dozen scientific treatises, three of which were of import ...
, influenced by
Hipparchus Hipparchus (; el, Ἵππαρχος, ''Hipparkhos'';  BC) was a Greek astronomer, geographer, and mathematician. He is considered the founder of trigonometry, but is most famous for his incidental discovery of the precession of the equ ...
and the
Babylonia Babylonia (; Akkadian: , ''māt Akkadī'') was an ancient Akkadian-speaking state and cultural area based in the city of Babylon in central-southern Mesopotamia (present-day Iraq and parts of Syria). It emerged as an Amorite-ruled state ...
ns, was using a symbol for zero () in his work on
mathematical astronomy Theoretical astronomy is the use of analytical and computational models based on principles from physics and chemistry to describe and explain astronomical objects and astronomical phenomena. Theorists in astronomy endeavor to create theoretical ...
called the ''Syntaxis Mathematica'', also known as the ''
Almagest The ''Almagest'' is a 2nd-century Greek-language mathematical and astronomical treatise on the apparent motions of the stars and planetary paths, written by Claudius Ptolemy ( ). One of the most influential scientific texts in history, it cano ...
''. 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 eclipse A lunar eclipse occurs when the Moon moves into the Earth's shadow. Such alignment occurs during an eclipse season, approximately every six months, during the full moon phase, when the Moon's orbital plane is closest to the plane of the Eart ...
s. It represented the value of both
digit Digit may refer to: Mathematics and science * Numerical digit, as used in mathematics or computer science ** Hindu-Arabic numerals, the most common modern representation of numerical digits * Digit (anatomy), the most distal part of a limb, such ...
s and
minutes Minutes, also known as minutes of meeting (abbreviation MoM), protocols or, informally, notes, are the instant written record of a meeting or hearing. They typically describe the events of the meeting and may include a list of attendees, a state ...
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 The angular diameter, angular size, apparent diameter, or apparent size is an angular distance describing how large a sphere or circle appears from a given point of view. In the vision sciences, it is called the visual angle, and in optics, it i ...
of the Sun. Minutes of immersion was tabulated from 00 to 3120 to 00, where 00 used the symbol as a placeholder in two positions of his
sexagesimal Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form� ...
positional numeral system, while the combination meant a zero angle. Minutes of immersion was also a continuous function (a triangular pulse with
convex Convex or convexity may refer to: Science and technology * Convex lens, in optics Mathematics * Convex set, containing the whole line segment that joins points ** Convex polygon, a polygon which encloses a convex set of points ** Convex polytop ...
sides), where d was the digit function and 3120 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. The earliest use of zero in the calculation of the Julian Easter occurred before AD311, at the first entry in a table of
epact The epact ( la, epactae, from grc, ἐπακται ἡμεραι () = added days), used to be described by medieval computists as the age of a phase of the Moon in days on 22 March; in the newer Gregorian calendar, however, the epact is reckone ...
s 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 The Church of Alexandria in Egypt is the Christian Church headed by the Patriarch of Alexandria. It is one of the original Apostolic Sees of Christianity, alongside Rome, Antioch, Constantinople and Jerusalem. Tradition holds that the Church of A ...
in
Medieval Greek Medieval Greek (also known as Middle Greek, Byzantine Greek, or Romaic) is the stage of the Greek language between the end of classical antiquity in the 5th–6th centuries and the end of the Middle Ages, conventionally dated to the Ottoman c ...
.. The pages in this edition have numbers six less than the same pages in the original edition. This use was repeated in 525 in an equivalent table, that was translated via the Latin ("none") by
Dionysius Exiguus Dionysius Exiguus (Latin for "Dionysius the Humble", Greek: Διονύσιος; – ) was a 6th-century Eastern Roman monk born in Scythia Minor. He was a member of a community of Scythian monks concentrated in Tomis (present day Constanța ...
, 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 Bede ( ; ang, Bǣda , ; 672/326 May 735), also known as Saint Bede, The Venerable Bede, and Bede the Venerable ( la, Beda Venerabilis), was an English monk at the monastery of St Peter and its companion monastery of St Paul in the Kingdom ...
—or his colleagues—around AD725.C. W. Jones, ed., ''Opera Didascalica'', vol. 123C in ''Corpus Christianorum, Series Latina''. In most
cultures Culture () is an umbrella term which encompasses the social behavior, institutions, and norms found in human societies, as well as the knowledge, beliefs, arts, laws, customs, capabilities, and habits of the individuals in these grou ...
, 0 was identified before the idea of negative things (i.e., quantities less than zero) was accepted.


China

The '' Sūnzĭ Suànjīng'', of unknown date but estimated to be dated from the 1st to , and Japanese records dated from the 18th century, describe how the Chinese
counting rods Counting rods () are small bars, typically 3–14 cm long, that were used by mathematicians for calculation in ancient East Asia. They are placed either horizontally or vertically to represent any integer or rational number. The written ...
system enabled one to perform decimal calculations. As noted in the ''
Xiahou Yang Suanjing ''Xiahou Yang Suanjing'' (''Xiahou Yang's Mathematical Manual'') is a mathematical treatise attributed to the fifth century CE Chinese mathematician Xiahou Yang (also known as Hsiahou Yang). However, some historians are of the opinion that ''Xiaho ...
'' (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 The ''Mathematical Treatise in Nine Sections'' () is a mathematical text written by Chinese Southern Song dynasty mathematician Qin Jiushao in the year 1247. The mathematical text has a wide range of topics and is taken from all aspects of th ...
'' is the oldest surviving Chinese mathematical text using a round symbol
0 (zero) is a number representing an empty quantity. In place-value notation such as the Hindu–Arabic numeral system, 0 also serves as a placeholder numerical digit, which works by multiplying digits to the left of 0 by the radix, usual ...
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 The Han dynasty (, ; ) was an Dynasties in Chinese history, imperial dynasty of China (202 BC – 9 AD, 25–220 AD), established by Emperor Gaozu of Han, Liu Bang (Emperor Gao) and ruled by the House of Liu. The dynasty was preceded by th ...
, as seen in ''
The Nine Chapters on the Mathematical Art ''The Nine Chapters on the Mathematical Art'' () is a Chinese mathematics book, composed by several generations of scholars from the 10th–2nd century BCE, its latest stage being from the 2nd century CE. This book is one of the earliest su ...
''.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.''"


India

Pingala Acharya Pingala ('; c. 3rd2nd century BCE) was an ancient Indian poet and mathematician, and the author of the ' (also called the ''Pingala-sutras''), the earliest known treatise on Sanskrit prosody. The ' is a work of eight chapters in the l ...
( or 2nd century BC), a
Sanskrit prosody Sanskrit prosody or Chandas refers to one of the six Vedangas, or limbs of Vedic studies.James Lochtefeld (2002), "Chandas" in The Illustrated Encyclopedia of Hinduism, Vol. 1: A-M, Rosen Publishing, , page 140 It is the study of poetic met ...
scholar, used
binary sequences Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
, in the form of short and long syllables (the latter equal in length to two short syllables), to identify the possible valid Sanskrit
meter The metre ( British spelling) or meter ( American spelling; see spelling differences) (from the French unit , from the Greek noun , "measure"), symbol m, is the primary unit of length in the International System of Units (SI), though its pr ...
, a notation similar to
Morse code Morse code is a method used in telecommunication to encode text characters as standardized sequences of two different signal durations, called ''dots'' and ''dashes'', or ''dits'' and ''dahs''. Morse code is named after Samuel Morse, one ...
. Pingala used the
Sanskrit Sanskrit (; attributively , ; nominalization, nominally , , ) is a classical language belonging to the Indo-Aryan languages, Indo-Aryan branch of the Indo-European languages. It arose in South Asia after its predecessor languages had Trans-cul ...
word '' śūnya'' explicitly to refer to zero. The concept of zero as a written digit in the decimal place value notation was developed in
India India, officially the Republic of India ( Hindi: ), is a country in South Asia. It is the seventh-largest country by area, the second-most populous country, and the most populous democracy in the world. Bounded by the Indian Ocean on the ...
. 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 The Bodleian Library () is the main research library of the University of Oxford, and is one of the oldest libraries in Europe. It derives its name from its founder, Sir Thomas Bodley. With over 13 million printed items, it is the sec ...
reported
radiocarbon dating Radiocarbon dating (also referred to as carbon dating or carbon-14 dating) is a method for determining the age of an object containing organic material by using the properties of radiocarbon, a radioactive isotope of carbon. The method was de ...
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 A birch is a thin-leaved deciduous hardwood tree of the genus ''Betula'' (), in the family Betulaceae, which also includes alders, hazels, and hornbeams. It is closely related to the beech- oak family Fagaceae. The genus ''Betula'' contains 3 ...
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 Jainism ( ), also known as Jain Dharma, is an Indian religion. Jainism traces its spiritual ideas and history through the succession of twenty-four tirthankaras (supreme preachers of ''Dharma''), with the first in the current time cycle being ...
text on
cosmology Cosmology () is a branch of physics and metaphysics dealing with the nature of the universe. The term ''cosmology'' was first used in English in 1656 in Thomas Blount's ''Glossographia'', and in 1731 taken up in Latin by German philosophe ...
surviving in a medieval Sanskrit translation of the
Prakrit The Prakrits (; sa, prākṛta; psu, 𑀧𑀸𑀉𑀤, ; pka, ) are a group of vernacular Middle Indo-Aryan languages that were used in the Indian subcontinent from around the 3rd century BCE to the 8th century CE. The term Prakrit is usu ...
original, which is internally dated to AD 458 (
Saka era The Shaka era ( IAST: Śaka, Śāka) is a historical Hindu calendar era (year numbering), the epoch (its year zero) of which corresponds to Julian year 78. The era has been widely used in different regions of India as well as in SE Asia. Hi ...
380), uses a decimal
place-value system Positional notation (or place-value notation, or positional numeral system) usually denotes the extension to any base of the Hindu–Arabic numeral system (or decimal system). More generally, a positional system is a numeral system in which th ...
, including a zero. In this text, '' śūnya'' ("void, empty") is also used to refer to zero. The ''
Aryabhatiya ''Aryabhatiya'' ( IAST: ') or ''Aryabhatiyam'' ('), a Sanskrit astronomical treatise, is the ''magnum opus'' and only known surviving work of the 5th century Indian mathematician Aryabhata. Philosopher of astronomy Roger Billard estimates that ...
'' ( 499), states ''sthānāt sthānaṁ daśaguṇaṁ syāt'' "from place to place each is ten times the preceding".''Aryabhatiya of Aryabhata'', translated by
Walter Eugene Clark Walter Eugene Clark (September 8, 1881 – September 30, 1960), was an American philologist. He was the second Wales Professor of Sanskrit at Harvard University and editor of the volumes 38-44 of the Harvard Oriental Series. He translated t ...
.
Rules governing the use of zero appeared in
Brahmagupta Brahmagupta ( – ) was an Indian mathematician and astronomer. He is the author of two early works on mathematics and astronomy: the '' Brāhmasphuṭasiddhānta'' (BSS, "correctly established doctrine of Brahma", dated 628), a theoretical tr ...
's '' Brahmasputha Siddhanta'' (7th century), which states the sum of zero with itself as zero, and incorrectly describes
division by zero In mathematics, division by zero is division where the divisor (denominator) is zero. Such a division can be formally expressed as \tfrac, where is the dividend (numerator). In ordinary arithmetic, the expression has no meaning, as there is ...
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 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 The Mekong or Mekong River is a trans-boundary river in East Asia and Southeast Asia. It is the world's twelfth longest river and the third longest in Asia. Its estimated length is , and it drains an area of , discharging of water annuall ...
,
Kratié Province Kratié (also transliterated Kracheh) may refer to: * Kratié (town), a town in Kratié Commune, Cambodia * Kratié Commune, a commune in Kratié District, Cambodia * Kratié District, a district in Kratié Province, Cambodia * Kratié Province, a p ...
,
Cambodia Cambodia (; also Kampuchea ; km, កម្ពុជា, UNGEGN: ), officially the Kingdom of Cambodia, is a country located in the southern portion of the Indochinese Peninsula in Southeast Asia, spanning an area of , bordered by Thailan ...
, includes the inscription of "605" in
Khmer numerals Khmer numerals are the numerals used in the Khmer language. They have been in use since at least the early 7th century, with the earliest known use being on a stele dated to AD 604 found in Prasat Bayang, near Angkor Borei, Cambodia. Numer ...
(a set of numeral glyphs for the
Hindu–Arabic numeral system The Hindu–Arabic numeral system or Indo-Arabic numeral system Audun HolmeGeometry: Our Cultural Heritage 2000 (also called the Hindu numeral system or Arabic numeral system) is a positional decimal numeral system, and is the most common syste ...
). The number is the year of the inscription in the
Saka era The Shaka era ( IAST: Śaka, Śāka) is a historical Hindu calendar era (year numbering), the epoch (its year zero) of which corresponds to Julian year 78. The era has been widely used in different regions of India as well as in SE Asia. Hi ...
, corresponding to a date of AD 683. The first known use of special
glyph A glyph () is any kind of purposeful mark. In typography, a glyph is "the specific shape, design, or representation of a character". It is a particular graphical representation, in a particular typeface, of an element of written language. A g ...
s 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 __NOTOC__ Chaturbhuj is a Hindu temple excavated in a rock face in the Gwalior Fort, in c875 AD, by Alla, the son of Vaillabhatta, and the grandson of Nagarabhatta a nagar brahmin in present-day Madhya Pradesh, India. One of the temples inscrip ...
, in India, dated AD 876.


Middle Ages


Transmission to Islamic culture

The
Arabic Arabic (, ' ; , ' or ) is a Semitic language spoken primarily across the Arab world.Semitic languages: an international handbook / edited by Stefan Weninger; in collaboration with Geoffrey Khan, Michael P. Streck, Janet C. E.Watson; Walte ...
-language inheritance of science was largely
Greek Greek may refer to: Greece Anything of, from, or related to Greece, a country in Southern Europe: *Greeks, an ethnic group. *Greek language, a branch of the Indo-European language family. **Proto-Greek language, the assumed last common ancestor ...
, followed by Hindu influences. In 773, at
Al-Mansur Abū Jaʿfar ʿAbd Allāh ibn Muḥammad al-Manṣūr (; ar, أبو جعفر عبد الله بن محمد المنصور‎; 95 AH – 158 AH/714 CE – 6 October 775 CE) usually known simply as by his laqab Al-Manṣūr (المنصور) ...
'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 Persian may refer to: * People and things from Iran, historically called ''Persia'' in the English language ** Persians, the majority ethnic group in Iran, not to be conflated with the Iranic peoples ** Persian language, an Iranian language of the ...
mathematician,
Muḥammad ibn Mūsā al-Khwārizmī Muhammad ( ar, مُحَمَّد;  570 – 8 June 632 CE) was an Arab religious, social, and political leader and the founder of Islam. According to Islamic doctrine, he was a prophet divinely inspired to preach and confirm the monot ...
, 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 Latin (, or , ) is a classical language belonging to the Italic branch of the Indo-European languages. Latin was originally a dialect spoken in the lower Tiber area (then known as Latium) around present-day Rome, but through the power ...
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 In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
" or "
Algorism Algorism is the technique of performing basic arithmetic by writing numbers in place value form and applying a set of memorized rules and facts to the digits. One who practices algorism is known as an algorist. This positional notation system ha ...
" started to acquire a meaning of any arithmetic based on decimals.
Muhammad ibn Ahmad al-Khwarizmi Muḥammad ibn al-ʿAbbās Abū Bakr al-Khwārazmī, better simply known as Abu Bakr al-Khwarazmi was a 10th-century Iranian poet and secretary, who throughout his long career served in the court of the Hamdanids, Samanids, Saffarids and Buyid ...
, 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 The Hindu–Arabic numeral system or Indo-Arabic numeral system Audun HolmeGeometry: Our Cultural Heritage 2000 (also called the Hindu numeral system or Arabic numeral system) is a positional decimal numeral system, and is the most common syste ...
(base 10) reached Western Europe in the 11th century, via
Al-Andalus Al-Andalus translit. ; an, al-Andalus; ast, al-Ándalus; eu, al-Andalus; ber, ⴰⵏⴷⴰⵍⵓⵙ, label= Berber, translit=Andalus; ca, al-Àndalus; gl, al-Andalus; oc, Al Andalús; pt, al-Ândalus; es, al-Ándalus () was the Mus ...
, through Spanish Muslims, the
Moors The term Moor, derived from the ancient Mauri, is an exonym first used by Christian Europeans to designate the Muslim inhabitants of the Maghreb, the Iberian Peninsula, Sicily and Malta during the Middle Ages. Moors are not a distinct o ...
, together with knowledge of
classical astronomy Astronomy is the oldest of the natural sciences, dating back to antiquity, with its origins in the religious, mythological, cosmological, calendrical, and astrological beliefs and practices of prehistory: vestiges of these are still found ...
and instruments like the
astrolabe An astrolabe ( grc, ἀστρολάβος ; ar, ٱلأَسْطُرلاب ; persian, ستاره‌یاب ) is an ancient astronomical instrument that was a handheld model of the universe. Its various functions also make it an elaborate incli ...
.
Gerbert of Aurillac Pope Sylvester II ( – 12 May 1003), originally known as Gerbert of Aurillac, was a French-born scholar and teacher who served as the bishop of Rome and ruled the Papal States from 999 to his death. He endorsed and promoted study of Arab and Gr ...
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 Fibonacci (; also , ; – ), also known as Leonardo Bonacci, Leonardo of Pisa, or Leonardo Bigollo Pisano ('Leonardo the Traveller from Pisa'), was an Italian mathematician from the Republic of Pisa, considered to be "the most talented Western ...
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 Algorism is the technique of performing basic arithmetic by writing numbers in place value form and applying a set of memorized rules and facts to the digits. One who practices algorism is known as an algorist. This positional notation system ha ...
, as well as the art of
Pythagoras Pythagoras of Samos ( grc, Πυθαγόρας ὁ Σάμιος, Pythagóras ho Sámios, Pythagoras the Samian, or simply ; in Ionian Greek; ) was an ancient Ionian Greek philosopher and the eponymous founder of Pythagoreanism. His politic ...
, I considered as almost a mistake in respect to the method of the
Hindus Hindus (; ) are people who religiously adhere to Hinduism.Jeffery D. Long (2007), A Vision for Hinduism, IB Tauris, , pages 35–37 Historically, the term has also been used as a geographical, cultural, and later religious identifier for ...
[]. 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 Euclid (; grc-gre, Εὐκλείδης; BC) was an ancient Greek mathematician active as a geometer and logician. Considered the "father of geometry", he is chiefly known for the ''Elements'' treatise, which established the foundations of ...
'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 The Italic peoples were an ethnolinguistic group identified by their use of Italic languages, a branch of the Indo-European language family. The Italic peoples are descended from the Indo-European speaking peoples who inhabited Italy from at leas ...
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 after the Persian mathematician
al-Khwārizmī Muḥammad ibn Mūsā al-Khwārizmī ( ar, محمد بن موسى الخوارزمي, Muḥammad ibn Musā al-Khwārazmi; ), or al-Khwarizmi, was a Persians, Persian polymath from Khwarazm, who produced vastly influential works in Mathematics ...
. One popular manual was written by
Johannes de Sacrobosco Johannes de Sacrobosco, also written Ioannes de Sacro Bosco, later called John of Holywood or John of Holybush ( 1195 – 1256), was a scholar, monk, and astronomer who taught at the University of Paris. He wrote a short introduction to the Hi ...
in the early 1200s and was one of the earliest scientific books to be
printed Printing is a process for mass reproducing text and images using a master form or template. The earliest non-paper products involving printing include cylinder seals and objects such as the Cyrus Cylinder and the Cylinders of Nabonidus. The ...
, 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

Today, the numerical digit 0 is usually written as a circle or ellipse. Traditionally, many print
typeface A typeface (or font family) is the design of lettering that can include variations in size, weight (e.g. bold), slope (e.g. italic), width (e.g. condensed), and so on. Each of these variations of the typeface is a font. There are thousands ...
s made the capital letter O more rounded than the narrower, elliptical digit 0.
Typewriter A typewriter is a mechanical or electromechanical machine for typing characters. Typically, a typewriter has an array of keys, and each one causes a different single character to be produced on paper by striking an inked ribbon selective ...
s 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 display device is an output device for presentation of information in visual or tactile form (the latter used for example in tactile electronic displays for blind people). When the input information that is supplied has an electrical signal the ...
. A
slashed zero The slashed zero is a representation of the Arabic digit " 0" (zero) with a slash through it. The slashed zero glyph is often used to distinguish the digit "zero" ("0") from the Latin script letter " O" anywhere that the distinction needs empha ...
(0\!\!\!) 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 The IBM 3270 is a family of block oriented display and printer computer terminals introduced by IBM in 1971 and normally used to communicate with IBM mainframes. The 3270 was the successor to the IBM 2260 display terminal. Due to the text ...
displays and has continued with some modern computer typefaces such as
Andalé Mono Andalé Mono (for technical reasons also Andale Mono) is a monospaced sans-serif typeface designed by Steve Matteson for terminal emulation and software development environments, originally for the Taligent project by Apple Inc. and IBM. Andal ...
, 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 German vehicle registration plates (german: Kraftfahrzeug-Kennzeichen or, more colloquially, ) are alphanumeric plates in a standardized format, issued officially by the district authorities to motorized vehicles of German residents. The lega ...
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 The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numera ...
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 The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers of the Hindu–Arabic numera ...
and in the
decimal representation A decimal representation of a non-negative real number is its expression as a sequence of symbols consisting of decimal digits traditionally written with a single separator: r = b_k b_\ldots b_0.a_1a_2\ldots Here is the decimal separator, ...
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

The number 0 is the smallest
nonnegative integer In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called '' cardinal ...
, and the largest nonpositive integer. The
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called '' cardinal ...
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 An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
, and hence a
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...
and a
real number In mathematics, a real number is a number that can be used to measurement, measure a ''continuous'' one-dimensional quantity such as a distance, time, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small var ...
. All rational numbers are
algebraic number An algebraic number is a number that is a root of a non-zero polynomial in one variable with integer (or, equivalently, rational) coefficients. For example, the golden ratio, (1 + \sqrt)/2, is an algebraic number, because it is a root of the p ...
s, including 0. When the real numbers are extended to form the
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s, 0 becomes the
origin Origin(s) or The Origin may refer to: Arts, entertainment, and media Comics and manga * ''Origin'' (comics), a Wolverine comic book mini-series published by Marvel Comics in 2002 * ''The Origin'' (Buffy comic), a 1999 ''Buffy the Vampire Sl ...
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 In elementary mathematics, a number line is a picture of a graduated straight line that serves as visual representation of the real numbers. Every point of a number line is assumed to correspond to a real number, and every real number to a po ...
. Zero is
even Even may refer to: General * Even (given name), a Norwegian male personal name * Even (surname) * Even (people), an ethnic group from Siberia and Russian Far East ** Even language, a language spoken by the Evens * Odd and Even, a solitaire ga ...
(that is, a multiple of 2), and is also an
integer multiple In mathematics, a multiple is the product of any quantity and an integer. In other words, for the quantities ''a'' and ''b'', it can be said that ''b'' is a multiple of ''a'' if ''b'' = ''na'' for some integer ''n'', which is called the multipli ...
of any other integer, rational, or real number. It is neither a
prime number A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only way ...
nor a
composite number A composite number is a positive integer that can be formed by multiplying two smaller positive integers. Equivalently, it is a positive integer that has at least one divisor other than 1 and itself. Every positive integer is composite, prime, ...
: 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 In mathematics, a singleton, also known as a unit set or one-point set, is a set with exactly one element. For example, the set \ is a singleton whose single element is 0. Properties Within the framework of Zermelo–Fraenkel set theory, t ...
is a prime ideal in the
ring Ring may refer to: * Ring (jewellery), a round band, usually made of metal, worn as ornamental jewelry * To make a sound with a bell, and the sound made by a bell :(hence) to initiate a telephone connection Arts, entertainment and media Film and ...
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 Addition (usually signified by the plus symbol ) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication and division. The addition of two whole numbers results in the total amount or ''sum'' of ...
: ''x'' + 0 = 0 + ''x'' = ''x''. That is, 0 is an
identity element In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures s ...
(or neutral element) with respect to addition. *
Subtraction Subtraction is an arithmetic operation that represents the operation of removing objects from a collection. Subtraction is signified by the minus sign, . For example, in the adjacent picture, there are peaches—meaning 5 peaches with 2 taken ...
: ''x'' − 0 = ''x'' and 0 − ''x'' = −''x''. *
Multiplication Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being ad ...
: ''x'' · 0 = 0 · ''x'' = 0. *
Division Division or divider may refer to: Mathematics *Division (mathematics), the inverse of multiplication *Division algorithm, a method for computing the result of mathematical division Military * Division (military), a formation typically consisting ...
: = 0, for nonzero ''x''. But is
undefined Undefined may refer to: Mathematics * Undefined (mathematics), with several related meanings ** Indeterminate form, in calculus Computing * Undefined behavior, computer code whose behavior is not specified under certain conditions * Undefin ...
, because 0 has no
multiplicative inverse In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a fraction ''a''/''b ...
(no real number multiplied by 0 produces 1), a consequence of the previous rule. *
Exponentiation Exponentiation is a mathematical operation, written as , involving two numbers, the '' base'' and the ''exponent'' or ''power'' , and pronounced as " (raised) to the (power of) ". When is a positive integer, exponentiation corresponds to re ...
: ''x''0 = = 1, except that the case ''x'' = 0 is considered undefined in some contexts. For all positive real ''x'', . The expression , which may be obtained in an attempt to determine the limit of an expression of the form as a result of applying the
lim Lim or LIM may refer to: Name * Lim (Korean surname), a common Korean surname * Lim (Chinese surname), Hokkien, Hakka, Teochew and Hainanese spelling of the Chinese family name "Lin" * Liza Lim (born 1966), Australian classical composer Abbrevi ...
operator independently to both operands of the fraction, is a so-called "
indeterminate form In calculus and other branches of mathematical analysis, limits involving an algebraic combination of functions in an independent variable may often be evaluated by replacing these functions by their limits; if the expression obtained after this s ...
". That does not mean that the limit sought is necessarily undefined; rather, it means that the limit of , if it exists, must be found by another method, such as
l'Hôpital's rule In calculus, l'Hôpital's rule or l'Hospital's rule (, , ), also known as Bernoulli's rule, is a theorem which provides a technique to evaluate limits of indeterminate forms. Application (or repeated application) of the rule often converts an ...
. The sum of 0 numbers (the ''
empty sum In mathematics, an empty sum, or nullary sum, is a summation where the number of terms is zero. The natural way to extend non-empty sums is to let the empty sum be the additive identity. Let a_1, a_2, a_3, ... be a sequence of numbers, and le ...
'') is 0, and the product of 0 numbers (the ''
empty product In mathematics, an empty product, or nullary product or vacuous product, is the result of multiplying no factors. It is by convention equal to the multiplicative identity (assuming there is an identity for the multiplication operation in questio ...
'') is 1. The
factorial In mathematics, the factorial of a non-negative denoted is the product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times (n-1) \times (n-2) ...
0! evaluates to 1, as a special case of the empty product.


Other uses in mathematics

The role of 0 as the smallest counting number can be generalized or extended in various ways. In
set theory Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly concer ...
, 0 is the
cardinality In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
of the
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in oth ...
: 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 A definition is a statement of the meaning of a term (a word, phrase, or other set of symbols). Definitions can be classified into two large categories: intensional definitions (which try to give the sense of a term), and extensional definitio ...
'' to be the empty set. When this is done, the empty set is the
von Neumann cardinal assignment The von Neumann cardinal assignment is a cardinal assignment that uses ordinal numbers. For a well-orderable set ''U'', we define its cardinal number to be the smallest ordinal number equinumerous to ''U'', using the von Neumann definition of an or ...
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 mathematics, a well-order (or well-ordering or well-order relation) on a set ''S'' is a total order on ''S'' with the property that every non-empty subset of ''S'' has a least element in this ordering. The set ''S'' together with the well-o ...
. In
order theory Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...
(and especially its subfield
lattice theory A lattice is an abstract structure studied in the mathematical subdisciplines of order theory and abstract algebra. It consists of a partially ordered set in which every pair of elements has a unique supremum (also called a least upper bou ...
), 0 may denote the
least element In mathematics, especially in order theory, the greatest element of a subset S of a partially ordered set (poset) is an element of S that is greater than every other element of S. The term least element is defined dually, that is, it is an ele ...
of a
lattice Lattice may refer to: Arts and design * Latticework, an ornamental criss-crossed framework, an arrangement of crossing laths or other thin strips of material * Lattice (music), an organized grid model of pitch ratios * Lattice (pastry), an ornam ...
or other
partially ordered set In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binar ...
. The role of 0 as additive identity generalizes beyond elementary algebra. In
abstract algebra In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures. Algebraic structures include groups, rings, fields, modules, vector spaces, lattices, and algebras over a field. The te ...
, 0 is commonly used to denote a
zero element In mathematics, a zero element is one of several generalizations of 0, the number zero to other algebraic structures. These alternate meanings may or may not reduce to the same thing, depending on the context. Additive identities An additive iden ...
, which is the
identity element In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures s ...
for addition (if defined on the structure under consideration) and an
absorbing element In mathematics, an absorbing element (or annihilating element) is a special type of element of a set with respect to a binary operation on that set. The result of combining an absorbing element with any element of the set is the absorbing element ...
for multiplication (if defined). (Such elements may also be called
zero element In mathematics, a zero element is one of several generalizations of 0, the number zero to other algebraic structures. These alternate meanings may or may not reduce to the same thing, depending on the context. Additive identities An additive iden ...
s.) Examples include identity elements of
additive group An additive group is a group of which the group operation is to be thought of as ''addition'' in some sense. It is usually abelian, and typically written using the symbol + for its binary operation. This terminology is widely used with structure ...
s and
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but ...
s. Another example is the zero function (or zero map) on a domain . This is the
constant function In mathematics, a constant function is a function whose (output) value is the same for every input value. For example, the function is a constant function because the value of is 4 regardless of the input value (see image). Basic properti ...
with 0 as its only possible output value, that is, it is the function defined by for all in . As a function from the real numbers to the real numbers, the zero function is the only function that is both
even Even may refer to: General * Even (given name), a Norwegian male personal name * Even (surname) * Even (people), an ethnic group from Siberia and Russian Far East ** Even language, a language spoken by the Evens * Odd and Even, a solitaire ga ...
and
odd Odd means unpaired, occasional, strange or unusual, or a person who is viewed as eccentric. Odd may also refer to: Acronym * ODD (Text Encoding Initiative) ("One Document Does it all"), an abstracted literate-programming format for describing X ...
. The number 0 is also used in several other ways within various branches of mathematics: * A ''
zero of a function In mathematics, a zero (also sometimes called a root) of a real-, complex-, or generally vector-valued function f, is a member x of the domain of f such that f(x) ''vanishes'' at x; that is, the function f attains the value of 0 at x, or ...
'' ''f'' is a point ''x'' in the domain of the function such that . * In
propositional logic Propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. It deals with propositions (which can be true or false) and relations ...
, 0 may be used to denote the
truth value In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or ''false''). Computing In some prog ...
false. * In
probability theory Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set o ...
, 0 is the smallest allowed value for the probability of any event. * Category theory introduces the idea of a
zero object In category theory, a branch of mathematics, an initial object of a category is an object in such that for every object in , there exists precisely one morphism . The dual notion is that of a terminal object (also called terminal element): ...
, often denoted 0, and the related concept of
zero morphism In category theory, a branch of mathematics, a zero morphism is a special kind of morphism exhibiting properties like the morphisms to and from a zero object. Definitions Suppose C is a category, and ''f'' : ''X'' → ''Y'' is a morphism in C. T ...
s, 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 Thermodynamic temperature is a quantity defined in thermodynamics as distinct from kinetic theory or statistical mechanics. Historically, thermodynamic temperature was defined by Kelvin in terms of a macroscopic relation between thermodynamic ...
(typically measured in
kelvin The kelvin, symbol K, is the primary unit of temperature in the International System of Units (SI), used alongside its prefixed forms and the degree Celsius. It is named after the Belfast-born and University of Glasgow-based engineer and ph ...
s),
zero 0 (zero) is a number representing an empty quantity. In place-value notation such as the Hindu–Arabic numeral system, 0 also serves as a placeholder numerical digit, which works by multiplying digits to the left of 0 by the radix, usu ...
is the lowest possible value. (
Negative temperature Certain systems can achieve negative thermodynamic temperature; that is, their temperature can be expressed as a negative quantity on the Kelvin or Rankine scales. This should be distinguished from temperatures expressed as negative numbers ...
s 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 The melting point (or, rarely, liquefaction point) of a substance is the temperature at which it changes state from solid to liquid. At the melting point the solid and liquid phase exist in equilibrium. The melting point of a substance depe ...
of water. Measuring sound intensity in decibels or
phon The phon is a logarithmic unit of loudness level for tones and complex sounds. Loudness is measured in sone which is a linear unit. Human sensitivity to sound is variable across different frequencies; therefore, although two different tones may ...
s, the zero level is arbitrarily set at a reference value—for example, at a value for the threshold of hearing. In
physics Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which rel ...
, the
zero-point energy Zero-point energy (ZPE) is the lowest possible energy that a quantum mechanical system may have. Unlike in classical mechanics, quantum systems constantly Quantum fluctuation, fluctuate in their lowest energy state as described by the Heisen ...
is the lowest possible energy that a
quantum mechanical Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, qu ...
physical system A physical system is a collection of physical objects. In physics, it is a portion of the physical universe chosen for analysis. Everything outside the system is known as the environment. The environment is ignored except for its effects on the ...
may possess and is the energy of the ground state of the system.


Computer science

Modern computers store information in
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
, that is, using an "alphabet" that contains only two symbols, usually chosen to be "0" and "1". Binary coding is convenient for
digital electronics Digital electronics is a field of electronics involving the study of digital signals and the engineering of devices that use or produce them. This is in contrast to analog electronics and analog signals. Digital electronic circuits are usual ...
, where "0" and "1" can stand for the absence or presence of electrical current in a wire.
Computer programmers A computer programmer, sometimes referred to as a software developer, a software engineer, a programmer or a coder, is a person who creates computer programs — often for larger computer software. A programmer is someone who writes/creates ...
typically use
high-level programming language In computer science, a high-level programming language is a programming language with strong abstraction from the details of the computer. In contrast to low-level programming languages, it may use natural language ''elements'', be easier to ...
s that are more easily intelligible to humans than the binary instructions that are directly executed by the
central processing unit A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program. The CPU performs basic arithmetic, logic, controlling, an ...
. 0 plays various important roles in high-level languages. For example, a
Boolean variable In computer science, the Boolean (sometimes shortened to Bool) is a data type that has one of two possible values (usually denoted ''true'' and ''false'') which is intended to represent the two truth values of logic and Boolean algebra. It is named ...
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 An array is a systematic arrangement of similar objects, usually in rows and columns. Things called an array include: {{TOC right Music * In twelve-tone and serial composition, the presentation of simultaneous twelve-tone sets such that the ...
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 COBOL (; an acronym for "common business-oriented language") is a compiled English-like computer programming language designed for business use. It is an imperative, procedural and, since 2002, object-oriented language. COBOL is primarily ...
. However, in the late 1950s
LISP A lisp is a speech impairment in which a person misarticulates sibilants (, , , , , , , ). These misarticulations often result in unclear speech. Types * A frontal lisp occurs when the tongue is placed anterior to the target. Interdental lispi ...
introduced
zero-based numbering Zero-based numbering is a way of numbering in which the initial element of a sequence is assigned the index 0, rather than the index 1 as is typical in everyday ''non-mathematical'' or ''non-programming'' circumstances. Under zero-base ...
for arrays while
Algol 58 ALGOL 58, originally named IAL, is one of the family of ALGOL computer programming languages. It was an early compromise design soon superseded by ALGOL 60. According to John Backus The Zurich ACM-GAMM Conference had two principal motives in p ...
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 . There can be confusion between 0- and 1-based indexing; for example, Java's
JDBC Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a client may access a database. It is a Java-based data access technology used for Java database connectivity. ...
indexes parameters from 1 although
Java Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's mo ...
itself uses 0-based indexing. In C, a
byte The byte is a unit of digital information that most commonly consists of eight bits. Historically, the byte was the number of bits used to encode a single character of text in a computer and for this reason it is the smallest addressable unit ...
containing the value 0 serves to indicate where a
string String or strings may refer to: *String (structure), a long flexible structure made from threads twisted together, which is used to tie, bind, or hang other objects Arts, entertainment, and media Films * ''Strings'' (1991 film), a Canadian anim ...
of characters ends. Also, 0 is a standard way to refer to a
null pointer In computing, a null pointer or null reference is a value saved for indicating that the pointer or reference does not refer to a valid object. Programs routinely use null pointers to represent conditions such as the end of a list of unknown lengt ...
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 In logic, a three-valued logic (also trinary logic, trivalent, ternary, or trilean, sometimes abbreviated 3VL) is any of several many-valued logic systems in which there are three truth values indicating ''true'', ''false'' and some indeterminate ...
. 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 In computing, signed number representations are required to encode negative numbers in binary number systems. In mathematics, negative numbers in any base are represented by prefixing them with a minus sign ("−"). However, in RAM or CPU regi ...
, 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 Signed zero is zero with an associated sign. In ordinary arithmetic, the number 0 does not have a sign, so that −0, +0 and 0 are identical. However, in computing, some number representations allow for the existence of two zeros, often denoted by ...
, with the latter form sometimes called negative zero. These representations include the
signed magnitude In computing, signed number representations are required to encode negative numbers in binary number systems. In mathematics, negative numbers in any base are represented by prefixing them with a minus sign ("−"). However, in RAM or CPU regi ...
and
ones' complement The ones' complement of a binary number is the value obtained by inverting all the bits in the binary representation of the number (swapping 0s and 1s). The name "ones' complement" (''note this is possessive of the plural "ones", not of a sin ...
binary integer representations (but not the
two's complement Two's complement is a mathematical operation to reversibly convert a positive binary number into a negative binary number with equivalent (but negative) value, using the binary digit with the greatest place value (the leftmost bit in big- endian ...
binary form used in most modern computers), and most
floating-point In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be ...
number representations (such as
IEEE 754 The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point arithmetic established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The standard addressed many problems found i ...
and
IBM S/390 The IBM System/390 is a discontinued mainframe product family implementing the ESA/390, the fifth generation of the System/360 instruction set architecture. The first computers to use the ESA/390 were the Enterprise System/9000 (ES/9000) ...
floating-point formats). An
epoch In chronology and periodization, an epoch or reference epoch is an instant in time chosen as the origin of a particular calendar era. The "epoch" serves as a reference point from which time is measured. The moment of epoch is usually decided by ...
, in computing terminology, is the date and time associated with a zero timestamp. The
Unix epoch Current Unix time () Unix time is a date and time representation widely used in computing. It measures time by the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, the beginning of the Unix epoch, less adjustments ...
begins the midnight before the first of January 1970. The
Classic Mac OS Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Macintosh family of personal computers by Apple Computer from 1984 to 2001, starting with System 1 and ending with Mac OS 9. Th ...
epoch and
Palm OS Palm OS (also known as Garnet OS) was a mobile operating system initially developed by Palm, Inc., for personal digital assistants (PDAs) in 1996. Palm OS was designed for ease of use with a touchscreen-based graphical user interface. It is provi ...
epoch begin the midnight before the first of January 1904. Many
APIs Apis or APIS may refer to: * Apis (deity), an ancient Egyptian god * Apis (Greek mythology), several different figures in Greek mythology * Apis (city), an ancient seaport town on the northern coast of Africa **Kom el-Hisn, a different Egyptian ci ...
and
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
s that require applications to return an integer value as an
exit status The exit status of a process in computer programming is a small number passed from a child process (or callee) to a parent process (or caller) when it has finished executing a specific procedure or delegated task. In DOS, this may be referre ...
typically use zero to indicate success and non-zero values to indicate specific
error An error (from the Latin ''error'', meaning "wandering") is an action which is inaccurate or incorrect. In some usages, an error is synonymous with a mistake. The etymology derives from the Latin term 'errare', meaning 'to stray'. In statistic ...
or warning conditions. Programmers often use a
slashed zero The slashed zero is a representation of the Arabic digit " 0" (zero) with a slash through it. The slashed zero glyph is often used to distinguish the digit "zero" ("0") from the Latin script letter " O" anywhere that the distinction needs empha ...
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 Evolution is change in the heritable characteristics of biological populations over successive generations. These characteristics are the expressions of genes, which are passed on from parent to offspring during reproduction. Variation ...
of species.


Dating systems

In the BC
calendar era A calendar era is the period of time elapsed since one '' epoch'' of a calendar and, if it exists, before the next one. For example, it is the year as per the Gregorian calendar, which numbers its years in the Western Christian era (the Copt ...
, the year 1BC is the first year before AD1; there is not a
year zero A year zero does not exist in the Anno Domini (AD) calendar year system commonly used to number years in the Gregorian calendar (nor in its predecessor, the Julian calendar); in this system, the year is followed directly by year . However, the ...
. By contrast, in
astronomical year numbering Astronomical year numbering is based on AD/ CE year numbering, but follows normal decimal integer numbering more strictly. Thus, it has a year 0; the years before that are designated with negative numbers and the years after that are designated ...
, the year 1BC is numbered 0, the year 2BC is numbered −1, and so forth.


See also

*
Grammatical number In linguistics, grammatical number is a grammatical category of nouns, pronouns, adjectives and verb agreement that expresses count distinctions (such as "one", "two" or "three or more"). English and other languages present number categories of ...
*
Mathematical constant A mathematical constant is a key number whose value is fixed by an unambiguous definition, often referred to by a symbol (e.g., an alphabet letter), or by mathematicians' names to facilitate using it across multiple mathematical problems. Cons ...
*
Number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and integer-valued functions. German mathematician Carl Friedrich Gauss (1777–1855) said, "Math ...
*
Peano axioms In mathematical logic, the Peano axioms, also known as the Dedekind–Peano axioms or the Peano postulates, are axioms for the natural numbers presented by the 19th century Italian mathematician Giuseppe Peano. These axioms have been used nearly ...


Notes


References


Bibliography

* * * * * * * *


Historical studies

* * * * *


External links


Searching for the World's First Zero



Zero Saga


*
Edsger W. Dijkstra Edsger Wybe Dijkstra ( ; ; 11 May 1930 – 6 August 2002) was a Dutch computer scientist, programmer, software engineer, systems scientist, and science essayist. He received the 1972 Turing Award for fundamental contributions to developing progra ...

Why numbering should start at zero
EWD831 (
PDF Portable Document Format (PDF), standardized as ISO 32000, is a file format developed by Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems. ...
of a handwritten manuscript) * * * {{DEFAULTSORT:0 (Number) Elementary arithmetic 00 Indian inventions