Number Systems — Natural, Integer, Rational, Real, Complex

The number systems form a nested hierarchy , each extension built to make previously impossible operations possible. One-line statement: every number you meet sits in one of five expanding worlds — counting numbers, integers, fractions, the continuous line, and the plane of complex numbers. Where it applies: all of algebra, geometry, calculus, physics, engineering, and computer science. Who/when: developed over millennia, from ancient counting to Cantor's 19th-century theory of the infinite.

A number system is a set of numbers together with the operations (addition, multiplication, etc.) defined on it. Starting from the natural numbers used for counting, mathematicians repeatedly enlarged the system to solve equations that had no solution before: subtraction forces integers , division forces rationals , limits and lengths force reals , and square roots of negatives force complex numbers . Each new system contains the old one and obeys (almost) the same arithmetic rules. The surprising fact: even though there are infinitely many rationals densely packed on the line, they are outnumbered by the irrationals — there are strictly "more" real numbers than fractions, a discovery that shocked mathematics in 1874.

The Core Insight

Each number system is the minimal extension of the previous one that makes a stuck operation work. You cannot compute in , so you invent negatives. You cannot compute in , so you invent fractions. You cannot find in , so you complete the line. You cannot find in , so you add a new dimension. The whole tower is a chain of "what was impossible becomes possible".

Formal Statement

The Five Number Systems

The standard nested hierarchy is:

1
⟳each inclusion is proper — every integer is a rational () but is not an integer; the symbol here means "proper subset".

Symbol-by-symbol:

  • — the natural numbers (counting numbers). (Some authors start at ; we note both conventions.)
  • — the integers (from German Zahlen, "numbers"), all whole numbers positive, negative, and zero.
  • — the rationals (from "ratio"), all fractions of integers.
  • — the reals, all points on the continuous number line, including irrationals like and .
  • — the complex numbers, the plane of all .

A Rational Number in Lowest Terms

A rational number has a canonical form

2
⟳divide numerator and denominator by their greatest common divisor; the sign is carried by , and the requirement makes the representation unique.

Here is the numerator, (with ) is the denominator, and denotes the greatest common divisor.

A Complex Number

Every complex number is written

3
⟳ is defined as a symbol with the single rule ; arithmetic then follows the ordinary distributive law treating like a variable.
is the real part, is the imaginary part, and is the imaginary unit. The modulus (length in the plane) and conjugate are
4
⟳multiply using ; the cross terms cancel, leaving , the squared distance from the origin by the Pythagorean theorem.

Density of the Rationals

Between any two distinct real numbers there is a rational number:

5
⟳choose an integer large enough that (Archimedean property), then some multiple must land in the gap.

$\sqrt{2}$ is Irrational

There is no rational number whose square is ; hence . This is the historical motivation for extending to the reals.

Why It Holds / Derivation

$\sqrt{2}$ is Irrational — Proof by Contradiction

Step 1. Suppose, for contradiction, that is rational, written in lowest terms so that . Step 2. Square both sides:
6
⟳multiply both sides of by and square.
Step 3. Since is even, is even, so itself must be even (the square of an odd number is odd). Write . Step 4. Substitute:
7
⟳expand and divide both sides by .
Step 5. Then is even, so is even. But now both and are even, contradicting . Step 6. The assumption was false; therefore is not rational.

Why We Need Complex Numbers — Solving $x^2 = -1$

Step 1. For any real number , , so has no real solution. Step 2. Define a new symbol with the single property . This is consistent — it does not break any algebra rule, it merely adds a new object. Step 3. With available, every quadratic now has a solution:
8
⟳complete the square on ; when the discriminant , the square root produces an imaginary part.
Step 4. In fact is algebraically closed: every non-constant polynomial with complex coefficients has a complex root (Fundamental Theorem of Algebra). No further extension is needed for solving polynomials.

Georg Cantor | 1845–1918

Cantor founded set theory and proved that the infinity of the reals is strictly larger than the infinity of the rationals. His diagonal argument (1891) showed cannot be put in one-to-one correspondence with , while can — so is countable but is uncountable. This revealed that "almost all" real numbers are irrational, indeed transcendental. His ideas were attacked in his lifetime (Kronecker called him a "corrupter of youth") but are now foundational to all modern mathematics.

Building Intuition

Picture the number line as a road. Naturals are the milestones going forward: . Integers add the road going backward: . Rationals fill in infinitely many points between each milestone — but no matter how densely you pack fractions, the line still has holes (like the exact location of ). The reals are the road with every hole filled: a perfectly continuous, gap-free line. Finally, the complex numbers lift you off the line entirely into a flat plane: the horizontal axis is real, the vertical axis is imaginary, and multiplying by rotates you counter-clockwise.

The nested number systems and the complex plane

ℂ complex ℝ real ℚ rational ℤ integer ℕ natural Re Im z = a + bi a b |z| The complex plane: |z| = √(a²+b²)

