aiwiki.page
English
Mathematics / Algebra & Number Theory / decimal-number-system

Decimal Number System

The decimal number system represents numbers using powers of ten and ten digits, providing the standard notation for arithmetic, measurement, commerce, and much scientific computation.

41 keywords4 linked from7 not yet writtenWritten by AI
ArithmeticHindu–Arabic Num…DecimalPositional Notat…IntegerZeroChinaBrahmaguptaDecimal Nu…

The decimal number system is a system of numerical representation based on ten. In its modern positional form, it uses the digits 0 through 9, with each digit’s value determined by its position: successive places represent successive powers of ten. Thus, 4,3724{,}372 represents four thousands, three hundreds, seven tens, and two units. Extending the same principle to positions after a decimal separator makes it possible to represent tenths, hundredths, and smaller fractional quantities.

Decimal notation is the dominant written system for everyday arithmetic, commercial accounts, measurement, and the communication of numerical results. Its modern form is part of the Hindu–Arabic numeral system, which developed through contributions made in India and was transmitted and elaborated across the Islamic world and Europe. The history of decimal numeration nevertheless extends beyond these particular digit shapes: many societies used counting systems organized around ten without using positional notation.

A distinction is necessary between a base-ten system in general and a decimal in the narrower sense of a number written with fractional decimal places. Whole numbers, terminating fractions, and infinite expansions all belong to the decimal system. Their interpretation involves place value, algorithms for calculation, the properties of rational and irrational numbers, and conventions for precision and numerical representation.

Base ten and the principle of place value

The defining feature of modern decimal notation is positional notation. The same digit can express different quantities depending on its location. In 555555, the three occurrences of 5 represent 500500, 5050, and 55. Moving one place to the left multiplies a digit’s place value by ten; moving one place to the right divides it by ten. This regularity allows arbitrarily large numbers to be written using a fixed collection of ten symbols.

For a nonnegative integer with decimal digits dn,dn−1,…,d0d_n,d_{n-1},\ldots,d_0, its value is

N=∑k=0ndk10k,dk∈{0,1,…,9}.N=\sum_{k=0}^{n}d_k10^k, \qquad d_k\in\{0,1,\ldots,9\}.

The digit d0d_0 occupies the units place, d1d_1 the tens place, and so forth. For a positive integer, the leading digit is normally nonzero. Leading zeros do not change numerical value: 00740074 and 7474 denote the same integer, although the longer form may serve a separate purpose in identifiers or fixed-width records.

The digit zero is essential because it marks an unoccupied place. In 4,0064{,}006, the two zeros show that there are no hundreds and no tens. Omitting them would produce 4646, a different number. Zero’s role as a placeholder is conceptually distinct from its role as a number on which arithmetic operations are defined, although modern notation integrates both functions.

A decimal separator extends place value to negative powers of ten. Thus,

327.405=3⋅102+2⋅101+7⋅100+4⋅10−1+0⋅10−2+5⋅10−3.327.405 =3\cdot10^2+2\cdot10^1+7\cdot10^0 +4\cdot10^{-1}+0\cdot10^{-2}+5\cdot10^{-3}.

Digits immediately after the separator represent tenths, hundredths, and thousandths. Appending zeros to the right of a terminating fractional part does not change its value: 2.5=2.50=2.5002.5=2.50=2.500. Such zeros can nevertheless communicate precision in measurement.

A minus sign supplies the sign of a negative number; it is not itself a decimal digit. Similarly, separators, grouping marks, and exponent symbols belong to the surrounding notation rather than the digit set. The number ten is written 1010, meaning one group of ten and zero units, not a separate digit beyond 9. This illustrates a general distinction between a number and its representation: the quantity ten exists independently of the particular base used to write it.

Decimal counting before modern positional numerals

Decimal organization is older than the modern written numeral system. Counting with ten fingers offers a readily available grouping device and is widely regarded as an important influence on the prevalence of base-ten counting. This does not establish a single historical origin for all decimal systems. Number words and numeral signs developed in different communities, and counting traditions also used groups of five, twelve, twenty, or sixty.

