Skip to content
02 of 06From the Caves to AGI

Chapter 1: Represent (≈ 43,000 BCE to 1700)

Library

Series and technical notes.

You are in From the Caves to AGI · Represent.

Series

From the Caves to AGI

6 items

Watch video, summary and related content

Estimated reading7 min

This chapter traces how humanity built the mathematical language that would later make computation possible, from the first notches carved into bone to the differential calculus of Newton and Leibniz. By the end, you will understand why notation matters as much as the concepts it describes, how algebra turned unknown quantities into manipulable objects, and how the Greek deductive ideal laid the foundations for verifiable step-by-step reasoning. No prior mathematical background is required. The central idea is simple: each time people found a way to compress an idea into a symbol, they gained the ability to reason about it without manipulating the physical thing itself.

The process spans tens of thousands of years: humanity moved from marking quantities on physical objects to building a mathematical language capable of describing relationships, proving conclusions and predicting how the world will behave.

This is a history of abstraction, not just a history of numbers.

The decisive shift was accepting that a mark could stand for a thing, a letter could represent an unknown quantity, and a deduction could remain valid without referring directly to a physical object. That separation between the world and its representation became one of the intellectual foundations of computation.


1. We invented languages to describe the world

Before writing, we were already counting

The need to count is far older than writing. Paleolithic notched objects such as the Lebombo bone and the Ishango bone do not by themselves prove the existence of formal mathematics, but they do show something more basic: very ancient human groups were already using sequences of marks to record, organize or remember quantities (Royal Society, PNAS Border Cave, Royal Belgian Institute of Natural Sciences).

A notch is not a sheep, a day or a bag of grain. It is a physical representation that can stand for any of them. Once a mark can represent something absent, reasoning can operate on symbols rather than on the objects themselves. That idea runs through the rest of this history.

Numbers, position and zero

For millennia, different civilizations developed their own ways of representing quantities. The Egyptians used an additive system, as did the Romans. The Babylonians introduced a powerful positional system. In a positional system, a symbol's value depends partly on where it appears, greatly increasing the expressive power of a small set of signs.

The development of zero requires distinguishing two historical steps that are often conflated. The first is using a mark to indicate an empty position inside a positional system. The second is treating that absence as a number with rules of its own. India provides evidence of both developments at different times: the Bakhshali manuscript uses a dot as a placeholder, and centuries later Brahmagupta gives explicit arithmetic rules for operating with zero as a number (Oxford GLAM, Britannica: zero, Britannica: Brahmagupta).

This makes numerical representation much more general. Instead of recording only concrete quantities, we can use a compact, reusable formal system to express any quantity and manipulate it according to stable rules. That tradition later passed into the Islamic world and from there into Europe (Britannica: zero).

Four systems, four different worlds
The same quantity expressed in radically different ways. What changes is not the numbers themselves, but which operations become possible.
Paleolithic · ≈ 40,000 BCE
Tally marks
One stroke per unit. There is no symbol for "zero" or for abstract quantities: each mark represents a concrete object.
Example — the number 7:
||||/ ||
Makes possible
  • Counting concrete objects
  • Comparing two quantities visually
  • Recording simple inventories
Does not make possible
  • Arithmetic (adding 47 + 83 requires counting everything again)
  • Representing large quantities compactly
  • Operating on unknown quantities
The conceptual leap was to separate the symbol from the object: the notch is not the sheep; it represents it.
Roman Empire · ≈ 4th century BCE – 14th century CE
Roman numerals
An additive system with fixed symbols for key values. Position matters (IV ≠ VI), but it is not positional in the modern sense.
How a number is constructed:
I1
V5
X10
L50
C100
D500
M1 000
1994 = MCMXCIV
Makes possible
  • Representing large quantities compactly
  • Quick reading of approximate values
  • Addition by grouping symbols
Does not make possible
  • Practical multiplication and division (XLII × XXIII is an ordeal)
  • Representing fractions
  • The concept of zero
Without zero or positional notation, arithmetic was so slow that there were professionals specialized in calculation. Calculation was manual work.
India · 5th–7th centuries · reached Europe via al-Khwarizmi
Positional decimal system
Ten digits (0–9) and a positional principle: the value of each digit depends on its position. Zero is not merely absence, but an active symbol that shifts positions.
The same digit, three different values:
3
0
0
= 300
0
3
0
= 30
0
0
3
= 3
Makes possible
  • Arithmetic through formal rules (algorithms)
  • Representing any number with only 10 symbols
  • Decimal fractions and scientific notation
  • Reasoning about unknown quantities (algebra)