Worked Examples

Classifying and Simplifying Numbers

Given: Classify each number into the smallest system that contains it, and simplify where possible: (a) , (b) , (c) , (d) , (e) . Steps:
  • (a) — this is a positive whole number, so it lies in (and hence all larger systems).
  • (b) — a negative fraction, not an integer; smallest system is .
  • (c) — looks irrational but is a perfect square.
  • (d) — non-repeating, non-terminating; irrational, so smallest system is .
  • (e) has a nonzero imaginary part; smallest system is .
Answer:

Complex Arithmetic

Given: Let and . Compute , , , and . Steps:
  • Sum: .
  • Product: (using ).
  • Modulus: .
  • Quotient: multiply top and bottom by :
Answer:

Common Misconceptions

"A fraction means a number is rational." No — and are written as fractions but are irrational, because rationality requires both numerator and denominator to be integers. Likewise, a number can look irrational (, ) yet simplify to an integer. Always simplify before classifying. " is just less than ." It is exactly equal to . Two different decimal strings can represent the same real number; this is a feature of how decimals encode reals, not a paradox. Claim: "Every infinite, non-terminating decimal is irrational." Counterexample: is infinite and non-terminating, yet perfectly rational. The correct criterion is: a number is rational if and only if its decimal expansion either terminates or eventually repeats in a fixed block. Irrationals are precisely the non-terminating, non-repeating decimals. Claim: "Ordering works in every number system the same way." Counterexample: cannot be ordered compatibly with its arithmetic. If then , false; if then , also false. There is no consistent way to say one complex number is "less than" another — a genuine loss when we gain the plane.

Connections

Number systems underpin nearly every later topic. The jump from to is the completeness needed for Limits and Continuity and all of calculus — without filling the holes, statements would fail. The structure of powers the Fundamental Theorem of Algebra and Euler's Formula , linking complex numbers to Trigonometry. The countability gap between and belongs to Set Theory and Cardinality. Each system is also an example of an algebraic structure studied in Groups, Rings, and Fields.

Real-World Applications

  1. Computer arithmetic — integers (two's-complement) and floating-point approximations to underlie every digital calculation; rounding error traces to the impossibility of storing all reals.
  2. Electrical engineering — AC circuit analysis uses complex impedance so that resistance and reactance combine by ordinary algebra (here is used for ).
  3. Signal processing — the Fourier transform represents signals as sums of complex exponentials ; MP3, JPEG, and Wi-Fi depend on it.
  4. Quantum mechanics — wavefunctions are complex-valued; probabilities come from , making physically irreducible.
  5. Cryptography — RSA and Diffie–Hellman live in modular integer arithmetic (), a finite cousin of .
  6. Control systems & aerodynamics — stability is read off the location of roots in the complex plane (poles in the left half-plane = stable).
  7. GPS and metrology — real-number precision and irrational constants like govern distance and timing computations.

Historical Development

  • c. 30,000 BCE — Tally marks (Ishango bone) record the first counting numbers, the seed of .
  • c. 500 BCE — The Pythagoreans discover that is incommensurable; legend says Hippasus was drowned for revealing it. First crack in the rational worldview.
  • c. 628 CE — Brahmagupta (India) gives systematic rules for zero and negative numbers, building .
  • 9th c. — Al-Khwārizmī's al-jabr systematizes solving equations, laying groundwork for symbolic algebra.
  • 1545 — Cardano's Ars Magna publishes solutions of cubics, forcing square roots of negatives to appear in real answers — the reluctant birth of .
  • 1572 — Bombelli gives explicit rules for arithmetic with , treating complex numbers as legitimate intermediates.
  • 1637 — Descartes coins "imaginary" (dismissively); the name stuck.
  • 1806/1831 — Argand and Gauss give the geometric (plane) interpretation of , making it concrete and respectable.
  • 1872 — Dedekind (cuts) and Cantor (Cauchy sequences) give rigorous constructions of from , finally defining the continuum.
  • 1874–1891 — Cantor proves is uncountable; the diagonal argument shows there are strictly more reals than rationals.

Subtleties & Limits

The number systems are well understood, but questions about which reals exist remain deep. The Continuum Hypothesis asks whether there is any infinity strictly between the size of and the size of ; Gödel (1940) and Cohen (1963) proved it is independent of the standard axioms — it can neither be proved nor disproved. Separately, deciding whether specific constants (e.g. , the Euler–Mascheroni constant ) are even irrational, let alone transcendental, is still open. And one may continue beyond to the quaternions (where multiplication stops commuting) and octonions (where it stops associating) — each extension costs an algebraic property, a pattern formalized by the Cayley–Dickson construction.

See Also

Modular Arithmetic · Irrational and Transcendental Numbers · Polar Form of Complex Numbers · Dedekind Cuts · Cantor's Diagonal Argument · Quaternions and Octonions · The Peano Axioms

Before this

Where this leads