Skip to main content
返回博客

易经与二进制:莱布尼茨如何从古老卦象中看到数学之美

I Ching and the Binary System: How Leibniz Found Mathematical Beauty in Ancient Hexagrams

2026-02-1912 min read

一个跨越文明的发现 / A Discovery Across Civilizations

1703年,德国数学家戈特弗里德·威廉·莱布尼茨(Gottfried Wilhelm Leibniz)发表了论文《关于仅用0和1两个记号的二进制算术的解释》。在论文中,他不仅阐述了二进制数系统,还激动地指出——中国的易经在三千多年前就已经使用了一套与二进制完美对应的符号系统。

In 1703, German mathematician Gottfried Wilhelm Leibniz published his paper on binary arithmetic using only the symbols 0 and 1. In it, he excitedly noted that the Chinese I Ching had been using a symbolic system perfectly corresponding to binary arithmetic for over three thousand years.

这个发现连接了东方最古老的智慧和西方最前沿的数学——而这条连接线延伸到今天,构成了整个数字时代的基础。

莱布尼茨与易经的相遇 / How Leibniz Met the I Ching

耶稣会的桥梁

17世纪末,耶稣会传教士白晋(Joachim Bouvet)在中国传教期间深入研究了易经。1701年,白晋将伏羲六十四卦方位图寄给了莱布尼茨。莱布尼茨看到这张图的那一刻,激动万分——他发现,如果将阴爻(▅▅ ▅▅)视为0,阳爻(▅▅▅▅▅)视为1,那么六十四卦按照伏羲先天序排列,恰好对应了从0到63的全部二进制数。

Jesuit missionary Joachim Bouvet, studying the I Ching in China, sent Leibniz the Fu Xi arrangement of the 64 hexagrams in 1701. Leibniz was thrilled: interpreting yin lines as 0 and yang lines as 1, the 64 hexagrams in Fu Xi's sequence correspond exactly to binary numbers 0 through 63.

莱布尼茨的反应

莱布尼茨在写给白晋的回信中说:"我认为这是伏羲文字的一种恢复,其中最值得注意的是,这种算术和我最近发明的二进制算术之间的协调一致。"

他甚至认为伏羲可能理解了二进制数学的原理,只是后来这种知识在中国失传了。虽然现代学者认为这是一种过度解读——伏羲八卦的创制更可能出于哲学和占卜目的而非数学——但这种跨文明的对应本身确实令人惊叹。

二进制与阴阳的对应 / Binary and Yin-Yang Correspondence

基本对应

二进制阴阳含义
0阴(▅▅ ▅▅)无、暗、静、关
1阳(▅▅▅▅▅)有、明、动、开

这种对应不仅仅是形式上的相似。二进制的核心思想是——任何复杂的数字都可以用0和1两个基本符号的组合来表达。易经的核心思想是——宇宙间一切复杂的现象都可以用阴和阳两个基本力量的组合来描述。

The correspondence goes beyond formal similarity. Binary's core idea: any complex number can be expressed through combinations of 0 and 1. The I Ching's core idea: any complex phenomenon can be described through combinations of yin and yang. Both systems demonstrate that infinite complexity emerges from the simplest possible duality.

八卦与三位二进制数

八卦(三条爻的组合)对应三位二进制数(2³ = 8种组合):

卦名符号二进制十进制
0000
0011
0102
0113
1004
1015
1106
1117

(注意:此处使用从下到上的阅读顺序,阴=0,阳=1)

六十四卦与六位二进制数

六十四卦(六条爻的组合)对应六位二进制数(2⁶ = 64种组合),涵盖了从000000(坤)到111111(乾)的所有可能。这是一个完整的二元编码系统。

The 64 hexagrams correspond to six-digit binary numbers (2⁶ = 64 combinations), covering all possibilities from 000000 (Kun) to 111111 (Qian). This constitutes a complete binary encoding system. Explore all 64 hexagrams on our reference page.

从易经到计算机 / From the I Ching to Computers

二进制与数字革命

莱布尼茨发明的二进制系统在他的时代并未受到重视。直到20世纪,克劳德·香农(Claude Shannon)证明了电子开关可以用二进制逻辑来表示信息,二进制才成为计算机科学的基石。今天,你正在使用的每一台电脑、每一部手机、每一个网站,底层都运行在0和1的二进制逻辑之上。