Disadvantage
  • It is inefficient in electronic hardware (multiple voltage levels)
With this system, following the rules guarantees the correct result. Calculation no longer requires intuition or manual verification.
Leibniz 1679 · adopted in computing in the 20th century
Binary system
Only two digits (0 and 1). Position multiplies by powers of 2. Its practical value is physical: 0 and 1 can be implemented as off/on states in an electrical circuit.
Counting in binary:
DecimalBinaryPattern
00
11
210
311
5101
131101
Makes possible
  • Direct implementation in hardware (transistor: off/on)
  • Logical operations (AND, OR, NOT) on the same digits
  • Reliable transmission with minimal signal error
Disadvantage
  • Longer representations (13 needs 4 digits instead of 2 in decimal)
  • Difficult for humans to read directly
Binary turns a number into a physical signal. That connects the world of abstract mathematics with electronic circuits.

Algebra: operating on what we do not yet know

The next step is not simply to represent visible quantities but to reason about unknown ones. In the ninth century, al-Khwarizmi systematized procedures for solving linear and quadratic equations in Al-Kitab al-mukhtasar fi hisab al-jabr wa-l-muqabala. The word algebra comes from al-jabr, while algorithm later emerged from the Latinization of his name (Britannica: The Compendious Book on Calculation by Completion and Balancing, Britannica: al-Khwarizmi, MacTutor: Al-Khwarizmi).

One distinction matters: al-Khwarizmi's algebra was not yet modern symbolic notation. His methods were rhetorical and often supported by geometric arguments. The conceptual shift, however, was already present. An expression could be transformed step by step under general rules until the unknown quantity was isolated.

Notation compresses thought

Notation is the key development between medieval rhetorical algebra and calculus. François Viète introduced the first systematic algebraic notation, using letters for variables and parameters. A few decades later, Descartes and Fermat extended that symbolic compression by connecting equations and geometry. A curve was no longer only a figure; it could also be represented as a symbolic relationship (Britannica: François Viète, Britannica: Analytic geometry, Britannica: mathematics / analytic geometry, Britannica: La Géométrie).

Good notation reduces the mental space needed to represent a complex idea. Once an idea can be expressed compactly in symbols, it becomes easier to transform, combine and generalize.

Algebra: reasoning about what is not yet known
Al-Khwarizmi formalized the idea that an unknown quantity can be operated on as if it were known, rules can be applied, and its value can be obtained. That is an algorithm.
Before algebra
“If twice a certain quantity plus five is thirteen, what is that quantity?” Only by guessing or trying values.
Trial and error · no guarantees · not generalizable
→
With algebra
We call the unknown quantity x. We write the relationships. We apply formal rules. The result is an inevitable consequence.
Formal rules · guaranteed correctness · generalizable to any problem of that form
Problem
Isolate x
Simplify
Verify
The starting point
2x + 5
=
13
x = unknown quantity (the target)
2 = coefficient (how many times x appears)
5 = constant term (does not contain x)
The key to algebra: we treat x as an object that we can move, divide or multiply, even though we do not yet know its value.
Step 1 — remove the constant term
2x + 5 − 5
=
13 − 5
Operation: subtract 5 from both sides
2x
=
8
⚖ Balance rule: whatever is done to one side must be done to the other. The equality is preserved.
Step 2 — isolate x completely
2x ÷ 2
=
8 ÷ 2
Operation: divide both sides by 2
x
=
4
✓ The unknown quantity is now alone. Applying the rules is enough: no intuition or guessing is required.
Verification — proof that the process is correct
Substitute x = 4: 2 · 4 + 5 = 8 + 5 = 13
✓ 13 = 13 — the solution is correct
The same form, any problem:
ax + b = c  →  x = (c − b) / a
Al-Khwarizmi described general procedures for solving all one-variable equations. The word algorithm comes from the Latinized form of his name: Algoritmi.

2. Formalizing truth

Greek geometry and the deductive ideal

