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.

Watch video, summary and related content

Estimated reading8 min

This chapter tells 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 step-by-step verifiable reasoning. No prior mathematical background is required, only curiosity about where the tools that computers now execute millions of times per second came from. The thread is always the same: whenever humanity found a way to compress an idea into a symbol, it gained the ability to reason about that idea without having to touch it.

In this chapter we trace an extraordinarily long and decisive process: how humanity moved from marking quantities on physical objects to building a mathematical language capable of describing relationships, proving conclusions and anticipating how the world will behave.

This is not only a history of numbers; it is the history of how human beings apply abstraction.

The profound shift came when we accepted that a mark could stand in for a thing, that a letter could represent an unknown quantity, and that a deduction could be valid even when it did not directly touch any physical object. In that distance between the world and its representation lies an essential part of the intellectual history that would later make computation possible.


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 and more important: 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).

That gesture is more profound than it looks. A notch is not a sheep, it is not a day, it is not a bag of grain. It is a physical representation of any of those concepts. And as soon as you accept that a mark can speak on behalf of something absent, an idea appears that runs through all later history: thinking by operating on symbols.

Numbers, position and zero

For millennia, different civilizations developed their own ways of representing quantities. The Egyptians used an additive system. The Romans did too. The Babylonians introduced a very powerful positional system. The difference matters because, in a positional system, the value of a symbol also depends on the place it occupies. That idea multiplies the expressive capacity of a small set of signs.

The development of zero requires us to distinguish two historical steps that are often mixed together. One step is to use a mark to indicate an absence inside a positional system. Another, much more ambitious step is to treat that absence as a number with rules of its own. In India we find both pieces at different times: the Bakhshali manuscript shows a dot used as a placeholder, and centuries later Brahmagupta formulates explicit arithmetic rules for operating with zero as a number (Oxford GLAM, Britannica: zero, Britannica: Brahmagupta).

With that step, numerical representation gains a new generality. We no longer only record concrete quantities. We can build a compact, reusable and formal system for expressing any quantity and operating on it according to stable rules. Later, that tradition would pass 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 leap is no longer about representing visible quantities, but about reasoning over unknown quantities. 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, and the word algorithm would later come from the Latinization of his name (Britannica: The Compendious Book on Calculation by Completion and Balancing, Britannica: al-Khwarizmi, MacTutor: Al-Khwarizmi).

There is an important precision here. Al-Khwarizmi's algebra is not yet modern symbolic notation. His methods are rhetorical and rely on geometric arguments. But the conceptual shift has already happened: an expression can be transformed step by step, following general rules, until we isolate what we did not know at the beginning.

Notation compresses thought

Between medieval rhetorical algebra and calculus lies a decisive piece: notation. François Viète introduced the first systematic algebraic notation, using letters for variables and parameters. A few decades later, Descartes and Fermat took that symbolic compression one step further by connecting equations and geometry. A curve stopped being only a figure and also became a relationship expressible through symbols (Britannica: François Viète, Britannica: Analytic geometry, Britannica: mathematics / analytic geometry, Britannica: La Géométrie).

This changes the kind of thinking that can be done. With good notation, a complex idea takes up less mental space. And when an idea fits into compact 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 something that goes beyond practical calculation: a standard of justification. In the Elements, Euclid organizes results from definitions, postulates and chained proofs. It is not only about reaching a correct conclusion, but about showing why that conclusion follows necessarily from accepted assumptions (Britannica: Elements, Britannica: Euclid, Britannica: Euclidean geometry).

That deductive ideal changes the nature of mathematical knowledge. Inside the system, authority no longer lies in tradition, intuition or immediate experience, but in the chain of inferences. Every step can be reviewed and every conclusion can be 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.
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

The strength of this approach is enormous. It makes it possible to obtain necessary truths from a formal structure. But it also has a clear limit: it only works on idealized objects. A geometric line has no thickness; a triangle has no measurement errors. Rigor arises precisely from that distance from the physical world.

This distinction will become crucial later. Mathematics gains power when it abstracts, but science only gains explanatory power when it manages to return from that abstraction to the observed world. The modern history of science consists, to a large extent, of learning to travel that double path well.


3. Doing science with mathematics

When nature began to be written in equations

A decisive transformation takes place in the seventeenth century. Galileo mathematizes terrestrial motion, Kepler formulates quantitative laws for planetary orbits, and Newton will bring both lines together in a unified mechanics. From that point on, nature stops being only something described in words and becomes something that is also expressed through precise mathematical relationships (Britannica: Galileo, Britannica: Kepler's laws, Britannica: Principia).

The cultural shift is immense. Understanding no longer means only classifying or narrating, but finding a mathematical structure that can explain and predict.

Calculus and the description of change

Calculus appears in that context. Newton develops his methods in the second half of the 1660s. Leibniz arrives independently in the 1670s and in 1684 publishes the exposition that would establish much of the notation we still use today (Britannica: Newton and Leibniz, Britannica: Gottfried Wilhelm Leibniz, MacTutor: Leibniz, Britannica: Isaac Newton).

What calculus contributes is a language for describing continuous variation. It makes it possible to formalize rates of change and accumulations. Thanks to it, phenomena such as falling bodies, orbits, changing velocity or the propagation of physical quantities stop being merely observable and become calculable in advance.

That predictive power expands what mathematics can do: it no longer serves only to count, measure or prove, but also to model 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 already has several pieces 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 pieces was created with computers in mind. Computers were still centuries away. But without them, there would be no way to imagine the next stage: turning these representations and rules into executable mechanical procedures.

The next chapter enters exactly there: at the moment when humanity stops limiting itself to thinking with symbols and begins trying to make a machine manipulate them for us.

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 is possible to think, not only what is convenient to write. When Viète introduced letters for variables and Descartes connected equations with geometry, they did not merely simplify writing: they opened conceptual territories that had previously been inaccessible. An idea that fits into compact symbols can be transformed, combined with other ideas and generalized in ways that verbal language does not allow.

What did algebra contribute that verbal or geometric reasoning could not? The ability to operate on what is not yet known. Mathematics before al-Khwarizmi solved concrete cases, but each case had to be reasoned through again from the beginning. Algebra introduces a decisive conceptual change: an expression can be transformed step by step, following general rules, until an unknown that did not even have a name at the start is 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 only organize results: he required every conclusion to follow necessarily from accepted assumptions through verifiable steps. That model of reasoning as a chain of reviewable inferences is exactly what Turing would formalize when describing what it means to compute.

What does differential calculus have to do with training neural networks? A direct connection. Gradient descent, the central mechanism for adjusting a model's parameters, is a direct application of differential calculus: it requires calculating how the error varies when each weight changes, and those quantities are derivatives. Without the language of calculus that Newton and Leibniz developed to describe continuous variation, the algorithm that trains today's models would not exist.

Keep learning
Next chapterMechanizeFrom the Caves to AGI