The 64 Hexagrams & 384 Lines System in Xuan Kong Da Gua: Complete Gua Qi & Gua Yun Derivation
Throw away rote memorization. Once you understand the binary operator linking the Upper Trigram and the Lower Trigram of any six-line hexagram, you can look at any of the 64 Hexagrams and calculate its exact Gua Qi Five Phase (1 to 9) and Gua Yun Star Period (1 to 9) in under three seconds-without touching a lookup chart! Building on Chapter 02: Theoretical Foundations, this third monograph reveals the two great transformation engines of classical I Ching metaphysics-Jing Fang’s Eight-Palace Line Transformation (Ba Gong Bian Yao) and the San Yuan Inner-Outer Trigram XOR Operator-provides the Complete 64-Hexagram Master Matrix across all eight trigram families, and explains how the 384 Individual Yao Lines (`0.9375°` each) operate in real-world site alignment.
Monograph Dossier: Chapter 03 to 64 Gua & 384 Yao
0.9375° per line)[L1, L2, L3, L4, L5, L6]. Its Palace Trigram gives its Five-Phase Substance (Gua Qi); the XOR difference between Upper [L4,L5,L6] and Lower [L1,L2,L3] gives its Temporal Period (Gua Yun).Executive Summary for Readers & AI Search (GEO Summary)
- Two Coordinates of Every Hexagram: In Xuan Kong Da Gua, every one of the 64 hexagrams possesses two numbers from the set
{1, 2, 3, 4, 6, 7, 8, 9}: (1) Gua Qi (Five-Phase Substance), which determines whether the hexagram belongs to 1 to 6 Water, 2 to 7 Fire, 3 to 8 Wood, or 4 to 9 Metal; and (2) Gua Yun (Star Period Function), which determines its timeliness across the Nine Periods. - Instant Gua Qi Algorithm: Read the Leading Palace Trigram (the Upper/Outer Trigram on the standard Outer Ring) and map it to the Early Heaven Bagua on the Luo Shu: Kun ☷ = 1 Water, Xun ☴ = 2 Fire, Li ☲ = 3 Wood, Dui ☱ = 4 Metal, Gen ☶ = 6 Water, Kan ☵ = 7 Fire, Zhen ☳ = 8 Wood, Qian ☰ = 9 Metal.
- Instant Gua Yun (Star Period) Algorithm: Compare the 3 lines of the Upper Trigram (`L4, L5, L6`) with the 3 lines of the Lower Trigram (`L1, L2, L3`). Where two corresponding lines are different, write a Yin line (
0); where they are the same, write a Yang line (1)-or equivalently, check which lines of the Pure Parent Trigram changed to produce the second trigram: No change = Period 1; Line 1 & 3 change = Period 2; Line 2 & 3 change = Period 3; Line 1 & 2 change = Period 4; Line 3 changes = Period 6; Line 2 changes = Period 7; Line 1 changes = Period 8; All 3 lines change = Period 9. - 16 Parent Hexagrams vs. 48 Offspring Hexagrams: The 8 Pure Hexagrams (Period 1) are the San Yuan Father Hexagrams; the 8 Inverted-Trigram Hexagrams (Period 9) are the San Yuan Mother Hexagrams; the remaining 48 Hexagrams are the Six Offspring Sons and Daughters (8 hexagrams each in Periods 2, 3, 4, 6, 7, and 8).
- The 384 Yao Lines: Each hexagram’s
5.625°arc contains 6 lines of0.9375°each, counted from Bottom Line 1 to Top Line 6 along the compass progression. Flipping a single Moving Line (Dong Yao) transforms a hexagram into its 6-line neighbor, unlocking advanced sitting-facing and water-mouth combinations.
1. Anatomy of a Six-Line Hexagram: Inner Host (Lower) vs. Outer Guest (Upper)
Six stacked lines. Two three-line trigrams. Before you can compute any formula in Xuan Kong Da Gua, you must see the internal architecture of a six-line hexagram (Da Gua) the way classical masters see it. Every hexagram is built from the ground upward, from Line 1 at the bottom (Chu Yao) to Line 6 at the top (Shang Yao), and divides naturally into two three-line halves:
- The Lower / Inner Trigram (Xia Gua or Nei Gua · Lines 1, 2, 3): Represents the Host (Zhu), Earth, the internal foundation, the interior of the residence, and the quiet root of qi.
- The Upper / Outer Trigram (Shang Gua or Wai Gua · Lines 4, 5, 6): Represents the Guest (Bin), Heaven, the external manifestation, the approaching environment, and the active crown of qi.
- The Three Cosmic Powers (San Cai) Inside Every Hexagram: Within the six lines, Lines 1 and 2 belong to Earth (Di); Lines 3 and 4 belong to Humanity (Ren) standing at the threshold between inner and outer worlds; and Lines 5 and 6 belong to Heaven (Tian). Furthermore, Line 2 is the central ruler of the Lower Trigram, while Line 5 is the supreme imperial ruler (Jun Wei) of the Upper Trigram-hence the classical I Ching praise for "Central and Correct" (Zhong Zheng) lines!
Notice the correspondence between the Lower and Upper Trigrams: Line 1 corresponds to Line 4 (the bottom lines of the two trigrams); Line 2 corresponds to Line 5 (the middle lines of the two trigrams); and Line 3 corresponds to Line 6 (the top lines of the two trigrams). That exact 3-pair correspondence (`L1 and L4`, `L2 and L5`, `L3 and L6`) is the key to calculating every hexagram’s Star Period!
2. Deriving Gua Qi (1 to 9): The Eight Trigram Palaces & He Tu Five Phases
How do the 64 hexagrams divide into Eight Palace Families (Ba Gong) of 8 hexagrams each? In the San Yuan Xuan Kong Da Gua compass system, the 64 hexagrams are grouped by their Leading Trigram (the Upper / Outer Trigram on the standard Outer Ring, or the Lower / Inner Trigram on the inverted Inner Ring). Each of the 8 Trigram Palaces carries an immutable Gua Qi Number and He Tu Five Phase :
- 1. Kun Palace Group ( ☷ · 8 Hexagrams): Early Heaven Kun sits at North (Luo Shu 1). Gua Qi = 1 · Yang Water .
- 2. Xun Palace Group ( ☴ · 8 Hexagrams): Early Heaven Xun sits at Southwest (Luo Shu 2). Gua Qi = 2 · Yin Fire .
- 3. Li Palace Group ( ☲ · 8 Hexagrams): Early Heaven Li sits at East (Luo Shu 3). Gua Qi = 3 · Yang Wood .
- 4. Dui Palace Group ( ☱ · 8 Hexagrams): Early Heaven Dui sits at Southeast (Luo Shu 4). Gua Qi = 4 · Yin Metal .
- 5. Gen Palace Group ( ☶ · 8 Hexagrams): Early Heaven Gen sits at Northwest (Luo Shu 6). Gua Qi = 6 · Yin Water .
- 6. Kan Palace Group ( ☵ · 8 Hexagrams): Early Heaven Kan sits at West (Luo Shu 7). Gua Qi = 7 · Yang Fire .
- 7. Zhen Palace Group ( ☳ · 8 Hexagrams): Early Heaven Zhen sits at Northeast (Luo Shu 8). Gua Qi = 8 · Yin Wood .
- 8. Qian Palace Group ( ☰ · 8 Hexagrams): Early Heaven Qian sits at South (Luo Shu 9). Gua Qi = 9 · Yang Metal .
Test yourself right now. Take the hexagram Heaven Water Song ( ䷅): its Upper Trigram is Heaven Qian ☰, so on the Outer Ring its Palace is Qian and its Gua Qi is 9 Metal! Take Water Heaven Xu ( ䷄): its Upper Trigram is Water Kan ☵, so its Palace is Kan and its Gua Qi is 7 Fire! Simple. Instant. Unerring.
3. Jing Fang’s Eight-Palace Line Transformation (Ba Gong Bian Yao) Explained
During the Western Han Dynasty, the brilliant (I Ching) scholar Jing Fang (77 to 37 BCE)-disciple of Jiao Yanshou-systematized the Eight-Palace Line Transformation Method (Ba Gong Gua) in his Jing Shi Yi Zhuan . In Jing Fang’s classical divination system (which is also used in Na Jia Wen Wang Gua and referenced by several Ming-Qing geomantic schools), each of the 8 Palaces begins with its Pure Six-Line Hexagram (Ba Chun Gua) and generates 7 descendant hexagrams by progressively changing lines from bottom to top:
- Palace Root (Ben Gong Gua): The Pure Hexagram where Upper and Lower Trigrams are identical (e.g., Qian Wei Tian ䷀).
- First-Generation Change (Yi Shi Gua): Flip Bottom Line 1 (e.g., Qian ䷀ flips Line 1Tian Feng Gou ䷫).
- Second-Generation Change (Er Shi Gua): Flip Line 2 as well (e.g., Gou ䷫ flips Line 2Tian Shan Dun ䷠).
- Third-Generation Change (San Shi Gua): Flip Line 3 as well (e.g., Dun ䷠ flips Line 3Tian Di Pi ䷋).
- Fourth-Generation Change (Si Shi Gua): Flip Line 4 (e.g., Pi ䷋ flips Line 4Feng Di Guan ䷓).
- Fifth-Generation Change (Wu Shi Gua): Flip Line 5 (e.g., Guan ䷓ flips Line 5Shan Di Bo ䷖).
- Wandering Soul (You Hun Gua): Because flipping Line 6 would turn the hexagram into the Pure Hexagram of the opposite palace, the transformation steps backward and flips Line 4 again (e.g., Bo ䷖ flips Line 4Huo Di Jin ䷢).
- Returning Soul (Gui Hun Gua): Finally, the lower three lines (Lines 1, 2, 3) flip together back to the original Palace Root trigram (e.g., Jin ䷢ restores Lower QianHuo Tian Da You ䷍).
Why must a serious Xuan Kong Da Gua practitioner understand both Jing Fang’s Sequential Line Changes and the San Yuan Inner-Outer Trigram Transformation? Because in San Yuan Xuan Kong Da Gua, rather than changing Line 4 and Line 5 in the Upper Trigram (which alters the Upper Trigram in Generations 4, 5, You Hun, and Gui Hun), we keep the Leading Trigram fixed as the Gua Qi Palace and transform the three lines of the second trigram against the Leading Trigram in 8 combinations (`0, L1, L2, L3, L1+2, L2+3, L1+3, L1+2+3`) to generate the **8 Star Periods (Gua Yun 1, 8, 7, 6, 4, 3, 2, 9)**! Let us see how that works in Section 4.
4. Deriving Gua Yun (Star Periods 1 to 9): The Inner-Outer Trigram XOR Algorithm
Now let me teach you the 3-Second Mental XOR Trick that my advanced students at UK Master Academy use to compute the Gua Yun Star Period of any hexagram on sight.
Look at the Upper Trigram (`Lines 4, 5, 6`) and the Lower Trigram (`Lines 1, 2, 3`) of any hexagram, and compare them position by position-Bottom (`L1 vs L4`), Middle (`L2 vs L5`), and Top (`L3 vs L6`)-to form a 3-line Resultant Trigram using this single rule:
- Same Polarity (`Yang + Yang` or `Yin + Yin`) · Write a Broken Yin Line (
- -) (no change = quiet = Yin). - Different Polarity (`Yang + Yin` or `Yin + Yang`) · Write a Solid Yang Line (
-) (changed = active = Yang).
Now read the Early Heaven Luo Shu Gua Qi number of that 3-line Resultant Trigram! Let us verify all 8 possibilities:
- Zero lines differ (`000` = Kun ☷): What is Kun’s Luo Shu number? 1! Every Pure Hexagram where Upper = Lower has Gua Yun = Period 1 (Greedy Wolf)!
- All three lines differ (`111` = Qian ☰): What is Qian’s Luo Shu number? 9! Every Inverted Hexagram where Upper is the exact opposite of Lower (`Tai ䷊, Pi ䷋, Ji Ji ䷾, Wei Ji ䷿, Xian ䷞, Sun ䷨, Heng ䷟, Yi ䷩`) has Gua Yun = Period 9 (Right Assistant)!
- Only the Bottom line differs (`L1 ≠ L4` · Bottom Yang `100` = Zhen ☳): What is Zhen’s Luo Shu number? 8! Every hexagram where only the bottom line of the two trigrams differs has Gua Yun = Period 8 (Left Assistant)!
- Only the Middle line differs (`L2 ≠ L5` · Middle Yang `010` = Kan ☵): What is Kan’s Luo Shu number? 7! Every hexagram where only the middle line differs has Gua Yun = Period 7 (Broken Army)!
- Only the Top line differs (`L3 ≠ L6` · Top Yang `001` = Gen ☶): What is Gen’s Luo Shu number? 6! Every hexagram where only the top line differs has Gua Yun = Period 6 (Martial Star)!
- Bottom and Middle lines differ (`L1 ≠ L4` and `L2 ≠ L5` · `110` = Dui ☱): What is Dui’s Luo Shu number? 4! Every hexagram where Lines 1 & 2 differ (and Line 3 matches) has Gua Yun = Period 4 (Literary Star)!
- Bottom and Top lines differ (`L1 ≠ L4` and `L3 ≠ L6` · `101` = Li ☲): What is Li’s Early Heaven Luo Shu number? 3! Every hexagram where Lines 1 & 3 differ (and Line 2 matches, i.e., changing the 2nd line from the Period-9 Opposite) has Gua Yun = Period 3 (Rank / Lu Cun)!
- Middle and Top lines differ (`L2 ≠ L5` and `L3 ≠ L6` · `011` = Xun ☴): What is Xun’s Early Heaven Luo Shu number? 2! Every hexagram where Lines 2 & 3 differ (and Line 1 matches, i.e., changing the 1st line from the Period-9 Opposite) has Gua Yun = Period 2 (Giant Gate)!
5. The 16 Parent Hexagrams (Fu Mu Gua): 8 Pure Period-1 & 8 Inverted Period-9
Before inspecting the 64-hexagram master tables, pause and honor the royal aristocracy of the 64 hexagrams: the 16 Parent Hexagrams (Shi Liu Fu Mu Gua). Why did Grandmaster Yang Yun Song’s Tian Yu Jing declare that "East, West, and the Four Gua Perfect Combinations-specifically the Parent Gua-hold the supreme dragon-water mystery"?
- The 8 Father Hexagrams (Period 1 · Ba Chun Qian Kun Zi): Formed when the Upper and Lower Trigrams are identical (`0` line changes): Pure Qian ䷀ (Qi 9, Yun 1), Pure Dui ䷹ (Qi 4, Yun 1), Pure Li ䷝ (Qi 3, Yun 1), Pure Zhen ☳ ䷲ (Qi 8, Yun 1), Pure Xun ☴ ䷸ (Qi 2, Yun 1), Pure Kan ☵ ䷜ (Qi 7, Yun 1), Pure Gen ☶ ䷳ (Qi 6, Yun 1), and Pure Kun ☷ ䷁ (Qi 1, Yun 1).
- The 8 Mother Hexagrams (Period 9 · Ba Fou Tai Jiao Gua): Formed when the Upper and Lower Trigrams are 100% Yin-Yang Opposites (`3` line changes): Heaven Earth Pi ䷋ (Qi 9, Yun 9), Lake Mountain Xian ䷞ (Qi 4, Yun 9), Fire Water Wei Ji ䷿ (Qi 3, Yun 9), Thunder Wind Heng ䷟ (Qi 8, Yun 9), Wind Thunder Yi ䷩ (Qi 2, Yun 9), Water Fire Ji Ji ䷾ (Qi 7, Yun 9), Mountain Lake Sun ䷨ (Qi 6, Yun 9), and Earth Heaven Tai ䷊ (Qi 1, Yun 9).
Look at the numbers of those 16 Parent Hexagrams: every Father Hexagram has Gua Yun = 1, and every Mother Hexagram has Gua Yun = 9, so any Father paired with any Mother automatically achieves `1 + 9 = 10` Sum-of-Ten in Star Period (`He Shi Gua Yun`)! Even more remarkably, in our current Period 9 Fire Era (2024 to 2043), the 8 Mother Hexagrams (Period 9) are the Direct Spirit (Zheng Shen) Rulers, while the 8 Father Hexagrams (Period 1) are the Indirect Spirit (Ling Shen) Water Rulers! We will explore that Period 9 master strategy in depth in Chapter 06: Zheng Shen & Ling Shen in Da Gua.
6. Master Table Part I: The 32 Yang-Group Palaces (Qian 9, Dui 4, Li 3, Zhen 8)
Below is Part I of our complete reference matrix covering the first four Trigram Palaces-Qian Palace (Gua Qi 9 Metal), Dui Palace (Gua Qi 4 Metal), Li Palace (Gua Qi 3 Wood), and Zhen Palace (Gua Qi 8 Wood)-listing all 32 hexagrams, their Upper/Lower Trigrams, changing lines, Gua Qi Five Phases, and Gua Yun Star Periods:
| Palace & Gua Qi | Hexagram & Symbol | Pinyin Name | Upper / Lower | Lines Changed (vs Upper) | Gua Qi Element | Gua Yun (Star Period) | Family Rank |
|---|---|---|---|---|---|---|---|
| Qian Palace ☰ Gua Qi 9 Yang Metal | 1. Pure Qian ䷀ | Qian Wei Tian | ☰ / ☰ | None (Pure) | 9 Metal | Period 1 | Father (Pure) |
| 2. Gou ䷫ | Tian Feng Gou | ☰ / ☴ | Line 1 (Bot) | 9 Metal | Period 8 | 1st Line Change | |
| 3. Tong Ren ䷌ | Tian Huo Tong Ren | ☰ / ☲ | Line 2 (Mid) | 9 Metal | Period 7 | 2nd Line Change | |
| 4. Lv ䷉ | Tian Ze Lv | ☰ / ☱ | Line 3 (Top) | 9 Metal | Period 6 | 3rd Line Change | |
| 5. Dun ䷠ | Tian Shan Dun | ☰ / ☶ | Lines 1 & 2 | 9 Metal | Period 4 | 3rd from Opposite | |
| 6. Song ䷅ | Tian Shui Song | ☰ / ☵ | Lines 1 & 3 | 9 Metal | Period 3 | 2nd from Opposite | |
| 7. Wu Wang ䷘ | Tian Lei Wu Wang | ☰ / ☳ | Lines 2 & 3 | 9 Metal | Period 2 | 1st from Opposite | |
| 8. Pi ䷋ | Tian Di Pi | ☰ / ☷ | All 3 (1,2,3) | 9 Metal | Period 9 | Mother (Inverse) | |
| Dui Palace ☱ Gua Qi 4 Yin Metal | 9. Pure Dui ䷹ | Dui Wei Ze | ☱ / ☱ | None (Pure) | 4 Metal | Period 1 | Father (Pure) |
| 10. Kun ䷮ | Ze Shui Kun | ☱ / ☵ | Line 1 (Bot) | 4 Metal | Period 8 | 1st Line Change | |
| 11. Sui ䷐ | Ze Lei Sui | ☱ / ☳ | Line 2 (Mid) | 4 Metal | Period 7 | 2nd Line Change | |
| 12. Guai ䷪ | Ze Tian Guai | ☱ / ☰ | Line 3 (Top) | 4 Metal | Period 6 | 3rd Line Change | |
| 13. Cui ䷬ | Ze Di Cui | ☱ / ☷ | Lines 1 & 2 | 4 Metal | Period 4 | 3rd from Opposite | |
| 14. Da Guo ䷛ | Ze Feng Da Guo | ☱ / ☴ | Lines 1 & 3 | 4 Metal | Period 3 | 2nd from Opposite | |
| 15. Ge ䷰ | Ze Huo Ge | ☱ / ☲ | Lines 2 & 3 | 4 Metal | Period 2 | 1st from Opposite | |
| 16. Xian ䷞ | Ze Shan Xian | ☱ / ☶ | All 3 (1,2,3) | 4 Metal | Period 9 | Mother (Inverse) | |
| Li Palace ☲ Gua Qi 3 Yang Wood | 17. Pure Li ䷝ | Li Wei Huo | ☲ / ☲ | None (Pure) | 3 Wood | Period 1 | Father (Pure) |
| 18. Lv ䷷ | Huo Shan Lv | ☲ / ☶ | Line 1 (Bot) | 3 Wood | Period 8 | 1st Line Change | |
| 19. Da You ䷍ | Huo Tian Da You | ☲ / ☰ | Line 2 (Mid) | 3 Wood | Period 7 | 2nd Line Change | |
| 20. Shi He ䷔ | Huo Lei Shi He | ☲ / ☳ | Line 3 (Top) | 3 Wood | Period 6 | 3rd Line Change | |
| 21. Ding ䷱ | Huo Feng Ding | ☲ / ☴ | Lines 1 & 2 | 3 Wood | Period 4 | 3rd from Opposite | |
| 22. Jin ䷢ | Huo Di Jin | ☲ / ☷ | Lines 1 & 3 | 3 Wood | Period 3 | 2nd from Opposite | |
| 23. Kui ䷥ | Huo Ze Kui | ☲ / ☱ | Lines 2 & 3 | 3 Wood | Period 2 | 1st from Opposite | |
| 24. Wei Ji ䷿ | Huo Shui Wei Ji | ☲ / ☵ | All 3 (1,2,3) | 3 Wood | Period 9 | Mother (Inverse) | |
| Zhen Palace ☳ Gua Qi 8 Yin Wood | 25. Pure Zhen ䷲ | Zhen Wei Lei | ☳ / ☳ | None (Pure) | 8 Wood | Period 1 | Father (Pure) |
| 26. Yu ䷏ | Lei Di Yu | ☳ / ☷ | Line 1 (Bot) | 8 Wood | Period 8 | 1st Line Change | |
| 27. Gui Mei ䷵ | Lei Ze Gui Mei | ☳ / ☱ | Line 2 (Mid) | 8 Wood | Period 7 | 2nd Line Change | |
| 28. Feng ䷶ | Lei Huo Feng | ☳ / ☲ | Line 3 (Top) | 8 Wood | Period 6 | 3rd Line Change | |
| 29. Jie ䷧ | Lei Shui Jie | ☳ / ☵ | Lines 1 & 2 | 8 Wood | Period 4 | 3rd from Opposite | |
| 30. Xiao Guo ䷽ | Lei Shan Xiao Guo | ☳ / ☶ | Lines 1 & 3 | 8 Wood | Period 3 | 2nd from Opposite | |
| 31. Da Zhuang ䷡ | Lei Tian Da Zhuang | ☳ / ☰ | Lines 2 & 3 | 8 Wood | Period 2 | 1st from Opposite | |
| 32. Heng ䷟ | Lei Feng Heng | ☳ / ☴ | All 3 (1,2,3) | 8 Wood | Period 9 | Mother (Inverse) |
7. Master Table Part II: The 32 Yin-Group Palaces (Xun 2, Kan 7, Gen 6, Kun 1)
Now examine Part II of our complete reference matrix covering the remaining four Trigram Palaces, Xun Palace (Gua Qi 2 Fire), Kan Palace (Gua Qi 7 Fire), Gen Palace (Gua Qi 6 Water), and Kun Palace (Gua Qi 1 Water):
| Palace & Gua Qi | Hexagram & Symbol | Pinyin Name | Upper / Lower | Lines Changed (vs Upper) | Gua Qi Element | Gua Yun (Star Period) | Family Rank |
|---|---|---|---|---|---|---|---|
| Xun Palace ☴ Gua Qi 2 Yin Fire | 33. Pure Xun ䷸ | Xun Wei Feng | ☴ / ☴ | None (Pure) | 2 Fire | Period 1 | Father (Pure) |
| 34. Xiao Chu ䷈ | Feng Tian Xiao Chu | ☴ / ☰ | Line 1 (Bot) | 2 Fire | Period 8 | 1st Line Change | |
| 35. Jian ䷴ | Feng Shan Jian | ☴ / ☶ | Line 2 (Mid) | 2 Fire | Period 7 | 2nd Line Change | |
| 36. Huan ䷺ | Feng Shui Huan | ☴ / ☵ | Line 3 (Top) | 2 Fire | Period 6 | 3rd Line Change | |
| 37. Jia Ren ䷤ | Feng Huo Jia Ren | ☴ / ☲ | Lines 1 & 2 | 2 Fire | Period 4 | 3rd from Opposite | |
| 38. Zhong Fu ䷼ | Feng Ze Zhong Fu | ☴ / ☱ | Lines 1 & 3 | 2 Fire | Period 3 | 2nd from Opposite | |
| 39. Guan ䷓ | Feng Di Guan | ☴ / ☷ | Lines 2 & 3 | 2 Fire | Period 2 | 1st from Opposite | |
| 40. Yi ䷩ | Feng Lei Yi | ☴ / ☳ | All 3 (1,2,3) | 2 Fire | Period 9 | Mother (Inverse) | |
| Kan Palace ☵ Gua Qi 7 Yang Fire | 41. Pure Kan ䷜ | Kan Wei Shui | ☵ / ☵ | None (Pure) | 7 Fire | Period 1 | Father (Pure) |
| 42. Jie ䷻ | Shui Ze Jie | ☵ / ☱ | Line 1 (Bot) | 7 Fire | Period 8 | 1st Line Change | |
| 43. Bi ䷇ | Shui Di Bi | ☵ / ☷ | Line 2 (Mid) | 7 Fire | Period 7 | 2nd Line Change | |
| 44. Jing ䷯ | Shui Feng Jing | ☵ / ☴ | Line 3 (Top) | 7 Fire | Period 6 | 3rd Line Change | |
| 45. Zhun ䷂ | Shui Lei Zhun | ☵ / ☳ | Lines 1 & 2 | 7 Fire | Period 4 | 3rd from Opposite | |
| 46. Xu ䷄ | Shui Tian Xu | ☵ / ☰ | Lines 1 & 3 | 7 Fire | Period 3 | 2nd from Opposite | |
| 47. Jian ䷦ | Shui Shan Jian | ☵ / ☶ | Lines 2 & 3 | 7 Fire | Period 2 | 1st from Opposite | |
| 48. Ji Ji ䷾ | Shui Huo Ji Ji | ☵ / ☲ | All 3 (1,2,3) | 7 Fire | Period 9 | Mother (Inverse) | |
| Gen Palace ☶ Gua Qi 6 Yin Water | 49. Pure Gen ䷳ | Gen Wei Shan | ☶ / ☶ | None (Pure) | 6 Water | Period 1 | Father (Pure) |
| 50. Bi ䷕ | Shan Huo Bi | ☶ / ☲ | Line 1 (Bot) | 6 Water | Period 8 | 1st Line Change | |
| 51. Gu ䷑ | Shan Feng Gu | ☶ / ☴ | Line 2 (Mid) | 6 Water | Period 7 | 2nd Line Change | |
| 52. Bo ䷖ | Shan Di Bo | ☶ / ☷ | Line 3 (Top) | 6 Water | Period 6 | 3rd Line Change | |
| 53. Da Chu ䷙ | Shan Tian Da Chu | ☶ / ☰ | Lines 1 & 2 | 6 Water | Period 4 | 3rd from Opposite | |
| 54. Yi ䷚ | Shan Lei Yi | ☶ / ☳ | Lines 1 & 3 | 6 Water | Period 3 | 2nd from Opposite | |
| 55. Meng ䷃ | Shan Shui Meng | ☶ / ☵ | Lines 2 & 3 | 6 Water | Period 2 | 1st from Opposite | |
| 56. Sun ䷨ | Shan Ze Sun | ☶ / ☱ | All 3 (1,2,3) | 6 Water | Period 9 | Mother (Inverse) | |
| Kun Palace ☷ Gua Qi 1 Yang Water | 57. Pure Kun ䷁ | Kun Wei Di | ☷ / ☷ | None (Pure) | 1 Water | Period 1 | Father (Pure) |
| 58. Fu ䷗ | Di Lei Fu | ☷ / ☳ | Line 1 (Bot) | 1 Water | Period 8 | 1st Line Change | |
| 59. Shi ䷆ | Di Shui Shi | ☷ / ☵ | Line 2 (Mid) | 1 Water | Period 7 | 2nd Line Change | |
| 60. Qian ䷎ | Di Shan Qian | ☷ / ☶ | Line 3 (Top) | 1 Water | Period 6 | 3rd Line Change | |
| 61. Lin ䷒ | Di Ze Lin | ☷ / ☱ | Lines 1 & 2 | 1 Water | Period 4 | 3rd from Opposite | |
| 62. Ming Yi ䷣ | Di Huo Ming Yi | ☷ / ☲ | Lines 1 & 3 | 1 Water | Period 3 | 2nd from Opposite | |
| 63. Sheng ䷭ | Di Feng Sheng | ☷ / ☴ | Lines 2 & 3 | 1 Water | Period 2 | 1st from Opposite | |
| 64. Tai ䷊ | Di Tian Tai | ☷ / ☰ | All 3 (1,2,3) | 1 Water | Period 9 | Mother (Inverse) |
8. Distribution of the 64 Hexagrams by Star Period (Gua Yun 1 through 9)
In Sections 6 and 7, we organized the 64 hexagrams by their 8 Gua Qi Palaces (substance). What happens when we reorganize the exact same 64 hexagrams by their 8 Star Periods (Gua Yun 1, 2, 3, 4, 6, 7, 8, 9)? Each Star Period contains exactly 8 hexagrams, one from each of the 8 Gua Qi Palaces (`1, 2, 3, 4, 6, 7, 8, 9`)!
- Period 1 Hexagrams (8 Pure Father Gua): Kun ䷁ (Qi 1), Xun ䷸ (Qi 2), Li ䷝ (Qi 3), Dui ䷹ (Qi 4), Gen ䷳ (Qi 6), Kan ䷜ (Qi 7), Zhen ䷲ (Qi 8), Qian ䷀ (Qi 9).
- Period 2 Hexagrams (8 Giant Gate Gua): Sheng ䷭ (Qi 1), Guan ䷓ (Qi 2), Kui ䷥ (Qi 3), Ge ䷰ (Qi 4), Meng ䷃ (Qi 6), Jian ䷦ (Qi 7), Da Zhuang ䷡ (Qi 8), Wu Wang ䷘ (Qi 9).
- Period 3 Hexagrams (8 Jade Store Gua): Ming Yi ䷣ (Qi 1), Zhong Fu ䷼ (Qi 2), Jin ䷢ (Qi 3), Da Guo ䷛ (Qi 4), Yi ䷚ (Qi 6), Xu ䷄ (Qi 7), Xiao Guo ䷽ (Qi 8), Song ䷅ (Qi 9).
- Period 4 Hexagrams (8 Literary Star Gua): Lin ䷒ (Qi 1), Jia Ren ䷤ (Qi 2), Ding ䷱ (Qi 3), Cui ䷬ (Qi 4), Da Chu ䷙ (Qi 6), Zhun ䷂ (Qi 7), Jie ䷧ (Qi 8), Dun ䷠ (Qi 9).
- Period 6 Hexagrams (8 Martial Star Gua): Qian ䷎ (Qi 1), Huan ䷺ (Qi 2), Shi He ䷔ (Qi 3), Guai ䷪ (Qi 4), Bo ䷖ (Qi 6), Jing ䷯ (Qi 7), Feng ䷶ (Qi 8), Lv ䷉ (Qi 9).
- Period 7 Hexagrams (8 Broken Army Gua): Shi ䷆ (Qi 1), Jian ䷴ (Qi 2), Da You ䷍ (Qi 3), Sui ䷐ (Qi 4), Gu ䷑ (Qi 6), Bi ䷇ (Qi 7), Gui Mei ䷵ (Qi 8), Tong Ren ䷌ (Qi 9).
- Period 8 Hexagrams (8 Left Assistant Gua): Fu ䷗ (Qi 1), Xiao Chu ䷈ (Qi 2), Lv ䷷ (Qi 3), Kun ䷮ (Qi 4), Bi ䷕ (Qi 6), Jie ䷻ (Qi 7), Yu ䷏ (Qi 8), Gou ䷫ (Qi 9).
- Period 9 Hexagrams (8 Inverted Mother Gua): Tai ䷊ (Qi 1), Yi ䷩ (Qi 2), Wei Ji ䷿ (Qi 3), Xian ䷞ (Qi 4), Sun ䷨ (Qi 6), Ji Ji ䷾ (Qi 7), Heng ䷟ (Qi 8), Pi ䷋ (Qi 9).
Look at the symmetry of that list. Every single Star Period contains all eight Gua Qi numbers (`1, 2, 3, 4, 6, 7, 8, 9`), and every single Gua Qi Palace contains all eight Star Periods (`1, 2, 3, 4, 6, 7, 8, 9`). That is why any sitting-to-facing or dragon-to-water combination in Xuan Kong Da Gua can be engineered to satisfy both Gua Qi Five-Phase Harmony AND Gua Yun Temporal Timeliness simultaneously!
9. The 384 Yao Lines (0.9375° Each): Line Hierarchy from Bottom Line 1 to Top Line 6
Now zoom in from the 64 hexagrams (`5.625°` each) to the sub-degree ring at the outer edge of the Luo Pan: the 384 Individual Yao Lines , each occupying exactly 0.9375° (`56'15"`). How are the 6 lines (`Line 1` to `Line 6`) ordered spatially inside each `5.625°` hexagram sector on the compass?
- The Direction of Counting Yao Lines on the Compass Ring: On the Fu Xi Circular 64-Hexagram Ring, because the 32 Left/Eastern Yang Hexagrams unfold from North-Zi (`0°`) toward South-Wu (`180°`) and the 32 Right/Western Yin Hexagrams unfold from South-Wu (`180°`) toward North-Zi (`360°`), the six lines (`1, 2, 3, 4, 5, 6`) inside each hexagram follow the natural unfolding direction of its hemisphere (or are explicitly numbered `1` to `6` with red/black dots on the 384-Yao ring of the Ung Khiem Luo Pan so you never misread the order).
- Why Central Lines (2, 3, 4, 5) Outperform Edge Lines (1 and 6): Just as the Book of Changes teaches concerning the six yao of any hexagram-"The Beginning Line (Line 1) is hard to know; the Top Line (Line 6) is easy to know, for they are the beginning and the end; but the Middle Lines (Lines 2, 3, 4, 5) (embody the fullness of things)"-in field geomancy:
- Line 1 (Bottom Line) and Line 6 (Top Line) sit directly against the
5.625°boundary walls (Gua Jie Kong Wang) separating two adjacent hexagrams! Furthermore, in I Ching philosophy, Line 1 is nascent qi not yet emerged (`Qian Long Wu Yong`, Hidden Dragon, Do Not Act), while Line 6 is over-extended qi at the brink of reversal (`Kang Long You Hui`, Arrogant Dragon Has Regret). - Lines 2, 3, 4, and 5 (The Four Inner Lines) sit safely inside the middle `3.75°` core of the hexagram, buffered by at least `0.9375°` from the hexagram boundary voids! In particular, Line 2 (Earth-Center Host) and Line 5 (Heaven-Center Ruler) deliver the most stable, dignified, and enduring prosperity.
- Line 1 (Bottom Line) and Line 6 (Top Line) sit directly against the
10. Moving Lines (Dong Yao) & Single-Line Hexagram Transformations (Bian Gua)
What is the secret meaning of the red dots printed on specific yao lines of the 384-Line ring on a San Yuan Luo Pan? Those red dots mark the Auspicious Moving Lines (Dong Yao or Hong Dian Ji Yao)!
Why do we care which line of the Sitting or Facing hexagram our compass thread crosses? Because in Xuan Kong Da Gua, when the compass hairline passes through a specific Yao (`Line k`, where `k ∈ {1..6}`), that line becomes the active Moving Line (Dong Yao) of the hexagram-flipping from Yang (`1`) to Yin (`0`) or from Yin (`0`) to Yang (`1`) to produce a Transformed Hexagram (Zhi Gua or Bian Gua)!
Look at what happens when a single line flips in a hexagram:
- Case A · Moving Line in the Lower (Inner) Trigram (`Line 1, 2, or 3` changes): Because the Upper (Outer) Trigram (`Lines 4, 5, 6`) remains untouched, the Transformed Hexagram stays inside the exact same Gua Qi Palace (same Gua Qi number and Five Phase!) while its Star Period (Gua Yun) shifts to match the incoming water, door, or date pillar!
- Case B · Moving Line in the Upper (Outer) Trigram (`Line 4, 5, or 6` changes): Flipping a line in the Upper Trigram changes the Upper Trigram itself, which shifts BOTH the hexagram’s Gua Qi Palace AND its Star Period (Gua Yun)! On the 384-line ring, the lineage marks a line in red whenever flipping that line turns the hexagram into a Pure One Qi (`Yi Gua Chun Qing`) or Sum-of-Ten (`He Shi`) partner with its opposite sitting/facing hexagram or with the ruling Parent Gua!
(Gua Qi, Gua Yun) uniquely identifies one and only one of the 64 hexagrams.11. Field Case Study: Using a Single Moving Yao to Bridge Sitting & Water Qi
Field Case Study: Aligning a Luxury Resort Lobby in Da Nang via Line 2 Moving Yao Transformation
Site Challenge: In early 2025, an architectural firm in Da Nang invited me to review the beachfront main lobby of a five-star coastal resort. Topographically, the building had to sit in the North-Northwest facing the South-Southeast oceanfront around 162° to 164° (Bing mountain), while the resort’s natural lagoon outlet drained at 138° (Xun mountain). At 163.5°, the facing direction fell into Fire Lake Kui (䷥ · Gua Qi 3 Wood, Star Period 2, 163.125° to 168.75°) sitting on Water Mountain Jian (䷦ · Gua Qi 7 Fire, Star Period 2, 343.125° to 348.75°), whereas the lagoon water mouth at 138° stood in a Period-9 hexagram (Earth Heaven Tai ䷊, 135.0° to 140.625°) that did not lock with Period-2 Facing.
384-Yao Solution: Instead of leaving the lobby centerline at 163.5°, we micro-shifted the main structural axis by -1.8 degrees to 161.7° onto the exact heart of Line 2 (Inner Ruler Yao) of Lake Thunder Sui (䷐ · Gua Qi 4 Metal, Star Period 7, 157.5° to 163.125°) sitting on Mountain Wind Gu (䷑ · Gua Qi 6 Water, Star Period 7, 337.5° to 343.125°), where flipping Line 2 transformed the active facing qi into Pure Dui (䷹ · Gua Qi 4 Metal, Star Period 1)! Because Period 1 (Transformed Facing) and Period 9 (Lagoon Water Mouth at 138°) form a textbook 1 + 9 = 10 Sum-of-Ten (He Shi) while Facing 4 Metal feeds Sitting 6 Water and Lagoon 1 Water, the entire beachfront complex locked into a seamless Period 9 Direct-Indirect Spirit loop.
Continue to Chapter 04: Hexagram Pairing Rules (Pure One Qi & Sum-to-Ten)
Now that you can derive the Gua Qi and Gua Yun of all 64 hexagrams and 384 lines, advance to Chapter 04 to master the 5 Supreme Pairing Laws that link Sitting, Facing, Dragon, Water, and Date Selection into an invincible formation:
12. Frequently Asked Questions (FAQ) & Authoritative Classical Bibliography
1. How do you calculate the Gua Qi (1, 2, 3, 4, 6, 7, 8, 9) of any hexagram without looking at a compass?
Identify the Upper (Outer) Trigram of the hexagram (`Lines 4, 5, 6`) on the Outer Ring, place it in its Early Heaven Bagua position, and read the corresponding Luo Shu number: Kun ☷ = 1 Water, Xun ☴ = 2 Fire, Li ☲ = 3 Wood, Dui ☱ = 4 Metal, Gen ☶ = 6 Water, Kan ☵ = 7 Fire, Zhen ☳ = 8 Wood, and Qian ☰ = 9 Metal.
2. How do you calculate the Gua Yun (Star Period 1 to 9) of any hexagram from its six lines?
Compare the three lines of the Upper Trigram (`Lines 4, 5, 6`) with the three corresponding lines of the Lower Trigram (`Lines 1, 2, 3`). If the two trigrams are identical (`0` line differences), it is a Period-1 Pure Father Hexagram; if all 3 lines differ, it is a Period-9 Inverted Mother Hexagram; if only Line 1 differs, it is Period 8; if only Line 2 differs, it is Period 7; if only Line 3 differs, it is Period 6; if Lines 1 & 2 differ, it is Period 4; if Lines 1 & 3 differ, it is Period 3; if Lines 2 & 3 differ, it is Period 2.
3. Why is there no Gua Qi 5 or Gua Yun 5 among the 64 hexagrams?
Because there are 8 Trigrams (`2^3 = 8`) surrounding the Taiji Center and 64 Hexagrams (`8 × 8 = 64`) on the perimeter ring, the Central Palace 5 has no standalone trigram. Instead, 5 acts as the central Taiji pivot connecting opposite pairs into 10 (`He Shi`) and generative pairs by a difference of 5 (`He Sheng Cheng`).
4. What is the difference between Jing Fang’s 8-Palace sequence and the San Yuan Da Gua transformation sequence?
Jing Fang’s Western Han 8-Palace system changes lines sequentially from Line 1 up to Line 5, steps back to Line 4 (You Hun), and restores the lower trigram (Gui Hun). San Yuan Xuan Kong Da Gua compares the Upper and Lower Trigrams directly via the symmetric 3-bit XOR operator so that every hexagram and its vertical inversion share the exact same Star Period.
5. How do the 384 Yao lines work in practical compass alignment?
Each of the 64 hexagrams spans 5.625° and is subdivided into 6 individual yao lines of 0.9375° each. On the Luo Pan’s 384-line ring, specific lines are marked with red dots indicating auspicious moving lines (Dong Yao) whose transformation brings the hexagram into Pure One Qi or Sum-of-Ten harmony with the sitting/facing axis, while practitioners favor Central Lines 2, 3, 4, and 5 over Edge Lines 1 and 6.
Classical Sources & Academic References
- Jing Fang (Western Han Dynasty), Jing Shi Yi Zhuan (Jing’s Commentary on the Book of Changes).
- Yang Yun Song (Tang Dynasty), Tian Yu Jing & Qing Nang Ao Yu .
- Jiang Dahong (Ming-Qing Transition), Di Li Bian Zheng .
- Zhu Xi (Song Dynasty), Yi Xue Qi Meng (Introduction to the Study of the Changes).
- Zeng Zi Nan (Taiwan San Yuan Lineage), Xuan Kong Da Gua Lectures & Luo Pan Manual.