Liu Hui
Overview
Liu Hui was a mathematician of the state of Cao Wei
Cao Wei
Cao Wei was one of the states that competed for control of China during the Three Kingdoms period. With the capital at Luoyang, the state was established by Cao Pi in 220, based upon the foundations that his father Cao Cao laid...

 during the Three Kingdoms
Three Kingdoms
The Three Kingdoms period was a period in Chinese history, part of an era of disunity called the "Six Dynasties" following immediately the loss of de facto power of the Han Dynasty rulers. In a strict academic sense it refers to the period between the foundation of the state of Wei in 220 and the...

 period of Chinese history
History of China
Chinese civilization originated in various regional centers along both the Yellow River and the Yangtze River valleys in the Neolithic era, but the Yellow River is said to be the Cradle of Chinese Civilization. With thousands of years of continuous history, China is one of the world's oldest...

. In 263, he edited and published a book with solutions to mathematical problems presented in the famous Chinese book of mathematic known as The Nine Chapters on the Mathematical Art
The Nine Chapters on the Mathematical Art
The Nine Chapters on the Mathematical Art is a Chinese mathematics book, composed by several generations of scholars from the 10th–2nd century BCE, its latest stage being from the 1st century CE...

(九章算术).

He was a descendant of Marquis of Zixiang of Han dynasty
Han Dynasty
The Han Dynasty was the second imperial dynasty of China, preceded by the Qin Dynasty and succeeded by the Three Kingdoms . It was founded by the rebel leader Liu Bang, known posthumously as Emperor Gaozu of Han. It was briefly interrupted by the Xin Dynasty of the former regent Wang Mang...

, corresponding to now Zixiang township of Shandong
Shandong
' is a Province located on the eastern coast of the People's Republic of China. Shandong has played a major role in Chinese history from the beginning of Chinese civilization along the lower reaches of the Yellow River and served as a pivotal cultural and religious site for Taoism, Chinese...

 province. He completed his commentary to the Nine Chapters in the year 263.

He probably visited Luoyang
Luoyang
Luoyang is a prefecture-level city in western Henan province of Central China. It borders the provincial capital of Zhengzhou to the east, Pingdingshan to the southeast, Nanyang to the south, Sanmenxia to the west, Jiyuan to the north, and Jiaozuo to the northeast.Situated on the central plain of...

, and measured the sun's shadow.
Along with Zu Chongzhi
Zu Chongzhi
Zu Chongzhi , courtesy name Wenyuan , was a prominent Chinese mathematician and astronomer during the Liu Song and Southern Qi Dynasties.-Life and works:...

, Liu Hui was known as one of the greatest mathematicians of ancient China.
Unanswered Questions
 
x
OK