Showing posts with label Gan/Zhi. Show all posts
Showing posts with label Gan/Zhi. Show all posts

27 December, 2012

"Jing Fang" Style of Fortune Telling Based on Hexgrams and Five Elements

The Jing Fang Method

The prominent scholar Jing Fang (京房) of the Han dynasty (77-37BC) revolutionized fortune telling based on the 64 hexgrams by marrying them with the concept of the Five Elements.

His method is:
  1. Generate a trigram by the coin substitute method; this is the base hexgram (see this entry)
  2. Create the alternate hexgram by flipping all lines marked with O or X
  3. The base hexgram is used to predict the general state of an event or issue, while the alternative hexgram is used to predict the outcome of an event or issue
  4. Identify the houses of each hexgram
  5. The element of the base trigram of the house of the base hexgram is the source (原神)
  6. The element of the base trigram of the house of the alternative hexgram is used to predict the final outcome
  7. Allocate a Zhi (from the 12-Zhi cycle) to each line of both hexgrams based on an algorithm (the reader can look this up)
  8. Take the appropriate element (based on the event or issue being predicted) as the target (用神)
  9. Make predictions based on the twelve zhi items
When expressed in the language of the Standard Model, step 8-9 become:
  1. For each zhi item allocated to each line of both hexgrams, find its corresponding 3D vector in the Five Elements Phase Space based on the Standard Model
  2. Create a resultant vector by combining the six vectors of the base hexgram
  3. Create a resultant vector by combining the six vectors of the alternative hexgram
  4. Identify the target (用神) element based on the source (原神)
  5. Identify the magnitude of the target element by projecting the resultant vector of the base hexgram -- this generally predicts the strength of the target, or the event/issue being predicted
  6. Identify the magnitude of the target element by projecting the resultant vector of the alternative hexgram -- this generally predicts the strength of the final outcome of the event/issue being predicted
  7. The interactions of both resultant vectors also have implications on whether the final outcome will be favorable or unfavorable -- for example, if the resultant vector of the alternative hexgram is much weaker than the other

Observations

Using the Zhi Formula and the Standard Model takes most of the guesswork out of applying the Jing Fang Method of fortune telling.

There are, however, some unknowns, for example the rationale behind the algorithm of allocating zhi items to each line of a hexgram. Also, practitioners of the Jing Fang method can usually make fine-grained predictions, including specific details, based on the complex interactions of the 12 zhi items -- these cannot be easily generated by the conceptualized Standard Model which reduces all interactions to a single vector embedded in phase space.

The Jing Fang Method is also the first under this study that utilizes the concept of relationships to make predictions on a particular event or issue.  This is actually only an application of the general concept of mapping a base (e.g. the Self House 命宮 in Ziwei Numbers, or the Day Pillar 日柱 in the Four Pillars) and then looking for the correct element or house for the event/issue under question based on relationships. More of this can be seen in future entries when studying other systems of fortune telling, although in many cases, a uniform 60° is used instead of the 72° in the Five Elements basic model.

Practical Example

This example is chosen at random from the book 周易与预测学 (The I-Ching and The Science of Predictions) by 邵伟华.  A prediction was seeked for the illness of asker's wife.

The base hexgram obtained was 比 and the alternate hexgram was 謙, meaning the second and forth lines of the base hexgram were flipped to form the alternate hexgram.

The houses of each hexgrams: 比 is of the house of 坤 (an earth 土 house) and 謙 is of the house of 兌 (a metal 金 house).  Therefore, the source element is earth (土).

As the event being asked is related to the asker's wife, and within the five relations a wife falls under the overcomed, thus the target element (用神) is the element overcome by the source element, or water (水).

Therefore, right away, we have the element of the alternate hexgram being a benefactor (i.e. generator) of the target element -- a particularly optimistic result generally, indicating that it is likely the event will end optimistically (remember the alternate hexgram indicates the outcome of a prediction).

The zhi vectors under the Standard Model for the base hexgram are:

1st Line: 子 (water) = (0, -1, 0)
2nd Line: 戌 (earth) = (+0.43, +0.25, -0.87)
3rd Line: 申 (metal) = (+0.43, -0.25, +0.87)
4th Line: 卯 (wood) = (-1, 0, 0)
5th Line: 巳 (fire) = (+0.25, +0.43, -0.87)
6th Line: 未 (earth) = (-0.25, +0.43, +0.87)