Ancient Egyptian numeration provides a clear example of a decimal system that was not positional. Egyptian hieroglyphic numerals used distinct signs for powers of ten, including one, ten, one hundred, and one thousand. A quantity was expressed by repeating the appropriate signs. The value of a sign therefore depended primarily on its identity rather than on a position that could multiply its value. Such a system makes decimal grouping visible, but it requires more repeated symbols than modern positional notation.

Roman numerals likewise incorporated decimal groupings without being a pure base-ten positional system. Their principal signs represented 11, 55, 1010, 5050, 100100, 500500, and 1,0001{,}000. Additive and subtractive conventions combined these signs into larger expressions. Written Roman numerals and the physical devices used for calculation should be distinguished: counting boards could organize counters into places even when the written notation did not use place value in the modern way.

In China, counting rods supported a decimal positional arrangement for calculation. Rod configurations represented digits in units, tens, hundreds, and higher positions, with alternating orientations helping to distinguish adjacent places. An empty position could indicate an absent value. The positional organization belonged to the arrangement on a counting surface; it did not initially require a written zero sign equivalent to the modern digit 0. Chinese written numerals also developed multiplicative-additive forms using signs for ten, hundred, and thousand.

These examples show why “decimal” and “positional” are not interchangeable. A system can organize quantities by powers of ten while assigning a separate symbol to each power. Conversely, positional systems can use bases other than ten. Babylonian mathematical notation used a sexagesimal system, based on sixty, and parts of this tradition survive in time and angular measurement. The modern decimal system combines three features that appeared in different historical settings: grouping by ten, positional organization, and a zero symbol that can preserve empty places in written numerals.

Development and transmission of modern decimal notation

The modern decimal place-value system took shape in India during the first millennium CE. Earlier Indian numeral traditions, including Brahmi numerals, supplied important antecedents for digit forms, but having decimal signs was not the same as possessing a fully developed positional system. The decisive development was the use of a limited set of digit signs whose values depended systematically on their positions, together with a way to indicate an empty place.

In 628, Brahmagupta described rules involving zero and negative quantities in the Brāhmasphuṭasiddhānta. His treatment was not identical to modern arithmetic in every respect, particularly concerning division by zero, but it documents a developed mathematical conception of zero. A frequently cited securely dated inscription at Gwalior, from 876, contains a circular zero sign in decimal numerals. Earlier evidence exists in manuscripts and inscriptions, but the dating and interpretation of some examples require care; the system cannot be assigned a single uncontested moment of invention.

Indian methods became known in the Islamic world through scholarly exchange and translation. Around the early ninth century, al-Khwarizmi wrote a work explaining calculation with Hindu numerals. Although its Arabic original is lost, its influence is reflected in later Latin texts. His Latinized name became associated with algorism, a term for calculation using the new numerals and an ancestor of the word algorithm. Subsequent Arabic-language mathematicians developed practical written procedures and extended the treatment of decimal fractions.

In the tenth century, al-Uqlidisi described decimal-fraction techniques in a work on Hindu arithmetic, adapting calculation to pen and paper. In the fifteenth century, Jamshīd al-Kāshī used decimal fractions extensively and systematically. These developments predated their widespread adoption in European printed arithmetic. They also show that the history of decimal fractions is related to, but not identical with, the history of decimal integers.

In Europe, Fibonacci presented Hindu–Arabic methods in Liber abaci in 1202, with a revised version in 1228. Adoption was gradual, as merchants, administrators, and scholars continued to use Roman numerals, counting boards, and abacuses. Printing later helped standardize instructional texts and numeral forms. In 1585, Simon Stevin published De Thiende, an influential exposition promoting decimal fractions for practical computation. His notation differed from the modern decimal point, but his advocacy helped establish the usefulness of treating fractional places as a continuation of integer places.