The Greeks added a standard of justification that went beyond practical calculation. In the Elements, Euclid organized results from definitions, postulates and chained proofs. The goal was not merely to reach a correct conclusion, but to show why that conclusion followed necessarily from accepted assumptions (Britannica: Elements, Britannica: Euclid, Britannica: Euclidean geometry).

That deductive ideal changes the basis of mathematical authority. Within the system, a conclusion does not depend on tradition, intuition or immediate experience; it depends on a chain of inferences. Each step can be checked and the conclusion reconstructed.

The deductive chain: how Euclid guaranteed truth
Each step rests on the previous one. If the foundations are sound and the steps are valid, the conclusion is inevitable. Two thousand years of geometry worked exactly this way.
Axioms
Definitions
Proposition
Corollary
Starting point
Axioms — truths accepted without proof
Euclid began with five postulates. He did not prove them: he declared them as the foundation. Everything else is built on them.
1 A straight line can be drawn between any two points.
2 A finite straight line can be extended indefinitely.
3 A circle can be drawn with any point as center and any given radius.
4 All right angles are equal to one another.
5 Through a point outside a line, only one parallel to that line can be drawn. (Parallel postulate — the most debated in history)
Makes possible → precisely define the objects we reason about
Formal vocabulary
Definitions — exactly what we mean
Before proving anything, Euclid defines his objects precisely. Without a clear definition, logic slips.
Point
That which has no parts. No extension, no size: pure abstract position.
Straight line
Length without width: extension in a single dimension between two points.
Right angle
The angle formed when one straight line intersects another so that the two adjacent angles are equal.
Makes possible → reason about objects with precise logic, without ambiguity
Derived truth
Proposition — a conclusion forced by logic
The Pythagorean theorem was not observed: it was deduced. Euclid proved it in Proposition 47 of Book I using only axioms and definitions.
c² a² b²
a² + b² = c²
Pythagorean theorem · Proposition I.47 of the Elements
1. Start from a right triangle (definition 22)
2. Construct squares on each side (postulate 3)
3. By triangle congruence (Props. I.4 and I.41): the areas are equal
∴ The square on the hypotenuse = the sum of the squares on the legs
Makes possible → derive additional consequences — corollaries
Consequence
Corollary — what follows without additional effort
A corollary does not require a proof of its own: it follows directly from the previous theorem. The chain extends.
Corollary 1 — Identifying right triangles
If a triangle satisfies a² + b² = c², then the angle opposite c is a right angle. There is no need to measure the angle: calculation is enough.
Used by architects and engineers since ancient Egypt (the 3-4-5 rule).
Corollary 2 — Distances in the plane
The distance between two points (x₁,y₁) and (x₂,y₂) is √[(x₂−x₁)² + (y₂−y₁)²]. The Pythagorean theorem applied to coordinates.
Foundation of analytic geometry, computer graphics and machine learning (Euclidean distance between vectors).
⟳ Each corollary can become a premise for a new theorem. The chain does not end: modern geometry, topology and linear algebra are extensions of this same method.

The power and limit of abstraction

This approach can derive necessary truths from a formal structure, but it also has a clear limit: the structure operates on idealized objects. A geometric line has no thickness and a triangle has no measurement error. Its rigor depends precisely on that separation from the physical world.

This distinction becomes important later. Mathematics gains power through abstraction, while science gains explanatory power by connecting those abstractions back to observations. Much of modern science depends on moving reliably between those two levels.


3. Doing science with mathematics

When nature became expressible in equations

