Qin Jiushao (1208-1268), courtesy name Daogu, of Anyue in Puzhou, was a Southern Song mathematician. Youth in Lin'an under his father brought him astronomy and calendar learning from the Astronomical Bureau; the armies carried him after, and he settled at Huzhou. In 1247 he completed the Mathematical Treatise in Nine Sections, eighteen books, eighty-one problems in nine classes — remainder, seasons, fields, survey, taxes, grain, works, armies, trade — mathematics applied to the whole business of state and livelihood. Two achievements crown it above the age: the 'Dayan rule of one' systematically solves systems of linear congruences — the 'unknown number of things' of the Sunzi Classic grown into a complete algorithm, matched in the West only in the eighteenth and nineteenth centuries; and the 'positive-negative root extraction' — the Qin Jiushao algorithm — a complete program for the numerical solution of polynomial equations, five hundred years before Horner's. The three-sided-area formula shows his invention besides. With Li Ye, Yang Hui and Zhu Shijie he makes the four great mathematicians of Song-Yuan; his results fed the calendrical work of Guo Shoujing, and with Shen Kuo's Dream Pool Essays his treatise stands for the scientific literature of the Song.