Setting Up the Hexagram: Na Jia, Self and Response, and the Six Relatives

Setting up the hexagram (裝卦, zhuang gua) means labeling the cast hexagram with information; only then can it be analyzed. The main things to label are: each line’s Earthly Branch and element, which palace the hexagram belongs to, the Self line and the Response line, and each line’s Six Relative. Chart tools can now do this automatically, but only by learning to do it by hand can you understand the results.

Na Jia: Giving Each Line a Branch

Assigning stems and branches to the lines is called Na Jia (納甲, na jia). There is a traditional rhyme; below is one of the common versions:

Qian, Metal: 甲子 (Jia Zi); outside, 壬午 (Ren Wu). Kan, Water: 戊寅 (Wu Yin); outside, 戊申 (Wu Shen). Gen, Earth: 丙辰 (Bing Chen); outside, 丙戌 (Bing Xu). Zhen, Wood: 庚子 (Geng Zi); outside, 庚午 (Geng Wu). Xun, Wood: 辛丑 (Xin Chou); outside, 辛未 (Xin Wei). Li, Fire: 己卯 (Ji Mao); outside, 己酉 (Ji You). Kun, Earth: 乙未 (Yi Wei); outside, 癸丑 (Gui Chou). Dui, Metal: 丁巳 (Ding Si); outside, 丁亥 (Ding Hai).

Each phrase gives the stem-branch pair of a trigram’s first line when it is the inner trigram and when it is the outer trigram. Beginners mainly use the branches; the stems can be set aside for now. The full branches of the eight trigrams are below, in order from bottom to top:

TrigramAs inner (lines 1, 2, 3)As outer (lines 4, 5, top)
Qian子 (Zi), 寅 (Yin), 辰 (Chen)午 (Wu), 申 (Shen), 戌 (Xu)
Dui巳 (Si), 卯 (Mao), 丑 (Chou)亥 (Hai), 酉 (You), 未 (Wei)
Li卯 (Mao), 丑 (Chou), 亥 (Hai)酉 (You), 未 (Wei), 巳 (Si)
Zhen子 (Zi), 寅 (Yin), 辰 (Chen)午 (Wu), 申 (Shen), 戌 (Xu)
Xun丑 (Chou), 亥 (Hai), 酉 (You)未 (Wei), 巳 (Si), 卯 (Mao)
Kan寅 (Yin), 辰 (Chen), 午 (Wu)申 (Shen), 戌 (Xu), 子 (Zi)
Gen辰 (Chen), 午 (Wu), 申 (Shen)戌 (Xu), 子 (Zi), 寅 (Yin)
Kun未 (Wei), 巳 (Si), 卯 (Mao)丑 (Chou), 亥 (Hai), 酉 (You)

The pattern is this: for the four yang trigrams, Qian, Zhen, Kan and Gen, take every other branch going forward; for the four yin trigrams, Kun, Xun, Li and Dui, take every other branch going backward. The elements of the branches are: 寅 (Yin) and 卯 (Mao) are Wood, 巳 (Si) and 午 (Wu) are Fire, 申 (Shen) and 酉 (You) are Metal, 亥 (Hai) and 子 (Zi) are Water, and 辰 (Chen), 戌 (Xu), 丑 (Chou) and 未 (Wei) are Earth.

The Eight Palaces

The sixty-four hexagrams are divided into eight groups called the Eight Palaces (八宮, ba gong), with eight hexagrams in each. Take the Qian palace as an example: starting from Qian is Heaven, change the lines one by one in order from the first to the fifth, which gives the first- to fifth-generation (一世 to 五世) hexagrams (Gou 姤, Dun 遯, Pi 否, Guan 觀, Bo 剝). Then change the fourth line back to get the Wandering Soul hexagram (遊魂卦, you hun gua), Jin 晉. Finally, change the lower three lines back to their original form to get the Returning Soul hexagram (歸魂卦, gui hun gua), Da You 大有. Each palace has the same element as the trigram it is named after.

Palace (element)Palace head, then 1st to 5th generationWandering Soul, Returning Soul
Qian (Metal)Qian is Heaven, Heaven-Wind Gou, Heaven-Mountain Dun, Heaven-Earth Pi, Wind-Earth Guan, Mountain-Earth BoFire-Earth Jin, Fire-Heaven Da You
Kan (Water)Kan is Water, Water-Lake Jie, Water-Thunder Zhun, Water-Fire Ji Ji, Lake-Fire Ge, Thunder-Fire FengEarth-Fire Ming Yi, Earth-Water Shi
Gen (Earth)Gen is Mountain, Mountain-Fire Bi, Mountain-Heaven Da Xu, Mountain-Lake Sun, Fire-Lake Kui, Heaven-Lake LüWind-Lake Zhong Fu, Wind-Mountain Jian
Zhen (Wood)Zhen is Thunder, Thunder-Earth Yu, Thunder-Water Xie, Thunder-Wind Heng, Earth-Wind Sheng, Water-Wind JingLake-Wind Da Guo, Lake-Thunder Sui
Xun (Wood)Xun is Wind, Wind-Heaven Xiao Xu, Wind-Fire Jia Ren, Wind-Thunder Yi, Heaven-Thunder Wu Wang, Fire-Thunder Shi HeMountain-Thunder Yi, Mountain-Wind Gu
Li (Fire)Li is Fire, Fire-Mountain Lü, Fire-Wind Ding, Fire-Water Wei Ji, Mountain-Water Meng, Wind-Water HuanHeaven-Water Song, Heaven-Fire Tong Ren
Kun (Earth)Kun is Earth, Earth-Thunder Fu, Earth-Lake Lin, Earth-Heaven Tai, Thunder-Heaven Da Zhuang, Lake-Heaven GuaiWater-Heaven Xu, Water-Earth Bi
Dui (Metal)Dui is Lake, Lake-Water Kun, Lake-Earth Cui, Lake-Mountain Xian, Water-Mountain Jian, Earth-Mountain QianThunder-Mountain Xiao Guo, Thunder-Lake Gui Mei