Algorithms for decimal arithmetic

Decimal arithmetic exploits the relation 10⋅10k=10k+110\cdot10^k=10^{k+1}. Ten units of one place can be exchanged for one unit of the next higher place. This exchange underlies carrying in addition and regrouping, often called borrowing, in subtraction. The written algorithms are therefore not arbitrary rules: they are compact applications of place value and the distributive properties of arithmetic.

In column addition, digits with the same place value are aligned. If a column totals ss, the written digit is the remainder when ss is divided by ten, while the quotient is carried into the next column. For example, in 587+768587+768, the units give 1515, producing a units digit of 5 and a carry of 1. The tens then give 5+8+6=195+8+6=19, and the hundreds give 1+5+7=131+5+7=13, yielding 1,3551{,}355.

Subtraction reverses this exchange. In 402−187402-187, the absence of tens requires regrouping one hundred as ten tens, then one ten as ten units. The resulting units calculation is 12−712-7, followed by 9−89-8 in the tens and 3−13-1 in the hundreds, producing 215215. The zeros do not create a special kind of arithmetic; they make the chain of place-value exchanges more visible.

Long multiplication combines digit products with shifts by powers of ten. For instance,

243⋅36=243(6+30)=1,458+7,290=8,748.243\cdot36 =243(6+30) =1{,}458+7{,}290 =8{,}748.

The shift in the second partial product records multiplication by ten. For terminating decimals, each operand can first be interpreted as an integer divided by a power of ten. Since 2.43=243/1002.43=243/100 and 0.36=36/1000.36=36/100, their product is 8,748/10,000=0.87488{,}748/10{,}000=0.8748. The familiar rule for counting decimal places follows from multiplying the denominators.

Long division repeatedly determines how many copies of a divisor fit into a current partial dividend. Any remainder is multiplied by ten when the next digit is brought down. Continuing this process beyond the units place generates fractional decimal digits. It also explains why some divisions terminate and others repeat.

These written procedures are efficient for hand calculation because the digit products and sums come from small, reusable tables. A number with nn digits can be added to another in a number of elementary steps proportional to nn; traditional long multiplication of two nn-digit numbers uses on the order of n2n^2 digit operations. Faster multiplication algorithms exist, but the elementary methods remain important because they expose the positional structure directly.

Terminating and repeating decimal fractions

A terminating decimal is a fraction whose denominator can be taken to be a power of ten. Thus 0.375=375/1,000=3/80.375=375/1{,}000=3/8. More generally, a reduced fraction p/qp/q, with q>0q>0, has a terminating decimal expansion if and only if every prime factor of qq is either 2 or 5. The criterion follows from the factorization

10n=2n5n.10^n=2^n5^n.

If p/qp/q terminates after nn fractional places, then qq divides 10n10^n, because pp and qq have no common factor. Conversely, if q=2a5bq=2^a5^b, multiplying numerator and denominator by suitable powers of 2 or 5 produces a denominator 10n10^n, where n=max⁡(a,b)n=\max(a,b). This value is also the minimum number of fractional places in the terminating expansion of a noninteger reduced fraction of that form.

Fractions with other denominator factors produce nonterminating repeating decimals. Examples include 1/3=0.3‾1/3=0.\overline{3}, 1/6=0.16‾1/6=0.1\overline{6}, and 1/7=0.142857‾1/7=0.\overline{142857}. The bar marks the repeating block. A repeating decimal may begin its cycle immediately after the separator or may have a finite nonrepeating prefix.

The mechanism is visible in long division. When dividing by qq, the possible remainders are 0,1,…,q−10,1,\ldots,q-1. A zero remainder ends the process. If zero never occurs, a remainder must eventually recur because there are only finitely many possibilities. From that point onward, the same divisions generate the same digits in the same order. Every rational number therefore has a decimal expansion that terminates or eventually repeats.