The seventeenth century brought a decisive change. Galileo mathematized terrestrial motion, Kepler formulated quantitative laws for planetary orbits, and Newton brought both lines together in a unified mechanics. Nature was no longer described only in words; it could also be represented through precise mathematical relationships (Britannica: Galileo, Britannica: Kepler's laws, Britannica: Principia).

Understanding increasingly meant finding a mathematical structure that could both explain and predict.

Calculus and the description of change

Calculus emerged in this context. Newton developed his methods in the second half of the 1660s. Leibniz developed his independently in the 1670s and in 1684 published the exposition that established much of the notation still used today (Britannica: Newton and Leibniz, Britannica: Gottfried Wilhelm Leibniz, MacTutor: Leibniz, Britannica: Isaac Newton).

Calculus provides a language for continuous variation. It formalizes rates of change and accumulation. With it, phenomena such as falling bodies, planetary orbits, changing velocity and the propagation of physical quantities become not only observable but calculable in advance.

That predictive power expands the role of mathematics beyond counting, measurement and proof to the modeling of processes.

From symbol to calculus: 40,000 years in 7 steps
Each milestone solves the problem left open by the previous one. Navigate to see how each piece makes the next one possible.

Makes possible →

4. What these tools made possible

By the end of this period, humanity had several components that would later become indispensable for computation.

  • Symbolic systems capable of representing quantities in compact, operable form.
  • Algebraic rules for transforming expressions and working with unknowns.
  • A deductive ideal that turns reasoning into a verifiable sequence of steps.
  • A mathematical language capable of describing relationships, trajectories and continuous change.

None of these ideas was developed with computers in mind; computers were still centuries away. But without them, the next step would have been impossible to formulate: turning representations and rules into mechanical procedures that a machine could execute.

The next chapter begins at that transition, when people stop using symbols only as tools for human reasoning and start trying to make machines manipulate them.

Next chapter

Chapter 2 — Mechanize → — From Babbage to Turing: how we moved from automating specific calculations to designing general-purpose machines capable of executing any program.


5. References

Core sources
Key Source Brief description
R1 Royal Society (2018) — From number sense to number symbols. An archaeological perspective Archaeological framework for the transition from physical marks to numerical notation.
R2 PNAS (2012) — Early evidence of San material culture represented by organic artifacts from Border Cave, South Africa Archaeological context for Border Cave and the notched objects associated with Lebombo.
R3 Royal Belgian Institute of Natural Sciences — The Ishango Bone Institutional description of the Ishango bone and its groups of notches.
R4 Oxford GLAM — Carbon dating finds Bakhshali manuscript contains oldest recorded origins of the symbol 'zero' Use of the dot as a placeholder in the Bakhshali manuscript.
R5 Britannica — Zero Historical distinction between a placeholder and zero as a number.
R6 Britannica — Brahmagupta Explicit arithmetic rules for zero and negative numbers.
R7 Britannica — The Compendious Book on Calculation by Completion and Balancing Al-Khwarizmi's foundational role in the development of algebra.
R8 MacTutor — Al-Khwarizmi Etymology of “algorithm” and biographical context.
R9 Britannica — François Viète First systematic algebraic notation.
R10 Britannica — Analytic geometry Union of algebra and geometry in the Cartesian tradition.
R11 Britannica — Elements Euclid and the standard of deductive reasoning.
R12 Britannica — Galileo Mathematization of motion in the scientific revolution.
R13 Britannica — Kepler’s laws of planetary motion Quantitative formulation of planetary orbits.
R14 Britannica — Principia Newtonian unification of mechanics and gravitation.
R15 Britannica — Newton and Leibniz Independent development of calculus and basic chronology.

Frequently asked questions

Why does notation matter if the mathematical concept already exists? Because notation changes what can be reasoned about efficiently, not just what is convenient to write. When Viète introduced letters for variables and Descartes connected equations with geometry, they did more than shorten expressions: they made new forms of symbolic manipulation practical. An idea represented compactly can be transformed, combined with other ideas and generalized in ways that are much harder to perform in prose alone.

What did algebra contribute that verbal or geometric reasoning could not? It made it possible to operate systematically on unknown quantities. Before the algebraic methods associated with al-Khwarizmi, mathematical problems were often solved as particular cases. Algebra introduced the idea that an expression could be transformed step by step under general rules until the unknown quantity was isolated.

What role did the Greek deductive ideal play in the history of computation? It established a standard of justification that computation would inherit centuries later. Euclid did not merely organize results; he required conclusions to follow from accepted assumptions through verifiable steps. That model of reasoning as a chain of reviewable inferences is part of the intellectual background that Turing later formalized when defining computation.

What does differential calculus have to do with training neural networks? The connection is direct. Gradient descent, the central mechanism for adjusting a model's parameters, applies differential calculus by calculating how the error changes as each weight changes; those rates of change are derivatives. Without the language of calculus developed by Newton and Leibniz for continuous variation, the mathematical machinery used to train today's neural networks would not exist.

Keep learning
Next chapterMechanizeFrom the Caves to AGI