# Radix

In a positional numeral system, the **radix** or **base** is the number of unique digits, including the digit zero, used to represent numbers. For example, for the decimal/denary system (the most common system in use today) the radix (base number) is ten, because it uses the ten digits from 0 through 9.

In any standard positional numeral system, a number is conventionally written as (*x*)_{y} with *x* as the string of digits and *y* as its base, although for base ten the subscript is usually assumed (and omitted, together with the pair of parentheses), as it is the most common way to express value. For example, (100)_{10} is equivalent to 100 (the decimal system is implied in the latter) and represents the number one hundred, while (100)_{2} (in the binary system with base 2) represents the number four.^{[1]}

*Radix* is a Latin word for "root". *Root* can be considered a synonym for *base,* in the arithmetical sense.

In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 3 × 13^{2} + 9 × 13^{1} + 8 × 13^{0} = 632.

More generally, in a system with radix *b* (*b* > 1), a string of digits *d*_{1} … *d _{n}* denotes the number

*d*

_{1}

*b*

^{n−1}+

*d*

_{2}

*b*

^{n−2}+ … +

*d*

_{n}b^{0}, where 0 ≤

*d*<

_{i}*b*.

^{[1]}In contrast to decimal, or radix 10, which has a ones' place, tens' place, hundreds' place, and so on, radix

*b*would have a ones' place, then a

*b*

^{1}s' place, a

*b*

^{2}s' place, etc.

^{[2]}

The octal and hexadecimal systems are often used in computing because of their ease as shorthand for binary. Every hexadecimal digit corresponds to a sequence of four binary digits, since sixteen is the fourth power of two; for example, hexadecimal 78_{16} is binary 1111000_{2}. Similarly, every octal digit corresponds to a unique sequence of three binary digits, since eight is the cube of two.

This representation is unique. Let *b* be a positive integer greater than 1. Then every positive integer *a* can be expressed uniquely in the form

Radices are usually natural numbers. However, other positional systems are possible, for example, golden ratio base (whose radix is a non-integer algebraic number),^{[5]} and negative base (whose radix is negative).^{[6]}
A negative base allows the representation of negative numbers without the use of a minus sign. For example, let *b* = −10. Then a string of digits such as 19 denotes the (decimal) number 1 × (−10)^{1} + 9 × (−10)^{0} = −1.