The Original I Ching
esenfr
← all experiments
圓 · 先天 · Shao Yong, 11th century

The square and the circle

Shao Yong's diagram, the one Leibniz saw

Tap a hexagram in the square or the circle, and apply the eight symmetries to follow it.

Shao Yong laid the 64 hexagrams out at once in a 8×8 square and in a circle, both in binary order. The Jesuit Joachim Bouvet sent this diagram to Leibniz (who had already invented binary arithmetic) in a letter of 4 November 1701 that Leibniz received on 1 April 1703; he recognised the identity at once: reading the square in order is counting from 0 to 63. He cited it in the Explication of that same year.

The square: reading it is counting in binary
7152331394755636142230384654625132129374553614122028364452603111927354351592101826344250581917253341495708162432404856← lower trigram (column): Kun → Qian →upper trigram (row): Qian ↑ Kun

The column fixes the lower trigram and the row the upper one; the value of each cell is (inferior × 8) + superior. Walking the cells in order 0, 1, 2, … 63 lights up, line by line, the binary count. Kun (0) bottom left, Qian (63) top right.

The eight symmetries of the square (D4)
identity

On the hexagrams: changes nothing.

fixed points: 64

Derived from the real layout of the square (column = lower trigram, row = upper inverted) and verified over the 64 hexagrams: the geometry of the paper and the algebra of the trigrams are the same group. The 8 symmetries split the 64 hexagrams into 10 orbits (Burnside: the average number of fixed points).

The circle and its symmetries
Qián 63Kūn 0
䷭ 46. Shēng (24)opposite (dui) → Wú Wàng vertical reflectionantipode → Tài flips the bottom line

In the circle, the opposite of each hexagram (dui, its six lines inverted) is its exact reflection over the vertical Qian-Kun axis. Its antipode (the diametrically opposite point) is, instead, only flipping the bottom line.