The Original I Ching
esenfr
← all experiments
σ · Fu Xi → King Wen

King Wen as a permutation

How much the book disorders the geometry

Tap a cycle to see where it travels, and compare the four historical orderings.

Original finding

If the Fu Xi ordering is the identity (position k holds value k), any historical sequence of the 64 hexagrams is a permutation σ of the 64 numbers. Every permutation decomposes into cycles: groups that rotate among themselves. Their structure is the exact measure of the disorder. Four of them run here: King Wen, the Mawangdui silk manuscript, Jing Fang's Eight Palaces and Fu Xi itself as the baseline.

the received book · the traditional order of the 64 chapters
3
cycles
52
longest cycle
0
fixed points
260
order (σⁿ = id)
odd
parity
50%
inversions (1013)
The permutation, point by point
position in the sequence →← Fu Xi value

The dotted line is Fu Xi (the identity). The scatter around it is the disorder of the chosen ordering; the points on the line are the fixed ones.

Decomposition into cycles

Each row is a cycle (King Wen numbers of the hexagrams); the chosen cycle is highlighted in the matrix.

The race of the orderings
OrderingCyclesLongestFixedOrder σⁿParityInversionsCost in lines
King Wen the received book3520260odd1013 (50%)211 (3.35×)
Mawangdui c. 168 BCE4500600even1008 (50%)141 (2.24×)
Jing Fang first century BCE2570399even1008 (50%)93 (1.48×)
Fu Xi 11th century (Shao Yong)641641even0 (0%)120 (1.90×)
Gray smallest possiblea walk of one line per step63 (1.00×)

Mawangdui groups into 8 blocks by upper trigram; Jing Fang walks its Eight Palaces (the same partition as the palaces experiment). And something notable happens: with the authentic historical ordering, the two tie at exactly 1008 inversions (50%), the same disorder that King Wen (1013) shows against Fu Xi. Three very different architectures that, measured against binary counting, end up at almost the same distance.

And that 1008 is no coincidence: it is exactly the expected number of inversions between two random orderings, n(n−1)/4, with standard deviation 86.3. The three historical orderings fall right there, so with respect to the binary ordering they sit at the distance of chance: uncorrelated with it. The family tree of the orderings then measures the other question, how much they resemble each other: and there King Wen and Mawangdui turn out to be siblings (759 inversions), with Jing Fang the solitary one.

But the cost in lines (the total Hamming distance, how many lines change when moving from one hexagram to the next) separates them again: although Jing Fang and Mawangdui tie in inversions, Jing Fang jumps much less (93 lines against 141), because each palace is almost a walk of one line per step. King Wen is the one that jumps the most (211) and the smallest possible is 63, that of a Gray walk. Two metrics, two different portraits of the same ordering.

Note: the palace order used is Jing Fang's traditional bagong (乾震坎艮坤巽離兌: father, three sons by age, mother, three daughters by age).

King Wen has no fixed point at all: at no position does it agree with binary counting.