Leibniz's binary system was largely ignored in his time. Not until Claude Shannon demonstrated in the 20th century that electronic switches could represent information through binary logic did binary become the cornerstone of computer science. Today, every computer, phone, and website runs on the same fundamental 0-and-1 logic.

从这个角度看,易经的阴阳二元系统与数字时代之间存在一条虽然间接但真实的思想传承线。

布尔逻辑与阴阳

乔治·布尔(George Boole)在1854年发展的布尔代数——用真(TRUE/1)和假(FALSE/0)进行逻辑运算——与易经的阴阳逻辑有着结构上的对应:

  • 与运算(AND):两个阳才是阳 → 1 AND 1 = 1
  • 或运算(OR):有一个阳就是阳 → 1 OR 0 = 1
  • 非运算(NOT):阴阳互换 → NOT 1 = 0

信息论与易经

香农的信息论用"比特"(bit)作为信息的基本单位——每一个比特就是一个0或1的选择。一个三爻卦包含3比特的信息,一个六爻卦包含6比特。从信息论的角度看,易经的六十四卦恰好是6比特所能表达的全部信息空间。

From information theory's perspective, each trigram contains 3 bits of information, each hexagram contains 6 bits. The 64 hexagrams represent the complete information space expressible in 6 bits.

先天序与文王序 / Fu Xi Order vs King Wen Order

先天序的数学之美

伏羲先天序按照二进制数的自然顺序排列六十四卦——从000000到111111。这种排列具有完美的数学对称性:每一卦与对面位置的卦互为"错卦"(每条爻阴阳互换)。

The Fu Xi (Earlier Heaven) sequence arranges the 64 hexagrams in natural binary order — from 000000 to 111111. This arrangement possesses perfect mathematical symmetry: each hexagram and its opposite position form an "inverted pair" where every line is reversed.

文王序的实用智慧

文王序(后天序)则不遵循数学顺序,而是按照一种哲学和实用的逻辑排列——从乾坤(创造与接纳)开始,经历各种人生情境,到既济未济(完成与未完成)结束。这种排列更接近于"人生的叙事"而非"数学的逻辑"。

两种秩序的互补

先天序展示了易经的数学结构之美,文王序展示了它的哲学智慧之深。两者互补,共同构成了易经的完整面貌。

现代科学的新回响 / Modern Scientific Echoes

DNA密码子

人类DNA使用四种碱基(A、T、G、C),每三个碱基组成一个密码子,共有4³ = 64种组合。这个数字与六十四卦的64完全相同。虽然这可能只是数学上的巧合,但它引发了许多关于生命编码与宇宙编码之间潜在联系的有趣思考。

DNA uses four bases in triplets, yielding 4³ = 64 possible codons — the same number as the hexagrams. While likely mathematical coincidence, this parallel has inspired fascinating speculation about the connection between life's coding system and the universe's symbolic patterns.

量子计算

量子计算中的量子比特(qubit)可以同时处于0和1的叠加状态——这与变爻的概念有着有趣的呼应。变爻既是阴又将变阳(或反之),它存在于两种状态之间。

结语:从竹简到比特

从伏羲用阴阳符号记录天地之道,到莱布尼茨用0和1构建数学体系,再到现代计算机用二进制处理世界上的一切信息——这条线索跨越了三千年,连接了竹简和芯片、卦象和代码、东方智慧和西方科学。

From Fu Xi recording the patterns of heaven and earth with yin-yang symbols, to Leibniz building a mathematical system with 0 and 1, to modern computers processing all the world's information in binary — this thread spans three thousand years, connecting bamboo slips and silicon chips, hexagrams and code, Eastern wisdom and Western science.

易经提醒我们:最深刻的真理往往以最简单的形式呈现。阴和阳,0和1,足以描述整个宇宙。

探索这个古老的二元宇宙:在线占卜 | 八卦详解 | 六十四卦查询

免费领取:64卦速查参考卡

Subscribe and get a free 64 Hexagram Quick Reference Card — perfect for daily practice and study.

We respect your privacy. Unsubscribe anytime.

Continue Through the Topic Hub