Knowledge library
YJ-004 / Yijing

Yin and yang lines in a hexagram

Content version · · Sources & references

Two strokes, six places, 64 patterns
Save share card ↓

A yang line is unbroken and a yin line is broken in the middle. Six lines stack from the bottom into one hexagram, giving 2 × 2 × 2 × 2 × 2 × 2 = 64 patterns. Jiji and Weiji show why order matters.

The short version7 min read

A yang line is one unbroken stroke and a yin line is broken in the middle; six lines stacked from the bottom make one hexagram, and there are 2 × 2 × 2 × 2 × 2 × 2 = 64 ways to stack them.

  • There are only two line forms, unbroken yang and broken yin, and each line also holds a fixed place in the stack.
  • The text names the lowest line Initial (初) and the highest Top (上). Most hexagrams turn into a different one when read upside down; only 8 symmetric ones do not.
  • Six places with two forms each multiply to 64. That number counts structures; it forecasts nothing.
Eighteen seconds: six places counted from the bottom, the count doubling to 64, then three checks.

Read first

Yijing and Zhou Yi: Sorting the Names and Their Scope ↗

Two kinds of stroke: unbroken and broken

Every hexagram in the Zhou Yi is a stack of six strokes, and a stroke comes in only two forms. An unbroken stroke is a yang line; a stroke broken in the middle is a yin line. The word for one stroke is line (爻, pronounced yáo).

The six lines of Jiji numbered 1 to 6 from the bottom: lines 1, 3 and 5 are unbroken yang lines, lines 2, 4 and 6 are broken yin lines.Open the full-size diagram

Sketch: the six lines of Jiji from the bottom up are yang, yin, yang, yin, yang, yin. A structure diagram, not a reading.

The figure shows Jiji (既济). Counting from the bottom, lines 1, 3 and 5 are yang and lines 2, 4 and 6 are yin. Because the two forms alternate, each line's place and form can be read off separately.

The two strokes

Yang line

An unbroken stroke

Drawn as one continuous bar, it occupies one of the six places.

Yin line

A stroke broken in the middle

Drawn as two short bars with a gap, it also occupies one place.

What the Great Commentary says a line is

A line is more than a drawing convention. The Great Commentary (Xi Ci, 系辞) mentions it in several places, and each time the vocabulary is about change and movement.

What the diagram showsForm: unbroken or brokenPlace: which, from the bottomWhat the text saysSpeaks of changeImitates movement under heavenLeft is how a line looks; right is how the text speaks of it
Enlarge diagram · scroll sideways to read
What the diagram showsForm: unbroken or brokenPlace: which, from the bottomWhat the text saysSpeaks of changeImitates movement under heavenLeft is how a line looks; right is how the text speaks of it
Left: the form and place seen in a diagram. Right: two ways the Xi Ci speaks of a line, as speaking of change and as imitating the movements under heaven.

The upper part of the Xi Ci says: "The Tuan (彖) speaks of the images; the lines speak of change." The lower part says: "The lines imitate the movements under heaven." The verb there means to model oneself on something, so a line is described as copying the motions of the world.

Because the Way has change and movement, it is called a line; lines have grades.

Xi Ci, lower part (系辞下)

This sentence ties the word line to movement and then says lines have "grades", which commentators mostly take to mean different ranks. That points to the next section: the six lines are not laid side by side, each one rests on the one below.

Reading from the bottom: place first, then form

Count the six lines upward. The lowest is called Initial (初), the highest Top (上), and the four between are Two, Three, Four and Five. These are the names the Zhou Yi itself uses.

Jiji, bottom-up123456Read top-down: Weiji123456
Enlarge diagram · scroll sideways to read
Jiji, bottom-up123456Read top-down: Weiji123456
Jiji read upside down is Weiji; most hexagrams behave this way.

Most hexagrams become a different hexagram when read upside down, as Jiji becomes Weiji. Only eight are symmetric end to end and read the same either way: Qian (乾), Kun (坤), Yi (颐), Daguo (大过), Kan (坎), Li (离), Zhongfu (中孚) and Xiaoguo (小过). The table writes the six lines of Jiji out by place:

Place Name Line in Jiji
6 Top (上) Yin (broken)
5 Five Yang (unbroken)
4 Four Yin (broken)
3 Three Yang (unbroken)
2 Two Yin (broken)
1 Initial (初) Yang (unbroken)

The six lines intermingle, each answering only to its own time and thing. The initial line is hard to know, the top line is easy to know: they are root and branch.

