Liu Hui's π algorithm

Liu Hui's method of calculating the area of a circle

Liu Hui's π algorithm was invented by Liu Hui (fl. 3rd century), a mathematician of the state of Cao Wei. Before his time, the ratio of the circumference of a circle to its diameter was often taken experimentally as three in China, while Zhang Heng (78–139) rendered it as 3.1724 (from the proportion of the celestial circle to the diameter of the earth, 92/29) or as . Liu Hui was not satisfied with this value. He commented that it was too large and overshot the mark. Another mathematician Wang Fan (219–257) provided π ≈ 142/45 ≈ 3.156.[1] All these empirical π values were accurate to two digits (i.e. one decimal place). Liu Hui was the first Chinese mathematician to provide a rigorous algorithm for calculation of π to any accuracy. Liu Hui's own calculation with a 96-gon provided an accuracy of five digits ie π ≈ 3.1416.

Liu Hui remarked in his commentary to The Nine Chapters on the Mathematical Art,[2] that the ratio of the circumference of an inscribed hexagon to the diameter of the circle was three, hence π must be greater than three. He went on to provide a detailed step-by-step description of an iterative algorithm to calculate π to any required accuracy based on bisecting polygons; he calculated π to between 3.141024 and 3.142708 with a 96-gon; he suggested that 3.14 was a good enough approximation, and expressed π as 157/50; he admitted that this number was a bit small. Later he invented a quick method to improve on it, and obtained π ≈ 3.1416 with only a 96-gon, a level of accuracy comparable to that from a 1536-gon. His most important contribution in this area was his simple iterative π algorithm.

Area of a circle

The area within a circle is equal to the radius multiplied by half the circumference, or A = r x C/2 = r x r x π.

Liu Hui argued:

"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".

Apparently Liu Hui had already mastered the concept of the limit[3]

Further, Liu Hui proved that the area of a circle is half of its circumference multiplied by its radius. He said:

"Between a polygon and a circle, there is excess radius. Multiply the excess radius by a side of the polygon. The resulting area exceeds the boundary of the circle".

In the diagram d = excess radius. Multiplying d by one side results in oblong 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 N → ∞, d → 0, and ABCD → 0.

"Multiply the side of a polygon by its radius, and the area doubles; hence multiply half the circumference by the radius to yield the area of circle".

When N → ∞, half the circumference of the 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 = 3L, and height R shows that the area of the dodecagon = 3RL.

In general, multiplying half of the circumference of a N-gon by its radius yields the area of a 2N-gon. Liu Hui used this result repetitively in his π algorithm.

Liu Hui's π inequality

Liu Hui's π inequality

Liu Hui proved an inequality involving π by considering the area of inscribed polygons with N and 2N sides.

In the diagram, the yellow area represents the area of an N-gon, denoted by , and the yellow area plus the green area represents the area of a 2N-gon, denoted by . Therefore, the green area represents the difference between the areas of the 2N-gon and the N-gon:

The red area is equal to the green area, and so is also . So

Yellow area + green area + red area =

Let represent the area of the circle. Then

If the radius of the circle is taken to be 1, then we have Liu Hui's π inequality:

Iterative algorithm

Liu Hui's π algorithm

Liu Hui began with an inscribed hexagon. Let M be the length of one side AB of hexagon, r is the radius of circle.

Bisect AB with line OPC, AC becomes one side of dodecagon (12-gon), let its length be m. Let the length of PC be j and the length of OP be G.

APO, APC are two right angle triangles. Liu Hui used the Pythagorean theorem repetitively:

From here, there is now a technique to determine m from M, which gives the side length for a polygon with twice the number of edges. Starting with a hexagon, Liu Hui could determine the side length of a dodecagon using this formula. Then continue repetitively to determine the side length of an icositetragon given the side length of a dodecagon. He could do this recursively as many times as necessary. Knowing how to determine the area of these polygons, Liu Hui could then approximate π.

With units, he obtained

area of 96-gon
area of 192-gon
Difference of 96-gon and 48-gon:
from Liu Hui's π inequality:
Since r = 10,
therefore:

He never took π 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 π, and expressed it as a fraction ; he pointed out this number is slightly less than the actual value of π.

Liu Hui carried out his calculation with rod calculus, and expressed his results with fractions. However, the iterative nature of Liu Hui's π algorithm is quite clear:

in which m is the length of one side of the next–order polygon bisected from M. The same calculation is done repeatedly, each step requiring only one addition and one square root extraction.

Quick method

Calculation of square roots of irrational numbers was not an easy task in the third century with counting rods. Liu Hui discovered a shortcut by comparing the area differentials of polygons, and found that the proportion of the difference in area of successive order polygons was approximately 1/4.[4]

Let DN denote the difference in areas of N-gon and (N/2)-gon

He found:

1

