- Home/
- Chinese Metaphysics/
- The Hetu, Luoshu and Nine Palaces in Chinese Cosmology/
- Hetu, Luoshu and Nine Palaces: Primary Sources and Further Reading
Hetu, Luoshu and Nine Palaces: Primary Sources and Further Reading
河图、洛书与九宫的重要资料与延伸阅读
The Hetu, Luoshu, and Nine Palaces sit at the intersection of mathematics, history, and religious cosmology, and the most useful reading draws on all three fields. The notes below point toward reliable starting points and indicate what kind of understanding each offers. As with every topic in this section, the aim is to separate documented history and verifiable mathematics from traditional interpretation.

Read these two first
Two things, done first, will save a reader a great deal of trouble later.
Construct the magic square yourself. Take the numbers one to nine and work out the arrangement in which every row, column and diagonal sums to fifteen. It takes a few minutes with pencil and paper, and having done it you will understand, in a way no amount of reading conveys, that the centre could not have been anything but five. Everything else on this subject reads differently afterwards.
Then read Hu Wei's Yitu Mingbian (易图明辨), or a summary of it if the classical Chinese is a barrier. It is the definitive demonstration that the diagrams now printed everywhere are Song productions, and it is a model of what careful source criticism looks like.
The combination is the point. One shows you what is genuinely necessary about this material; the other shows you what is merely traditional. Holding both makes the rest of the literature navigable.
Pre-Qin and Han primary material
- Shangshu, "Testamentary Charge" — lists the River Chart among royal treasures. Note that it is treated as a physical object and that nothing is said about its appearance.
- Yijing, Great Treatise — the line that the river put forth a chart and the Luo a writing, and separately the passages on the numbers of heaven and earth and the great expansion number.
- Da Dai Liji, "Bright Hall" — the sequence two-nine-four, seven-five-three, six-one-eight, which is the nine-palace arrangement set out by position.
- Huangdi Neijing, Lingshu, "Nine Palaces and Eight Winds" — the numbers and directions given at the opening, then applied to winds and illness.
- Han apocryphal texts titled Hetu and Luoshu, surviving in later collections — worth sampling to see that they are political prophecy and have nothing to do with the dot diagrams.
Song chart-and-writing learning
For the Song-dynasty systematization specifically, histories of Neo-Confucian and Taoist thought describe the "Images and Numbers" school and the debates, associated with figures such as Chen Tuan, Liu Mu, and Zhu Xi, that produced the diagrams we now use. Joseph Needham's "Science and Civilisation in China" remains a monumental, if dated, reference for how these cosmological schemes related to Chinese proto-science, and should be read alongside more recent scholarship that revises some of his conclusions.
Qing evidential scholarship — worth the most time
If a reader spends effort on one body of secondary literature here, it should be this one, both for its conclusions and for its method.
- Hu Wei, Yitu Mingbian — the most thorough treatment, tracing every diagram's first appearance, transmission and variant accounts.
- Huang Zongxi, Yixue Xiangshu Lun — a systematic examination of the image-and-number tradition.
- Huang Zongyan, Tuxue Bianhuo — specifically on the Song diagrams.
- Mao Qiling, Hetu Luoshu Yuanchuan Bian — on the provenance of the two figures.
What makes these worth reading is not only that they were right. They demonstrate a complete critical method operating inside the Chinese tradition, in the seventeenth and eighteenth centuries, with no external input — asking when a claim first appears, who first recorded it, and whether earlier sources say what they are said to say. Those questions transfer to everything else on this site.
Three things are worth having on this period specifically. Liu Mu's Yishu Gouyin Tu, the earliest source for the diagrams as we have them, and the place to see that his naming was the reverse of today's. Zhu Xi and Cai Yuanding's Yixue Qimeng, where the assignment was reversed and fixed. And general studies of Song Yijing diagram scholarship, which set these two works alongside Zhou Dunyi's Supreme Ultimate diagram and Shao Yong's Prior Heaven learning, and trace the Taoist transmission lineages the Song writers themselves described.
Modern Chinese scholarship
For the history of the diagrams, the essential correction to the legends comes from sinological scholarship on the Yijing and Song-dynasty thought. The studies of the Yijing and its commentarial tradition by scholars including Richard Rutt and Edward Shaughnessy trace how the Hetu and Luoshu were named in early texts and only later given their standard diagrammatic forms. Michael Nylan's work on the Chinese classics and on Han cosmology is valuable for understanding the correlative thinking—numbers, elements, directions—into which the diagrams were fitted.
International scholarship
For the applied arts—Flying Star Feng Shui, Nine Star Ki, and Qimen Dunjia—practitioner literature is abundant but uneven, and it is wise to read it as documentation of a living tradition rather than as established fact. Where possible, prefer authors who distinguish clearly between explaining a system and endorsing its predictive claims. Academic studies of Feng Shui by geographers and anthropologists, including the work of Ole Bruun, offer a valuable outside perspective on how these practices actually function in Chinese society.
Mathematical introductions
Any general introduction to recreational or combinatorial mathematics will cover magic squares, and this is a case where a modern textbook serves better than a traditional commentary.
What to look for: the proof that the third-order square is unique up to rotation and reflection; the counts for higher orders (880 distinct fourth-order squares, many millions at fifth order); the relationship to Latin squares and thus to Sudoku, which is one of neighbouring families rather than descent; and general treatments of magic squares in Indian, Islamic, European and Japanese mathematics.
Reading the mathematics is not a detour from the cultural material; it is what makes the cultural material legible, because it tells you precisely which features of the diagram required explanation and which never did.
Architecture and institutions
This is the least-read side of the subject and often the most rewarding.
The Kaogongji chapter of the Zhouli on capital planning; scholarship on the Bright Hall and its reconstruction; studies of the well-field system; and architectural histories of Chinese city planning, which trace the persistence of the centre-plus-eight template from Han Chang'an through Tang Chang'an to Ming and Qing Beijing.
This literature shows the nine-palace framework doing real work in the world — organising cities, rituals and administration — quite independently of any divinatory claim, and it is the strongest case for why the framework matters.
One further observation about this side of the material. The persistence of the template is easy to over-read as evidence of belief. A grid that organises a city does not require anyone to hold a metaphysical view about the number nine; it requires only that the plan be regular, symmetrical, memorable and easy to administer, and a centre with eight surrounding sectors satisfies all four. Comparable regularities appear in Roman camp layout and in colonial grid plans for entirely practical reasons.
The interesting historical question is therefore not whether Chinese planners believed in the Luoshu, but how a practical template and a cosmological doctrine came to reinforce each other so that each looked like evidence for the other. That mutual reinforcement, rather than either element alone, is what gave the framework its thousand-year durability.
A few cautions
- Check whether an author distinguishes the names from the diagrams. One who presents the Song figures as pre-Qin documents has either not done the reading or is not sharing it.
- Check whether the mathematics is stated correctly. Claims that many different third-order magic squares exist, or that the arrangement was chosen for symbolic reasons, indicate an author who has not verified the elementary facts.
- Treat "code" and "decipherment" books as a genre, not as scholarship; the test is whether any prediction is made in advance.
- Be wary of anything sold alongside objects or courses.
- Distrust quantum, holographic and information-theoretic vocabulary applied to a three-by-three grid; it is borrowed authority.
A suggested order: build the square; read the Han passages; read Hu Wei; then the Song context; then the architectural and institutional material; then the applied arts last, when you can see what they inherited and what they added.
Key points
The subject sits across mathematics, history and religious cosmology, and all three are worth reading.
Histories of early and recreational mathematics are the soundest guide to the magic square.
Sinological scholarship on the Yijing provides the correction to the legendary origin stories.
Histories of Neo-Confucian and Taoist thought describe the Song “Image and Number” systematisation.
Practitioner literature on Flying Star, Nine Star Ki and Qimen Dunjia is abundant but uneven.
Popular writing routinely repeats the origin myths as established fact.
Check historical claims against scholarly work rather than against other popular sources.
Sources drawn on for this article include: Jean-Claude Martzloff's history of Chinese mathematics; the Yijing scholarship of Richard Rutt and Edward Shaughnessy; Michael Nylan on the Chinese classics and Han cosmology; Joseph Needham's "Science and Civilisation in China"; Ole Bruun's studies of Feng Shui; and standard reference works on the history of magic squares and Song-dynasty "Images and Numbers" thought.