Xi Ci, lower part (系辞下)

The passage sets the Initial line and the Top line side by side as root and branch. So within the text itself the six lines form an ordered series with a start and an end.

  1. Write the places

    Number the page from 1 to 6, bottom to top: Initial at the foot, Top at the head.

  2. Fill in the forms

    Give each place one entry only, yang (unbroken) or yin (broken).

  3. Read it back

    Recite the forms in order from 1 to 6, then compare with the drawing from its bottom up.

Stacking line by line: why sixty-four

Each place has two choices, so one line has 2 forms. Put a second line on top and two lines give 2 × 2 = 4 patterns. Every extra line doubles the total.

More lines, more patternsEach added line multiplies by 21 line2 patterns×43 lines8 patterns×86 lines64 patternsFrom 1 to 3 lines the count is multiplied by 4, from 3 to 6 by 8
Enlarge diagram · scroll sideways to read
More lines, more patternsEach added line multiplies by 21 line2 patterns×43 lines8 patterns×86 lines64 patternsFrom 1 to 3 lines the count is multiplied by 4, from 3 to 6 by 8
One line has 2 patterns, three lines 8 and six lines 64; every extra line doubles the count.

The Changes have the Supreme Ultimate; it gives rise to the two modes; the two modes give rise to the four images; the four images give rise to the eight trigrams.

Xi Ci, upper part (系辞上)

The sentence names two modes, four images and eight trigrams in turn. Later commentators often match these to the 2 patterns of one line, the 4 of two lines and the 8 of three lines. The text stops at the eight trigrams; three more doublings give 16, 32 and 64, which is the same procedure carried on. The lower part adds: "When the eight trigrams stand in rows, the images are within them; when they are doubled, the lines are within them." Doubling the trigrams into six lines is exactly this step.

Grouping the sixty-four by how many yang lines they hold gives a second count:

Yang lines0123456Hexagrams16152015611 + 6 + 15 + 20 + 15 + 6 + 1 = 64
Enlarge diagram · scroll sideways to read
Yang lines0123456Hexagrams16152015611 + 6 + 15 + 20 + 15 + 6 + 1 = 64
Grouped by the number of yang lines, the sixty-four hexagrams number 1, 6, 15, 20, 15, 6 and 1, totalling 64.

Only one hexagram has six yin lines, Kun (坤), and only one has six yang lines, Qian (乾). A second way of reaching 64, by pairing a trigram with a trigram (8 × 8), is set out in the sixty-four hexagrams.

Same line, new place, new hexagram

Hexagrams with the same forms and the same counts are still different hexagrams when the places differ. Exactly 6 hexagrams contain a single yang line, one for each place.

Fu (复): yang at 1123456Bo (剥): yang at 6123456
Enlarge diagram · scroll sideways to read
Fu (复): yang at 1123456Bo (剥): yang at 6123456
Left: Fu, whose only yang line is the lowest. Right: Bo, whose only yang line is the highest. Both have one yang line and five yin lines.

Fu and Bo each have one yang line and five yin lines. The only difference is whether that yang line stands in place 1 or place 6. To read further you need the name and meaning of each place; those are covered in line positions, from Initial to Top.

Questions readers ask next

Is a yin line a bad line and a yang line a good one?

No. Yin and yang are first of all names for the shape of a stroke: whether it is continuous or broken. How a given line reads inside a given hexagram depends on the wording of the Judgment and the line statements, which is a separate question.

Why are the six lines counted from the bottom?

The text itself calls the lowest line Initial and the highest Top, and that fixes the order. Reverse it and most hexagrams turn into a different one; Jiji and Weiji are such a pair. Only eight symmetric hexagrams (Qian, Kun, Yi, Daguo, Kan, Li, Zhongfu and Xiaoguo) read the same either way. Writing position numbers first is the safest habit.

How is sixty-four counted, and why is it not 6 × 2 = 12?

Each of the six places independently takes one of two forms, so the choices multiply: two to the power six. Six times two counts the options per place but never pairs up the choices made at different places.

Was this article helpful?

Part of a learning path

Sources & references

  1. 易傳·繫辭上(維基文庫) ↗
  2. 易傳·繫辭下(維基文庫) ↗

Continue reading

Eight Trigrams: Three-Line Structure and Basic Images, Read Through the Shuo Gua ↗

The Sixty-Four Hexagrams: How Upper and Lower Trigrams Form One Figure ↗

Recording six coin throws: keep states and moving lines ↗