Positional and Non-Positional Number Systems Summary

Historical Development of Number Systems

  • Humans across historical eras developed various counting techniques:

    • The Pirahã tribe of Brazil counts only "one" and "two", viewing all larger quantities as "many".

    • The Sumerian and Babylonian civilizations used a sexagesimal (base-6060) system, which persists in measuring minutes, seconds, and geometric angles.

    • Egyptian hieroglyphics recorded numbers without using positional values.

    • The Mayan civilization utilized a vigesimal (base-2020) system.

    • Ancient China and India developed decimal (base-1010) systems.

    • Indian mathematicians introduced zero as an independent numerical value, establishing the foundation of the Hindu-Arabic numeral system, which spread globally via Arab scholars.

    • Human reliance on the decimal system originates from counting on ten fingers.

Positional vs. Non-Positional Systems

  • Non-positional Number System:

    • Digit values depend entirely on symbol face values, independent of placement.

    • Symbols possess no positional place value.

    • Examples include Ancient Hieroglyphics, Mayan numbers, Roman numerals, and Tally systems.

  • Positional Number System:

    • The total value of any number depends on digit face value, base (radix), and positional place value.

    • A radix point (..) separates the integer part from the fractional part.

    • The place value of a digit is evaluated as: baseposition\text{base}^{\text{position}}.

    • Integer digit positions are indexed non-negatively from right to left starting at 00 (0,1,2,…0, 1, 2, \dots).

    • Fractional digit positions are indexed negatively from left to right starting at −1-1 (−1,−2,−3,…-1, -2, -3, \dots).

    • The base represents the total count of unique symbols utilized by the system.

Primary Positional Number Systems

  • Binary System (Base-22):

    • Employs two distinct symbols: 00 and 11 (bits). An aggregation of 88 bits forms one byte.

    • Formulated by English mathematician George Boole.

    • Maps directly to physical hardware switching states:

    • Logic level 11: Presence of electricity / ON / HIGH / TRUE / YES.

    • Logic level 00: Absence of electricity / OFF / LOW / FALSE / NO.

  • Octal System (Base-88):

    • Employs eight symbols: 00 through 77.

    • Functions as a 3-bit3\text{-bit} system because 23=82^3 = 8.

    • Provides a compact notation for representing binary data.

  • Decimal System (Base-1010):

    • Employs ten symbols: 00 through 99.

    • Historically popularized in Europe by Arab mathematicians; universally applied in daily counting.

  • Hexadecimal System (Base-1616):

    • Employs sixteen symbols: 00 through 99 alongside AA through FF.

    • Functions as a 4-bit4\text{-bit} system because 24=162^4 = 16.

    • Extensively used in digital computation for compact binary notation, memory addressing, and color codes.

  • Ternary System (Base-33):

    • Employs three symbols: 00, 11, and 22.

Conversion Rules Involving Decimal Values

  • Decimal to Any Base (rr):

    • Integer Conversion: Repeatedly divide the decimal integer by the destination base (r=2,8,16r = 2, 8, 16) until the quotient reaches 00. Collect the remainders from bottom to top (most significant to least significant).

    • Fractional Conversion: Repeatedly multiply the fractional part by the target base (r=2,8,16r = 2, 8, 16). Extract the resulting integer digits from top to bottom until the fractional remainder reaches 00 or until 33 to 44 iterations are completed for an approximate result.

  • Any Base (rr) to Decimal:

    • Multiply each digit by its positional weight (digit×rposition\text{digit} \times r^{\text{position}}).

    • Sum all products across both integer and fractional components to compute the decimal equivalent.

Direct Inter-Base Conversions

  • Octal and Binary Conversions (232^3 / 4-2-1 Rule):

    • Octal to Binary: Expand each individual octal digit into its equivalent 3-bit3\text{-bit} binary representation.

    • Binary to Octal: Partition the binary string into 3-bit3\text{-bit} groups extending outward from the radix point (leftward for integers, rightward for fractions, padding with leading or trailing zeros as necessary) and convert each group into its octal digit.

  • Hexadecimal and Binary Conversions (242^4 / 8-4-2-1 Rule):

    • Hexadecimal to Binary: Expand each hexadecimal symbol into its equivalent 4-bit4\text{-bit} binary representation.

    • Binary to Hexadecimal: Partition the binary string into 4-bit4\text{-bit} groups extending outward from the radix point (padding zeros to complete deficient sets) and convert each group into its hexadecimal symbol.

  • Octal and Hexadecimal Conversions:

    • Binary Intermediate Method: Convert the source system to binary using 3-bit3\text{-bit} or 4-bit4\text{-bit} sets, regroup the bits into sets of 44 or 33, and evaluate the final digits.

    • Decimal Intermediate Method: Convert the initial number system into decimal, then convert the decimal result into the destination base.