Base


The word "base" in mathematics is used to refer to a particular mathematical object that is used as a building block. The most common uses are the related concepts of the number system whose digits are used to represent numbers and the number system in which logarithms are defined. It can also be used to refer to the bottom edge or surface of a geometric figure.

A real number x can be represented using any integer number b as a base (sometimes also called a radix or scale). The choice of a base yields to a representation of numbers known as a number system. In base b, the digits 0, 1, ..., are used (where, by convention, for bases larger than 10, the symbols A, B, C, ...are generally used as symbols representing the decimal numbers 10, 11, 12, ...).

Let the base b representation of a number x be written

(1)

(e.g., ). Then, for example, the number 10 is written in various bases as

(2)
  (3)
  (4)
  (5)
  (6)
  (7)
  (8)
  (9)
  (10)
  (11)

since, for example,
(12)
  (13)
  (14)

and so on.

Common bases are given special names based on the value of b, as summarized in the following table. The most common bases are binary and hexadecimal (used by computers) and decimal (used by people).

base number system
2 binary
3 ternary
4 quaternary
5 quinary
6 senary
7 septenary
8 octal
9 nonary
10 decimal
11 undenary
12 duodecimal
16 hexadecimal
20 vigesimal
60 sexagesimal

The index of the leading digit needed to represent the number is

(15)

where is the floor function. Now, recursively compute the successive digits

(16)

where and

(17)

for i = n, , ..., 1, 0, .... This gives the base b representation of x. Note that if x is an integer, then i need only run through 0, and that if x has a fractional part, then the expansion may or may not terminate. For example, the hexadecimal representation of 0.1 (which terminates in decimal notation) is the infinite expression .

Some number systems use a mixture of bases for counting. Examples include the Mayan calendar Eric Weisstein's World of Astronomy and the old British monetary system (in which ha'pennies, pennies, threepence, sixpence, shillings, half crowns, pounds, and guineas corresponded to units of 1/2, 1, 3, 6, 12, 30, 240, and 252, respectively).

Bergman (1957/58) considered an irrational base, and Knuth (1998) considered transcendental bases. This leads to some rather unfamiliar results, such as equating to 1 in "base ," .

The base of a logarithm is a number b used to define the number system in which the logarithm is computed. In general, the logarithm of a number x in base b is written . The symbol is an abbreviation regrettably used both for the common logarithm (by engineers and physicists and indicated on pocket calculators) and for the natural logarithm (by mathematicians). denotes the natural logarithm (as used by engineers and physicists and indicated on pocket calculators), and denotes . In this work, the notations and are used.

To convert between logarithms in different bases, the formula

(18)

can be used.

 

Binary, Common Logarithm, Decimal, Decimal Expansion, Digit, Duodecimal, e, Exponentiation, Hereditary Representation, Hexadecimal, Lg, Ln, Logarithm, Napierian Logarithm, Natural Logarithm, Number System, Octal, Quaternary, Radix, Sexagesimal, Ternary, Vigesimal




References

Abramowitz, M. and Stegun, I. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, p. 28, 1972.

Bergman, G. "A Number System with an Irrational Base." Math. Mag. 31, 98-110, 1957/58.

Bogomolny, A. "Base Converter." http://www.cut-the-knot.org/binary.shtml.

Knuth, D. E. "Positional Number Systems." §4.1 in The Art of Computer Programming, Vol. 2: Seminumerical Algorithms, 3rd ed. Reading, MA: Addison-Wesley, pp. 195-213, 1998.

Lauwerier, H. Fractals: Endlessly Repeated Geometric Figures. Princeton, NJ: Princeton University Press, pp. 6-11, 1991.