Number Systems

A number system is a structured set of numbers together with operations and rules for representing and combining them. The principal systems — natural, integer, rational, real, and complex numbers — form a nested hierarchy, each extending the previous to solve equations the smaller system cannot. They underpin all of arithmetic, algebra, and analysis; developed across millennia from Babylonian tablets to 19th-century formal constructions.

A number system consists of a set of numbers (such as ) equipped with operations like addition and multiplication, plus axioms governing them. Each system arises historically and logically to make a previously unsolvable problem solvable: subtraction demands negative numbers, division demands fractions, root-extraction and limits demand irrationals, and the square root of demands complex numbers. The systems nest as , each a faithful extension preserving the arithmetic of its predecessor. A surprising fact: although the rationals seem to "fill up" the number line densely, they leave infinitely many "gaps" (the irrationals), and there are vastly more irrationals than rationals — uncountably versus countably many.

The Core Insight

Every enlargement of the number concept is driven by closure: we want the answer to an operation to stay inside the set. Naturals are not closed under subtraction, so we invent integers; integers are not closed under division, so we invent rationals; rationals are not "complete" (limits escape them), so we invent reals; reals are not closed under taking square roots of negatives, so we invent complex numbers. Each step adds exactly what is missing — no more, no less.

Formal Statement

The Standard Number Systems

We define the nested hierarchy of number sets:

  • Natural numbers (some authors start at ). Used for counting.
  • Integers . Naturals plus their negatives.
  • Rational numbers . Ratios of integers.
  • Real numbers : all points on the continuous number line, including irrationals.
  • Complex numbers .

Here are integers, are real numbers, and is the imaginary unit satisfying .

The chain of inclusions is:

1
⟳each set is embedded in the next by an injection preserving and ; e.g. embeds into .

A key structural fact is that , , and are fields: sets where addition, subtraction, multiplication, and division (except by zero) all behave as expected. The field axioms require, for all elements:

2
⟳these are taken as axioms; they encode that order of operands does not affect the result.
3
⟳links the two operations; it is the single axiom connecting and .

Every nonzero element of a field has a multiplicative inverse:

4
⟳this is precisely what fails in (e.g. has no integer inverse), forcing the extension to .

Density of the Rationals; Incompleteness of the Rationals

Between any two distinct rationals there is another rational (density). However, is not complete: there exist bounded increasing sequences of rationals whose limit is not rational. The real numbers are the unique complete ordered field containing .

Why It Holds / Derivation

$\sqrt{2}$ is irrational — a gap in $\mathbb{Q}$

We show that no rational number squares to , proving has "gaps."

  1. Suppose, for contradiction, that with , , and the fraction in lowest terms (no common factor).
  2. Then , so is even.
  3. If is even, then is even (an odd number squared is odd). Write .
  4. Substitute: .
  5. Then is even, so is even.
  6. But now both and are even, contradicting "lowest terms."
  7. The assumption fails: no such rational exists. Hence , yet .

This single fact justifies the entire leap from to . The relevant equation:

5
⟳square both sides of and apply the parity argument repeatedly.

Richard Dedekind | 1831–1916

Dedekind gave the first rigorous construction of the real numbers using Dedekind cuts: a real number is identified with a partition of the rationals into two sets where every element of is less than every element of and has no greatest element. The cut "at " places all rationals whose square is less than 2 (and all negatives) in , the rest in — pinning down the gap exactly. Published in Stetigkeit und irrationale Zahlen (1872), this turned the intuitive number line into a precise logical object and resolved centuries of vagueness about the continuum.

Building Intuition

Picture a long ruler. The integers are evenly spaced fence posts. The rationals are all the marks you can make by repeatedly subdividing the gaps into equal parts — and there are infinitely many in any interval, no matter how tiny. It feels like the line is full. But it is not: points like and live in the cracks between the rationals. The reals are the ruler with every point filled, including those cracks. Finally, the complex numbers lift you off the ruler entirely into a two-dimensional plane, where multiplication by means "rotate 90°."

The nested hierarchy of number systems

ℕ ℤ ℚ ℝ ℂ ℕ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ irrationals: √2, π, e i, 3+2i

Worked Examples

Converting a repeating decimal to a fraction