Not considering adjustments made due to season and location (e.g. hotter seasons magnify fire while colder seasons magnify water, spring magnifies wood while autumn magnifies metal), the resultant vector is (-0.14, -0.14, 0), meaning that it is weakly negative (i.e. wood) on the X-axis and weakly negative (i.e. water) on the Y-axis.  The Z-axis component is zero.

As the target element of the event is water, we can judge from the resultant vector of the base hexgram that it is weakly beneficial -- although not strongly but at least not detrimental. This indicates that the wife is weak from illness, but that the illness is likely not to be serious or life-threatening.

The zhi vectors for the alternate hexgram are:

1st Line: 酉 (metal) = (+1, 0, 0)
2nd Line: 亥 (water) = (-0.25, -0.43, -0.87)
3rd Line: 丑 (earth) = (+0.25, -0.43, +0.87)
4th Line: 申 (metal) = (+0.43, -0.25, +0.87)
5th Line: 午 (fire) = (0, +1, 0)
6th Line: 辰 (earth) = (-0.43, -0.25, -0.87)

The resultant vector is (+1, -0.36, 0) -- strongly metal (X-axis) and mildly water (Y-axis), but again no earth.

As the element of the alternate hexgram has mild magnitude in the target element axis, this indicates that the outcome of the prediction should be optimistic, and generally more positive than the original state.

In other words, the wife is expected to recover from a non-life-threatening illness.

30 November, 2012

Gan/Zhi Con't - Formula for The Zhi Cycle

The Standard Model

Starting from the Standard Model -- the version that yields zero magnitudes in the Z axis for 3-Fusion and 3-Union patterns:


It is now possible to compile the equation governing the Zhi cycle's trajectory in the Five Elements Phase Space. The transition from 丑 to 寅, for instance, flips the vector to the opposite side of the plane; same thing for 辰 to 巳, 未 to 申, 戌 to 亥.

This behavior can be successfully modeled by a vector that not only rotates through 360° in the X-Y plane, but also rotates into the Z dimension.

Vector Illustration

Consider a vector that rotates in the X-Y plane through the angle θ, while at the same time rotating by an angle φ about an axis in the X-Y plane that is perpendicular to the vector's projection into X-Y:


When φ > 90°, the vector flips to the opposite side of the X-Y plane, creating the behavior that we observe in the Zhi cycle.

Mapping the vector rotation with components of the Zhi cycle items, it is easy to come up with the fact that:
φ = 2θ
In other words, as the vector rotates 360° through the X-Y plane (representing one complete period of the Zhi cycle), the vector rotates into the Z dimension through 720° -- or two complete rotations.

The Standard Model Formula

Assuming a unit vector:
`x = cos phi sin theta = cos 2 theta sin theta`
`y = -cos phi cos theta = -cos 2 theta cos theta`
`z = sin phi = sin 2 theta`
The minus sign for y is simply there to cast water into negative and fire into positive, instead of the other less-intuitive way.

There is a minor adjustment required. In classical literature, the zhi items 子, 卯, 午, 酉 point to compass directions only in the middle of their segment.  For example, when the Zhi cycle is applied to mark time, the hour represented by 子 is 11:00pm on the previous night to 1:00am, with the mid-point being midnight.  Essentially, only at midnight is the vector for 子 coinciding with the Y axis.

Since each Zhi item occupies 30° in a complete circle, the Zhi cycle must therefore start with θ = -15° instead of θ = 0°.

Formula Behavior

The Zhi cycle when projected on the X-axis takes on the following values (as shown with the green line):


Negative is wood while positive is metal.  The 3-Fusion for wood (寅, 卯, 辰) and 3-Fusion for metal (申, 酉, 戌) are both clearly seen as the lowest trough and highest peak respectively. The lowest/higher points, together with the two sub-depression/sub-peaks surrounding them, form the 3-Union patterns for wood and metal respectively.

Projections on the Y axis (red line) shows similar behavior:


Projections on the Z axis (blue line) is a simple sine curve:


It can be seen immediately that, for all Zhi items with earth as component (i.e. all the items that do not point to pure compass directions) have component values at the mid-point of 0.87 -- almost 90% of the peak value.

This explains why, in classical literature, the earth components of these Zhi items cannot be ignored -- they are almost stronger than any other component -- while there are no earth components for the four Zhi items pointing to pure compass directions. For those items, the actual earth component takes on various values from positive to negative, while that component is zero at the mid-point.