The Self Line and the Response Line

Each hexagram has one Self line (世爻, shi yao), which usually stands for the person asking. The line two lines apart from it is the Response line (應爻, ying yao), which stands for the other party or the outside. If the Self is on the first line, the Response is on the fourth; likewise, the second pairs with the fifth and the third with the top. The rhyme in the Bu Shi Zheng Zong (卜筮正宗) for placing the Self and Response is:

In the head of each of the eight palaces, the Self takes line six; after that, from the first line, it moves upward in turn; in the Wandering Soul hexagrams of the eight palaces, it stands on the fourth line; in the Returning Soul hexagrams of the eight, look to the third.
Position in palaceSelfResponse
Palace headTop lineLine 3
1st generationLine 1Line 4
2nd generationLine 2Line 5
3rd generationLine 3Top line
4th generationLine 4Line 1
5th generationLine 5Line 2
Wandering SoulLine 4Line 1
Returning SoulLine 3Top line

Finding the Self Line Without the Table

Heaven alike, Self on two; Heaven unlike, on five. Earth alike, Self on four; Earth unlike, on one. Palace head, Self on six; third generation, the opposite. Human alike, Wandering Soul; Human unlike, Returning Soul.

Compare the yin or yang of the matching lines of the inner and outer trigrams in pairs: the first line against the fourth is called “Earth”, the second against the fifth is called “Human”, and the third against the top is called “Heaven”. If only Heaven is alike, the Self is on the second line; if only Heaven is unlike, it is on the fifth. If only Earth is alike, it is on the fourth line; if only Earth is unlike, on the first. If all three pairs are alike, it is a palace head and the Self is on the top line; if all are unlike, it is a third-generation hexagram. If only Human is alike, it is a Wandering Soul hexagram with the Self on the fourth line; if only Human is unlike, it is a Returning Soul hexagram with the Self on the third.

Telling Which Palace It Belongs To

One, two, three and six: the outer trigram’s palace. Four, five and Wandering Soul: change the inner one. Returning Soul: the inner trigram is the palace.

For a hexagram with the Self on the first, second, third or sixth line, it belongs to the palace of whatever its outer trigram is. For fourth-generation, fifth-generation and Wandering Soul hexagrams, reverse the yin and yang of all three lines of the inner trigram, and the trigram you get is the name of the palace. For a Returning Soul hexagram, although the Self is on the third line, look directly at the inner trigram.

The Six Relatives

The Six Relatives (六親, liu qin) are the names of the relationships between each line and the hexagram’s palace. To judge them, treat the element of the palace as “me”, then look at the element of each line’s branch. The rhyme is:

What nourishes me is Parents; what I nourish is Offspring; what overcomes me is Officer-Ghost; what I overcome is Wife-Wealth; what matches me is Siblings.

There are five names, Parents (父母, fu mu), Offspring (子孫, zi sun), Officer-Ghost (官鬼, guan gui), Wife-Wealth (妻財, qi cai) and Siblings (兄弟, xiong di), and together with “me” they are called the Six Relatives. Parents and Offspring here are only names of relationships; what they actually stand for is very broad. The next article goes into detail.

A Full Example: Water-Lake Jie

  1. Compare the inner and outer trigrams: only the first and fourth lines differ in yin and yang, that is, “Earth is unlike”, so the Self is on the first line and the Response on the fourth.
  2. This is a first-generation hexagram, so look at the outer trigram. The outer trigram is Kan, so it belongs to the Kan palace, whose element is Water.
  3. The inner trigram, Dui, takes 巳 (Si), 卯 (Mao) and 丑 (Chou); the outer trigram, Kan, takes 申 (Shen), 戌 (Xu) and 子 (Zi).
  4. Take Water as “me” and assign the Six Relatives. For example, 巳 (Si) Fire on the first line is overcome by Water, so it is Wife-Wealth.

The table below follows the way the hexagram is drawn, listed from the top line down to the first line.

LineShapeBranch, elementRelativeSelf/Resp.
Top▅▅ ▅▅子 (Zi) WaterSiblings—
5▅▅▅▅▅戌 (Xu) EarthOfficer-Ghost—
4▅▅ ▅▅申 (Shen) MetalParentsResponse
3▅▅ ▅▅丑 (Chou) EarthOfficer-Ghost—
2▅▅▅▅▅卯 (Mao) WoodOffspring—
1▅▅▅▅▅巳 (Si) FireWife-WealthSelf

If there are changing lines, the lines they change into are also given branches, and their Six Relatives are still set by the palace of the Primary hexagram. In the example, the third line changes to 辰 (Chen) Earth. The Kan palace takes Water as “me”, and Earth overcomes Water, so it is still Officer-Ghost.

Order for Setting Up

Once you are practiced, work in this order: note the month and day; draw the Primary hexagram, the changing lines and the Relating hexagram; place the Self and Response; identify the palace; fill in the branches; assign the Six Relatives by palace. The stem of the casting day is also used to place the Six Spirits (六神, liu shen); for the method, see the article “Changing Lines, the Relating Hexagram and the Six Spirits”.

There are three common mistakes: taking the element of the Relating hexagram or of the inner trigram as “me”; filling in the branches from top to bottom; and applying “look at the outer trigram” to identify the palace of a Returning Soul hexagram.