Content deleted Content added
Girth Summit (talk | contribs) m Reverted 1 edit by 82.45.159.13 (talk) to last revision by Double sharp. (TW) |
Link suggestions feature: 3 links added. Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit Newcomer task Suggested: add links |
||
(23 intermediate revisions by 19 users not shown) | |||
Line 1:
{{Short description|Calculation of π by 3rd century mathematician Liu Hui}}
{{DISPLAYTITLE:Liu Hui's {{pi}} algorithm}}
{{pi box}}
[[Image:Cutcircle2.svg|thumb|right|Liu Hui's method of calculating the area of a circle]]
'''Liu Hui's {{pi}} algorithm''' was invented by [[Liu Hui]] (fl. 3rd century), a mathematician of the state of [[Cao Wei
Liu Hui remarked in his commentary to ''[[The Nine Chapters on the Mathematical Art]]'',<ref>Needham, Volume 3, 66.</ref> that the ratio of the circumference of an inscribed hexagon to the diameter of the circle was three, hence {{pi}} must be greater than three. He went on to provide a detailed step-by-step description of an iterative algorithm to calculate {{pi}} to any required accuracy based on bisecting polygons; he calculated {{pi}} to between 3.141024 and 3.142708 with a 96-gon; he suggested that 3.14 was a good enough approximation, and expressed {{pi}} as 157/50; he admitted that this number was a bit small. Later he invented
==Area of a circle==
Line 13 ⟶ 14:
:"''Multiply one side of a hexagon by the radius (of its circumcircle), then multiply this by three, to yield the area of a dodecagon; if we cut a hexagon into a dodecagon, multiply its side by its radius, then again multiply by six, we get the area of a 24-gon; the finer we cut, the smaller the loss with respect to the area of circle, thus with further cut after cut, the area of the resulting polygon will coincide and become one with the circle; there will be no loss''".
This is essentially equivalent to:
: <math>\lim_{N \to \infty}\text{area of }N\text{-gon} = \text{area of circle}. \, </math>
Line 22 ⟶ 23:
In the diagram {{math|''d''}} = excess radius. Multiplying {{math|''d''}} by one side results in oblong {{math|ABCD}} which exceeds the boundary of the circle. If a side of the polygon is small (i.e. there is a very large number of sides), then the excess radius will be small, hence excess area will be small.
As in the diagram, when {{math|''N'' → ∞}}, {{math|''d'' →
"''Multiply the
When {{math|''N'' → ∞}}, half the circumference of the {{math|''N''}}-gon approaches a semicircle, thus half a circumference of a circle multiplied by its radius equals the area of the circle. Liu Hui did not explain in detail this deduction. However, it is self-evident by using Liu Hui's "in-out complement principle" which he provided elsewhere in ''The Nine Chapters on the Mathematical Art'': Cut up a geometric shape into parts, rearrange the parts to form another shape, the area of the two shapes will be identical.
Thus rearranging the six green triangles, three blue triangles and three red triangles into a rectangle with width = 3{{math|''L''}}, and height {{math|''R''}} shows that the area of the dodecagon = 3{{math|''RL''}}.
Line 61 ⟶ 62:
Bisect {{math|AB}} with line {{math|OPC}}, {{math|AC}} becomes one side of [[dodecagon]] (12-gon), let its length be {{math|m}}. Let the length of {{math|PC}} be {{math|j}} and the length of {{math|OP}} be {{math|G}}.
{{math|
: <math>{} G^2 = r^2 - \left(\tfrac{M}{2}\right)^2</math>
Line 75 ⟶ 76:
With <math>r = 10</math> units, he obtained
: area of [[tetracontaoctagon|
: area of
: Difference of 96-gon and 48-gon:
Line 91 ⟶ 92:
:<math>{} 3.141024 < \pi < 3.142704.</math>
He never took {{pi}} as the average of the lower limit 3.141024 and upper limit 3.142704. Instead he suggested that 3.14 was a good enough approximation for {{pi}}, and expressed it as a fraction <math>\tfrac{157}{50}</math>; he pointed out this number is slightly less than the
Liu Hui carried out his calculation with [[rod calculus]], and expressed his results with fractions. However, the iterative nature of Liu Hui's {{pi}} algorithm is quite clear:
Line 139 ⟶ 140:
Liu Hui was quite happy with this result because he had acquired the same result with the calculation for a 1536-gon, obtaining the area of a 3072-gon. This explains four questions:
# Why he stopped short at {{math|''A''}}<sub>192</sub> in his presentation of his algorithm. Because he discovered a quick method of improving the accuracy of {{pi}}, achieving same result of 1536-gon with only 96-gon. After all calculation of square roots was not a simple task with [[rod calculus]]. With the quick method, he only needed to perform one more [[subtraction]], one more division (by 3) and one more addition, instead of four more square root extractions.
# Why he preferred to calculate {{pi}} through calculation of areas instead of circumferences of successive polygons, because the quick method required information about the difference in '''areas''' of successive polygons.
# Who was the true author of the paragraph containing calculation of <math>\pi = {3927 \over 1250}.</math>
# That famous paragraph began with "A [[Han dynasty]] bronze container in the military warehouse of [[Jin Dynasty (265–420)|Jin dynasty]]....". Many scholars, among them [[Yoshio Mikami]] and [[Joseph Needham]], believed that the "Han dynasty bronze container" paragraph was the work of Liu Hui and not Zu Chongzhi as other believed, because of the strong correlation of the two methods through area calculation, and because there was not a single word mentioning Zu's 3.1415926 < {{pi}} < 3.1415927 result obtained through 12288-gon.
==Later developments==
Line 168 ⟶ 169:
==Significance of Liu Hui's algorithm==
Liu Hui's {{pi}} algorithm was one of his most important contributions to ancient [[Chinese mathematics]]. It was based on calculation of {{math|N}}-gon area, in contrast to the Archimedean algorithm based on polygon circumference. With this method Zu Chongzhi obtained the eight-digit result: 3.1415926 < {{pi}} < 3.1415927, which held the world record for the most accurate value of {{pi}} for
== See also ==
* [[Method of exhaustion]] (5th century BC)
* [[Zhao Youqin's π algorithm]] (13-14th century)
* [https://proofwiki.org/wiki/Newton%27s_Formula_for_Pi Proof of Newton's Formula for Pi] (17th century)
==Notes==
:{{note|1|1}} Correct value: 0.2502009052
:{{note|2|2}} Correct values:
Line 197 ⟶ 198:
{{DEFAULTSORT:Liu Hui's Pi Algorithm}}
[[Category:Pi algorithms]]
[[Category:Chinese
[[Category:Cao Wei]]
|