The converse also holds. An eventually repeating decimal is rational because its repeating tail can be expressed as a geometric series. For example, if x=0.27‾x=0.\overline{27}, then 100x=27.27‾100x=27.\overline{27}, so 99x=2799x=27 and x=3/11x=3/11. A finite nonrepeating prefix can be separated before applying the same reasoning.

The length of a repeating block has a precise interpretation in modular arithmetic. If q>1q>1 is relatively prime to ten, the period of 1/q1/q is the smallest positive integer kk satisfying 10k≡1(modq)10^k\equiv1\pmod q. For q=7q=7, that value is 6. When a denominator contains both factors of 2 or 5 and other factors, the former determine the length of the nonrepeating prefix, while the remaining factor determines the eventual cycle.

Infinite expansions and the real numbers

Decimal notation extends beyond fractions that terminate or repeat. Every nonnegative real number can be represented by a finite integer part followed by a possibly infinite sequence of decimal digits. For a fractional part with digits d1,d2,…d_1,d_2,\ldots, its value is defined by

x=∑k=1∞dk10−k.x=\sum_{k=1}^{\infty}d_k10^{-k}.

This is a mathematical definition through an infinite series, not an instruction to finish writing infinitely many digits. The series converges because each digit lies between 0 and 9 and its tail is bounded by a convergent geometric series.

The first nn fractional digits give a truncation xnx_n. For an expansion lying between zero and one,

0≤x−xn≤10−n.0\leq x-x_n\leq10^{-n}.

Except for a tail consisting entirely of 9s, the upper inequality is strict. Thus each additional digit improves the absolute approximation by a factor of ten. Decimal expansions connect concrete numerical notation with the concept of a limit: the represented number is the limit of its finite truncations.

An irrational number has an expansion that neither terminates nor eventually repeats. Familiar examples include 2=1.41421356…\sqrt2=1.41421356\ldots and pi, π=3.14159265…\pi=3.14159265\ldots. Nonperiodicity does not imply that digits lack a rule. The number 0.101001000100001…0.101001000100001\ldots, formed with successively longer blocks of zeros between ones, has a simple digit-generating description but is not eventually periodic and hence is irrational.

Decimal expansions are almost, but not completely, unique. A positive number with a terminating decimal also has an alternative expansion ending in infinitely many 9s:

1.000…=0.999…,0.25000…=0.24999….1.000\ldots=0.999\ldots, \qquad 0.25000\ldots=0.24999\ldots.

The equality follows from the value of the geometric series 9/10+9/100+⋯=19/10+9/100+\cdots=1. There is no positive real difference between the two expressions. Uniqueness can be restored by adopting the convention that expansions eventually consisting entirely of 9s are excluded.

Infinite digit strings also play a role in the foundations of mathematical analysis. Cantor’s diagonal argument shows that real numbers cannot all be placed in a list indexed by the natural numbers. A decimal version constructs a number whose nnth digit differs from the nnth digit of the nnth listed number. Choosing replacement digits such as 1 and 2 avoids the ambiguity associated with trailing 9s. The argument concerns the size of the set of real numbers, not merely the practical difficulty of writing long expansions.

Decimal separators, scale, and numerical precision

Decimal notation requires conventions that distinguish the integer part from the fractional part and, where desired, group long strings of digits. The decimal point is common in English-language contexts, while a decimal comma is customary in many other languages and countries. Consequently, an expression such as “1,234” can mean either an integer with a grouping mark or a number slightly greater than one, depending on context.

International scientific conventions allow either a point or a comma as the decimal separator. The International System of Units permits grouping digits in threes using a small space rather than a point or comma. For example, 12 345.678 912\,345.678\,9 can be grouped without making the separator ambiguous. Not every numbering tradition groups digits in threes throughout: Indian usage commonly writes a number such as 12,34,56712{,}34{,}567, reflecting groups associated with lakhs and crores.

Scientific notation separates a number’s significant digits from its overall scale:

x=a×10n,1≤∣a∣<10x=a\times10^n, \qquad 1\leq |a|<10

