Jade Mirror of the Four Unknowns, Siyuan yujian (), also referred to as Jade Mirror of the Four Origins, is a 1303 mathematical monograph by Yuan dynasty mathematician Zhu Shijie. Zhu advanced Chinese algebra with this Magnum opus.

The book consists of an introduction and three books, with a total of 288 problems. The first four problems in the introduction illustrate his method of the four unknowns. He showed how to convert a problem stated verbally into a system of polynomial equations (up to the 14th order), by using up to four unknowns: 天 Heaven, 地 Earth, 人 Man, 物 Matter, and then how to reduce the system to a single polynomial equation in one unknown by successive elimination of unknowns. He then solved the high-order equation by Southern Song dynasty mathematician Qin Jiushao's "Ling long kai fang" method published in Shùshū Jiǔzhāng (“Mathematical Treatise in Nine Sections”) in 1247 (more than 570 years before English mathematician William Horner's method using synthetic division). To do this, he makes use of the Pascal triangle, which he labels as the diagram of an ancient method first discovered by Jia Xian before 1050.

Jade Mirror of the Four Unknowns

Zhu also solved square and cube roots problems by solving quadratic and cubic equations, and added to the understanding of series and progressions, classifying them according to the coefficients of the Pascal triangle. He also showed how to solve systems of linear equations by reducing the matrix of their coefficients to diagonal form. His methods predate Blaise Pascal, William Horner, and modern matrix methods by many centuries. The preface of the book describes how Zhu travelled around China for 20 years as a teacher of mathematics.

Jade Mirror of the Four Unknowns

Jade Mirror of the Four Unknowns consists of four books, with 24 classes and 288 problems, in which 232 problems deal with Tian yuan shu, 36 problems deal with variable of two variables, 13 problems of three variables, and 7 problems of four variables.

Jade Mirror of the Four Unknowns

Introduction

The four quantities are x, y, z, w can be presented with the following diagram

x

y 太w

z

The square of which is:

The Unitary Nebuls

This section deals with Tian yuan shu or problems of one unknown.

Question: Given the product of huangfan and zhi ji equals to 24 paces, and the sum of vertical and hypothenuse equals to 9 paces, what is the value of the base? Answer: 3 paces Set up unitary tian as the base( that is let the base be the unknown quantity x)

Since the product of huangfang and zhi ji = 24

in which

huangfan is defined as:

zhi ji:

therefore

Further, the sum of vertical and hypothenuse is

Set up the unknown unitary tian as the vertical

We obtain the following equation

()

太

Solve it and obtain x=3

The Mystery of Two Natures

太 Unitary

equation: ;

from the given

太

equation: ;

we get:

太

and

太

by method of elimination, we obtain a quadratic equation

solution: .

The Evolution of Three Talents

Template for solution of problem of three unknowns

Zhu Shijie explained the method of elimination in detail. His example has been quoted frequently in scientific literature.<ref>Wu Wenjun Mechanization of Mathematics (吴文俊 数学机械化 《朱世杰的一个例子》) pp. 18-19 Science Press </ref>J. Hoe Les Systèmes d'Equations Polynômes dans le Siyuan Yujian (1303), Paris: Institut des Hautes Etudes Chinoises, 1977

Set up three equations as follows

太

.... I

.....II

太

....III

Elimination of unknown between II and III

by manipulation of exchange of variables

We obtain

太

...IV

and

太

.... V

Elimination of unknown between IV and V we obtain a 3rd order equation

Solve to this 3rd order equation to obtain ;

Change back the variables

We obtain the hypothenus =5 paces

Simultaneous of the Four Elements

This section deals with simultaneous equations of four unknowns.

Successive elimination of unknowns to get

Solve this and obtain 14 paces

Book I

Problems of Right Angle Triangles and Rectangles

There are 18 problems in this section.

Problem 18

Obtain a tenth order polynomial equation:

The root of which is x = 3, multiply by 4, getting 12. That is the final answer.