Hence:

Area of unit radius circle =

In which

That is all the subsequent excess areas add up amount to one third of the

area of unit circle2

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:

  1. Why he stopped short at A192 in his presentation of his algorithm. Because he discovered a quick method of improving the accuracy of π, 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.
  2. Why he preferred to calculate π through calculation of areas instead of circumferences of successive polygons, because the quick method required information about the difference in areas of successive polygons.
  3. Who was the true author of the paragraph containing calculation of
  4. That famous paragraph began with "A Han dynasty bronze container in the military warehouse of 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 < π < 3.1415927 result obtained through 12288-gon.

Later developments

Liu Hui established a solid algorithm for calculation of π to any accuracy.

  • Zu Chongzhi was familiar with Liu Hui's work, and obtained greater accuracy by applying his algorithm to a 12288-gon.
From Liu Hui's formula for 2N-gon:
For 12288-gon inscribed in a unit radius circle:
.
From Liu Hui's π inequality:
In which
.
Therefore

Truncated to eight significant digits:

.

That was the famous Zu Chongzhi π inequality.

Zu Chongzhi then used the interpolation formula by He Chengtian (何承天, 370-447) and obtained an approximating fraction: .

However, this π value disappeared in Chinese history for a long period of time (e.g. Song dynasty mathematician Qin Jiushao used π= and ), until Yuan dynasty mathematician Zhao Yuqin worked on a variation of Liu Hui's π algorithm, by bisecting an inscribed square and obtained again [5]

Significance of Liu Hui's algorithm

Liu Hui's π algorithm was one of his most important contributions to ancient Chinese mathematics. It was based on calculation of 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 < π < 3.1415927, which held the world record for the most accurate value of π for centuries,[6] until Madhava of Sangamagrama calculated 11 digits in the 14th century or Jamshid al-Kashi calculated 16 digits in 1424; the best approximations for π known in Europe were only accurate to 7 digits until Ludolph van Ceulen calculated 20 digits in 1596.

See also

Notes

^1 Correct value: 0.2502009052
^2 Correct values:


Liu Hui's quick method was potentially able to deliver almost the same result of 12288-gon (3.141592516588) with only 96-gon.

References

  1. ^ Schepler, Herman C. (1950), “The Chronology of Pi”, Mathematics Magazine 23 (3): 165–170, ISSN 0025-570X.
  2. ^ Needham, Volume 3, 66.
  3. ^ First noted by Japanese mathematician Yoshio Mikami
  4. ^ Yoshio Mikami: Ph.D. Dissertation 1932
  5. ^ Yoshio Mikami said about the work of Zhao Yu Xin:"The sides and consequently the perimeters of these polygons are successively calculated in such a manner as followed by Liu Hui of old", p136, Development of Mathematics in China and Japan
  6. ^ Robert Temple, The Genius of China, a refined value of pi, p144-145, ISBN 1-85375-292-4

Further reading

  • Needham, Joseph (1986). Science and Civilization in China: Volume 3, Mathematics and the Sciences of the Heavens and the Earth. Taipei: Caves Books, Ltd.
  • Wu Wenjun ed, History of Chinese Mathematics Vol III (in Chinese) ISBN 7-303-04557-0

Read other articles:

Novel by Samuel Beckett The Unnamable First edition (French)AuthorSamuel BeckettOriginal titleL'InnommableTranslatorSamuel BeckettCountryFranceLanguageFrenchSeriesThe TrilogyPublisherLes Éditions de MinuitPreceded byMalone Dies  The Unnamable is a 1953 novel by Samuel Beckett. It was originally published in French as L'Innommable and later translated by the author into English. Grove Press published the English edition in 1958. As part of the Trilogy Following the completion o...

 

Tadamichi KuribayashiPengabdianKekaisaran JepangDinas/cabang Angkatan DaratLama dinas1914 - 1945PangkatJenderalKesatuanDivisi ke-109, Ogasawara Army GroupPerang/pertempuranPerang Dunia II (Pertempuran Hong Kong, Pertempuran Iwo Jima)PenghargaanOrder of the Rising Sun with Gold and Silver Star (kelas ke-2),Order of the Rising Sun Gold Rays with Neck Ribbon (kelas ke-3),Order of the Sacred Treasure Tadamichi Kuribayashi (栗林忠道, 7 Juli 1891-23 Maret 1945) adalah seorang perwira tingg...

 

1998 American animated film Scooby-Doo on Zombie IslandPromotional posterDirected byJim StenstrumScreenplay byGlenn LeopoldStory byGlenn LeopoldDavis DoiBased on Charactersby Hanna-Barbera Productions Produced byCos AnzilottiStarring Adrienne Barbeau Mary Kay Bergman Jim Cummings Scott Innes Mark Hamill B. J. Ward Frank Welker Billy West Edited byPaul DouglasMusic bySteven BramsonProductioncompaniesHanna-Barbera CartoonsWarner Bros. AnimationDistributed byWarner Home VideoRelease date Septemb...

