Overview
The Taiji Bagua diagram is not merely a philosophical symbol — it is a precise mathematical system. Each of the eight trigrams consists of three lines — yang (—) and yin (--), precisely corresponding to binary digits 1 and 0. The three-line combinations produce eight trigrams, exactly as a three-bit binary number yields eight states from 000 to 111.
German mathematician Leibniz encountered the I Ching through Jesuit missionaries in the 17th century and was astonished to discover that the 64 hexagrams matched his work on binary arithmetic perfectly. He wrote in 'On the Natural Theology of the Chinese': 'This arithmetic coincides perfectly with the system of symbols created by Fu Xi, the first Chinese monarch, 4000 years earlier.' This discovery not only confirmed binary arithmetic's ancient roots but revealed the deep resonance between Taiji thought and the foundations of mathematics.
More profoundly, Boolean algebra (AND/OR/NOT), group theory (the symmetry group of hexagram transformations), and combinatorics (all possible combinations of yin-yang elements) — these core concepts of modern mathematics all find corresponding prototypes in the Taiji Bagua system. The yin-yang binary is not crude opposition but the most fundamental duality in mathematics: 0 and 1, true and false, on and off.
Taiji Connection
Yin and Yang lines — the prototype of binary bits; yin-yang is 0 and 1
The eight trigrams — the 2³=8 combinatorial possibilities of three yin-yang lines
The 64 hexagram cycle — modular arithmetic and mathematical periodicity
The Taiji S-curve — a geometric metaphor for the continuum and real number system
Key Examples
Leibniz and Binary Arithmetic
In 1701, Leibniz received the 64 hexagram diagram from missionary Joachim Bouvet and discovered the hexagram order perfectly matched binary numbers 0-63. He subsequently published 'Explanation of Binary Arithmetic' and repeatedly cited Fu Xi's Bagua as the oldest source of binary thought.
Boolean Algebra and Yin-Yang Logic
In Boolean algebra, AND corresponds to yin-yang intersection, OR to yin-yang union, NOT to yin-yang transformation. The complementary logic in the Taiji diagram — where yin contains yang and vice versa — provides the most intuitive philosophical foundation for modern logical operations.
Visual Comparison
Yin-yang duality as the basic coding unit of all things
0/1 bits are the smallest unit of information, the atom of all digital computation
Eight trigrams exhaust all permutations of three yin-yang lines
n-bit binary can represent 2^n states; combinatorial explosion is the basis of modern computing
The Taiji diagram rotates cyclically, completing cycles
Modular arithmetic and cyclic group structure — the Taiji diagram provides a continuous geometric model for finite group theory
Visual Comparison
Yin-Yang Lines ↔ Binary Bits
Yang(—) → 1, Yin(--) → 0. The yin-yang binary is the origin of all information encoding.
3-Bit Toggle → Trigram
Click lines to toggle yin-yang; explore all 2³=8 trigrams
Taiji S-Curve ↔ Real Number Continuum
The S-curve continuously divides the circle into yin-yang halves, just as the real number continuum contains infinite values between 0 and 1 — behind discrete binary lies a continuous spectrum.
Knowledge Quiz
4 questionsHow many lines make up each trigram (Bagua)?
Which mathematician discovered the ancient roots of binary arithmetic in the I Ching's 64 hexagrams?
What does the yin-yang duality correspond to in mathematics?
What does the Taiji S-curve metaphorically represent in mathematics?