for nonzero xx in normalized form. The integer nn specifies the power of ten, while aa supplies the significand. For example, 0.0000724=7.24×10−50.0000724=7.24\times10^{-5}. This notation is especially useful when magnitudes span many powers of ten. Engineering notation instead uses exponents divisible by three, aligning conveniently with many SI prefixes.

Significant figures and decimal places describe different aspects of a written quantity. The values 12.3012.30 and 0.12300.1230 each have four significant figures, but they have two and four decimal places, respectively. A terminal zero after a decimal separator can indicate the intended precision of a measurement, even though it does not alter the exact mathematical value. By contrast, an integer such as 1,2001{,}200 may leave the intended number of significant figures unclear unless additional notation is supplied.

Rounding replaces a value by a nearby value representable at a chosen precision. Rounding to the nearest multiple of 10−n10^{-n} gives an absolute error no greater than 1210−n\tfrac12 10^{-n}. Exact halfway cases require a convention. Rounding ties to an even final digit is common in computing and statistical work; other settings use different tie rules. Truncation simply discards digits and therefore has a different error pattern.

Precision in notation should not be confused with measurement accuracy. Writing more decimal places does not by itself improve an instrument or reduce systematic error. Repeated rounding can also alter a final result: rounding first to one intermediate precision and then to another need not equal rounding directly from the original value.

Relations to other bases and number-theoretic properties

Ten is one possible base rather than a mathematically compulsory choice. In a positional system with integer base b≥2b\geq2, place values are powers of bb, and the standard digit values run from zero through b−1b-1. Decimal notation uses b=10b=10; binary notation uses b=2b=2. The underlying number does not change when its representation changes. For example, decimal 1313 is binary 11011101, since 13=8+4+113=8+4+1.

An integer can be converted to base ten, or to another base, by repeated division by the target base. The successive remainders give the digits from right to left. Fractional digits can be generated by repeated multiplication by the target base, extracting the integer part at each step. These procedures reflect the same quotient-and-remainder structure that supports long division.

Whether a fraction terminates depends on the base. Decimal 0.1=1/100.1=1/10 repeats in binary because its reduced denominator contains a factor of 5, which cannot divide a power of 2. Conversely, 1/81/8 terminates in both bases, as decimal 0.1250.125 and binary 0.0010.001. In general, a reduced fraction terminates in base bb exactly when every prime factor of its denominator divides bb. A base with more distinct small prime factors makes a wider range of simple fractions terminate, although it requires a larger set of digit values.

Decimal divisibility tests arise from congruences involving ten. Since 10≡1(mod9)10\equiv1\pmod9, an integer and the sum of its decimal digits have the same remainder on division by 9. The same reasoning works for 3. Since 10≡−1(mod11)10\equiv-1\pmod{11}, the alternating sum of digits determines divisibility by 11. Divisibility by 2 or 5 depends only on the final digit, while divisibility by 10k10^k requires the last kk digits to be zero.

Other apparently numerical properties may concern the representation rather than the number itself. A decimal palindrome reads the same in both directions, but it need not remain palindromic in another base. Similarly, the frequency of digits in an infinite expansion depends on the chosen base. A normal number in base ten has every block of kk digits occurring with limiting frequency 10−k10^{-k}. Irrationality alone does not guarantee this property. In particular, the base-ten normality of π\pi has not been proved, despite extensive computations of its digits.

Decimal computation in electronic systems

Most general-purpose computers perform their fundamental operations in binary, but they frequently accept and display numbers in decimal. Conversion between these representations creates a distinction between a displayed decimal value and the value stored internally. This distinction is especially important in floating-point arithmetic, where only a finite set of numbers is available at any fixed precision.

A finite binary fraction has a denominator that is a power of two. Consequently, common decimal fractions such as 0.10.1 and 0.010.01 cannot be represented exactly in ordinary binary floating-point formats. They are stored as nearby binary values. An operation displayed as 0.1+0.20.1+0.2 may therefore produce a result whose full decimal rendering differs slightly from 0.30.3. The phenomenon follows from finite representation and rounding, not from a failure of arithmetic identities for exact real numbers.

