Hexagrams & Eight Palaces
The sixty-four hexagrams, primary and resulting hexagrams — the structural coordinate system of Liu Yao.
Where the Sixty-Four Hexagrams Originate
A hexagram (gua) in Liu Yao is built by stacking two three-line base trigrams (Qian, Dui, Li, Zhen, Xun, Kan, Gen, Kun). Eight trigrams paired with eight trigrams yield sixty-four unique configurations.
Each hexagram is read from the bottom line (Line 1) up to the topmost line (Line 6). The lower three lines form the inner trigram, governing internal roots and early stages; the upper three lines form the outer trigram, governing external conditions and eventual manifestation.
Primary and Resulting: State and Trajectory
The Primary Hexagram (Ben Gua)
The initial hexagram cast at the moment of inquiry. It reflects the baseline state, existing conditions, and current placement of all elements.
The Resulting Hexagram (Bian Gua)
The hexagram produced after all moving lines flip (old yang becomes yin, old yin becomes yang). It indicates how matters develop and where they ultimately lead.
When all six lines are still (young yang or young yin), the chart is a Still Hexagram without a resulting hexagram, signaling stable conditions free of abrupt disruption.
Jing Fang's Eight Palaces: The Lineage of Sixty-Four Gua
Assigning the six relatives requires the palace's elemental phase as the reference self. Jing Fang grouped all 64 hexagrams into eight palaces, each led by a pure hexagram followed by seven derived stages.
Pure Palace Hexagram
Unchanged six lines; subject line at position 6
The root hexagram of the palace, holding the pure elemental qi of the entire lineage.
First Generation
Line 1 flips; subject line at position 1
The very first movement at the bottom tier; the earliest stage of change.
Second Generation
Line 2 flips; subject line at position 2
Change spreads into the inner foundation and immediate environment.
Third Generation
Line 3 flips; subject line at position 3
The entire inner trigram transforms, reaching the critical threshold between inner and outer.
Fourth Generation
Line 4 flips; subject line at position 4
The transformation reaches outward into higher and broader realms.
Fifth Generation
Line 5 flips; subject line at position 5
The movement reaches the pivotal position of authority and its energetic peak.
Wandering Soul
Line 4 flips back from 5th generation; subject at position 4
Having expanded to the limit, energy drifts; signifies vacillation, wandering, and unsettled conditions.
Returning Soul
Inner trigram fully restored; subject at position 3
Energy turns back to its roots; signifies return, homecoming, restoration, and resolution of past matters.
Six-Clash & Six-Union: Dispersion and Cohesion
When all three paired positions (1-4, 2-5, 3-6) clash, the chart is a Six-Clash hexagram; when all three combine, it is a Six-Union hexagram. This sets the overarching atmosphere of the inquiry.
The eight pure hexagrams (Qian, Kan, Gen, Zhen, Xun, Li, Kun, Dui) + Tian Lei Wu Wang + Lei Tian Da Zhuang
Earthly branches clash in every pair. Characterized by sudden dispersion, urgency, and volatility. Unfavorable for partnerships and marriage; favorable for dispelling worries, resolving illness, and ending lawsuits.
Tian Di Pi, Di Tian Tai, Di Lei Fu, Lei Di Yu, Ze Shui Kun, Shui Ze Jie, Huo Shan Lv, Shan Huo Bi
Earthly branches combine in every pair. Characterized by cohesion, sluggishness, and mutual binding. Favorable for cooperation and marriage; unfavorable for breaking free from difficulties due to entrapment.
Structural transformations reveal turning points: a clash hexagram turning into union (Clash-to-Union) signifies early turmoil that settles into harmony; a union hexagram turning into clash (Union-to-Clash) signifies an auspicious start that deteriorates into rupture.
The Sixty-Four, by Palace
The eight-palace order, subject-object placement, and definitions of clash and union hexagrams follow Bushi Zhengzong, Zengshan Buyi, and Jing Fang's Na-jia system. The engine derives these dynamically from algorithmic rules rather than hard-coded tables to ensure structural integrity.