The Nine Chapters on the Mathematical Art is a book of mathematics. It was not written by one person at one time but was compiled in the Western Han from methods accumulated since pre-Qin times. It has 246 problems, each with its way of working.
The problems deal with applied mathematics such as equations and right triangles. Among them the fangcheng method is a way of solving simultaneous linear equations.
In 263, the fourth year of Jingyuan in the Wei of the Three Kingdoms, Liu Hui wrote his commentary on the Nine Chapters, adding justifications and devising the circle-division method.
In the Tang, Li Chunfeng and others annotated the Ten Mathematical Classics, making the Nine Chapters the core textbook of the School of Mathematics at the Directorate of Education.
Nine Chapters on the Mathematical Art is the class in the chapter on Sciences on a work of mathematics. It covers the Nine Chapters on the Mathematical Art, compiled in the Western Han from methods accumulated since pre-Qin times: in 246 problems it sets out applied mathematics such as equations and right triangles and gives a method for solving simultaneous linear equations (the fangcheng method); Liu Hui of Wei wrote a commentary on it, and in the Tang it became the core textbook of the School of Mathematics.