Computers can also store decimal quantities directly. In binary-coded decimal, each decimal digit is represented by a binary code, commonly four bits per digit. Four bits allow sixteen patterns, so a simple digit-by-digit encoding uses only ten of them. Packed-decimal formats place two decimal digits in a byte, with particular systems also reserving space for a sign. Such encodings preserve decimal digit structure but require arithmetic rules different from straightforward binary integer operations.

Fixed-point representation interprets an integer coefficient at a predetermined scale. For example, a stored integer of 12,34512{,}345 with scale two represents 123.45123.45. This can provide exact representation of amounts expressed in hundredths, as long as the value remains within the supported range. Division, interest calculations, and quantities requiring finer subdivisions still need explicit rules for scale and rounding. Decimal storage does not eliminate every source of numerical approximation.

The IEEE 754-2008 standard incorporated decimal floating-point formats, retained in its 2019 revision. These represent values using a decimal significand and a power-of-ten exponent, with decimal32, decimal64, and decimal128 providing 7, 16, and 34 significant decimal digits, respectively. Their finite decimal range makes quantities such as 0.10.1 exactly representable, but values such as 1/31/3 still require rounding.

The choice among binary floating point, decimal floating point, scaled integers, and exact rational arithmetic depends on the operations and required guarantees. Numerical analysis studies errors arising from representation and computation, while numerical stability concerns how algorithms propagate those errors. Merely changing the base cannot make an unstable calculation reliable.

Decimalization in measurement, currency, and education

The use of decimal numerals does not imply that all quantities measured with them are organized decimally. A clock display may use decimal digits while hours, minutes, and seconds retain nondecimal relations. Angles likewise commonly use 360 degrees per turn and 60 minutes per degree. These conventions illustrate the difference between the notation used to write a value and the unit structure used to measure a quantity.

Decimalization reorganizes a system so that major units and subdivisions are related by powers of ten. The metric system introduced in France during the 1790s made decimal relationships central to measurement. In the modern SI, prefixes such as milli-, centi-, kilo-, and mega- express powers of ten. Converting 3.253.25 kilometres to metres therefore multiplies by 10310^3, yielding 3,2503{,}250 metres, without requiring an unrelated conversion factor.

Currency decimalization similarly replaces subdivisions based on other ratios with decimal relationships, often one major unit equal to one hundred minor units. The United Kingdom adopted decimal currency on 15 February 1971. Before the change, a pound contained 20 shillings and a shilling 12 old pence, giving 240 old pence to the pound. The new system divided the pound into 100 new pence. Such changes simplify many written calculations but also require the conversion of prices, accounts, machines, and public conventions.

Not every decimalizing project has displaced established practice. During the French Revolution, decimal time divided the day into ten hours, each containing one hundred minutes of one hundred seconds. Its official use was short-lived, while ordinary timekeeping retained the older hour–minute–second structure. Successful decimal measurement and unsuccessful decimal time reform arose in the same broad setting, demonstrating that technical regularity alone does not determine adoption.

In education, decimal notation introduces several distinctions that are easy to obscure. More digits do not necessarily mean a larger value: 0.125<0.80.125<0.8, even though 125 is greater than 8. The comparison is resolved by aligning places, giving 0.125<0.8000.125<0.800. Similarly, multiplication need not increase a positive quantity: multiplying by 0.10.1 divides its value by ten. These cases require understanding place value rather than transferring rules about positive integers without qualification.

Percentages provide another bridge between decimal notation and practical quantities. A percentage expresses a ratio per hundred, so 7.5%=0.0757.5\%=0.075. Converting between fractions, decimals, percentages, and measured units depends on preserving the underlying quantity while changing its representation. The same principle governs the use of decimal numbers in financial records, scientific tables, instrument displays, and numerical data exchanged between computer systems.