Quaternion Interpretations

The rule φ = 2θ is interesting because, as θ goes from 0° to 360°, φ goes from 0° to 720° (or two complete revolutions). It is well known in geometry and topology that a rotation by360° in three dimensional space is not a symmetry operation (i.e. an object remains twisted), but 720° is symmetric (i.e. the object rotated is not twisted) -- a fact described by the mathematics of quaternions and spinors.

The Standard Model formula describes a curve on the three-dimensional quaternion hypersphere -- a "figure-eight" curve with two loops on both the northern and southern hemisphere. When the hypersphere (in blue) is looked upon from the top, the curve (in red) looks like:
The plane shows θ going from 0° to 360°, while the third dimension (through the plane) ranges from a rotation φ from 0° to 360° -- 0° is the north pole and 360° is the south pole. The red circle is actually two circles stacked on top of each other -- one in the northern hemisphere and one in the southern hemisphere. The trajectory follows a figure-eight path tracing through these two circles.

In the previous entry, it is mentioned that another possible mapping of the Z-axis:

It has fewer redeeming qualities than the Standard Model -- for example, the 3-Fusion and 3-Union patterns yield non-zero components in the Z-axis.  It is also less uniform to fit resulting vector trajectory.

However, this mapping can be described by a great circle on the quaternion hypersphere. But unless the great circle follows the longitudes and go through both poles, the four compass directions 子, 午, 卯, 酉 must also have non-zero components in the Z-axis.

No ancient Chinese texts associated any earth component for 3-Fusion, 3-Union and the four compass directions, except for 午 -- but this fact is explained in a future entry.

Other Interpretations

Considering the 720° rotation of φ, it is possible that the Standard Model formula can be described more elegantly via spinor algebra -- but I am not good enough a mathematician to do this.

29 November, 2012

Gan/Zhi (Trunks/Branches) - Calculus for the Five Elements


Other than the Generating and Overcoming cycles, and the five relationships, ancient China invented a method of categorizing and manipulating the five elements in a strict analytical system.

Zhi (Branches) of the Earth

Ancient Chinese invented a cycle of 12 items -- mirroring other ancient civilizations' love for categories based on the number 12 -- that map roughly to the Five Elements. This cycle is of paramount importance in the study and application of the Five Elements as it provides a calculus for analysis of the five elemental forces.

The cycle is the "Zhi" cycle -- "Zhi" meaning "branch":
子 (water), 丑 (earth),
寅 (wood), 卯 (wood), 辰 (earth),
巳 (fire), 午 (fire), 未 (earth),
申 (metal), 酉 (metal), 戌 (earth),
亥 (water)
The cycle is typically depicted in a circle, mapping the four elements water/fire/metal/wood on two axes:
As can be seen, the 12 items in the Zhi cycle maps roughly to the four compass directions (north/south/east/west) according to the elements they refer to, with north (being cold) mapped to water, south (being hot) mapped to fire, east mapping to wood and west mapping to metal.

Notice a similarity mapping the Five Elements with the Bagua trigrams in a previous entry.

For reasons to be detailed below, this should be named the "simplistic" model.

Gan (Trunks) of the Heavens

At an unknown time in ancient China, another cycle of 10 items, again mapping roughly to the Five Elements, was invented and termed the "Gan" cycle -- "Gan" meaning "trunk":
甲 (wood), 乙 (wood),
丙 (fire), 丁 (fire),
戊 (earth), 己 (earth),
庚 (metal), 辛 (metal),
壬 (water), 癸 (water)
The items in this cycle are mapped to the Five Elements in a more predictable manner, with two mapping to each element in Generating Order.

Gan/Zhi Combo

The 10 items in the Gan cycle is usually combined, in sequence, with the 12 items in the Zhi cycle to form a Gan-Zhi combo with a period of 60, starting from 甲子 to癸亥. This 60-period cycle is usually called one Jiazi (甲子) and is typically used to refer to 60 years.

The Gan-Zhi combo is used primarily to label dates, with one combo used to label year, month, day, and hour respectively.  These four-combo (year, month, day, hour) unique identifies a date/time within a long time span and forms the basis of the Four Pillars (or Eight Characters) system of fortune-telling.

The Zhi Cycle in Detail

As will be seen later, the Zhi cycle plays a much more critical role in Chinese fortune-telling than the Gan cycle, even though it is more complex (or perhaps due to its complexity).

