Decimal (Base 10): The standard number system used by humans, consisting of ten unique digits from to . Each position in a decimal number represents a power of .
Hexadecimal (Base 16): A positional number system used extensively in computing that utilizes sixteen unique symbols. It includes the digits and the letters to represent values from to .
Alphanumeric Mapping: In hexadecimal, the letters and correspond to the decimal values and respectively. This allows a single character to represent a value that would require two digits in decimal.
The Radix: The base (or radix) of a system determines how many digits are available and the multiplier for each column. Hexadecimal has a radix of , meaning each column is times greater than the column to its right.
Positional Notation: Like decimal, hexadecimal is a weighted system where the value of a digit depends on its position. The positions are weighted by powers of , starting from (the units column) on the far right.
Power Series Expansion: Any hexadecimal number can be expressed as a sum of its digits multiplied by their respective positional weights. For a two-digit hex number , the value is .
Relationship to Binary: Hexadecimal is highly efficient for computing because is a power of (). This means exactly one hexadecimal digit can represent a -bit binary sequence (a nibble), making it a compact shorthand for binary data.
| Feature | Decimal (Base 10) | Hexadecimal (Base 16) |
|---|---|---|
| Digits Used | and | |
| Column Weights | ||
| Use Case | General human counting | Memory addresses, color codes, binary shorthand |
| Digit Value | Max value is | Max value is () |
Letter Mapping Errors: A common mistake is misidentifying the letters. Always double-check that and . Some students mistakenly start at .
Ignoring the Zero Quotient: The division process must continue until the quotient is , not just until the quotient is less than . The final quotient (if less than ) becomes the final remainder.
Confusing Hex with Binary: While they are related, ensure you do not accidentally use base or base logic when performing base calculations.