Leibniz read ancient Chinese hexagrams as binary numbers, centuries before computers

Leibniz read ancient Chinese hexagrams as binary numbers, centuries before computers
Image: Intellect (generated)

In short: Long before computers existed, Gottfried Leibniz published the modern binary number system in 1689. He was struck by the I Ching, an ancient Chinese text whose hexagrams line up with the binary numbers from 0 to 111111. Its story shows how a simple idea of two states can carry arithmetic, logic and even philosophy.

Binary code is built on a simple idea: every value is written with only two symbols, usually 0 and 1. A device can represent these with two distinguishable states, such as off and on, and each digit position stands for a power of two, while decimal digit positions stand for powers of ten. Modern computers store and move all their data this way, and text such as ASCII is simply a numbering scheme in which each character is given a binary value.

The idea is much older than electronics. In 1689 Gottfried Leibniz described the modern binary number system in a paper that used only the characters 1 and 0. For Leibniz, binary numbers also carried meaning: he linked them to the Christian idea of creation out of nothing, and he hoped the system could reduce logical reasoning to pure mathematics. He drew on the I Ching, dating from the 9th century BC, whose hexagrams correspond to binary numbers, and he took this as support for his view. Similar two-state systems appear elsewhere, including Pingala's binary description of prosody in India and slit drums that encode messages across Africa and Asia.

The next big step came in the nineteenth and twentieth centuries. George Boole's 1847 paper described an algebra of logic built on the operations AND, OR and NOT. Boole's system sat largely unused until Claude Shannon, a master's student at MIT, noticed that it matched the behaviour of electric switching circuits. His 1937 thesis showed how such circuits could carry out logical operations, and it became a starting point for practical binary computing. Around the same years, Alan Turing's 1936 paper described automatic machines able to read and process binary code.

Binary is not the only way to write these patterns, and the same two-symbol idea appears in many forms. Braille uses raised or flat dots in grids of six to encode letters and numbers, and the bagua diagrams of Chinese thought use broken and unbroken lines. Historians of mathematics also note that the binary system of Leibniz and the one in computers are the same mathematics, yet they arose from very different motives. The result is a reminder that a idea built from two choices can serve religion, language, touch and machines alike.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/science-binary-code.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…