The 12 items in the Zhi cycle can be combined in various patterns (a property missing from the Gan cycle), the most important being the 3-Fusion (三會) and 3-Union (三合) patterns. These patterns essentially are rules for applying the calculus on analysis of the Five Elements.

Five Elements Phase Space Representation

The 12 Zhi items has a simple mathematical representation.  Essentially, we we can take the following three-dimensional phase space model:

and treat each of the 12 Zhi items as vectors lying on the water/fire/wood/metal plane.

By mathematical convention, we can term the wood/metal axis the "X-axis" with wood being the negative direction and metal being the positive direction, the water/fire axis the "Y-axis" with water being the negative direction and fire being the positive direction, and earth the "Z-axis" with up being positive (i.e. dry earth) and down being negative (i.e. wet earth).

Zhi Components

Each item in the Zhi cycle can be decomposed into component Gans (usually named the "hidden Gan's" or 地支藏干) as follows:
子: 癸 (water)
丑: 己 (earth), 癸 (water), 辛 (metal)
寅: 甲 (wood), 丙 (fire), 戊 (earth)
卯: 乙 (wood)
辰: 戊 (earth), 乙 (wood), 癸 (water)
巳: 丙 (fire), 戊 (earth), 庚 (metal)
午: 丁 (fire), 己 (earth)
未: 己 (earth), 乙 (wood), 丁 (fire)
申: 庚 (metal), 戊 (earth), 壬 (water)
酉: 辛 (metal)
戌: 戊 (earth), 辛 (metal), 丁 (fire)
亥: 壬 (water), 甲 (wood)
On the surface, this makes sense if we treat each zhi as a vector on the Five Elements Phase Space. The components are simply projections of each zhi vector on the primary axes.


However, upon careful analysis, one can see a significant problem with this interpretation -- the components elements are intermixed with each other and do not clearly fall into their natural compass directions.  For example, 寅 and 戌, while being on the side of water, has fire as component. This strange behavior is essentially the same for the eight zhi vectors not pointing to strict compass points.  This fact highlights the major short-coming of the "simplistic" model, which is planar on the X-Y plane.

The Standard Model

The presence of earth in most of the zhi vectors also strongly indicate that these vectors do not lie in the X-Y plane, and must have components in the Z-direction. Therefore, it is obvious that the "simplistic" model cannot be a true representation of the Zhi cycle.

To correct the vector positions according to their components, the diagram should look like this:
Notice that this pattern is more complex than the "simplistic" representation which maps each zhi vector in the X-Y plane along equal points on a circle.


The 3-Fusion (三會) Pattern

The 3-Fusion (三會) pattern is simple: three Zhi together, when they occupy the three natural positions for a compass direction, combine to form a strong representation of the element.  For example, the three zhi items 亥, 子 and 丑 all lie in the south, with the first two mapping to water and the third mapping to earth.  These three zhi's combine to form a 3-Fusion patter for water, and are interpreted, taken together, as representing an extremely large magnitude for the water element.

Similarly, 寅, 卯, 辰 form the 3-Fusion pattern for wood, 巳, 午, 未 form the 3-Fusion pattern for fire, and 申, 酉, 戌 form the 3-Fusion pattern for metal:



The 3-Fusion patterns are easy to understand and model in modern mathematical language.  A 3-Fusion pattern simply represents projections on the primary axis of the three zhi vectors are in the same direction, therefore adding/reinforcing each other, with projections to the other axis on the X-Y plane cancelling each other.

For example, the vectors for the three zhi's 寅, 卯 and 辰 all have negative projections on the X-axis, so the magnitude of wood is essentially strengthened. On the other hand, projection of 寅 on the Y-axis is positive while the projection of 辰 on the Y-axis is negative, with magnitudes exactly cancelling each other (projection of 卯 on the Y-axis is zero).

This property of the 3-Fusion pattern works for both the "simplistic" model and the Standard Model.

Therefore, treating each Zhi item as a vector lying on the X-Y plane in the Five Elements Phase Space works well to interpret the 3-Fusion pattern, with the resulting vector lying on either the X or Y axis.

For obvious reasons, there is no 3-Fusion pattern for earth.

The 3-Union (三合) Pattern

The 3-Union (三合) pattern is also extremely important and cited even more frequently than the 3-Fusion pattern in literature. A 3-Union combo is considered to be weaker than a 3-Fusion combo for any element, but magnitude-wise still much stronger than a single vector representing that element.