Dr. Ir. H.Abdullah PutehM.Si.Dr. Ir. H. Abdullah Puteh sebagai Anggota Dewan Perwakilan Daerah Republik Indonesia periode 2019–2024 Anggota Dewan Perwakilan Daerahdari AcehPetahanaMulai menjabat 1 Oktober 2019Perolehan suara133.367 (2019)Gubernur Nanggroe Aceh Darussalam ke-15Masa jabatan25 November 2000 – 19 Juli 2004WakilAzwar Abubakar PendahuluSyamsudin MahmudPenggantiIrwandi YusufAnggota Majelis Permusyawaratan RakyatMasa jabatan1 Oktober 1997 – 30 Septembe...

 

American politician (born 1977) Paul CordermanCorderman in 2020Member of the Maryland Senatefrom the 2nd districtIncumbentAssumed office September 1, 2020Appointed byLarry HoganPreceded byAndrew A. SerafiniMember of the Maryland House of Delegatesfrom the 2B districtIn officeDecember 20, 2017 – August 31, 2020Appointed byLarry HoganPreceded byBrett WilsonSucceeded byBrenda J. ThiamMember of the Hagerstown City CouncilIn officeNovember 29, 2016 – December ...

 

Voce principale: Roma Calcio Femminile. A.C.F. RomaStagione 1985Sport calcio Squadra ACF Roma Allenatore Presidente Serie A4º posto. Coppa Italia???. 1984 1985-1986 Si invita a seguire il modello di voce Questa voce raccoglie le informazioni riguardanti la Associazione Calcio Femminile Roma nelle competizioni ufficiali della stagione 1985. Indice 1 La stagione 2 Rosa 3 Note 4 Bibliografia La stagione Questa sezione sull'argomento stagioni delle società calcistiche è ancora vuota...

Simon Smith Kuznets (1971) Simon Smith Kuznets (Pinsk, Kekaisaran Rusia (kini di Belarus), 30 April 1901 – Cambridge, Massachusetts, Amerika Serikat, 8 Juli 1985) terkenal atas studinya tentang pendapatan nasional dan komponen-komponennya. Kuznets adalah guru besar ilmu ekonomi di Universitas Pennsylvania (1930-54), Johns Hopkins (1954-60), dan Harvard (1960-71). Ia adalah presiden American Economic Association pada 1954. Karya Kuznets mengubah cara pengukuran PDB. Dengan karya yang bermula...

 

Questa voce sull'argomento cestisti messicani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Emilio López Nazionalità  Messico Pallacanestro Carriera Nazionale 1948-1952 Messico Il simbolo → indica un trasferimento in prestito.   Modifica dati su Wikidata · Manuale Emilio López Enriquez, detto Cácaro (San Luis Potosí, 23 agosto 1923[1] – ...[2]), è stato un ce...

 

Win Myintဝင်းမြင့် Presiden MyanmarMasa jabatan28 Maret 2018 – 1 Februari 2021Penasihat NegaraAung San Suu KyiWakil PresidenMyint Swe Henry Van ThioPendahuluHtin KyawMyint Swe (penjabat)PenggantiMyint Swe (penjabat)Ketua Dewan Perwakilan MyanmarMasa jabatan1 Februari 2016 – 21 Maret 2018WakilT Khun MyatPendahuluShwe MannPenggantiT Khun MyatAnggota Pyithu Hluttawuntuk Kotapraja TamweMasa jabatan1 Februari 2016 – 23 Maret 2018PendahuluLei Lei W...

1962 Burmese film Chit Thaw Thu Ta YaukFilm posterBurmeseချစ်သောသူတစ်ယောက် Directed byMin Shin NaungBased onChit Thaw Thu Ta Yaukby Min SweStarring Win Oo Khin Than Nu Kyi Soe Than Nwet Gyan Sein ProductioncompanyMya Zaw FilmRelease date June 1, 1962 (1962-06-01) (Myanmar) Running time113 minutesCountryMyanmarLanguageBurmese Chit Thaw Thu Ta Yauk (Burmese: ချစ်သောသူတစ်ယောက်) is a 1962 Burmese black-and-whit...

 

The Terengganuan pinas Naga Pelangi sailing butterfly.A swan-shaped Malaysian congkak displayed in the Muzium Negara. One of George Town, Penang's wrought-iron caricatures. Part of a series on theCulture of Malaysia History Malaysians Immigration Holidays Languages Multiculturalism Women Topics Architecture Art Cinema Cuisine Festivals Hawker centre Literature Media Music Politics Religion Sports Manglish Television Symbols Anthem Flag Coat of arms Flower Tree Pledge of Allegiance  Malay...

 

