HarmonyFidelisHarmonyFidelis
Login
NewsMajor ProjectsActorsAcademy

What is a digit?

A digit is a symbol used to write numbers; a base uses exactly as many digits as its value.

What is a digit?

The digit

Definition

A digit is a symbol used to write numbers. The decimal system has exactly ten of them: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

A digit is not the quantity: it is the sign that records it.

Digit or number

DigitNumber
NatureA symbolA quantity
How manyTen, in base tenInfinitely many
Examples0, 77, 128, −3, π

The number 128 is written with three digits: 1, 2 and 8. The number 7 is written with a single digit, which bears the same name — hence the common confusion between the two words.

A useful analogy

Digits are to numbers what letters are to words: a finite alphabet that records an infinite vocabulary.

It has its limit, as every analogy does. In a word, the place of a letter gives it no value; in a number, the place of a digit fixes one, and precisely.

Positional notation

A digit is worth something according to where it is written:

205=2×102+0×101+5×100205 = 2 \times 10^2 + 0 \times 10^1 + 5 \times 10^0205=2×102+0×101+5×100

The digit 2 is worth two in 512 and two hundred in 205. Only its position changed.

Zero plays a role of its own here: it adds no quantity, but it holds a rank. Without it, 205 and 25 would be written the same way.

Not every numeral system works this way. Roman numerals are additive and subtractive, but not positional: X is worth ten in XVI as in XIV, whatever its rank.

10² 10¹ 10⁰ 2 0 5 200 + 0 + 5 205

Changing base

The number of available digits defines the base. A base bbb is written with exactly bbb digits, from 0 to b−1b-1b−1.

BaseNameDigitsThirteen is written
2binary0, 11101
8octal0 to 715
10decimal0 to 913
16hexadecimal0 to 9, A to FD

In base sixteen, sixteen symbols are needed: the ten usual digits do not suffice, so letters are borrowed. This is the sign that "digit" names a role and not a shape — A is a digit in base sixteen.

Summary

The digit is the symbol, the number is the quantity; and it is the digit's position that gives it its weight.