The Doubling Method & Leibniz’s Binary Arithmetic
In the 11th century, Shao Yong generated all 64 hexagrams through a 6-step recursive doubling tree. Scrub through depths 0–6 below and toggle between Shao Yong’s order and Leibniz’s 1703 binary decoding.
Unified bit convention: Lines 1 (bottom) through 6 (top) map left-to-right to 6 binary bits (Yang = 1, Yin = 0). This matches Joachim Bouvet’s 1701 diagram sent to Leibniz and Leibniz’s 1703 paper (Kun = 000000 = 0 through Qian = 111111 = 63). Click any cell in any row to trace its branching path.
1701–1703 Cross-Cultural Moment: Joachim Bouvet & G. W. Leibniz
In November 1701, Jesuit missionary Joachim Bouvet mailed Shao Yong’s Fuxi 64-Hexagram diagram (from Zhu Xi’s Zhouyi Benyi) from Beijing to Hanover. When Leibniz received it in April 1703, he recognized that reading broken lines as 0 and solid lines as 1 mapped Kun through Qian directly onto 0 through 63. Weeks later, he published Explication de l’Arithmétique Binaire at the Paris Academy of Sciences. Historically, Leibniz invented binary independently first—then celebrated Shao Yong’s 11th-century diagram as a remarkable parallel across cultures.
Why the Doubling Method Matters in the History of Ideas
Before Shao Yong, the received King Wen sequence of the I Ching arranged the 64 hexagrams by thematic and moral pairing rather than a generative algorithm. Shao Yong asked a structural question: starting from a single binary distinction (solid yang vs. broken yin), what happens when you double recursively six times?
The result—what he called the Doubling Method (加一倍法)—is a complete 6-level full binary tree of 2⁶ = 64 states, without gaps or duplicates. When Jesuit Joachim Bouvet sent Zhu Xi’s edition of Shao Yong’s diagram to Gottfried Wilhelm Leibniz in 1701, Leibniz immediately saw that reading broken lines as 0 and solid lines as 1 produced the exact integers 0 through 63.
To keep history accurate: Leibniz did not invent binary from the I Ching—his earliest binary manuscripts date to 1679. Rather, Shao Yong’s 11th-century chart provided dramatic cross-cultural confirmation that binary logic is a universal mathematical structure.