It is, however, quite strange in that the three Zhi vectors each lie on different sides, forming a unilateral triangle in the "simplistic" model.


When plotted on the Five Elements Phase Space model according to the Standard Model, they represent three vectors on the outlying of each compass direction:

The three vectors for each 3-Union pattern again combine to result in a vector lying purely on either the X or Y axis, with all other components cancelling out.  The resultant vector is of smaller magnitude than the resultant vector of a 3-Fusion pattern due to two vectors being on the outlying region of each compass direction.

Again, for obvious reasons, there is no 3-Union pattern for earth.

2-Fusion and 2-Union Patterns

There are defined in classical Chinese fortune-telling literature of the 2-Fusion (半會) and 2-Union (半合) patterns, though not as useful as the full 3-Fusion and 3-Union patterns.

These two "half patterns" are weaker than the 3-Union, but nevertheless still indicate a somewhat strengthening of the representative element. A "half pattern" is formed with only two out of the three items in 3-Fusion and 3-Union.

The Standard Model works well in representing 2-Fusion and 2-Union.

Other Patterns

There are other patterns used regularly in fortune-telling, though most are not as prevalent as the 3-Fusion and 3-Union patterns.

The most significant one among them must be the Cancellation pattern -- each item in the Zhi cycle cancels an equivalent item directly opposing it (i.e. an item located 180 degrees from it). In fortune-telling applications, cancellations are usually interpreted as either completely negating a good aspect (or making it bad), or strengthening an already bad aspect. When mapped to the Standard Model and the Five Elements Phase Space, it has one straight meaning -- that two zhi vectors point to opposite directions and exactly cancel each other in magnitude. That this will negate a good aspect (i.e. zhi vector pointing to a beneficial direction) is easily understandable. When cancellation occurs, the resultant vector usually ends up with a smaller magnitude (as the magnitudes of two vectors completely cancel each other out), and as will be seen in later entries, a small resultant vector magnitude usually signifies weakness and is most commonly a "bad thing".

There is the 6-Harmony (六合) pattern which is used also quite frequently. This pattern, however, does not lend itself to a ready explanation in the Standard Model.

Other miscellaneous patterns such as the 6-Harming (六害), the 6-Punishments (六刑) etc. also have the same problem.

What About Earth?

Earth is a strange beast in the Zhi cycle (but not in the Gan) cycle.  Under the Standard Model, it alone represents an entire axis in the Five Elements Phase Space.

This special treatment of earth also strongly suggests that, although the Zhi cycle is a calculus on the Five Elements, they are not the same Five Elements as depicted in the Gan cycle!  As a results, it is strongly hinted that there are two different Five Elements systems, and there must be ways to model their interactions with each other.

For example, the Standard Model does not model the exact generating and overcoming cycles of the Five Elements. Instead, mathematically, pairs of elements are opposite of each other and cancels each other -- i.e. water with fire, wood with metal -- at least these are overcoming relationships.  Their interactions with each other are limited, as they represent different axes.  For instance, while water generates wood in the Five Elements, water and wood has no direct interactions in the Standard Model.

In practical applications of the Gan and Zhi cycles to analyze Five Elements, it is common to primarily consider patterns formed by the zhi vectors first and foremost, disregarding the generating/overcoming impacts. Only when all such patterns are considered should the resultant vectors and stand-alone vectors (which do not participate in any pattern) are considered via the elements in a classical Five Elements manner.

As will be seen in later entries, the Standard Model combines all zhi vectors into one resultant vector (which should only represent up to three elements, mapping to the three axes in the Five Elements Phase Space). These three elemental components are then combined with the Gan items, if any, and interpreted via generating/overcoming analysis.

Fixing the Z Component

The 3-Union and 3-Fusion patterns strongly suggest that the Z-axis components of the vectors forming those patterns will cancel out in magnitude and direction, meaning that there are only two possible ways to fix the third dimension on each zhi vector and still be symmetric. The first possibility, the preferred, has the 3-Union and 3-Fusion patterns resulting in vectors with no Z components (red = negative Z, green = positive Z):

Another possibility has the 3-Union and 3-Fusion patterns resulting in vectors with non-zero Z components (red = negative Z, green = positive Z):

The first possibility is preferred as it is completely symmetric, but the second possibility also has certain attractiveness -- in particular, they can be generated by a great circle on a quaternion hypersphere, as show in the next entry!