Jump to content

Decimal: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted edit by Yeawlam (talk) to last version by Favonian
 
Line 1: Line 1:
{{Short description|Number in base-10 numeral system}}
{{otheruses}}
{{Other uses}}
{{Table Numeral Systems}}
[[File:Decimal_digit.png|thumb|upright=1.2|Place value of number in decimal system]]
The '''decimal''' ('''base ten''' or occasionally '''denary''') [[numeral system]] has [[10 (number)|ten]] as its [[Base (mathematics)|base]]. It is the most widely used numeral system, perhaps because humans have ten digits over both hands.
The '''decimal''' [[numeral system]] (also called the '''base-ten''' [[positional numeral system]] and '''denary''' {{IPAc-en|ˈ|d|iː|n|ər|i}}<ref>{{OED|denary}}</ref> or '''decanary''') is the standard system for denoting [[integer]] and non-integer [[number]]s. It is the extension to non-integer numbers (''decimal fractions'') of the [[Hindu–Arabic numeral system]]. The way of denoting numbers in the decimal system is often referred to as ''decimal notation''.<ref>{{Cite book |last1=Yong |first1=Lam Lay |url=http://dx.doi.org/10.1142/5425 |title=Fleeting Footsteps |last2=Se |first2=Ang Tian |date=April 2004 |publisher=[[World Scientific]] |isbn=978-981-238-696-0 |at=268 |doi=10.1142/5425 |access-date=March 17, 2022 |archive-date=April 1, 2023 |archive-url=https://web.archive.org/web/20230401132256/https://www.worldscientific.com/worldscibooks/10.1142/5425 |url-status=live }}</ref>

A '''decimal numeral''' (also often just ''decimal'' or, less correctly, ''decimal number''), refers generally to the notation of a number in the decimal numeral system. Decimals may sometimes be identified by a [[decimal separator]] (usually "." or "," as in {{math|25.9703}} or {{math|3,1415}}).<ref name=":1">{{Cite web |last=Weisstein |first=Eric W. |date=March 10, 2022 |title=Decimal Point |url=https://mathworld.wolfram.com/DecimalPoint.html |url-status=live |access-date=March 17, 2022 |website=Wolfram MathWorld |language=en |archive-date=March 21, 2022 |archive-url=https://web.archive.org/web/20220321195047/https://mathworld.wolfram.com/DecimalPoint.html }}</ref>
''Decimal'' may also refer specifically to the digits after the decimal separator, such as in "{{math|3.14}} is the approximation of {{pi}} to ''two decimals''". Zero-digits after a decimal separator serve the purpose of signifying the precision of a value.

The numbers that may be represented in the decimal system are the [[#Decimal fractions|'''decimal fractions''']]. That is, [[fraction (mathematics)|fractions]] of the form {{math|''a''/10<sup>''n''</sup>}}, where {{math|''a''}} is an integer, and {{math|''n''}} is a [[non-negative integer]]. Decimal fractions also result from the addition of an integer and a ''[[fractional part]]''; the resulting sum sometimes is called a ''fractional number''.

Decimals are commonly used to [[approximation (mathematics)|approximate]] real numbers. By increasing the number of digits after the decimal separator, one can make the [[approximation error]]s as small as one wants, when one has a method for computing the new digits.

{{anchor|terminating decimal}}
Originally and in most uses, a decimal has only a finite number of digits after the decimal separator. However, the decimal system has been extended to ''infinite decimals'' for representing any [[real number]], by using an [[sequence (mathematics)|infinite sequence]] of digits after the decimal separator (see [[decimal representation]]). In this context, the usual decimals, with a finite number of non-zero digits after the decimal separator, are sometimes called '''terminating decimals'''. A ''[[repeating decimal]]'' is an infinite decimal that, after some place, repeats indefinitely the same sequence of digits (e.g., {{math|1=5.123144144144144... = 5.123{{overline|144}}}}).<ref>The [[Vinculum (symbol)|vinculum (overline)]] in 5.123<span style="text-decoration: overline;">144</span> indicates that the '144' sequence repeats indefinitely, i.e. {{val|5.123144144144144|s=...}}.</ref> An infinite decimal represents a [[rational number]], the [[quotient]] of two integers, if and only if it is a repeating decimal or has a finite number of non-zero digits.

==Origin==
[[File:Two hand, ten fingers.jpg|thumb|right|Ten digits on two hands, the possible origin of decimal counting|upright=1.2]]
Many [[numeral system]]s of ancient civilizations use ten and its powers for representing numbers, possibly because there are ten fingers on two hands and people started counting by using their fingers. Examples are firstly the [[Egyptian numerals]], then the [[Brahmi numerals]], [[Greek numerals]], [[Hebrew numerals]], [[Roman numerals]], and [[Chinese numerals]].<ref name=":0">{{Cite book |last=Lockhart |first=Paul |title=Arithmetic |date=2017 |publisher=The Belknap Press of Harvard University Press |isbn=978-0-674-97223-0 |location=Cambridge, Massachusetts London, England}}</ref> Very large numbers were difficult to represent in these old numeral systems, and only the best mathematicians were able to multiply or divide large numbers. These difficulties were completely solved with the introduction of the [[Hindu–Arabic numeral system]] for representing [[integer]]s. This system has been extended to represent some non-integer numbers, called ''[[#Decimal fractions|decimal fractions]]'' or ''decimal numbers'', for forming the ''decimal numeral system''.<ref name=":0" />


== Decimal notation ==
== Decimal notation ==
Decimal notation is the writing of [[number]]s in the base 10 [[numeral system]], which uses various symbols (called [[numerical digit|digits]]) for no more than ten distinct values (0, 1, 2, 3, 4, 5, 6, 7, 8 and 9) to represent any numbers, no matter how large or how small. These digits are often used with a [[decimal separator]] which indicates the start of a fractional part, and with one of the sign symbols + (positive) or − (negative) in front of the numerals to indicate sign.
There are only two truly positional decimal systems in ancient civilization, the [[Counting rods|Chinese counting rods]] system and Hindu-Arabic numeric system, both required no more
than ten symbols. Other numeric systems require more or fewer symbols.


For writing numbers, the decimal system uses ten [[decimal digit]]s, a [[decimal mark]], and, for [[negative number]]s, a [[minus sign]] "−". The decimal digits are [[0]], [[1]], [[2]], [[3]], [[4]], [[5]], [[6]], [[7]], [[8]], [[9]];<ref>In some countries, such as [[Arabic]]-speaking ones, other [[glyph]]s are used for the digits</ref> the [[decimal separator]] is the dot "{{math|.}}" in many countries (mostly English-speaking),<ref>{{Cite web|last=Weisstein|first=Eric W.|title=Decimal|url=https://mathworld.wolfram.com/Decimal.html|access-date=2020-08-22|website=mathworld.wolfram.com|language=en|archive-date=2020-03-18|archive-url=https://web.archive.org/web/20200318204545/https://mathworld.wolfram.com/Decimal.html|url-status=live}}</ref> and a comma "{{math|,}}" in other countries.<ref name=":1" />
The [[algorism|decimal system]] is a [[positional notation|positional numeral system]]; it has positions for units, tens, hundreds, ''etc.'' The position of each digit conveys the multiplier (a power of ten) to be used with that digit&mdash;each position has a value ten times that of the position to its right.


For representing a [[non-negative number]], a decimal numeral consists of
[[10 (number)|Ten]] is the number which is the count of fingers and thumbs on both hands (or toes on the feet). In many languages the word [[digit]] or its translation is also the anatomical term referring to fingers and toes. In English, decimal (decimus < [[Latin|Lat.]]) means ''tenth'', decimate means ''reduce by a tenth'', and denary (denarius < Lat.) means ''the [[Unit of measurement|unit]] of ten''.
* either a (finite) sequence of digits (such as "2017"), where the entire sequence represents an integer:
The symbols for the digits in common use around the [[globe]] today are called [[Hindu-Arabic numerals|Arabic numerals]] by Europeans and [[Indian numerals]] by Arabs, the two groups' terms both referring to the culture from which they learned the system. However, the symbols used in different areas are not identical; for instance, Western Arabic numerals (from which the European numerals are derived) differ from the forms used by other Arab cultures.
*:<math>a_ma_{m-1}\ldots a_0</math>
*or a decimal mark separating two sequences of digits (such as "20.70828")
::<math>a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n</math>.
If {{math|''m'' > 0}}, that is, if the first sequence contains at least two digits, it is generally assumed that the first digit {{math|''a''<sub>''m''</sub>}} is not zero. In some circumstances it may be useful to have one or more 0's on the left; this does not change the value represented by the decimal: for example, {{math|1=3.14 = 03.14 = 003.14}}. Similarly, if the final digit on the right of the decimal mark is zero—that is, if {{math|1=''b''<sub>''n''</sub> = 0}}—it may be removed; conversely, trailing zeros may be added after the decimal mark without changing the represented number; {{NoteTag|text=Sometimes, the extra zeros are used for indicating the [[accuracy and precision|accuracy]] of a measurement. For example, "15.00&nbsp;m" may indicate that the measurement error is less than one centimetre (0.01&nbsp;m), while "15&nbsp;m" may mean that the length is roughly fifteen metres and that the error may exceed 10&nbsp;centimetres.}} for example, {{math|1=15 = 15.0 = 15.00}} and {{math|1=5.2 = 5.20 = 5.200}}.


For representing a [[negative number]], a minus sign is placed before {{math|''a''<sub>''m''</sub>}}.
=== Alternative notations ===


The numeral <math>a_ma_{m-1}\ldots a_0.b_1b_2\ldots b_n</math> represents the number
Some cultures do, or used to, use other numeral systems, including [[pre-Columbian]] [[Mesoamerica]]n cultures such as the [[Maya numerals|Maya]], who use a [[vigesimal]] system (using all twenty fingers and [[toe]]s), some [[Nigeria]]ns who use several [[duodecimal]] (base 12) systems, the [[Babylonia]]ns, who used [[sexagesimal]] (base 60), and the [[Yuki tribe|Yuki]], who reportedly used [[Quaternary numeral system|quaternal]] (base 4).
:<math>a_m10^m+a_{m-1}10^{m-1}+\cdots+a_{0}10^0+\frac{b_1}{10^1}+\frac{b_2}{10^2}+\cdots+\frac{b_n}{10^n}</math>.
The ''[[integer part]]'' or ''integral part'' of a decimal numeral is the integer written to the left of the decimal separator (see also [[truncation]]). For a non-negative decimal numeral, it is the largest integer that is not greater than the decimal. The part from the decimal separator to the right is the ''[[fractional part]]'', which equals the difference between the numeral and its integer part.


When the integral part of a numeral is zero, it may occur, typically in [[computing]], that the integer part is not written (for example, {{math|.1234}}, instead of {{math|0.1234}}). In normal writing, this is generally avoided, because of the risk of confusion between the decimal mark and other punctuation.
[[Computer]] hardware and software systems commonly use a [[Binary numeral system|binary representation]], internally (although a few of the earliest computers, such as [[ENIAC]], did use decimal representation internally). For external use by computer specialists, this binary representation is sometimes presented in the related [[octal]] or [[hexadecimal]] systems.
For most purposes, however, binary values are converted to the equivalent decimal values for presentation to and manipulation by humans.


In brief, the contribution of each digit to the value of a number depends on its position in the numeral. That is, the decimal system is a [[positional numeral system]].
Both computer hardware and software also use internal representations which are effectively decimal for storing decimal values and doing arithmetic. Often this arithmetic is done on data which are encoded using [[binary-coded decimal]], but there are other decimal representations in use (see [[IEEE 754r]]), especially in database implementations. Decimal arithmetic is used in computers so that decimal fractional results can be computed exactly, which is not possible using a binary fractional representation.
This is often important for financial and other calculations<ref>[http://www2.hursley.ibm.com/decimal/decifaq.html Decimal Arithmetic - FAQ<!-- Bot generated title -->]</ref>.bgfbbbbf


=== Decimal fractions ===
== Decimal fractions ==
{{Table Numeral Systems}}
'''Decimal fractions''' (sometimes called '''decimal numbers''', especially in contexts involving explicit fractions) are the [[rational number]]s that may be expressed as a [[Fraction (mathematics)|fraction]] whose [[denominator]] is a [[exponentiation|power]] of ten.<ref>{{cite encyclopedia|url=https://www.encyclopediaofmath.org/index.php/Decimal_fraction|title=Decimal Fraction|encyclopedia=[[Encyclopedia of Mathematics]]|access-date=2013-06-18|archive-date=2013-12-11|archive-url=https://web.archive.org/web/20131211035917/http://www.encyclopediaofmath.org/index.php/Decimal_fraction|url-status=live}}</ref> For example, the decimal expressions <math>0.8, 14.89, 0.00079, 1.618, 3.14159</math> represent the fractions {{math|{{sfrac|4|5}}}}, {{math|{{sfrac|1489|100}}}}, {{math|{{sfrac|79|100000}}}}, {{Math|{{sfrac||809|500}}}} and {{Math|{{sfrac||314159|100000}}}}, and therefore denote decimal fractions. An example of a fraction that cannot be represented by a decimal expression (with a finite number of digits) is {{math|{{sfrac|1|3}}}}, 3 not being a power of 10.


More generally, a decimal with {{math|''n''}} digits after the [[Decimal separator|separator]] (a point or comma) represents the fraction with denominator {{math|10<sup>''n''</sup>}}, whose numerator is the integer obtained by removing the separator.
A '''decimal fraction''' is a [[Fraction (mathematics)|fraction]] where the [[denominator]] is a [[exponentiation|power]] of ten.


It follows that a number is a decimal fraction [[if and only if]] it has a finite decimal representation.
Decimal fractions are commonly expressed without a denominator, the [[decimal separator]] being inserted into the numerator (with [[leading zero]]s added if needed), at the position from the right corresponding to the power of ten of the denominator. e.g., 8/10, 83/100, 83/1000, and 8/10000 are expressed as: 0'''.'''8, 0'''.'''83, 0'''.'''083, and 0'''.'''0008. In English-speaking and many Asian countries, a period ('''.''') is used as the decimal separator; in many other languages, a comma is used.


Expressed as [[fully reduced fraction]]s, the decimal numbers are those whose denominator is a product of a power of 2 and a power of 5. Thus the smallest denominators of decimal numbers are
The '''integer part''' or '''integral part''' of a decimal number is the part to the left of the decimal separator (see also [[floor function]]). The part from the decimal separator to the right is the fractional part; if considered as a separate number, a zero is often written in front. Especially for negative numbers, we have to distinguish between the fractional part of the notation and the fractional part of the number itself, because the latter gets its own minus sign. It is usual for a decimal number whose [[absolute value]] is less than one to have a leading zero.
:<math>1=2^0\cdot 5^0, 2=2^1\cdot 5^0, 4=2^2\cdot 5^0, 5=2^0\cdot 5^1, 8=2^3\cdot 5^0, 10=2^1\cdot 5^1, 16=2^4\cdot 5^0, 20=2^2\cdot5^1, 25=2^0\cdot 5^2, \ldots</math>


===Approximation using decimal numbers===
[[Trailing zero]]s after the decimal point are not necessary, although in science, engineering and [[statistics]] they can be retained to indicate a required precision or to show a level of confidence in the accuracy of the number: Whereas 0'''.'''080 and 0'''.'''08 are numerically equal, in engineering 0'''.'''080 suggests a measurement with an error of up to 1 part in two thousand (±0'''.'''0005), while 0'''.'''08 suggests a measurement with an error of up to 1 in two hundred (see ''[[Significant figures]]'').
Decimal numerals do not allow an exact representation for all [[real number]]s. Nevertheless, they allow approximating every real number with any desired accuracy, e.g., the decimal 3.14159 approximates {{pi}}, being less than 10<sup>−5</sup> off; so decimals are widely used in [[science]], [[engineering]] and everyday life.


More precisely, for every real number {{Mvar|x}} and every positive integer {{Mvar|n}}, there are two decimals {{Mvar|''L''}} and {{Mvar|''u''}} with at most ''{{Mvar|n}}'' digits after the decimal mark such that {{Math|''L'' ≤ ''x'' ≤ ''u''}} and {{Math|1=(''u'' − ''L'') = 10<sup>−''n''</sup>}}.
=== Other rational numbers ===
Any [[rational number]] which cannot be expressed as a decimal fraction has a unique infinite decimal expansion ending with [[recurring decimal]]s.


Numbers are very often obtained as the result of [[measurement]]. As measurements are subject to [[measurement uncertainty]] with a known [[upper bound]], the result of a measurement is well-represented by a decimal with {{math|''n''}} digits after the decimal mark, as soon as the absolute measurement error is bounded from above by {{Math|10<sup>−''n''</sup>}}. In practice, measurement results are often given with a certain number of digits after the decimal point, which indicate the error bounds. For example, although 0.080 and 0.08 denote the same number, the decimal numeral 0.080 suggests a measurement with an error less than 0.001, while the numeral 0.08 indicates an absolute error bounded by 0.01. In both cases, the true value of the measured quantity could be, for example, 0.0803 or 0.0796 (see also [[significant figures]]).
Ten is the product of the first and third [[prime number]]s, is one greater than the square of the second prime number, and is one less than the fifth prime number. This leads to plenty of simple decimal fractions:


==Infinite decimal expansion==
:1/2 = 0.5
{{main|Decimal representation}}
:1/3 = 0.333333… (with 3 repeating)
:1/4 = 0.25
:1/5 = 0.2
:1/6 = 0.166666… (with 6 repeating)
:1/8 = 0.125
:1/9 = 0.111111… (with 1 repeating)
:1/10 = 0.1
:1/11 = 0.090909… (with 09 repeating)
:1/12 = 0.083333… (with 3 repeating)
:1/81 = 0.012345679012… (with 012345679 repeating)
Other prime factors in the denominator will give longer recurring [[sequence]]s, see for instance [[7 (number)|7]], [[13 (number)|13]].


For a [[real number]] {{Mvar|x}} and an integer {{Math|''n'' ≥ 0}}, let {{Math|[''x'']<sub>''n''</sub>}} denote the (finite) decimal expansion of the greatest number that is not greater than ''{{Mvar|x}}'' that has exactly {{Mvar|n}} digits after the decimal mark. Let {{Math|''d''<sub>''i''</sub>}} denote the last digit of {{Math|[''x'']<sub>''i''</sub>}}. It is straightforward to see that {{Math|[''x'']<sub>''n''</sub>}} may be obtained by appending {{Math|''d''<sub>''n''</sub>}} to the right of {{Math|[''x'']<sub>''n''−1</sub>}}. This way one has
That a rational number must have a [[finite set|finite]] or recurring decimal expansion can be seen to be a consequence of the [[long division]] [[algorithm]], in that there are only q-1 possible nonzero [[remainder]]s on division by q, so that the recurring pattern will have a period less than q. For instance to find 3/7 by long division:
:{{Math|1=[''x'']<sub>''n''</sub> = [''x'']<sub>0</sub>.''d''<sub>1</sub>''d''<sub>2</sub>...''d''<sub>''n''−1</sub>''d''<sub>''n''</sub>}},


and the difference of {{Math|[''x'']<sub>''n''−1</sub>}} and {{Math|[''x'']<sub>''n''</sub>}} amounts to
<u> .4 2 8 5 7 1 4 ..</u>.
:<math>\left\vert \left [ x \right ]_n-\left [ x \right ]_{n-1} \right\vert=d_n\cdot10^{-n}<10^{-n+1}</math>,
7 ) 3.0 0 0 0 0 0 0 0
<u> 2 8 </u> 30/7 = 4 r 2
2 0
<u> 1 4 </u> 20/7 = 2 r 6
6 0
<u> 5 6 </u> 60/7 = 8 r 4
4 0
<u> 3 5 </u> 40/7 = 5 r 5
5 0
<u> 4 9 </u> 50/7 = 7 r 1
1 0
<u> 7 </u> 10/7 = 1 r 3
3 0
<u> 2 8 </u> 30/7 = 4 r 2 (again)
2 0
etc


which is either 0, if {{Math|1=''d''<sub>''n''</sub> = 0}}, or gets arbitrarily small as ''{{Mvar|n}}'' tends to infinity. According to the definition of a [[limit (mathematics)|limit]], ''{{Mvar|x}}'' is the limit of {{Math|[''x'']<sub>''n''</sub>}} when ''{{Mvar|n}}'' tends to [[infinity]]. This is written as<math display="inline">\; x = \lim_{n\rightarrow\infty} [x]_n \;</math>or
The converse to this observation is that every [[recurring decimal]] represents a rational number ''p''/''q''. This is a consequence of the fact the recurring part of a decimal representation is, in fact, an infinite [[geometric series]] which will sum to a rational number. For instance,
: {{Math|1=''x'' = [''x'']<sub>0</sub>.''d''<sub>1</sub>''d''<sub>2</sub>...''d''<sub>''n''</sub>...}},
:<math>0.0123123123\cdots = \frac{123}{10000} \sum_{k=0}^\infty 0.001^k = \frac{123}{10000}\ \frac{1}{1-0.001} = \frac{123}{9990} = \frac{41}{3330}</math>
which is called an '''infinite decimal expansion''' of ''{{Mvar|x}}''.


Conversely, for any integer {{Math|[''x'']<sub>0</sub>}} and any sequence of digits<math display="inline">\;(d_n)_{n=1}^{\infty}</math> the (infinite) expression {{Math|[''x'']<sub>0</sub>.''d''<sub>1</sub>''d''<sub>2</sub>...''d''<sub>''n''</sub>...}} is an ''infinite decimal expansion'' of a real number ''{{Mvar|x}}''. This expansion is unique if neither all {{Math|''d''<sub>''n''</sub>}} are equal to 9 nor all {{Math|''d''<sub>''n''</sub>}} are equal to 0 for ''{{Mvar|n}}'' large enough (for all ''{{Mvar|n}}'' greater than some natural number {{Mvar|N}}).
=== Real numbers ===
{{further|[[Decimal representation]]}}


If all {{Math|''d''<sub>''n''</sub>}} for {{Math|''n'' > ''N''}} equal to 9 and {{Math|1=[''x'']<sub>''n''</sub> = [''x'']<sub>0</sub>.''d''<sub>1</sub>''d''<sub>2</sub>...''d''<sub>''n''</sub>}}, the limit of the sequence<math display="inline">\;([x]_n)_{n=1}^{\infty}</math> is the decimal fraction obtained by replacing the last digit that is not a 9, i.e.: {{Math|''d''<sub>''N''</sub>}}, by {{Math|''d''<sub>''N''</sub> + 1}}, and replacing all subsequent 9s by 0s (see [[0.999...]]).
Every [[real number]] has a (possibly infinite) decimal representation, i.e., it can be written as


Any such decimal fraction, i.e.: {{Math|1=''d''<sub>''n''</sub> = 0}} for {{Math|''n'' > ''N''}}, may be converted to its equivalent infinite decimal expansion by replacing {{Math|''d''<sub>''N''</sub>}} by {{Math|''d''<sub>''N''</sub> − 1}} and replacing all subsequent 0s by 9s (see [[0.999...]]).
:<math> x = \mathop{\rm sign}(x) \sum_{i\in\mathbb Z} a_i\,10^i</math>
where
* sign() is the [[sign function]],
* ''a<sub>i</sub>'' ∈ { 0,1,…,9 } for all ''i'' ∈ '''Z''', are its '''decimal digits''', equal to zero for all ''i'' greater than some number (that number being the [[common logarithm]] of |x|).


In summary, every real number that is not a decimal fraction has a unique infinite decimal expansion. Each decimal fraction has exactly two infinite decimal expansions, one containing only 0s after some place, which is obtained by the above definition of {{Math|[''x'']<sub>''n''</sub>}}, and the other containing only 9s after some place, which is obtained by defining {{Math|[''x'']<sub>''n''</sub>}} as the greatest number that is ''less'' than {{Mvar|x}}, having exactly ''{{Mvar|n}}'' digits after the decimal mark.
Such a sum converges as ''i'' decreases, even if there are infinitely many nonzero ''a<sub>i</sub>''.


=== Rational numbers ===
[[Rational number]]s (e.g. p/q) with [[prime factor]]s in the denominator other than 2 and 5 (when reduced to simplest terms) have a unique [[recurring decimal]] representation.
{{main|Repeating decimal}}


[[Long division]] allows computing the infinite decimal expansion of a [[rational number]]. If the rational number is a [[#decimal fraction|decimal fraction]], the division stops eventually, producing a decimal numeral, which may be prolongated into an infinite expansion by adding infinitely many zeros. If the rational number is not a decimal fraction, the division may continue indefinitely. However, as all successive remainders are less than the divisor, there are only a finite number of possible remainders, and after some place, the same sequence of digits must be repeated indefinitely in the quotient. That is, one has a ''repeating decimal''. For example,
Consider those rational numbers which have only the factors 2 and 5 in the denominator, i.e. which can be written as p/(2<sup>a</sup>5<sup>b</sup>). In this case there is a terminating decimal representation. For instance 1/1=1, 1/2=0.5, 3/5=0.6, 3/25=0.12 and 1306/1250=1.0448. Such numbers are the only real numbers which don't have a unique decimal representation, as they can also be written as a representation that has a recurring 9, for instance 1=0.99999…, 1/2=0.499999…, etc.
:{{sfrac|81}} = 0.{{thin space}}012345679{{thin space}}012... (with the group 012345679 indefinitely repeating).


This leaves the [[irrational number]]s. They also have unique infinite decimal representation, and can be characterised as the numbers whose decimal representations neither terminate nor recur.
The converse is also true: if, at some point in the decimal representation of a number, the same string of digits starts repeating indefinitely, the number is rational.
{|
|-
|For example, if ''x'' is || {{figure space|6}}0.4156156156...
|-
|then 10,000''x'' is || {{figure space|3}}4156.156156156...
|-
|and 10''x'' is|| {{figure space|6}}4.156156156...
|-
|so 10,000''x'' − 10''x'', i.e. 9,990''x'', is||{{figure space|3}}4152.000000000...
|-
|and ''x'' is|| {{figure space|3}}{{sfrac|4152|9990}}
|}
or, dividing both numerator and denominator by 6, {{sfrac|692|1665}}.


== Decimal computation ==
So in general the decimal representation is unique, if one excludes representations that end in a recurring 9.


[[File:Decimal multiplication table.JPG|thumb|right|300px|Diagram of the world's earliest known multiplica&shy;tion table ({{circa|305 BCE}}) from the [[Warring States period]]]]
Naturally, the same [[trichotomy]] holds for other base-n [[Positional notation|positional numeral system]]s:
* Terminating representation: rational where the denominator divides some n<sup>k</sup>
* Recurring representation: other rational
* Non-terminating, non-recurring representation: irrational
and a version of this even holds for irrational-base numeration systems, such as [[golden mean base]] representation.


Most modern [[computer]] hardware and software systems commonly use a [[Binary numeral system|binary representation]] internally (although many early computers, such as the [[ENIAC]] or the [[IBM 650]], used decimal representation internally).<ref>"Fingers or Fists? (The Choice of Decimal or Binary Representation)", [[Werner Buchholz]], ''Communications of the ACM'', Vol. 2 #12, pp. 3–11, ACM Press, December 1959.</ref>
==History==
For external use by computer specialists, this binary representation is sometimes presented in the related [[octal]] or [[hexadecimal]] systems.
The modern number system originated in [[India]].<ref name=irfah346>Ifrah, page 346</ref> Other cultures discovered a few features of this number system but the system, in its entirety, was compiled in India, where it attained coherence and completion.<ref name=irfah346/> By the 9th century CE, this complete number system had existed in India but several of its ideas were transmitted to China and the Islamic world before that time.<ref name=ebcal>Britannica Concise Encyclopedia (2007). ''algebra''</ref>


For most purposes, however, binary values are converted to or from the equivalent decimal values for presentation to or input from humans; computer programs express literals in decimal by default. (123.1, for example, is written as such in a computer program, even though many computer languages are unable to encode that number precisely.)
There follows a chronological list of recorded decimal writers.
===Decimal writers===
* ''c.'' 3500 - 2500 BC [[Elamite Empire|Elamites]] of [[Iran]] possibly used early forms of decimal system.<ref>[http://www.chn.ir/english/eshownews.asp?no=1622] {{Dead link|date=July 2008}}</ref><ref>[http://www.mpiwg-berlin.mpg.de/Preprints/P183.PDF TEXT20010821_MPIFW HOME<!-- Bot generated title -->]</ref>
* ''c.'' 2900 BC [[Egypt]]ian hieroglyphs show counting in powers of 10 (1 million + 400,000 goats, ''etc.'') &ndash; see Ifrah, below
* ''c.'' 2600 BC [[Indus Valley Civilization]], earliest known physical use of decimal [[fractions]] in ancient weight system: 1/20, 1/10, 1/5, 1/2. See [[Ancient Indus Valley weights and measures]]
* ''c.'' 1300 BC [[History of China|Chinese]] writers show familiarity with the concept: for example, 547 is written 'Five hundred plus four decades plus seven of days' on an inscription of an [[oracle bone]]<ref>Temple, Robert. (1986). ''The Genius of China: 3,000 Years of Science, Discovery, and Invention''. With a forward by Joseph Needham. New York: Simon and Schuster, Inc. ISBN 0671620282. Page 139.</ref>
* ''c.'' 1200 BC In [[History of India|ancient India]], the [[Vedas|Vedic]] text ''[[Yajur-Veda]]'' states the [[Exponentiation|powers]] of 10, up to 10<sup>55</sup>
* ''c.'' 400 BC [[Pingala]] &ndash; develops the binary number system for Sanskrit prosody, with a clear mapping to the base-10 decimal system
* ''c.'' 250 BC [[Archimedes]] writes the ''[[Sand Reckoner]]'', which takes decimal calculation up to 10<sup>80,000,000,000,000,000</sup>
* ''c.'' 100&ndash;200 The ''[[Indian mathematics#Satkhandagama|Satkhandagama]]'' written in [[India]] &ndash; earliest use of decimal logarithms
* ''c.'' 476&ndash;550 [[Aryabhata]] &ndash; uses an alphabetic cipher system for numbers that used zero
* ''c.'' 598&ndash;670 [[Brahmagupta]] &ndash; explains the [[Hindu-Arabic numerals]] (modern number system) which uses decimal [[integer]]s, [[negative]] integers, and [[0 (number)|zero]]
* ''c.'' 780&ndash;850 [[Muḥammad ibn Mūsā al-Ḵwārizmī]] &ndash; first to expound on [[algorism]] outside [[India]]
* ''c.'' 920&ndash;980 [[Al-Uqlidisi|Abu'l Hasan Ahmad ibn Ibrahim Al-Uqlidisi]] &ndash; earliest known direct mathematical treatment of decimal fractions.
* ''c.'' 1300&ndash;1500 The [[Kerala School]] in [[South India]] &ndash; decimal [[floating point]] numbers
* 1548/49&ndash;1620 [[Simon Stevin#Decimal fractions|Simon Stevin]] &ndash; author of ''De Thiende'' ('the tenth')
*1561&ndash;1613 [[Bartholemaeus Pitiscus]] &ndash; (possibly) decimal point notation.
* 1550&ndash;1617 [[John Napier]] &ndash; use of decimal logarithms as a computational tool
* 1765 [[Johann Heinrich Lambert]] &ndash; discusses (with few if any proofs) patterns in decimal expansions of rational numbers and notes a connection with Fermat's little theorem in the case of prime denominators
*1800 [[Karl Friedrich Gauss]] &ndash; uses number theory to systematically explain patterns in recurring decimal expansions of rational numbers (e.g., the relation between period length of the recurring part and the denominator, which fractions with the same denominator have recurring decimal parts which are shifts of each other, like 1/7 and 2/7) and also poses questions which remain open to this day (e.g., a special case of [[Artin's conjecture on primitive roots]]: is 10 a generator modulo ''p'' for infinitely many primes ''p''?).
*1925 [[Louis Charles Karpinski]] &ndash; ''The History of Arithmetic'' <ref>''The History of Arithmetic'', [[Louis Charles Karpinski]], 200pp, Rand McNally & Company, 1925. </ref>
*1959 [[Werner Buchholz]] &ndash; ''Fingers or Fists? (The Choice of Decimal or Binary representation)''<ref>''Fingers or Fists? (The Choice of Decimal or Binary representation)'', [[Werner Buchholz]], Communications of the ACM, Vol. 2 #12, pp3–11, ACM Press, December 1959.</ref>
*1974 [[Hermann Schmid]] &ndash; ''Decimal Computation''<ref>''Decimal Computation'', [[Hermann Schmid]], John Wiley & Sons 1974 (ISBN 047176180X); reprinted in 1983 by Robert E. Krieger Publishing Company (ISBN 0898743184)</ref>
*2000 [[Georges Ifrah]] &ndash; ''The Universal History of Numbers: From Prehistory to the Invention of the Computer''<ref>''Histoire universelle des chiffres'', [[Georges Ifrah]], Robert Laffont, 1994 (The Universal History of Numbers: From prehistory to the invention of the computer, [[Georges Ifrah]], John Wiley and Sons Inc., 2000. Translated from the French by David Bellos, E.F. Harding, Sophie Wood and Ian Monk)</ref>
*2003 [[Mike Cowlishaw]] &ndash; ''Decimal Floating-Point: Algorism for Computers''<ref>''Decimal Floating-Point: Algorism for Computers'', [[Mike Cowlishaw|Cowlishaw, M. F.]], Proceedings 16th IEEE Symposium on Computer Arithmetic, ISBN 0-7695-1894-X, pp104-111, IEEE Comp. Soc., June 2003</ref>.


Both computer hardware and software also use internal representations which are effectively decimal for storing decimal values and doing arithmetic. Often this arithmetic is done on data which are encoded using some variant of [[binary-coded decimal]],<ref name="Schmid_1983">{{cite book |title=Decimal Computation |first=Hermann |author=Schmid<!-- General Electric Company, Binghamton, New York, US --> |author-link=Hermann Schmid (computer scientist) |orig-year=1974 |date=1983 |edition=1 (reprint) |publisher=Robert E. Krieger Publishing Company |location=Malabar, Florida |isbn=0-89874-318-4}}</ref><ref name="Schmid_1974">{{cite book |title=Decimal Computation |first=Hermann |author=Schmid<!-- General Electric Company, Binghamton, New York, USA --> |author-link=Hermann Schmid (computer scientist) |date=1974 |edition=1st |publisher=[[John Wiley & Sons]] |location=Binghamton, New York|isbn=0-471-76180-X |url-access=registration |url=https://archive.org/details/decimalcomputati0000schm }}</ref> especially in database implementations, but there are other decimal representations in use (including [[decimal floating point]] such as in newer revisions of the [[IEEE 754|IEEE 754 Standard for Floating-Point Arithmetic]]).<ref>''Decimal Floating-Point: Algorism for Computers'', [[Mike Cowlishaw|Cowlishaw, Mike F.]], Proceedings [[16th IEEE Symposium on Computer Arithmetic]], {{isbn|0-7695-1894-X}}, pp. 104–11, IEEE Comp. Soc., 2003</ref>
==Natural languages==
A straightforward decimal system, in which 11 is expressed as ''ten-one'' and 23 as ''two-ten-three'', is found in [[Chinese language]]s except [[Wu (linguistics)|Wu]], and in [[Vietnamese language|Vietnamese]] with a few irregularities. [[Japanese language|Japanese]], [[Korean language|Korean]], and [[Thai language|Thai]] have imported the Chinese decimal system. Many other languages with a decimal system have special words for the numbers between 10 and 20, and decades.


Decimal arithmetic is used in computers so that decimal fractional results of adding (or subtracting) values with a fixed length of their fractional part always are computed to this same length of precision. This is especially important for financial calculations, e.g., requiring in their results integer multiples of the smallest currency unit for book keeping purposes. This is not possible in binary, because the negative powers of <math>10</math> have no finite binary fractional representation; and is generally impossible for multiplication (or division).<ref>{{Cite web |url=http://speleotrove.com/decimal/decifaq.html |title=Decimal Arithmetic – FAQ<!-- Bot generated title --> |access-date=2008-08-15 |archive-date=2009-04-29 |archive-url=https://web.archive.org/web/20090429044324/http://speleotrove.com/decimal/decifaq.html |url-status=live }}</ref><ref>[http://www.dec.usc.es/arith16/papers/paper-107.pdf Decimal Floating-Point: Algorism for Computers] {{Webarchive|url=https://web.archive.org/web/20031116234555/http://www.dec.usc.es/arith16/papers/paper-107.pdf |date=2003-11-16 }}, [[Cowlishaw]], M. F., ''Proceedings [[16th IEEE Symposium on Computer Arithmetic]]'' ([http://www.dec.usc.es/arith16/ ARITH&nbsp;16] {{Webarchive|url=https://web.archive.org/web/20100819005155/http://www.dec.usc.es/arith16/ |date=2010-08-19 }}), {{isbn|0-7695-1894-X}}, pp.&nbsp;104–11, IEEE Comp. Soc., June 2003</ref> See [[Arbitrary-precision arithmetic]] for exact calculations.
Incan languages such as [[Quechua]] and [[Aymara language|Aymara]] have an almost straightforward decimal system, in which 11 is expressed as ''ten with one'' and 23 as ''two-ten with three''.


== History ==
Some psychologists suggest irregularities of numerals in a language may hinder children's counting ability<ref>{{citation| last=Azar| first=Beth| year=1999| title=English words may hinder math skills development| url=http://www.apa.org/monitor/apr99/english.html |journal=American Psychology Association Monitor| volume=30| issue=4}}.</ref>.
[[File:Qinghuajian, Suan Biao.jpg|thumb|upright|The world's earliest decimal multiplication table was made from bamboo slips, dating from 305 BCE, during the [[Warring States]] period in China.]]
Many ancient cultures calculated with numerals based on ten, perhaps because two human hands have ten fingers.<ref>{{citation|first=Tobias|last=Dantzig|title=Number / The Language of Science |edition=4th |year=1954|publisher=The Free Press (Macmillan Publishing Co.) |isbn=0-02-906990-4|page=12}}</ref> Standardized weights used in the [[Indus Valley Civilisation]] ({{circa|3300–1300 BCE}}) were based on the ratios: 1/20, 1/10, 1/5, 1/2, 1, 2, 5, 10, 20, 50, 100, 200, and 500, while their standardized ruler – the ''Mohenjo-daro ruler'' – was divided into ten equal parts.<ref>Sergent, Bernard (1997), ''Genèse de l'Inde'' (in French), Paris: Payot, p. 113, {{ISBN|2-228-89116-9}}</ref><ref>{{cite journal | last1 = Coppa | first1 = A. | display-authors = etal | year = 2006 | title = Early Neolithic tradition of dentistry: Flint tips were surprisingly effective for drilling tooth enamel in a prehistoric population | bibcode = 2006Natur.440..755C | journal = Nature | volume = 440 | issue = 7085| pages = 755–56 | doi = 10.1038/440755a | pmid = 16598247 | s2cid = 6787162 }}</ref><ref>Bisht, R. S. (1982), "Excavations at Banawali: 1974–77", in Possehl, Gregory L. (ed.), Harappan ''Civilisation: A Contemporary Perspective'', New Delhi: Oxford and IBH Publishing Co., pp. 113–24</ref> [[Egyptian hieroglyphs]], in evidence since around 3000 BCE, used a purely decimal system,<ref>Georges Ifrah: ''From One to Zero. A Universal History of Numbers'', Penguin Books, 1988, {{isbn|0-14-009919-0}}, pp.&nbsp;200–13 (Egyptian Numerals)</ref> as did the [[Linear A]] script ({{circa|1800–1450 BCE}}) of the [[Minoan civilization|Minoans]]<ref>Graham Flegg: Numbers: their history and meaning, Courier Dover Publications, 2002, {{isbn|978-0-486-42165-0}}, p.&nbsp;50</ref><ref>Georges Ifrah: ''From One to Zero. A Universal History of Numbers'', Penguin Books, 1988, {{isbn|0-14-009919-0}}, pp. 213–18 (Cretan numerals)</ref> and the [[Linear B]] script (c. 1400–1200 BCE) of the [[Mycenaean Greece|Mycenaeans]]. The [[Únětice culture]] in central Europe (2300-1600 BC) used standardised weights and a decimal system in trade.<ref>{{cite book |last1=Krause |first1=Harald |url=https://www.academia.edu/34550316 |title=Spangenbarrenhort Oberding |last2=Kutscher |first2=Sabrina |date=2017 |publisher=Museum Erding |isbn=978-3-9817606-5-1 |pages=238–243 |chapter=Spangenbarrenhort Oberding: Zusammenfassung und Ausblick}}</ref> The number system of [[classical Greece]] also used powers of ten, including an intermediate base of 5, as did [[Roman numerals]].<ref name="Greek numerals">{{Cite web |url=http://www-history.mcs.st-and.ac.uk/HistTopics/Greek_numbers.html |title=Greek numbers |access-date=2019-07-21 |archive-date=2019-07-21 |archive-url=https://web.archive.org/web/20190721085640/http://www-history.mcs.st-and.ac.uk/HistTopics/Greek_numbers.html |url-status=live }}</ref> Notably, the polymath [[Archimedes]] (c. 287–212 BCE) invented a decimal positional system in his [[The Sand Reckoner|Sand Reckoner]] which was based on 10<sup>8</sup>.<ref name="Greek numerals"/><ref>[[Karl Menninger (mathematics)|Menninger, Karl]]: ''Zahlwort und Ziffer. Eine Kulturgeschichte der Zahl'', Vandenhoeck und Ruprecht, 3rd. ed., 1979, {{isbn|3-525-40725-4}}, pp.&nbsp;150–53</ref> [[Hittites|Hittite]] hieroglyphs (since 15th century BCE) were also strictly decimal.<ref>Georges Ifrah: ''From One to Zero. A Universal History of Numbers'', Penguin Books, 1988, {{isbn|0-14-009919-0}}, pp. 218f. (The Hittite hieroglyphic system)</ref>


The Egyptian hieratic numerals, the Greek alphabet numerals, the Hebrew alphabet numerals, the Roman numerals, the Chinese numerals and early Indian Brahmi numerals are all non-positional decimal systems, and required large numbers of symbols. For instance, Egyptian numerals used different symbols for 10, 20 to 90, 100, 200 to 900, 1000, 2000, 3000, 4000, to 10,000.<ref>[[Lam Lay Yong]] et al. The Fleeting Footsteps pp. 137–39</ref>
==See also==
The world's earliest positional decimal system was the Chinese [[rod calculus]].<ref name=Lam/>
<div style="-moz-column-count:2; column-count:2;">
[[File:Chounumerals.svg|thumb|right|280px|The world's earliest positional decimal system<br /> Upper row vertical form<br /> Lower row horizontal form]]

=== History of decimal fractions ===
[[File:Rod fraction.jpg|thumb|right|150px|counting rod decimal fraction 1/7]]
Starting from the 2nd century BCE, some Chinese units for length were based on divisions into ten; by the 3rd century CE these metrological units were used to express decimal fractions of lengths, non-positionally.<ref name=jnfractn1>{{Cite book | author=Joseph Needham | author-link=Joseph Needham | chapter = 19.2 Decimals, Metrology, and the Handling of Large Numbers |pages=82–90 | title = Science and Civilisation in China |volume=III, "Mathematics and the Sciences of the Heavens and the Earth" | title-link=Science and Civilisation in China | year = 1959 | publisher = Cambridge University Press}}</ref> Calculations with decimal fractions of lengths were [[Rod calculus#Decimal fraction|performed using positional counting rods]], as described in the 3rd–5th century CE ''[[Sunzi Suanjing]]''. The 5th century CE mathematician [[Zu Chongzhi]] calculated a 7-digit [[approximations of π|approximation of {{mvar|π}}]]. [[Qin Jiushao]]'s book ''[[Mathematical Treatise in Nine Sections]]'' (1247) explicitly writes a decimal fraction representing a number rather than a measurement, using counting rods.<ref>Jean-Claude Martzloff, A History of Chinese Mathematics, Springer 1997 {{isbn|3-540-33782-2}}</ref> The number 0.96644 is denoted

:{{lang|zh|寸}}
:[[File:Counting rod 0.png|frameless|18px]] [[File:Counting rod h9 num.png|frameless|18px]] [[File:Counting rod v6.png|frameless|18px]] [[File:Counting rod h6.png|frameless|18px]] [[File:Counting rod v4.png|frameless|18px]] [[File:Counting rod h4.png|frameless|18px]].

Historians of Chinese science have speculated that the idea of decimal fractions may have been transmitted from China to the Middle East.<ref name=Lam>[[Lam Lay Yong]], "The Development of Hindu–Arabic and Traditional Chinese Arithmetic", ''Chinese Science'', 1996 p. 38, Kurt Vogel notation</ref>

[[Al-Khwarizmi]] introduced fractions to Islamic countries in the early 9th century CE, written with a numerator above and denominator below, without a horizontal bar. This form of fraction remained in use for centuries.<ref name=Lam/><ref>{{cite journal | last1 = Lay Yong | first1 = Lam | author-link = Lam Lay Yong | title = A Chinese Genesis, Rewriting the history of our numeral system | journal = Archive for History of Exact Sciences | volume = 38 | pages = 101–08 }}</ref>

Positional decimal fractions appear for the first time in a book by the Arab mathematician [[Abu'l-Hasan al-Uqlidisi]] written in the 10th century.<ref name=Berggren>{{cite book | first=J. Lennart | last=Berggren | title=The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook | chapter=Mathematics in Medieval Islam |editor-first=Victor J.|editor-last=Katz|publisher=Princeton University Press | year=2007 | isbn=978-0-691-11485-9 | page=530 }}</ref> The Jewish mathematician [[Immanuel Bonfils]] used decimal fractions around 1350 but did not develop any notation to represent them.<ref>[[Solomon Gandz|Gandz, S.]]: The invention of the decimal fractions and the application of the exponential calculus by Immanuel Bonfils of Tarascon (c. 1350), Isis 25 (1936), 16–45.</ref> The Persian mathematician [[Jamshid al-Kashi]] used, and claimed to have discovered, decimal fractions in the 15th century.<ref name=Berggren />

<div style="float: right;">[[File:Stevin-decimal notation.svg]]</div>
A forerunner of modern European decimal notation was introduced by [[Simon Stevin]] in the 16th century. Stevin's influential booklet ''[[De Thiende]]'' ("the art of tenths") was first published in Dutch in 1585 and translated into French as ''La Disme''.<ref name=van>{{Cite book | author = B. L. van der Waerden | author-link = Bartel Leendert van der Waerden | year = 1985 | title = A History of Algebra. From Khwarizmi to Emmy Noether | publisher = Springer-Verlag | place = Berlin}}</ref>

[[John Napier]] introduced using the period (.) to separate the integer part of a decimal number from the fractional part in his book on constructing tables of logarithms, published posthumously in 1620.<ref name=constructionIA>{{cite book|title=[[Commons:File:The_Construction_of_the_Wonderful_Canon_of_Logarithms.djvu|The Construction of the Wonderful Canon of Logarithms]]|first=John|last=Napier|translator-last1=Macdonald|translator-first1= William Rae|date=1889|orig-date=1620|publisher=Blackwood & Sons|publication-place=Edinburgh|via=Internet Archive|quote=In numbers distinguished thus by a period in their midst, whatever is written after the period is a fraction, the denominator of which is unity with as many cyphers after it as there are figures after the period.}}</ref>{{rp|p. 8, archive p. 32)}}

=== Natural languages ===
A method of expressing every possible [[natural number]] using a set of ten symbols emerged in India.<ref>{{cite web |url=https://mathshistory.st-andrews.ac.uk/HistTopics/Indian_numerals/ |title=Indian numerals|work=Ancient Indian mathematics }}</ref> Several Indian languages show a straightforward decimal system. [[Dravidian languages]] have numbers between 10 and 20 expressed in a regular pattern of addition to 10.<ref>{{Citation |title=Appendix:Cognate sets for Dravidian languages |date=2024-09-25 |work=Wiktionary, the free dictionary |url=https://en.wiktionary.org/wiki/Appendix:Cognate_sets_for_Dravidian_languages |access-date=2024-11-09 |language=en}}</ref>

The [[Hungarian language]] also uses a straightforward decimal system. All numbers between 10 and 20 are formed regularly (e.g. 11 is expressed as "tizenegy" literally "one on ten"), as with those between 20 and 100 (23 as "huszonhárom" = "three on twenty").

A straightforward decimal rank system with a word for each order (10 {{lang|zh|十}}, 100 {{lang|zh|百}}, 1000 {{lang|zh|千}}, 10,000 {{lang|zh|万}}), and in which 11 is expressed as ''ten-one'' and 23 as ''two-ten-three'', and 89,345 is expressed as 8 (ten thousands) {{lang|zh|万}} 9 (thousand) {{lang|zh|千}} 3 (hundred) {{lang|zh|百}} 4 (tens) {{lang|zh|十}} 5 is found in [[Chinese language|Chinese]], and in [[Vietnamese language|Vietnamese]] with a few irregularities. [[Japanese language|Japanese]], [[Korean language|Korean]], and [[Thai language|Thai]] have imported the Chinese decimal system. Many other languages with a decimal system have special words for the numbers between 10 and 20, and decades. For example, in English 11 is "eleven" not "ten-one" or "one-teen".

Incan languages such as [[Quechuan languages|Quechua]] and [[Aymara language|Aymara]] have an almost straightforward decimal system, in which 11 is expressed as ''ten with one'' and 23 as ''two-ten with three''.

Some psychologists suggest irregularities of the English names of numerals may hinder children's counting ability.<ref>{{Cite journal| last=Azar| first=Beth| year=1999| title=English words may hinder math skills development| url=http://www.apa.org/monitor/apr99/english.html |journal=American Psychological Association Monitor| volume=30| issue=4 |archive-url = https://web.archive.org/web/20071021015527/http://www.apa.org/monitor/apr99/english.html |archive-date = 2007-10-21}}</ref>

=== Other bases ===
{{main | Positional notation}}
{{Fundamental info units}}
Some cultures do, or did, use other bases of numbers.
* [[Pre-Columbian]] [[Mesoamerica]]n cultures such as the [[Maya numerals|Maya]] used a [[vigesimal|base-20]] system (perhaps based on using all twenty fingers and [[toe]]s).
* The [[Yuki tribe|Yuki]] language in [[California]] and the Pamean languages<ref>{{Cite journal
| last=Avelino
| first=Heriberto
| title=The typology of Pame number systems and the limits of Mesoamerica as a linguistic area
| journal=Linguistic Typology
| year=2006
| volume=10
| issue=1
| pages=41–60
| url=http://linguistics.berkeley.edu/~avelino/Avelino_2006.pdf |archive-url=https://web.archive.org/web/20060712201924/http://www.linguistics.berkeley.edu/~avelino/Avelino_2006.pdf |archive-date=2006-07-12 |url-status=live
| doi=10.1515/LINGTY.2006.002
| s2cid=20412558
}}</ref> in [[Mexico]] have [[octal]] ([[radix|base]]-8) systems because the speakers count using the spaces between their fingers rather than the fingers themselves.<ref>{{cite news|jstor=2686959|title=Ethnomathematics: A Multicultural View of Mathematical Ideas|author=Marcia Ascher|author-link= Marcia Ascher |publisher=The College Mathematics Journal}}</ref>
* The existence of a non-decimal base in the earliest traces of the Germanic languages is attested by the presence of words and glosses meaning that the count is in decimal (cognates to "ten-count" or "tenty-wise"); such would be expected if normal counting is not decimal, and unusual if it were.<ref>{{citation
| last = McClean | first = R. J.
| date = July 1958
| doi = 10.1111/j.1468-0483.1958.tb00018.x
| issue = 4
| journal = German Life and Letters
| quote = Some of the Germanic languages appear to show traces of an ancient blending of the decimal with the vigesimal system
| pages = 293–99
| title = Observations on the Germanic numerals
| volume = 11}}.</ref><ref>{{citation
| last = Voyles | first = Joseph
| date = October 1987
| issue = 4
| journal = The Journal of English and Germanic Philology
| jstor = 27709904
| pages = 487–95
| title = The cardinal numerals in pre-and proto-Germanic
| volume = 86}}.</ref> Where this counting system is known, it is based on the "[[long hundred]]" = 120, and a "long thousand" of 1200. The descriptions like "long" only appear after the "small hundred" of 100 appeared with the Christians. Gordon's [https://www.scribd.com/doc/49127454/Introduction-to-Old-Norse-by-E-V-Gordon Introduction to Old Norse] {{Webarchive|url=https://web.archive.org/web/20160415205641/https://www.scribd.com/doc/49127454/Introduction-to-Old-Norse-by-E-V-Gordon |date=2016-04-15 }} p.&nbsp;293, gives number names that belong to this system. An expression cognate to 'one hundred and eighty' translates to 200, and the cognate to 'two hundred' translates to 240. [http://ads.ahds.ac.uk/catalogue/adsdata/arch-352-1/dissemination/pdf/vol_123/123_395_418.pdf Goodare]{{Dead link|date=January 2024 |bot=InternetArchiveBot |fix-attempted=yes }} details the use of the long hundred in Scotland in the Middle Ages, giving examples such as calculations where the carry implies i C (i.e. one hundred) as 120, etc. That the general population were not alarmed to encounter such numbers suggests common enough use. It is also possible to avoid hundred-like numbers by using intermediate units, such as stones and pounds, rather than a long count of pounds. Goodare gives examples of numbers like vii score, where one avoids the hundred by using extended scores. There is also a paper by W.H. Stevenson, on 'Long Hundred and its uses in England'.<ref>{{Cite journal|last=Stevenson|first=W.H.|date=1890|title=The Long Hundred and its uses in England|journal=Archaeological Review|volume=December 1889|pages=313–22}}</ref><ref>{{Cite book|last=Poole, Reginald Lane|title=The Exchequer in the twelfth century : the Ford lectures delivered in the University of Oxford in Michaelmas term, 1911|date=2006|publisher=Lawbook Exchange|isbn=1-58477-658-7|location=Clark, NJ|oclc=76960942}}</ref>
* Many or all of the [[Chumashan languages]] originally used a [[quaternary numeral system|base-4]] counting system, in which the names for numbers were structured according to multiples of 4 and [[hexadecimal|16]].<ref>There is a surviving list of [[Ventureño language]] number words up to 32 written down by a Spanish priest ca. 1819. "Chumashan Numerals" by Madison S. Beeler, in ''Native American Mathematics'', edited by Michael P. Closs (1986), {{isbn|0-292-75531-7}}.</ref>
* Many languages<ref name="Hammarstrom 2010">{{Cite book
| contribution=Rarities in Numeral Systems
| first=Harald
| last=Hammarström
| editor1-first=Jan
| editor1-last=Wohlgemuth
| editor2-first=Michael
| editor2-last=Cysouw
| title=Rethinking Universals: How rarities affect linguistic theory
| date=17 May 2007
| location=Berlin
| publisher=Mouton de Gruyter
| series=Empirical Approaches to Language Typology
| volume=45
| publication-date=2010
| url=http://www.cs.chalmers.se/~harald2/rarapaper.pdf
| url-status=dead
| archive-url=https://web.archive.org/web/20070819214057/http://www.cs.chalmers.se/~harald2/rarapaper.pdf
| archive-date=19 August 2007
}}</ref> use [[quinary|quinary (base-5)]] number systems, including [[Gumatj language|Gumatj]], [[Nunggubuyu language|Nunggubuyu]],<ref>{{Cite journal
|title = Facts and fallacies of aboriginal number systems
|last = Harris
|first = John
|editor-last = Hargrave
|editor-first = Susanne
|pages = 153–81
|year = 1982
|journal = Work Papers of SIL-AAB Series B
|volume = 8
|url = http://www1.aiatsis.gov.au/exhibitions/e_access/serial/m0029743_v_a.pdf
|url-status = dead
|archive-url = https://web.archive.org/web/20070831202737/http://www1.aiatsis.gov.au/exhibitions/e_access/serial/m0029743_v_a.pdf
|archive-date = 2007-08-31
}}</ref> [[Kuurn Kopan Noot language|Kuurn Kopan Noot]]<ref>Dawson, J. "[https://archive.org/details/australianabori00dawsgoog ''Australian Aborigines: The Languages and Customs of Several Tribes of Aborigines in the Western District of Victoria''] (1881), p.&nbsp;xcviii.</ref> and [[Saraveca]]. Of these, Gumatj is the only true 5–25 language known, in which 25 is the higher group of 5.
* Some [[Nigeria]]ns use [[duodecimal]] systems.<ref>{{Cite conference
| title=Decimal vs. Duodecimal: An interaction between two systems of numeration
| last=Matsushita
| first=Shuji
| conference=2nd Meeting of the AFLANG, October 1998, Tokyo
| year=1998
| url=http://www3.aa.tufs.ac.jp/~P_aflang/TEXTS/oct98/decimal.html
| archive-url=https://web.archive.org/web/20081005230737/http://www3.aa.tufs.ac.jp/~P_aflang/TEXTS/oct98/decimal.html
| archive-date=2008-10-05
| access-date=2011-05-29
}}</ref> So did some small communities in India and Nepal, as indicated by their languages.<ref>{{Cite book
| contribution=Les principes de construction du nombre dans les langues tibéto-birmanes
| first=Martine
| last=Mazaudon
| title=La Pluralité
| editor-first=Jacques
| editor-last=François
| year=2002
| pages=91–119
| publisher=Peeters
| place=Leuven
| isbn=90-429-1295-2
| url=http://lacito.vjf.cnrs.fr/documents/publi/num_WEB.pdf
| access-date=2014-09-12
| archive-date=2016-03-28
| archive-url=https://web.archive.org/web/20160328145817/http://lacito.vjf.cnrs.fr/documents/publi/num_WEB.pdf
| url-status=dead
}}</ref>
* The [[Huli language]] of [[Papua New Guinea]] is reported to have [[pentadecimal|base-15]] numbers.<ref>{{Cite journal
| last=Cheetham
| first=Brian
| title=Counting and Number in Huli
| journal=Papua New Guinea Journal of Education
| year=1978
| volume=14
| pages=16–35
| url=http://www.uog.ac.pg/PUB08-Oct-03/cheetham.htm
| archive-url=https://web.archive.org/web/20070928061238/http://www.uog.ac.pg/PUB08-Oct-03/cheetham.htm
| archive-date=2007-09-28
}}</ref> ''Ngui'' means 15, ''ngui ki'' means 15 × 2 = 30, and ''ngui ngui'' means 15 × 15 = 225.
* [[Umbu-Ungu language|Umbu-Ungu]], also known as Kakoli, is reported to have [[base 24|base-24]] numbers.<ref>{{Cite journal
|last1 = Bowers
|first1 = Nancy
|last2 = Lepi
|first2 = Pundia
|title = Kaugel Valley systems of reckoning
|year = 1975
|journal = Journal of the Polynesian Society
|volume = 84
|issue = 3
|pages = 309–24
|url = http://www.ethnomath.org/resources/bowers-lepi1975.pdf
|url-status = dead
|archive-url = https://web.archive.org/web/20110604091351/http://www.ethnomath.org/resources/bowers-lepi1975.pdf
|archive-date = 2011-06-04
}}</ref> ''Tokapu'' means 24, ''tokapu talu'' means 24 × 2 = 48, and ''tokapu tokapu'' means 24 × 24 = 576.
* [[Ngiti language|Ngiti]] is reported to have a [[base 32|base-32]] number system with base-4 cycles.<ref name="Hammarstrom 2010"/>
* The [[Ndom language]] of [[Papua New Guinea]] is reported to have [[base-6]] numerals.<ref>{{ Citation | last=Owens | first=Kay | title=The Work of Glendon Lean on the Counting Systems of Papua New Guinea and Oceania | journal=Mathematics Education Research Journal | year=2001 | volume=13 | issue=1 | pages=47–71 | url=http://www.uog.ac.pg/glec/Key/Kay/owens131.htm | doi=10.1007/BF03217098 | bibcode=2001MEdRJ..13...47O | s2cid=161535519 | url-status=dead | archive-url=https://web.archive.org/web/20150926003303/http://www.uog.ac.pg/glec/Key/Kay/owens131.htm | archive-date=2015-09-26 }}</ref> ''Mer'' means 6, ''mer an thef'' means 6 × 2 = 12, ''nif'' means 36, and ''nif thef'' means 36×2 = 72.

== See also ==
{{columns-list|colwidth=30em|
* [[Algorism]]
* [[Algorism]]
* [[Binary-coded decimal]]
* [[Binary-coded decimal]] (BCD)
* [[Decimal classification]]
* [[Decimal computer]]
* [[Decimal time]]
* [[Decimal representation]]
* [[Decimal representation]]
* [[Decimal section numbering]]
* [[Decimal separator]]
* [[Decimal separator]]
* [[Dewey Decimal System]]
* [[Decimalisation]]
* [[Densely packed decimal]] (DPD)
* [[Hindu-Arabic numeral system]]
* [[Numeral system]]
* [[Duodecimal]]
* [[Octal]]
* [[Scientific notation]]
* [[Scientific notation]]
* [[SI prefix]]
* [[Serial decimal]]
* [[10 (number)]]
* [[Metric prefix]]
}}
</div>


== Notes ==
==Notes==
{{reflist|2}}
{{reflist|group=note}}


==References==
== References ==
{{Reflist}}
* Ifrah, Georges (2000). ''A Universal History of Numbers: From Prehistory to Computers''. New York: Wiley. ISBN 0471393401.


{{Orders of magnitude}}
== External links ==
{{Authority control}}
* [http://speleotrove.com/decimal/decifaq.html Decimal arithmetic FAQ]
* Tests: [http://www.kwiznet.com/p/takeQuiz.php?ChapterID=1352 Decimal Place Value] [http://www.kwiznet.com/p/takeQuiz.php?ChapterID=1353&CurriculumID=5 Sums] [http://www.kwiznet.com/p/takeQuiz.php?ChapterID=739&CurriculumID=5 Fractions]
* [http://www.mathsisfun.com/worksheets/decimals.php Practice Decimal Arithmetic with Printable Worksheets]
* [http://www.mathsisfun.com/converting-decimals-fractions.html Converting Decimals to Fractions]
*[http://spot.colorado.edu/~gubermas/NCTM_pap.htm Cultural Aspects of Young Children's Mathematics Knowledge]
* [http://speleotrove.com/decimal/decbibindex.html Decimal Bibliography]


[[Category:Elementary arithmetic]]
[[Category:Elementary arithmetic]]
[[Category:Fractions]]
[[Category:Fractions (mathematics)]]
[[Category:Positional numeral systems| 10]]
[[Category:Positional numeral systems]]

[[ar:نظام عد عشري]]
[[be:Дзесятковая сістэма злічэння]]
[[be-x-old:Дзесятковая сыстэма зьлічэньня]]
[[ca:Nombre decimal]]
[[cs:Desítková soustava]]
[[da:Decimal]]
[[de:Dezimalsystem]]
[[el:Δεκαδικό σύστημα]]
[[es:Sistema decimal]]
[[eo:Dekuma sistemo]]
[[fr:Système décimal]]
[[ko:십진법]]
[[id:Sistem bilangan desimal]]
[[is:Tugakerfi]]
[[it:Sistema numerico decimale]]
[[he:השיטה העשרונית]]
[[ht:Sistèm desimal]]
[[lv:Decimālā skaitīšanas sistēma]]
[[hu:Tízes számrendszer]]
[[nl:Decimaal]]
[[ja:十進法]]
[[no:Titallsystemet]]
[[nn:Titalssystemet]]
[[pl:Dziesiętny system liczbowy]]
[[pt:Sistema de numeração decimal]]
[[qu:Chunkantin huchha llika]]
[[ru:Десятичная система счисления]]
[[simple:Decimal]]
[[sk:Desiatková číselná sústava]]
[[sl:Desetiški številski sistem]]
[[sr:Декадни систем]]
[[fi:Kymmenjärjestelmä]]
[[sv:Decimala talsystemet]]
[[th:เลขฐานสิบ]]
[[vi:Hệ thập phân]]
[[uk:Десяткова система числення]]
[[yi:דעצימאל]]
[[zh:十进制]]

Latest revision as of 18:49, 4 December 2024

Place value of number in decimal system

The decimal numeral system (also called the base-ten positional numeral system and denary /ˈdnəri/[1] or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers (decimal fractions) of the Hindu–Arabic numeral system. The way of denoting numbers in the decimal system is often referred to as decimal notation.[2]

A decimal numeral (also often just decimal or, less correctly, decimal number), refers generally to the notation of a number in the decimal numeral system. Decimals may sometimes be identified by a decimal separator (usually "." or "," as in 25.9703 or 3,1415).[3] Decimal may also refer specifically to the digits after the decimal separator, such as in "3.14 is the approximation of π to two decimals". Zero-digits after a decimal separator serve the purpose of signifying the precision of a value.

The numbers that may be represented in the decimal system are the decimal fractions. That is, fractions of the form a/10n, where a is an integer, and n is a non-negative integer. Decimal fractions also result from the addition of an integer and a fractional part; the resulting sum sometimes is called a fractional number.

Decimals are commonly used to approximate real numbers. By increasing the number of digits after the decimal separator, one can make the approximation errors as small as one wants, when one has a method for computing the new digits.

Originally and in most uses, a decimal has only a finite number of digits after the decimal separator. However, the decimal system has been extended to infinite decimals for representing any real number, by using an infinite sequence of digits after the decimal separator (see decimal representation). In this context, the usual decimals, with a finite number of non-zero digits after the decimal separator, are sometimes called terminating decimals. A repeating decimal is an infinite decimal that, after some place, repeats indefinitely the same sequence of digits (e.g., 5.123144144144144... = 5.123144).[4] An infinite decimal represents a rational number, the quotient of two integers, if and only if it is a repeating decimal or has a finite number of non-zero digits.

Origin

[edit]
Ten digits on two hands, the possible origin of decimal counting

Many numeral systems of ancient civilizations use ten and its powers for representing numbers, possibly because there are ten fingers on two hands and people started counting by using their fingers. Examples are firstly the Egyptian numerals, then the Brahmi numerals, Greek numerals, Hebrew numerals, Roman numerals, and Chinese numerals.[5] Very large numbers were difficult to represent in these old numeral systems, and only the best mathematicians were able to multiply or divide large numbers. These difficulties were completely solved with the introduction of the Hindu–Arabic numeral system for representing integers. This system has been extended to represent some non-integer numbers, called decimal fractions or decimal numbers, for forming the decimal numeral system.[5]

Decimal notation

[edit]

For writing numbers, the decimal system uses ten decimal digits, a decimal mark, and, for negative numbers, a minus sign "−". The decimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9;[6] the decimal separator is the dot "." in many countries (mostly English-speaking),[7] and a comma "," in other countries.[3]

For representing a non-negative number, a decimal numeral consists of

  • either a (finite) sequence of digits (such as "2017"), where the entire sequence represents an integer:
  • or a decimal mark separating two sequences of digits (such as "20.70828")
.

If m > 0, that is, if the first sequence contains at least two digits, it is generally assumed that the first digit am is not zero. In some circumstances it may be useful to have one or more 0's on the left; this does not change the value represented by the decimal: for example, 3.14 = 03.14 = 003.14. Similarly, if the final digit on the right of the decimal mark is zero—that is, if bn = 0—it may be removed; conversely, trailing zeros may be added after the decimal mark without changing the represented number; [note 1] for example, 15 = 15.0 = 15.00 and 5.2 = 5.20 = 5.200.

For representing a negative number, a minus sign is placed before am.

The numeral represents the number

.

The integer part or integral part of a decimal numeral is the integer written to the left of the decimal separator (see also truncation). For a non-negative decimal numeral, it is the largest integer that is not greater than the decimal. The part from the decimal separator to the right is the fractional part, which equals the difference between the numeral and its integer part.

When the integral part of a numeral is zero, it may occur, typically in computing, that the integer part is not written (for example, .1234, instead of 0.1234). In normal writing, this is generally avoided, because of the risk of confusion between the decimal mark and other punctuation.

In brief, the contribution of each digit to the value of a number depends on its position in the numeral. That is, the decimal system is a positional numeral system.

Decimal fractions

[edit]

Decimal fractions (sometimes called decimal numbers, especially in contexts involving explicit fractions) are the rational numbers that may be expressed as a fraction whose denominator is a power of ten.[8] For example, the decimal expressions represent the fractions 4/5, 1489/100, 79/100000, +809/500 and +314159/100000, and therefore denote decimal fractions. An example of a fraction that cannot be represented by a decimal expression (with a finite number of digits) is 1/3, 3 not being a power of 10.

More generally, a decimal with n digits after the separator (a point or comma) represents the fraction with denominator 10n, whose numerator is the integer obtained by removing the separator.

It follows that a number is a decimal fraction if and only if it has a finite decimal representation.

Expressed as fully reduced fractions, the decimal numbers are those whose denominator is a product of a power of 2 and a power of 5. Thus the smallest denominators of decimal numbers are

Approximation using decimal numbers

[edit]

Decimal numerals do not allow an exact representation for all real numbers. Nevertheless, they allow approximating every real number with any desired accuracy, e.g., the decimal 3.14159 approximates π, being less than 10−5 off; so decimals are widely used in science, engineering and everyday life.

More precisely, for every real number x and every positive integer n, there are two decimals L and u with at most n digits after the decimal mark such that Lxu and (uL) = 10n.

Numbers are very often obtained as the result of measurement. As measurements are subject to measurement uncertainty with a known upper bound, the result of a measurement is well-represented by a decimal with n digits after the decimal mark, as soon as the absolute measurement error is bounded from above by 10n. In practice, measurement results are often given with a certain number of digits after the decimal point, which indicate the error bounds. For example, although 0.080 and 0.08 denote the same number, the decimal numeral 0.080 suggests a measurement with an error less than 0.001, while the numeral 0.08 indicates an absolute error bounded by 0.01. In both cases, the true value of the measured quantity could be, for example, 0.0803 or 0.0796 (see also significant figures).

Infinite decimal expansion

[edit]

For a real number x and an integer n ≥ 0, let [x]n denote the (finite) decimal expansion of the greatest number that is not greater than x that has exactly n digits after the decimal mark. Let di denote the last digit of [x]i. It is straightforward to see that [x]n may be obtained by appending dn to the right of [x]n−1. This way one has

[x]n = [x]0.d1d2...dn−1dn,

and the difference of [x]n−1 and [x]n amounts to

,

which is either 0, if dn = 0, or gets arbitrarily small as n tends to infinity. According to the definition of a limit, x is the limit of [x]n when n tends to infinity. This is written asor

x = [x]0.d1d2...dn...,

which is called an infinite decimal expansion of x.

Conversely, for any integer [x]0 and any sequence of digits the (infinite) expression [x]0.d1d2...dn... is an infinite decimal expansion of a real number x. This expansion is unique if neither all dn are equal to 9 nor all dn are equal to 0 for n large enough (for all n greater than some natural number N).

If all dn for n > N equal to 9 and [x]n = [x]0.d1d2...dn, the limit of the sequence is the decimal fraction obtained by replacing the last digit that is not a 9, i.e.: dN, by dN + 1, and replacing all subsequent 9s by 0s (see 0.999...).

Any such decimal fraction, i.e.: dn = 0 for n > N, may be converted to its equivalent infinite decimal expansion by replacing dN by dN − 1 and replacing all subsequent 0s by 9s (see 0.999...).

In summary, every real number that is not a decimal fraction has a unique infinite decimal expansion. Each decimal fraction has exactly two infinite decimal expansions, one containing only 0s after some place, which is obtained by the above definition of [x]n, and the other containing only 9s after some place, which is obtained by defining [x]n as the greatest number that is less than x, having exactly n digits after the decimal mark.

Rational numbers

[edit]

Long division allows computing the infinite decimal expansion of a rational number. If the rational number is a decimal fraction, the division stops eventually, producing a decimal numeral, which may be prolongated into an infinite expansion by adding infinitely many zeros. If the rational number is not a decimal fraction, the division may continue indefinitely. However, as all successive remainders are less than the divisor, there are only a finite number of possible remainders, and after some place, the same sequence of digits must be repeated indefinitely in the quotient. That is, one has a repeating decimal. For example,

1/81 = 0.012345679012... (with the group 012345679 indefinitely repeating).

The converse is also true: if, at some point in the decimal representation of a number, the same string of digits starts repeating indefinitely, the number is rational.

For example, if x is       0.4156156156...
then 10,000x is    4156.156156156...
and 10x is       4.156156156...
so 10,000x − 10x, i.e. 9,990x, is    4152.000000000...
and x is    4152/9990

or, dividing both numerator and denominator by 6, 692/1665.

Decimal computation

[edit]
Diagram of the world's earliest known multiplica­tion table (c. 305 BCE) from the Warring States period

Most modern computer hardware and software systems commonly use a binary representation internally (although many early computers, such as the ENIAC or the IBM 650, used decimal representation internally).[9] For external use by computer specialists, this binary representation is sometimes presented in the related octal or hexadecimal systems.

For most purposes, however, binary values are converted to or from the equivalent decimal values for presentation to or input from humans; computer programs express literals in decimal by default. (123.1, for example, is written as such in a computer program, even though many computer languages are unable to encode that number precisely.)

Both computer hardware and software also use internal representations which are effectively decimal for storing decimal values and doing arithmetic. Often this arithmetic is done on data which are encoded using some variant of binary-coded decimal,[10][11] especially in database implementations, but there are other decimal representations in use (including decimal floating point such as in newer revisions of the IEEE 754 Standard for Floating-Point Arithmetic).[12]

Decimal arithmetic is used in computers so that decimal fractional results of adding (or subtracting) values with a fixed length of their fractional part always are computed to this same length of precision. This is especially important for financial calculations, e.g., requiring in their results integer multiples of the smallest currency unit for book keeping purposes. This is not possible in binary, because the negative powers of have no finite binary fractional representation; and is generally impossible for multiplication (or division).[13][14] See Arbitrary-precision arithmetic for exact calculations.

History

[edit]
The world's earliest decimal multiplication table was made from bamboo slips, dating from 305 BCE, during the Warring States period in China.

Many ancient cultures calculated with numerals based on ten, perhaps because two human hands have ten fingers.[15] Standardized weights used in the Indus Valley Civilisation (c. 3300–1300 BCE) were based on the ratios: 1/20, 1/10, 1/5, 1/2, 1, 2, 5, 10, 20, 50, 100, 200, and 500, while their standardized ruler – the Mohenjo-daro ruler – was divided into ten equal parts.[16][17][18] Egyptian hieroglyphs, in evidence since around 3000 BCE, used a purely decimal system,[19] as did the Linear A script (c. 1800–1450 BCE) of the Minoans[20][21] and the Linear B script (c. 1400–1200 BCE) of the Mycenaeans. The Únětice culture in central Europe (2300-1600 BC) used standardised weights and a decimal system in trade.[22] The number system of classical Greece also used powers of ten, including an intermediate base of 5, as did Roman numerals.[23] Notably, the polymath Archimedes (c. 287–212 BCE) invented a decimal positional system in his Sand Reckoner which was based on 108.[23][24] Hittite hieroglyphs (since 15th century BCE) were also strictly decimal.[25]

The Egyptian hieratic numerals, the Greek alphabet numerals, the Hebrew alphabet numerals, the Roman numerals, the Chinese numerals and early Indian Brahmi numerals are all non-positional decimal systems, and required large numbers of symbols. For instance, Egyptian numerals used different symbols for 10, 20 to 90, 100, 200 to 900, 1000, 2000, 3000, 4000, to 10,000.[26] The world's earliest positional decimal system was the Chinese rod calculus.[27]

The world's earliest positional decimal system
Upper row vertical form
Lower row horizontal form

History of decimal fractions

[edit]
counting rod decimal fraction 1/7

Starting from the 2nd century BCE, some Chinese units for length were based on divisions into ten; by the 3rd century CE these metrological units were used to express decimal fractions of lengths, non-positionally.[28] Calculations with decimal fractions of lengths were performed using positional counting rods, as described in the 3rd–5th century CE Sunzi Suanjing. The 5th century CE mathematician Zu Chongzhi calculated a 7-digit approximation of π. Qin Jiushao's book Mathematical Treatise in Nine Sections (1247) explicitly writes a decimal fraction representing a number rather than a measurement, using counting rods.[29] The number 0.96644 is denoted

.

Historians of Chinese science have speculated that the idea of decimal fractions may have been transmitted from China to the Middle East.[27]

Al-Khwarizmi introduced fractions to Islamic countries in the early 9th century CE, written with a numerator above and denominator below, without a horizontal bar. This form of fraction remained in use for centuries.[27][30]

Positional decimal fractions appear for the first time in a book by the Arab mathematician Abu'l-Hasan al-Uqlidisi written in the 10th century.[31] The Jewish mathematician Immanuel Bonfils used decimal fractions around 1350 but did not develop any notation to represent them.[32] The Persian mathematician Jamshid al-Kashi used, and claimed to have discovered, decimal fractions in the 15th century.[31]

A forerunner of modern European decimal notation was introduced by Simon Stevin in the 16th century. Stevin's influential booklet De Thiende ("the art of tenths") was first published in Dutch in 1585 and translated into French as La Disme.[33]

John Napier introduced using the period (.) to separate the integer part of a decimal number from the fractional part in his book on constructing tables of logarithms, published posthumously in 1620.[34]: p. 8, archive p. 32) 

Natural languages

[edit]

A method of expressing every possible natural number using a set of ten symbols emerged in India.[35] Several Indian languages show a straightforward decimal system. Dravidian languages have numbers between 10 and 20 expressed in a regular pattern of addition to 10.[36]

The Hungarian language also uses a straightforward decimal system. All numbers between 10 and 20 are formed regularly (e.g. 11 is expressed as "tizenegy" literally "one on ten"), as with those between 20 and 100 (23 as "huszonhárom" = "three on twenty").

A straightforward decimal rank system with a word for each order (10 , 100 , 1000 , 10,000 ), and in which 11 is expressed as ten-one and 23 as two-ten-three, and 89,345 is expressed as 8 (ten thousands) 9 (thousand) 3 (hundred) 4 (tens) 5 is found in Chinese, and in Vietnamese with a few irregularities. Japanese, Korean, and Thai have imported the Chinese decimal system. Many other languages with a decimal system have special words for the numbers between 10 and 20, and decades. For example, in English 11 is "eleven" not "ten-one" or "one-teen".

Incan languages such as Quechua and Aymara have an almost straightforward decimal system, in which 11 is expressed as ten with one and 23 as two-ten with three.

Some psychologists suggest irregularities of the English names of numerals may hinder children's counting ability.[37]

Other bases

[edit]

Some cultures do, or did, use other bases of numbers.

  • Pre-Columbian Mesoamerican cultures such as the Maya used a base-20 system (perhaps based on using all twenty fingers and toes).
  • The Yuki language in California and the Pamean languages[38] in Mexico have octal (base-8) systems because the speakers count using the spaces between their fingers rather than the fingers themselves.[39]
  • The existence of a non-decimal base in the earliest traces of the Germanic languages is attested by the presence of words and glosses meaning that the count is in decimal (cognates to "ten-count" or "tenty-wise"); such would be expected if normal counting is not decimal, and unusual if it were.[40][41] Where this counting system is known, it is based on the "long hundred" = 120, and a "long thousand" of 1200. The descriptions like "long" only appear after the "small hundred" of 100 appeared with the Christians. Gordon's Introduction to Old Norse Archived 2016-04-15 at the Wayback Machine p. 293, gives number names that belong to this system. An expression cognate to 'one hundred and eighty' translates to 200, and the cognate to 'two hundred' translates to 240. Goodare[permanent dead link] details the use of the long hundred in Scotland in the Middle Ages, giving examples such as calculations where the carry implies i C (i.e. one hundred) as 120, etc. That the general population were not alarmed to encounter such numbers suggests common enough use. It is also possible to avoid hundred-like numbers by using intermediate units, such as stones and pounds, rather than a long count of pounds. Goodare gives examples of numbers like vii score, where one avoids the hundred by using extended scores. There is also a paper by W.H. Stevenson, on 'Long Hundred and its uses in England'.[42][43]
  • Many or all of the Chumashan languages originally used a base-4 counting system, in which the names for numbers were structured according to multiples of 4 and 16.[44]
  • Many languages[45] use quinary (base-5) number systems, including Gumatj, Nunggubuyu,[46] Kuurn Kopan Noot[47] and Saraveca. Of these, Gumatj is the only true 5–25 language known, in which 25 is the higher group of 5.
  • Some Nigerians use duodecimal systems.[48] So did some small communities in India and Nepal, as indicated by their languages.[49]
  • The Huli language of Papua New Guinea is reported to have base-15 numbers.[50] Ngui means 15, ngui ki means 15 × 2 = 30, and ngui ngui means 15 × 15 = 225.
  • Umbu-Ungu, also known as Kakoli, is reported to have base-24 numbers.[51] Tokapu means 24, tokapu talu means 24 × 2 = 48, and tokapu tokapu means 24 × 24 = 576.
  • Ngiti is reported to have a base-32 number system with base-4 cycles.[45]
  • The Ndom language of Papua New Guinea is reported to have base-6 numerals.[52] Mer means 6, mer an thef means 6 × 2 = 12, nif means 36, and nif thef means 36×2 = 72.

See also

[edit]

Notes

[edit]
  1. ^ Sometimes, the extra zeros are used for indicating the accuracy of a measurement. For example, "15.00 m" may indicate that the measurement error is less than one centimetre (0.01 m), while "15 m" may mean that the length is roughly fifteen metres and that the error may exceed 10 centimetres.

References

[edit]
  1. ^ "denary". Oxford English Dictionary (Online ed.). Oxford University Press. (Subscription or participating institution membership required.)
  2. ^ Yong, Lam Lay; Se, Ang Tian (April 2004). Fleeting Footsteps. World Scientific. 268. doi:10.1142/5425. ISBN 978-981-238-696-0. Archived from the original on April 1, 2023. Retrieved March 17, 2022.
  3. ^ a b Weisstein, Eric W. (March 10, 2022). "Decimal Point". Wolfram MathWorld. Archived from the original on March 21, 2022. Retrieved March 17, 2022.
  4. ^ The vinculum (overline) in 5.123144 indicates that the '144' sequence repeats indefinitely, i.e. 5.123144144144144....
  5. ^ a b Lockhart, Paul (2017). Arithmetic. Cambridge, Massachusetts London, England: The Belknap Press of Harvard University Press. ISBN 978-0-674-97223-0.
  6. ^ In some countries, such as Arabic-speaking ones, other glyphs are used for the digits
  7. ^ Weisstein, Eric W. "Decimal". mathworld.wolfram.com. Archived from the original on 2020-03-18. Retrieved 2020-08-22.
  8. ^ "Decimal Fraction". Encyclopedia of Mathematics. Archived from the original on 2013-12-11. Retrieved 2013-06-18.
  9. ^ "Fingers or Fists? (The Choice of Decimal or Binary Representation)", Werner Buchholz, Communications of the ACM, Vol. 2 #12, pp. 3–11, ACM Press, December 1959.
  10. ^ Schmid, Hermann (1983) [1974]. Decimal Computation (1 (reprint) ed.). Malabar, Florida: Robert E. Krieger Publishing Company. ISBN 0-89874-318-4.
  11. ^ Schmid, Hermann (1974). Decimal Computation (1st ed.). Binghamton, New York: John Wiley & Sons. ISBN 0-471-76180-X.
  12. ^ Decimal Floating-Point: Algorism for Computers, Cowlishaw, Mike F., Proceedings 16th IEEE Symposium on Computer Arithmetic, ISBN 0-7695-1894-X, pp. 104–11, IEEE Comp. Soc., 2003
  13. ^ "Decimal Arithmetic – FAQ". Archived from the original on 2009-04-29. Retrieved 2008-08-15.
  14. ^ Decimal Floating-Point: Algorism for Computers Archived 2003-11-16 at the Wayback Machine, Cowlishaw, M. F., Proceedings 16th IEEE Symposium on Computer Arithmetic (ARITH 16 Archived 2010-08-19 at the Wayback Machine), ISBN 0-7695-1894-X, pp. 104–11, IEEE Comp. Soc., June 2003
  15. ^ Dantzig, Tobias (1954), Number / The Language of Science (4th ed.), The Free Press (Macmillan Publishing Co.), p. 12, ISBN 0-02-906990-4
  16. ^ Sergent, Bernard (1997), Genèse de l'Inde (in French), Paris: Payot, p. 113, ISBN 2-228-89116-9
  17. ^ Coppa, A.; et al. (2006). "Early Neolithic tradition of dentistry: Flint tips were surprisingly effective for drilling tooth enamel in a prehistoric population". Nature. 440 (7085): 755–56. Bibcode:2006Natur.440..755C. doi:10.1038/440755a. PMID 16598247. S2CID 6787162.
  18. ^ Bisht, R. S. (1982), "Excavations at Banawali: 1974–77", in Possehl, Gregory L. (ed.), Harappan Civilisation: A Contemporary Perspective, New Delhi: Oxford and IBH Publishing Co., pp. 113–24
  19. ^ Georges Ifrah: From One to Zero. A Universal History of Numbers, Penguin Books, 1988, ISBN 0-14-009919-0, pp. 200–13 (Egyptian Numerals)
  20. ^ Graham Flegg: Numbers: their history and meaning, Courier Dover Publications, 2002, ISBN 978-0-486-42165-0, p. 50
  21. ^ Georges Ifrah: From One to Zero. A Universal History of Numbers, Penguin Books, 1988, ISBN 0-14-009919-0, pp. 213–18 (Cretan numerals)
  22. ^ Krause, Harald; Kutscher, Sabrina (2017). "Spangenbarrenhort Oberding: Zusammenfassung und Ausblick". Spangenbarrenhort Oberding. Museum Erding. pp. 238–243. ISBN 978-3-9817606-5-1.
  23. ^ a b "Greek numbers". Archived from the original on 2019-07-21. Retrieved 2019-07-21.
  24. ^ Menninger, Karl: Zahlwort und Ziffer. Eine Kulturgeschichte der Zahl, Vandenhoeck und Ruprecht, 3rd. ed., 1979, ISBN 3-525-40725-4, pp. 150–53
  25. ^ Georges Ifrah: From One to Zero. A Universal History of Numbers, Penguin Books, 1988, ISBN 0-14-009919-0, pp. 218f. (The Hittite hieroglyphic system)
  26. ^ Lam Lay Yong et al. The Fleeting Footsteps pp. 137–39
  27. ^ a b c Lam Lay Yong, "The Development of Hindu–Arabic and Traditional Chinese Arithmetic", Chinese Science, 1996 p. 38, Kurt Vogel notation
  28. ^ Joseph Needham (1959). "19.2 Decimals, Metrology, and the Handling of Large Numbers". Science and Civilisation in China. Vol. III, "Mathematics and the Sciences of the Heavens and the Earth". Cambridge University Press. pp. 82–90.
  29. ^ Jean-Claude Martzloff, A History of Chinese Mathematics, Springer 1997 ISBN 3-540-33782-2
  30. ^ Lay Yong, Lam. "A Chinese Genesis, Rewriting the history of our numeral system". Archive for History of Exact Sciences. 38: 101–08.
  31. ^ a b Berggren, J. Lennart (2007). "Mathematics in Medieval Islam". In Katz, Victor J. (ed.). The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook. Princeton University Press. p. 530. ISBN 978-0-691-11485-9.
  32. ^ Gandz, S.: The invention of the decimal fractions and the application of the exponential calculus by Immanuel Bonfils of Tarascon (c. 1350), Isis 25 (1936), 16–45.
  33. ^ B. L. van der Waerden (1985). A History of Algebra. From Khwarizmi to Emmy Noether. Berlin: Springer-Verlag.
  34. ^ Napier, John (1889) [1620]. The Construction of the Wonderful Canon of Logarithms. Translated by Macdonald, William Rae. Edinburgh: Blackwood & Sons – via Internet Archive. In numbers distinguished thus by a period in their midst, whatever is written after the period is a fraction, the denominator of which is unity with as many cyphers after it as there are figures after the period.
  35. ^ "Indian numerals". Ancient Indian mathematics.
  36. ^ "Appendix:Cognate sets for Dravidian languages", Wiktionary, the free dictionary, 2024-09-25, retrieved 2024-11-09
  37. ^ Azar, Beth (1999). "English words may hinder math skills development". American Psychological Association Monitor. 30 (4). Archived from the original on 2007-10-21.
  38. ^ Avelino, Heriberto (2006). "The typology of Pame number systems and the limits of Mesoamerica as a linguistic area" (PDF). Linguistic Typology. 10 (1): 41–60. doi:10.1515/LINGTY.2006.002. S2CID 20412558. Archived (PDF) from the original on 2006-07-12.
  39. ^ Marcia Ascher. "Ethnomathematics: A Multicultural View of Mathematical Ideas". The College Mathematics Journal. JSTOR 2686959.
  40. ^ McClean, R. J. (July 1958), "Observations on the Germanic numerals", German Life and Letters, 11 (4): 293–99, doi:10.1111/j.1468-0483.1958.tb00018.x, Some of the Germanic languages appear to show traces of an ancient blending of the decimal with the vigesimal system.
  41. ^ Voyles, Joseph (October 1987), "The cardinal numerals in pre-and proto-Germanic", The Journal of English and Germanic Philology, 86 (4): 487–95, JSTOR 27709904.
  42. ^ Stevenson, W.H. (1890). "The Long Hundred and its uses in England". Archaeological Review. December 1889: 313–22.
  43. ^ Poole, Reginald Lane (2006). The Exchequer in the twelfth century : the Ford lectures delivered in the University of Oxford in Michaelmas term, 1911. Clark, NJ: Lawbook Exchange. ISBN 1-58477-658-7. OCLC 76960942.
  44. ^ There is a surviving list of Ventureño language number words up to 32 written down by a Spanish priest ca. 1819. "Chumashan Numerals" by Madison S. Beeler, in Native American Mathematics, edited by Michael P. Closs (1986), ISBN 0-292-75531-7.
  45. ^ a b Hammarström, Harald (17 May 2007). "Rarities in Numeral Systems". In Wohlgemuth, Jan; Cysouw, Michael (eds.). Rethinking Universals: How rarities affect linguistic theory (PDF). Empirical Approaches to Language Typology. Vol. 45. Berlin: Mouton de Gruyter (published 2010). Archived from the original (PDF) on 19 August 2007.
  46. ^ Harris, John (1982). Hargrave, Susanne (ed.). "Facts and fallacies of aboriginal number systems" (PDF). Work Papers of SIL-AAB Series B. 8: 153–81. Archived from the original (PDF) on 2007-08-31.
  47. ^ Dawson, J. "Australian Aborigines: The Languages and Customs of Several Tribes of Aborigines in the Western District of Victoria (1881), p. xcviii.
  48. ^ Matsushita, Shuji (1998). Decimal vs. Duodecimal: An interaction between two systems of numeration. 2nd Meeting of the AFLANG, October 1998, Tokyo. Archived from the original on 2008-10-05. Retrieved 2011-05-29.
  49. ^ Mazaudon, Martine (2002). "Les principes de construction du nombre dans les langues tibéto-birmanes". In François, Jacques (ed.). La Pluralité (PDF). Leuven: Peeters. pp. 91–119. ISBN 90-429-1295-2. Archived from the original (PDF) on 2016-03-28. Retrieved 2014-09-12.
  50. ^ Cheetham, Brian (1978). "Counting and Number in Huli". Papua New Guinea Journal of Education. 14: 16–35. Archived from the original on 2007-09-28.
  51. ^ Bowers, Nancy; Lepi, Pundia (1975). "Kaugel Valley systems of reckoning" (PDF). Journal of the Polynesian Society. 84 (3): 309–24. Archived from the original (PDF) on 2011-06-04.
  52. ^ Owens, Kay (2001), "The Work of Glendon Lean on the Counting Systems of Papua New Guinea and Oceania", Mathematics Education Research Journal, 13 (1): 47–71, Bibcode:2001MEdRJ..13...47O, doi:10.1007/BF03217098, S2CID 161535519, archived from the original on 2015-09-26