Given: the repeating decimal Show it is rational and find its fraction. Steps:
  1. Let
  2. The repeating block has 2 digits, so multiply by :
  3. Subtract: .
  4. So , giving .
  5. Simplify by dividing top and bottom by : .

This confirms a general fact: every terminating or repeating decimal is rational.

Arithmetic in the complex numbers

Given: and . Compute and . Steps (product):
  1. .
  2. Use : .
  3. Combine: .
Steps (quotient): multiply numerator and denominator by the conjugate :
  1. Denominator: .
  2. Numerator: .
  3. So .

Common Misconceptions

" is just an approximation." False — it is exactly equal. Since by the same method as the example above, the two notations name the identical number. There is no "tiny gap" between them. "Every number is either positive or negative." Zero is neither. " doesn't exist." It does not exist in , but it exists perfectly well as . "Bigger sets just have more numbers." Subtler: all have the same (countable) size, while is strictly larger (uncountable).

One might guess that the rationals, being dense, must be 'most' of the real numbers. They are not. Cantor's diagonal argument shows is uncountable while is countable, so in the sense of cardinality (and of measure), almost every real number is irrational. If you could pick a real number at random from , the probability of landing on a rational is exactly — despite there being infinitely many of them in every interval. See Cardinality and Countability.

Connections

Number systems sit at the foundation of nearly every mathematical topic. The field axioms of and are the starting point for Abstract Algebra (rings, fields, groups). The completeness of is the bedrock of Limits and Continuity and all of Calculus. The complex numbers unify Trigonometry with exponentials through Euler's formula , and they make the Fundamental Theorem of Algebra true: every non-constant polynomial has a root in . The countability distinctions connect to Cardinality and Countability and Set Theory.

Real-World Applications

  • Computing & binary representation: all digital data is stored in base-2 integers; floating-point hardware approximates via finite binary fractions (IEEE 754 standard).
  • Electrical engineering: alternating-current circuits use complex impedance to combine resistance and reactance in one number; phasors encode amplitude and phase.
  • Signal processing: the Fourier transform represents signals using complex exponentials, fundamental to audio compression (MP3), image formats (JPEG), and Wi-Fi.
  • Cryptography: RSA encryption relies on integer arithmetic modulo large primes — properties of .
  • Quantum mechanics: state amplitudes are genuinely complex numbers; probabilities come from .
  • GPS and physics measurements: require real-valued continuous quantities (time, distance) modeled by .
  • Finance: rational arithmetic handles exact currency (cents), avoiding floating-point rounding errors.

Historical Development

  • c. 1800 BCE: Babylonians use a base-60 positional system and approximate to remarkable accuracy on clay tablet YBC 7289.
  • c. 500 BCE: Pythagoreans discover incommensurable lengths (irrationality of ), a crisis for their "all is number" doctrine.
  • c. 250 CE: Diophantus works with rational solutions to equations but rejects negative answers as "absurd."
  • c. 628 CE: Brahmagupta in India formulates rules for zero and negative numbers explicitly.
  • 9th century: Al-Khwārizmī systematizes algebra; Hindu–Arabic numerals and positional decimal notation spread.
  • 1545: Cardano, solving cubics, encounters square roots of negatives; Bombelli (1572) develops rules for them.
  • 1637: Descartes coins "imaginary" (dismissively) for complex roots; later Euler introduces the symbol .
  • 1872: Dedekind (cuts) and Cantor (Cauchy sequences) independently give rigorous constructions of .
  • 1874: Cantor proves is uncountable, distinguishing infinities and founding modern set theory.

Subtleties & Limits

The hierarchy does not stop at . The quaternions (Hamilton, 1843) extend to four dimensions but sacrifice commutativity; the octonions go to eight dimensions and lose associativity. The Hurwitz theorem shows these are the only normed division algebras over — the road of "nice" number systems ends. Meanwhile, deep open questions remain about specific numbers: it is unknown whether or is irrational (though at least one must be), and the Continuum Hypothesis — whether any set has cardinality strictly between and — was proven independent of standard set theory axioms (Gödel 1940, Cohen 1963), meaning it can be neither proved nor disproved.

See Also

Fundamental Theorem of Algebra · Cardinality and Countability · Real Analysis · Complex Analysis · Abstract Algebra · Number Theory · Set Theory · Euler's Formula

Before this

Where this leads