Arrange coefficients, then eliminate unknowns.
In modern notation: elementary operations on an augmented matrix.
From counting rods to unknowns · three conceptual leaps
Classical Chinese mathematics organized calculation through counting rods, position, and procedure: quantities were placed on a counting board, then transformed by repeatable operations until the unknowns were found.
Begin with a counting board↓I · Fangcheng procedure
Chapter Eight of the Nine Chapters, “Fangcheng,” solves simultaneous linear problems. Each condition occupied a column on the counting board; repeated scaling and subtraction eliminated unknowns one by one.
Two bundles of upper-grade grain plus one bundle of lower-grade grain yield five dou; one upper plus three lower yield seven. Find the yield of each bundle.
x = yield per upper bundle
y = yield per lower bundle
215137
How to read it: each row is one condition; the first two columns are coefficients of x and y; the right side contains the totals. Row operations change the representation without changing the solution.
The modern row layout is the transpose of the traditional counting-board orientation.
One action, two vocabularies
2 1 │ 51 3 │ 7encodeR₂ ← 2R₂1 3 │ 7 → 2 6 │ 14scaleR₂ ← R₂ − R₁2 6 │ 14 − 2 1 │ 5= 0 5 │ 9eliminateR₂ ← R₂ ÷ 5y = 9/5, x = 8/5solveThe four cards continue the same problem. Modern notation uses rows R₁ and R₂; the classical counting board used the transposed orientation.
II · The Heavenly Unknown
“Establish one Heavenly Unknown as…”— a standard setting phrase in thirteenth-century texts
The method represented the coefficients of successive powers through position. It did not write the letter x, but it could organize and operate on a polynomial in one unknown.
Let the shorter side be the Heavenly Unknown. Move the slider.
Reduce the story to a polynomial
The letter and exponent are modern translations; the classical method encoded them through position.
III · The Four Unknowns
In the 1303 Jade Mirror of the Four Unknowns, Zhu Shijie used Heaven, Earth, Human, and Matter for as many as four unknown quantities, then eliminated them successively.
In this problem, the Heavenly Unknown is the shorter leg.
今有股乘五较与弦幂加句乘弦等。只云句除五和与股幂减句弦较同。问黄方带句股弦共几何?答曰:一十四步。草曰:立天元一为句,地元一为股,人元一为弦,物元一为开数,四象和会求之。
English: The answer is fourteen. Set the Heavenly Unknown as the shorter leg, Earth as the longer leg, Human as the hypotenuse, and Matter as the sought total; combine the four forms to solve it.
Read the original text ↗The “yellow square” is the incircle’s diameter: d = x + y − z. Thus u = x + y + z + d = 2x + 2y.
x² + y² = z²
y · five differences = z² + xz
five sums / x = y² − (z − x)
u = x + y + z + (x + y − z)
The first three relations determine the triangle; the fourth records the requested total.
The animation reconstructs the original elimination with modern symbols. The transmitted book represents its operations through multidirectional counting-rod diagrams.
From counting board to algebra
In modern notation: elementary operations on an augmented matrix.
In modern notation: a polynomial in x.
Here they are transcribed as x, y, z, and u.
Modern algebra performs the same reduction by substitution and elimination.
Placed on a world timeline
Sources
Dates and terminology follow conservative historical descriptions. Modern letters and row notation are translations used to expose the algorithms.