Artikel ini membutuhkan rujukan tambahan agar kualitasnya dapat dipastikan. Mohon bantu kami mengembangkan artikel ini dengan cara menambahkan rujukan ke sumber tepercaya. Pernyataan tak bersumber bisa saja dipertentangkan dan dihapus.Cari sumber: TAME – berita · surat kabar · buku · cendekiawan · JSTOR (December 2009) TAME Línea Aérea del Ecuador IATA ICAO Kode panggil EQ TAE TAME Didirikan1962PenghubungBandara Internasional Mariscal SucreProgram pe...

Light rail line in Hennepin County, Minnesota This article is about the light rail line in Minnesota. For other Blue Lines, see Blue Line (disambiguation). Hiawatha Line and Hiawatha LRT redirect here. For the Amtrak route, see Hiawatha Service. For the multi-use trail, see Hiawatha LRT Trail. Metro Blue LineBlue Line light rail in downtown MinneapolisOverviewLocaleMinneapolis–St. PaulTerminiTarget Field (north)Mall of America (south)Stations19 open, 10 proposedWebsiteMetro Blue LineService...

 

一中同表,是台灣处理海峡两岸关系问题的一种主張,認為中华人民共和国與中華民國皆是“整個中國”的一部份,二者因為兩岸現狀,在各自领域有完整的管辖权,互不隶属,同时主張,二者合作便可以搁置对“整个中國”的主权的争议,共同承認雙方皆是中國的一部份,在此基礎上走向終極統一。最早是在2004年由台灣大學政治学教授張亞中所提出,希望兩岸由一中各表�...

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada September 2016. Mikhail Kostyukov Informasi pribadiNama lengkap Mikhail Aleksandrovich KostyukovTanggal lahir 9 Agustus 1991 (umur 32)Tinggi 1,82 m (5 ft 11+1⁄2 in)Posisi bermain GelandangInformasi klubKlub saat ini FC Khimik DzerzhinskKari...

Penarikan mundur pasukan Romawi dari Afrika, 255 SMBagian dari Perang Punik ITanggal255 SMLokasiSemenanjung Cape Bon, lepas pantai di wilayah Tenggara Sisilia37°N 11°E / 37°N 11°E / 37; 11Hasil Tidak pastiPihak terlibat Kartago RomaTokoh dan pemimpin Tidak diketahui Fulvius Paetinus NobiliorAemilius PaullusKekuatan 200 kapal perangJumlah prajurit tidak diketahui 390 kapal perangJumlah prajurit tidak diketahuiKorban 16 kapal tenggelam114 kapal direbutJumla...

 

East Is WestKartu lobiSutradaraSidney FranklinProduserConstance TalmadgeDitulis olehFrances MarionBerdasarkanEast Is West (sandiwara)oleh John B. HymerSamuel ShipmanPemeranConstance TalmadgeSinematograferTony GaudioDistributorFirst National Pictures (sebagai Associated First National)Tanggal rilis15 Oktober 1922Durasi80 menitNegaraAmerika SerikatBahasaBisu (intertitel Inggris) Constance Talmadge East Is West adalah sebuah film bisu bergenre drama buatan Amerika Serikat tahun 1922.[1] ...

 

Pour les articles homonymes, voir Aiguier (homonymie). Un aiguier, en Provence, est une citerne creusée dans la roche et voûtée de pierres, servant à recueillir les eaux de ruissellement[1]. Étymologie Le terme provençal correspondant au français « aiguier » est aiguié (selon la graphie mistralienne)[2], l'un comme l'autre issus du latin acquarium. Les aiguiers de Saint-Saturnin-lès-Apt Il existe au nord-est de Saint-Saturnin-lès-Apt dans le Vaucluse, un « pays de...

蘇振甲个人资料字字鼎三出生1900年?月?日逝世1970年Missing required parameter 1=month!日(1970歲—Missing required parameter 1=month!—00)(69—70歲)配偶李氏儿女蘇宰東、蘇宰瀛、蘇宰南、蘇宰西、蘇宰北 蘇振甲(1900年—1970年),字鼎三(鼎珊)。甘肅省靖遠縣糜灘鄉人。民國37年(1948年)在甘肅省第一選區當選第一屆立法委員 生平[1] 畢業於甘肅公立法政專門學校法律系 1928年�...

 

Variations on the religious symbol through Christian history See also: Crosses in heraldry Christian cross variants 7th-century Byzantine solidus, showing Leontius holding a globus cruciger, with a stepped cross on the obverse side Double-barred cross symbol as used in a 9th-century Byzantine seal Greek cross (Church of Saint Sava) and Latin cross (St. Paul's cathedral) in church floorplans The Christian cross, with or without a figure of Christ included, is the main religious symbol of Chris...