Approximations
An approximation is anything that is intentionally similar but not exactly equal to something else.
Etymology and usage
The word ''approximation'' is derived from Latin ''approximatus'', from ''proximus'' meaning ''very near'' and the prefix ...
for the
mathematical constant
A mathematical constant is a key number whose value is fixed by an unambiguous definition, often referred to by a symbol (e.g., an alphabet letter), or by mathematicians' names to facilitate using it across multiple mathematical problems. Cons ...
pi () in the
history of mathematics
The history of mathematics deals with the origin of discoveries in mathematics and the mathematical methods and notation of the past. Before the modern age and the worldwide spread of knowledge, written examples of new mathematical developments ...
reached an accuracy within 0.04% of the true value before the beginning of the
Common Era
Common Era (CE) and Before the Common Era (BCE) are year notations for the Gregorian calendar (and its predecessor, the Julian calendar), the world's most widely used calendar era. Common Era and Before the Common Era are alternatives to the or ...
. In
Chinese mathematics
Mathematics in China emerged independently by the 11th century BCE. The Chinese independently developed a real number system that includes significantly large and negative numbers, more than one numeral system ( base 2 and base 10), algebra, geomet ...
, this was improved to approximations correct to what corresponds to about seven decimal digits by the 5th century.
Further progress was not made until the 15th century (through the efforts of
Jamshīd al-Kāshī
Ghiyāth al-Dīn Jamshīd Masʿūd al-Kāshī (or al-Kāshānī) ( fa, غیاث الدین جمشید کاشانی ''Ghiyās-ud-dīn Jamshīd Kāshānī'') (c. 1380 Kashan, Iran – 22 June 1429 Samarkand, Transoxania) was a Persian astronomer a ...
). Early modern mathematicians reached an accuracy of 35 digits by the beginning of the 17th century (
Ludolph van Ceulen
Ludolph van Ceulen (, ; 28 January 1540 – 31 December 1610) was a German-Dutch mathematician from Hildesheim. He emigrated to the Netherlands.
Biography
Van Ceulen moved to Delft most likely in 1576 to teach fencing and mathematics and in 159 ...
), and 126 digits by the 19th century (
Jurij Vega
Baron Jurij Bartolomej Vega (also Veha; la, Georgius Bartholomaei Vecha; german: Georg Freiherr von Vega; born ''Vehovec'', March 23, 1754 – September 26, 1802) was a Slovene mathematician, physicist and artillery officer.
Early life
Bor ...
), surpassing the accuracy required for any conceivable application outside of pure mathematics.
The record of manual approximation of is held by
William Shanks
William Shanks (25 January 1812 – June 1882) was an English amateur mathematician. He is famous for his calculation of '' '' (pi) to 707 places in 1873, which was correct up to the first 527 places. The error was discovered in 1944 by D. F. Fe ...
, who calculated 527 digits correctly in 1853.
Since the middle of the 20th century, the approximation of has been the task of electronic digital computers (for a comprehensive account, see
Chronology of computation of ). On June 8, 2022, the current record was established by Emma Haruka Iwao with Alexander Yee's
y-cruncher with 100 trillion digits.
Early history
The best known approximations to dating to
before the Common Era
Common Era (CE) and Before the Common Era (BCE) are year notations for the Gregorian calendar (and its predecessor, the Julian calendar), the world's most widely used calendar era. Common Era and Before the Common Era are alternatives to the or ...
were accurate to two decimal places; this was improved upon in
Chinese mathematics
Mathematics in China emerged independently by the 11th century BCE. The Chinese independently developed a real number system that includes significantly large and negative numbers, more than one numeral system ( base 2 and base 10), algebra, geomet ...
in particular by the mid-first millennium, to an accuracy of seven decimal places. After this, no further progress was made until the late medieval period.
Some Egyptologists
have claimed that the
ancient Egyptians used an approximation of as = 3.142857 (about 0.04% too high) from as early as the
Old Kingdom
In ancient Egyptian history, the Old Kingdom is the period spanning c. 2700–2200 BC. It is also known as the "Age of the Pyramids" or the "Age of the Pyramid Builders", as it encompasses the reigns of the great pyramid-builders of the Fourth ...
.
This claim has been met with skepticism.
Babylonian mathematics
Babylonian mathematics (also known as ''Assyro-Babylonian mathematics'') are the mathematics developed or practiced by the people of Mesopotamia, from the days of the early Sumerians to the centuries following the fall of Babylon in 539 BC. Babyl ...
usually approximated to 3, sufficient for the architectural projects of the time (notably also reflected in the description of
Solomon's Temple
Solomon's Temple, also known as the First Temple (, , ), was the Temple in Jerusalem between the 10th century BC and . According to the Hebrew Bible, it was commissioned by Solomon in the United Kingdom of Israel before being inherited by th ...
in the
Hebrew Bible
The Hebrew Bible or Tanakh (;["Tanach"](_blank)
''Random House Webster's Unabridged Dictionary''. Hebrew: ''Tān ...
). The Babylonians were aware that this was an approximation, and one Old Babylonian mathematical tablet excavated near
Susa
Susa ( ; Middle elx, 𒀸𒋗𒊺𒂗, translit=Šušen; Middle and Neo- elx, 𒋢𒋢𒌦, translit=Šušun; Neo-Elamite and Achaemenid elx, 𒀸𒋗𒐼𒀭, translit=Šušán; Achaemenid elx, 𒀸𒋗𒐼, translit=Šušá; fa, شوش ...
in 1936 (dated to between the 19th and 17th centuries BCE) gives a better approximation of as = 3.125, about 0.528% below the exact value.
At about the same time, the Egyptian
Rhind Mathematical Papyrus (dated to the
Second Intermediate Period
The Second Intermediate Period marks a period when ancient Egypt fell into disarray for a second time, between the end of the Middle Kingdom and the start of the New Kingdom. The concept of a "Second Intermediate Period" was coined in 1942 by ...
, c. 1600 BCE, although stated to be a copy of an older,
Middle Kingdom text) implies an approximation of as ≈ 3.16 (accurate to 0.6 percent) by calculating the area of a circle via approximation with the
octagon
In geometry, an octagon (from the Greek ὀκτάγωνον ''oktágōnon'', "eight angles") is an eight-sided polygon or 8-gon.
A '' regular octagon'' has Schläfli symbol and can also be constructed as a quasiregular truncated square, t, whi ...
.
[
Astronomical calculations in the '']Shatapatha Brahmana
The Shatapatha Brahmana ( sa, शतपथब्राह्मणम् , Śatapatha Brāhmaṇam, meaning 'Brāhmaṇa of one hundred paths', abbreviated to 'SB') is a commentary on the Śukla (white) Yajurveda. It is attributed to the Vedic ...
'' (c. 6th century BCE) use a fractional approximation of .
The Mahabharata
The ''Mahābhārata'' ( ; sa, महाभारतम्, ', ) is one of the two major Sanskrit epics of ancient India in Hinduism, the other being the ''Rāmāyaṇa''. It narrates the struggle between two groups of cousins in the Kuruk ...
(500 BCE - 300 CE) offers an approximation of 3, in the ratios offered in Bhishma Parva
The Bhishma Parva ( sa, भीष्म पर्व), or ''the Book of Bhishma,'' is the sixth of eighteen books of the Indian epic ''Mahabharata''. It is the only Parva in Mahabharata where the main hero is not Arjuna but is rather Bhishma an ...
verses: 6.12.40-45.
In the 3rd century BCE, Archimedes
Archimedes of Syracuse (;; ) was a Greek mathematician, physicist, engineer, astronomer, and inventor from the ancient city of Syracuse in Sicily. Although few details of his life are known, he is regarded as one of the leading scientists ...
proved the sharp inequalities < < , by means of regular 96-gons (accuracies of 2·10−4 and 4·10−4, respectively).
In the 2nd century CE, Ptolemy
Claudius Ptolemy (; grc-gre, Πτολεμαῖος, ; la, Claudius Ptolemaeus; AD) was a mathematician, astronomer, astrologer, geographer, and music theorist, who wrote about a dozen scientific treatises, three of which were of importanc ...
used the value , the first known approximation accurate to three decimal places (accuracy 2·10−5). It is equal to which is accurate to two sexagesimal
Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form ...
digits.
The Chinese mathematician Liu Hui
Liu Hui () was a Chinese mathematician who published a commentary in 263 CE on ''Jiu Zhang Suan Shu (The Nine Chapters on the Mathematical Art).'' He was a descendant of the Marquis of Zixiang of the Eastern Han dynasty and lived in the state o ...
in 263 CE computed to between and by inscribing a 96-gon and 192-gon; the average of these two values is (accuracy 9·10−5).
He also suggested that 3.14 was a good enough approximation for practical purposes. He has also frequently been credited with a later and more accurate result, π ≈ = 3.1416 (accuracy 2·10−6), although some scholars instead believe that this is due to the later (5th-century) Chinese mathematician Zu Chongzhi
Zu Chongzhi (; 429–500 AD), courtesy name Wenyuan (), was a Chinese astronomer, mathematician, politician, inventor, and writer during the Liu Song and Southern Qi dynasties. He was most notable for calculating pi as between 3.1415926 and 3 ...
.
Zu Chongzhi is known to have computed to be between 3.1415926 and 3.1415927, which was correct to seven decimal places. He also gave two other approximations of : π ≈ and π ≈ , which are not as accurate as his decimal result. The latter fraction is the best possible rational approximation of using fewer than five decimal digits in the numerator and denominator. Zu Chongzhi's results surpass the accuracy reached in Hellenistic mathematics, and would remain without improvement for close to a millennium.
In Gupta-era India (6th century), mathematician Aryabhata
Aryabhata (ISO: ) or Aryabhata I (476–550 CE) was an Indian mathematician and astronomer of the classical age of Indian mathematics and Indian astronomy. He flourished in the Gupta Era and produced works such as the ''Aryabhatiya'' (which ...
, in his astronomical treatise Āryabhaṭīya
''Aryabhatiya'' (IAST: ') or ''Aryabhatiyam'' ('), a Sanskrit astronomical treatise, is the ''magnum opus'' and only known surviving work of the 5th century Indian mathematician Aryabhata. Philosopher of astronomy Roger Billard estimates that th ...
stated:
Approximating to four decimal places: π ≈ = 3.1416,[How Aryabhata got the earth's circumference right](_blank)
Aryabhata stated that his result "approximately" (' "approaching") gave the circumference of a circle. His 15th-century commentator Nilakantha Somayaji
Keļallur Nilakantha Somayaji (14 June 1444 – 1544), also referred to as Keļallur Comatiri, was a major mathematician and astronomer of the Kerala school of astronomy and mathematics. One of his most influential works was the comprehens ...
(Kerala school of astronomy and mathematics
The Kerala school of astronomy and mathematics or the Kerala school was a school of Indian mathematics, mathematics and Indian astronomy, astronomy founded by Madhava of Sangamagrama in Kingdom of Tanur, Tirur, Malappuram district, Malappuram, K ...
) has argued that the word means not only that this is an approximation, but that the value is incommensurable (irrational).
Middle Ages
Further progress was not made for nearly a millennium, until the 14th century, when Indian mathematician and astronomer Madhava of Sangamagrama
Iriññāttappiḷḷi Mādhavan known as Mādhava of Sangamagrāma () was an Indian mathematician and astronomer from the town believed to be present-day Kallettumkara, Aloor Panchayath, Irinjalakuda in Thrissur District, Kerala, India. He is ...
, founder of the Kerala school of astronomy and mathematics
The Kerala school of astronomy and mathematics or the Kerala school was a school of Indian mathematics, mathematics and Indian astronomy, astronomy founded by Madhava of Sangamagrama in Kingdom of Tanur, Tirur, Malappuram district, Malappuram, K ...
, found the Maclaurin series
Maclaurin or MacLaurin is a surname. Notable people with the surname include:
* Colin Maclaurin (1698–1746), Scottish mathematician
* Normand MacLaurin (1835–1914), Australian politician and university administrator
* Henry Normand MacLaurin ( ...
for arctangent, and then two infinite series
In mathematics, a series is, roughly speaking, a description of the operation of adding infinitely many quantities, one after the other, to a given starting quantity. The study of series is a major part of calculus and its generalization, math ...
for . One of them is now known as the Madhava–Leibniz series, based on
:
The other was based on
:
He used the first 21 terms to compute an approximation of correct to 11 decimal places as .
He also improved the formula based on arctan(1) by including a correction:
:
It is not known how he came up with this correction.[ Using this he found an approximation of to 13 decimal places of accuracy when = 75.
]Jamshīd al-Kāshī
Ghiyāth al-Dīn Jamshīd Masʿūd al-Kāshī (or al-Kāshānī) ( fa, غیاث الدین جمشید کاشانی ''Ghiyās-ud-dīn Jamshīd Kāshānī'') (c. 1380 Kashan, Iran – 22 June 1429 Samarkand, Transoxania) was a Persian astronomer a ...
(Kāshānī), a Persian astronomer and mathematician
A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems.
Mathematicians are concerned with numbers, data, quantity, structure, space, models, and change.
History
On ...
, correctly computed the fractional part of 2 to 9 sexagesimal
Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form ...
digits in 1424, and translated this into 16 decimal digits after the decimal point:
:
which gives 16 correct digits for π after the decimal point:
:
He achieved this level of accuracy by calculating the perimeter of a regular polygon
In Euclidean geometry, a regular polygon is a polygon that is Equiangular polygon, direct equiangular (all angles are equal in measure) and Equilateral polygon, equilateral (all sides have the same length). Regular polygons may be either convex p ...
with 3 × 228 sides.
16th to 19th centuries
In the second half of the 16th century, the French mathematician François Viète
François Viète, Seigneur de la Bigotière ( la, Franciscus Vieta; 1540 – 23 February 1603), commonly know by his mononym, Vieta, was a French mathematician whose work on new algebra was an important step towards modern algebra, due to i ...
discovered an infinite product that converged on known as Viète's formula
In mathematics, Viète's formula is the following infinite product of nested radicals representing twice the reciprocal of the mathematical constant :
\frac2\pi = \frac2 \cdot \frac2 \cdot \frac2 \cdots
It can also be represented as:
\frac2\pi ...
.
The German-Dutch mathematician Ludolph van Ceulen
Ludolph van Ceulen (, ; 28 January 1540 – 31 December 1610) was a German-Dutch mathematician from Hildesheim. He emigrated to the Netherlands.
Biography
Van Ceulen moved to Delft most likely in 1576 to teach fencing and mathematics and in 159 ...
(''circa'' 1600) computed the first 35 decimal places of with a 262-gon. He was so proud of this accomplishment that he had them inscribed on his tombstone.
In ''Cyclometricus'' (1621), Willebrord Snellius
Willebrord Snellius (born Willebrord Snel van Royen) (13 June 158030 October 1626) was a Dutch astronomer and mathematician, Snell. His name is usually associated with the law of refraction of light known as Snell's law.
The lunar crater Sn ...
demonstrated that the perimeter of the inscribed polygon converges on the circumference twice as fast as does the perimeter of the corresponding circumscribed polygon. This was proved by Christiaan Huygens
Christiaan Huygens, Lord of Zeelhem, ( , , ; also spelled Huyghens; la, Hugenius; 14 April 1629 – 8 July 1695) was a Dutch mathematician, physicist, engineer, astronomer, and inventor, who is regarded as one of the greatest scientists of ...
in 1654. Snellius was able to obtain seven digits of from a 96-sided polygon.
In 1789, the Slovene mathematician Jurij Vega
Baron Jurij Bartolomej Vega (also Veha; la, Georgius Bartholomaei Vecha; german: Georg Freiherr von Vega; born ''Vehovec'', March 23, 1754 – September 26, 1802) was a Slovene mathematician, physicist and artillery officer.
Early life
Bor ...
calculated the first 140 decimal places for , of which the first 126 were correct, and held the world record for 52 years until 1841, when William Rutherford calculated 208 decimal places, of which the first 152 were correct. Vega improved John Machin's formula from 1706 and his method is still mentioned today.
The magnitude of such precision (152 decimal places) can be put into context by the fact that the circumference of the largest known object, the observable universe, can be calculated from its diameter (93billion light-year
A light-year, alternatively spelled light year, is a large unit of length used to express astronomical distances and is equivalent to about 9.46 trillion kilometers (), or 5.88 trillion miles ().One trillion here is taken to be 1012 ...
s) to a precision of less than one Planck length (at , the shortest unit of length expected to be directly measurable) using expressed to just 62 decimal places.
The English amateur mathematician William Shanks
William Shanks (25 January 1812 – June 1882) was an English amateur mathematician. He is famous for his calculation of '' '' (pi) to 707 places in 1873, which was correct up to the first 527 places. The error was discovered in 1944 by D. F. Fe ...
, a man of independent means, calculated to 530 decimal places in January 1853, of which the first 527 were correct (the last few likely being incorrect due to round-off errors). He subsequently expanded his calculation to 607 decimal places in April 1853, but an error introduced right at the 530th decimal place rendered the rest of his calculation erroneous; due to the nature of Machin's formula, the error propagated back to the 528th decimal place, leaving only the first 527 digits correct once again. Twenty years later, Shanks expanded his calculation to 707 decimal places in April 1873. Due to this being an expansion of his previous calculation, all of the new digits were incorrect as well. Shanks was said to have calculated new digits all morning and would then spend all afternoon checking his morning's work. This was the longest expansion of until the advent of the electronic digital computer three-quarters of a century later.
20th and 21st centuries
In 1910, the Indian mathematician Srinivasa Ramanujan
Srinivasa Ramanujan (; born Srinivasa Ramanujan Aiyangar, ; 22 December 188726 April 1920) was an Indian mathematician. Though he had almost no formal training in pure mathematics, he made substantial contributions to mathematical analysis ...
found several rapidly converging infinite series of , including
:
which computes a further eight decimal places of with each term in the series. His series are now the basis for the fastest algorithms currently used to calculate . Even using just the first term gives
:
See Ramanujan–Sato series In mathematics, a Ramanujan–Sato series generalizes Ramanujan’s pi formulas such as,
:\frac = \frac \sum_^\infty \frac \frac
to the form
:\frac = \sum_^\infty s(k) \frac
by using other well-defined sequences of integers s(k) obeying a cer ...
.
From the mid-20th century onwards, all calculations of have been done with the help of calculators
An electronic calculator is typically a portable electronic device used to perform calculations, ranging from basic arithmetic to complex mathematics.
The first solid-state electronic calculator was created in the early 1960s. Pocket-size ...
or computers
A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations (computation) automatically. Modern digital electronic computers can perform generic sets of operations known as programs. These programs ...
.
In 1944, D. F. Ferguson, with the aid of a mechanical desk calculator, found that William Shanks had made a mistake in the 528th decimal place, and that all succeeding digits were incorrect.
In the early years of the computer, an expansion of to decimal places was computed by Maryland mathematician Daniel Shanks
Daniel Shanks (January 17, 1917 – September 6, 1996) was an American mathematician who worked primarily in numerical analysis and number theory. He was the first person to compute π to 100,000 decimal places.
Life and education
Shanks was b ...
(no relation to the aforementioned William Shanks) and his team at the United States Naval Research Laboratory
The United States Naval Research Laboratory (NRL) is the corporate research laboratory for the United States Navy and the United States Marine Corps. It was founded in 1923 and conducts basic scientific research, applied research, technological ...
in Washington, D.C. In 1961, Shanks and his team used two different power series for calculating the digits of . For one, it was known that any error would produce a value slightly high, and for the other, it was known that any error would produce a value slightly low. And hence, as long as the two series produced the same digits, there was a very high confidence that they were correct. The first 100,265 digits of were published in 1962. The authors outlined what would be needed to calculate to 1 million decimal places and concluded that the task was beyond that day's technology, but would be possible in five to seven years.
In 1989, the Chudnovsky brothers
David Volfovich Chudnovsky (born January 22, 1947 in Kyiv) and Gregory Volfovich Chudnovsky (born April 17, 1952 in Kyiv) are Ukrainian-born American mathematicians and engineers known for their world-record mathematical calculations and developing ...
computed to over 1 billion decimal places on the supercomputer
A supercomputer is a computer with a high level of performance as compared to a general-purpose computer. The performance of a supercomputer is commonly measured in floating-point operations per second ( FLOPS) instead of million instructions ...
IBM 3090
The IBM 3090 family is a family of mainframe computers that was a high-end successor to the IBM System/370 series, and thus indirectly the successor to the IBM System/360 launched 25 years earlier.
Announced on 12 February 1985, the press releas ...
using the following variation of Ramanujan's infinite series of :
:
Records since then have all been accomplished using the Chudnovsky algorithm
The Chudnovsky algorithm is a fast method for calculating the digits of , based on Ramanujan’s formulae. It was published by the Chudnovsky brothers in 1988.
It was used in the world record calculations of 2.7 trillion digits of in Decembe ...
.
In 1999, Yasumasa Kanada
was a Japanese computer scientist most known for his numerous world records over the past three decades for calculating digits of . He set the record 11 of the past 21 times.
Kanada was a professor in the Department of Information Science at ...
and his team at the University of Tokyo
, abbreviated as or UTokyo, is a public research university located in Bunkyō, Tokyo, Japan. Established in 1877, the university was the first Imperial University and is currently a Top Type university of the Top Global University Project by ...
computed to over 200 billion decimal places on the supercomputer HITACHI SR8000/MPP (128 nodes) using another variation of Ramanujan's infinite series of .
In November 2002, Yasumasa Kanada
was a Japanese computer scientist most known for his numerous world records over the past three decades for calculating digits of . He set the record 11 of the past 21 times.
Kanada was a professor in the Department of Information Science at ...
and a team of 9 others used the Hitachi SR8000, a 64-node supercomputer with 1 terabyte of main memory, to calculate to roughly 1.24 trillion digits in around 600 hours (25days).
Recent Records
# In August 2009, a Japanese supercomputer called the T2K Open Supercomputer more than doubled the previous record by calculating to roughly 2.6 trillion digits in approximately 73 hours and 36 minutes.
# In December 2009, Fabrice Bellard
Fabrice Bellard (; born 1972) is a French computer programmer known for writing FFmpeg, QEMU, and the Tiny C Compiler. He developed Bellard's formula for calculating single digits of pi. In 2012, Bellard co-founded Amarisoft, a telecommunication ...
used a home computer to compute 2.7 trillion decimal digits of . Calculations were performed in base 2 (binary), then the result was converted to base 10 (decimal). The calculation, conversion, and verification steps took a total of 131 days.
# In August 2010, Shigeru Kondo used Alexander Yee's y-cruncher to calculate 5 trillion digits of . This was the world record for any type of calculation, but significantly it was performed on a home computer built by Kondo. The calculation was done between 4 May and 3 August, with the primary and secondary verifications taking 64 and 66 hours respectively.
# In October 2011, Shigeru Kondo broke his own record by computing ten trillion (1013) and fifty digits using the same method but with better hardware.
# In December 2013, Kondo broke his own record for a second time when he computed 12.1 trillion digits of .
# In October 2014, Sandon Van Ness, going by the pseudonym "houkouonchi" used y-cruncher to calculate 13.3 trillion digits of .
# In November 2016, Peter Trueb and his sponsors computed on y-cruncher and fully verified 22.4 trillion digits of (22,459,157,718,361 ( × 1012)). The computation took (with three interruptions) 105 days to complete, the limitation of further expansion being primarily storage space.
# In March 2019, Emma Haruka Iwao, an employee at Google
Google LLC () is an American multinational technology company focusing on search engine technology, online advertising, cloud computing, computer software, quantum computing, e-commerce, artificial intelligence, and consumer electronics. ...
, computed 31.4 (approximately ) trillion digits of pi using y-cruncher and Google Cloud Google Cloud Platform offers numerous integrated cloud-computing services, including compute, network, and storage.
Products
Past and present products under the Google Cloud platform include:
Current
* Google Cloud Datastore, a NoSQL databa ...
machines. This took 121 days to complete.
# In January 2020, Timothy Mullican announced the computation of 50 trillion digits over 303 days.
#On August 14, 2021, a team (DAViS) at the University of Applied Sciences of the Grisons announced completion of the computation of to 62.8 (approximately ) trillion digits.
# On June 8th 2022, Emma Haruka Iwao announced on the Google Cloud Blog the computation of 100 trillion (1014) digits of over 158 days using Alexander Yee's y-cruncher.
Practical approximations
Depending on the purpose of a calculation, can be approximated by using fractions for ease of calculation. The most notable such approximations are (relative error
The approximation error in a data value is the discrepancy between an exact value and some ''approximation'' to it. This error can be expressed as an absolute error (the numerical amount of the discrepancy) or as a relative error (the absolute er ...
of about 4·10−4) and (relative error of about 8·10−8).
Non-mathematical "definitions" of
Of some notability are legal or historical texts purportedly "defining " to have some rational value, such as the "Indiana Pi Bill
The Indiana Pi Bill is the popular name for bill #246 of the 1897 sitting of the Indiana General Assembly, one of the most notorious attempts to establish mathematical truth by legislative fiat. Despite its name, the main result claimed by the b ...
" of 1897, which stated "the ratio of the diameter and circumference is as five-fourths to four" (which would imply "") and a passage in the Hebrew Bible
The Hebrew Bible or Tanakh (;["Tanach"](_blank)
''Random House Webster's Unabridged Dictionary''. Hebrew: ''Tān ...
that implies that .
Indiana bill
The so-called "Indiana Pi Bill" from 1897 has often been characterized as an attempt to "legislate the value of Pi". Rather, the bill dealt with a purported solution to the problem of geometrically "squaring the circle
Squaring the circle is a problem in geometry first proposed in Greek mathematics. It is the challenge of constructing a square with the area of a circle by using only a finite number of steps with a compass and straightedge. The difficulty ...
".
The bill was nearly passed by the Indiana General Assembly
The Indiana General Assembly is the state legislature, or legislative branch, of the state of Indiana. It is a bicameral legislature that consists of a lower house, the Indiana House of Representatives, and an upper house, the Indiana Senate. ...
in the U.S., and has been claimed to imply a number of different values for , although the closest it comes to explicitly asserting one is the wording "the ratio of the diameter and circumference is as five-fourths to four", which would make , a discrepancy of nearly 2 percent. A mathematics professor who happened to be present the day the bill was brought up for consideration in the Senate, after it had passed in the House, helped to stop the passage of the bill on its second reading, after which the assembly thoroughly ridiculed it before postponing it indefinitely.
Imputed biblical value
It is sometimes claimed that the Hebrew Bible
The Hebrew Bible or Tanakh (;["Tanach"](_blank)
''Random House Webster's Unabridged Dictionary''. Hebrew: ''Tān ...
implies that " equals three", based on a passage in and giving measurements for the round basin located in front of the Temple in Jerusalem
The Temple in Jerusalem, or alternatively the Holy Temple (; , ), refers to the two now-destroyed religious structures that served as the central places of worship for Israelites and Jews on the modern-day Temple Mount in the Old City of Jerusa ...
as having a diameter of 10 cubit
The cubit is an ancient unit of length based on the distance from the elbow to the tip of the middle finger. It was primarily associated with the Sumerians, Egyptians, and Israelites. The term ''cubit'' is found in the Bible regarding No ...
s and a circumference of 30 cubits.
The issue is discussed in the Talmud
The Talmud (; he, , Talmūḏ) is the central text of Rabbinic Judaism and the primary source of Jewish religious law (''halakha'') and Jewish theology. Until the advent of modernity, in nearly all Jewish communities, the Talmud was the cente ...
and in Rabbinic literature
Rabbinic literature, in its broadest sense, is the entire spectrum of rabbinic writings throughout Jewish history. However, the term often refers specifically to literature from the Talmudic era, as opposed to medieval and modern rabbinic writ ...
. Among the many explanations and comments are these:
*Rabbi Nehemiah
Rabbi Nehemiah was a rabbi who lived circa 150 AD (fourth generation of tannaim).
He was one of the great students of Rabbi Akiva, and one of the rabbis who received semicha from R' Judah ben Baba
The Talmud equated R' Nechemiah with Rabbi Ne ...
explained this in his ''Mishnat ha-Middot'' (the earliest known Hebrew
Hebrew (; ; ) is a Northwest Semitic language of the Afroasiatic language family. Historically, it is one of the spoken languages of the Israelites and their longest-surviving descendants, the Jews and Samaritans. It was largely preserved ...
text on geometry
Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is c ...
, ca. 150 CE) by saying that the diameter was measured from the ''outside'' rim while the circumference was measured along the ''inner'' rim. This interpretation implies a brim about 0.225 cubit (or, assuming an 18-inch "cubit", some 4 inches), or one and a third " handbreadths," thick (cf. and ).
* Maimonides
Musa ibn Maimon (1138–1204), commonly known as Maimonides (); la, Moses Maimonides and also referred to by the acronym Rambam ( he, רמב״ם), was a Sephardic Jewish philosopher who became one of the most prolific and influential Torah ...
states (ca. 1168 CE) that can only be known approximately, so the value 3 was given as accurate enough for religious purposes. This is taken by some as the earliest assertion that is irrational.
There is still some debate on this passage in biblical scholarship.[
] Many reconstructions of the basin show a wider brim (or flared lip) extending outward from the bowl itself by several inches to match the description given in In the succeeding verses, the rim is described as "a handbreadth thick; and the brim thereof was wrought like the brim of a cup, like the flower of a lily: it received and held three thousand baths" , which suggests a shape that can be encompassed with a string shorter than the total length of the brim, e.g., a Lilium
''Lilium'' () is a genus of herbaceous flowering plants growing from bulbs, all with large prominent flowers. They are the true lilies. Lilies are a group of flowering plants which are important in culture and literature in much of the world. M ...
flower or a Teacup
A teacup is a cup for drinking tea. It may be with a handle (grip), handle, generally a small one that may be grasped with the thumb and one or two fingers. It is typically made of a ceramic material. It is usually part of a set, composed of a ...
.
Development of efficient formulae
Polygon approximation to a circle
Archimedes, in his ''Measurement of a Circle'', created the first algorithm for the calculation of based on the idea that the perimeter of any (convex) polygon inscribed in a circle is less than the circumference of the circle, which, in turn, is less than the perimeter of any circumscribed polygon. He started with inscribed and circumscribed regular hexagons, whose perimeters are readily determined. He then shows how to calculate the perimeters of regular polygons of twice as many sides that are inscribed and circumscribed about the same circle. This is a recursive procedure which would be described today as follows: Let and denote the perimeters of regular polygons of sides that are inscribed and circumscribed about the same circle, respectively. Then,
:
Archimedes uses this to successively compute and . Using these last values he obtains
:
It is not known why Archimedes stopped at a 96-sided polygon; it only takes patience to extend the computations. Heron
The herons are long-legged, long-necked, freshwater and coastal birds in the family Ardeidae, with 72 recognised species, some of which are referred to as egrets or bitterns rather than herons. Members of the genera ''Botaurus'' and ''Ixobrychus ...
reports in his ''Metrica'' (about 60 CE) that Archimedes continued the computation in a now lost book, but then attributes an incorrect value to him.
Archimedes uses no trigonometry in this computation and the difficulty in applying the method lies in obtaining good approximations for the square roots that are involved. Trigonometry, in the form of a table of chord lengths in a circle, was probably used by Claudius Ptolemy of Alexandria to obtain the value of given in the ''Almagest'' (circa 150 CE).
Advances in the approximation of (when the methods are known) were made by increasing the number of sides of the polygons used in the computation. A trigonometric improvement by Willebrord Snell
Willebrord Snellius (born Willebrord Snel van Royen) (13 June 158030 October 1626) was a Dutch astronomer and mathematician, Snell. His name is usually associated with the law of refraction of light known as Snell's law.
The lunar crater Sne ...
(1621) obtains better bounds from a pair of bounds obtained from the polygon method. Thus, more accurate results were obtained from polygons with fewer sides. Viète's formula
In mathematics, Viète's formula is the following infinite product of nested radicals representing twice the reciprocal of the mathematical constant :
\frac2\pi = \frac2 \cdot \frac2 \cdot \frac2 \cdots
It can also be represented as:
\frac2\pi ...
, published by François Viète
François Viète, Seigneur de la Bigotière ( la, Franciscus Vieta; 1540 – 23 February 1603), commonly know by his mononym, Vieta, was a French mathematician whose work on new algebra was an important step towards modern algebra, due to i ...
in 1593, was derived by Viète using a closely related polygonal method, but with areas rather than perimeters of polygons whose numbers of sides are powers of two.
The last major attempt to compute by this method was carried out by Grienberger in 1630 who calculated 39 decimal places of using Snell's refinement.[
]
Machin-like formula
For fast calculations, one may use formulae such as Machin's:
:
together with the Taylor series
In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor serie ...
expansion of the function arctan
In mathematics, the inverse trigonometric functions (occasionally also called arcus functions, antitrigonometric functions or cyclometric functions) are the inverse functions of the trigonometric functions (with suitably restricted domains). Spec ...
(''x''). This formula is most easily verified using polar coordinates
In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a reference point and an angle from a reference direction. The reference point (analogous to the or ...
of complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
s, producing:
( = is a solution to the Pell equation
Pell's equation, also called the Pell–Fermat equation, is any Diophantine equation of the form x^2 - ny^2 = 1, where ''n'' is a given positive nonsquare integer, and integer solutions are sought for ''x'' and ''y''. In Cartesian coordinate ...
2−22 = −1.)
Formulae of this kind are known as ''Machin-like formula
In mathematics, Machin-like formulae are a popular technique for computing to a large number of digits. They are generalizations of John Machin's formula from 1706:
:\frac = 4 \arctan \frac - \arctan \frac
which he used to compute to 100 d ...
e''. Machin's particular formula was used well into the computer era for calculating record numbers of digits of , but more recently other similar formulae have been used as well.
For instance, Shanks and his team used the following Machin-like formula in 1961 to compute the first 100,000 digits of :
and they used another Machin-like formula,
as a check.
The record as of December 2002 by Yasumasa Kanada of Tokyo University stood at 1,241,100,000,000 digits. The following Machin-like formulae were used for this:
:
K. Takano (1982).
:
F. C. M. Størmer (1896).
Other classical formulae
Other formulae that have been used to compute estimates of include:
Liu Hui
Liu Hui () was a Chinese mathematician who published a commentary in 263 CE on ''Jiu Zhang Suan Shu (The Nine Chapters on the Mathematical Art).'' He was a descendant of the Marquis of Zixiang of the Eastern Han dynasty and lived in the state o ...
(see also Viète's formula
In mathematics, Viète's formula is the following infinite product of nested radicals representing twice the reciprocal of the mathematical constant :
\frac2\pi = \frac2 \cdot \frac2 \cdot \frac2 \cdots
It can also be represented as:
\frac2\pi ...
):
:
Madhava Mādhava means Lord Krishna an incarnation of Vishnu. It may also refer to:
*a Sanskrit patronymic, "descendant of Madhu (a man of the Yadu tribe)".
** especially of Krishna, see Madhava (Vishnu)
*** an icon of Krishna
** Madhava of Sangamagrama, ...
:
:
Euler
Leonhard Euler ( , ; 15 April 170718 September 1783) was a Swiss mathematician, physicist, astronomer, geographer, logician and engineer who founded the studies of graph theory and topology and made pioneering and influential discoveries in ma ...
:
:
Newton
Newton most commonly refers to:
* Isaac Newton (1642–1726/1727), English scientist
* Newton (unit), SI unit of force named after Isaac Newton
Newton may also refer to:
Arts and entertainment
* ''Newton'' (film), a 2017 Indian film
* Newton ( ...
/ Euler Convergence Transformation:
:
where (2''k'' + 1)!! denotes the product of the odd integers up to 2''k'' + 1.
Ramanujan:
:
David Chudnovsky and Gregory Chudnovsky
David Volfovich Chudnovsky (born January 22, 1947 in Kyiv) and Gregory Volfovich Chudnovsky (born April 17, 1952 in Kyiv) are Ukrainian-born American mathematicians and engineers known for their world-record mathematical calculations and developing ...
:
:
Ramanujan's work is the basis for the Chudnovsky algorithm
The Chudnovsky algorithm is a fast method for calculating the digits of , based on Ramanujan’s formulae. It was published by the Chudnovsky brothers in 1988.
It was used in the world record calculations of 2.7 trillion digits of in Decembe ...
, the fastest algorithms used, as of the turn of the millennium, to calculate .
Modern algorithms
Extremely long decimal expansions of are typically computed with iterative formulae like the Gauss–Legendre algorithm and Borwein's algorithm In mathematics, Borwein's algorithm is an algorithm devised by Jonathan Borwein, Jonathan and Peter Borwein to calculate the value of . They devised several other algorithms. They published the book ''Pi and the AGM – A Study in Analytic Number Th ...
. The latter, found in 1985 by Jonathan and Peter Borwein
Peter Benjamin Borwein (born St. Andrews, Scotland, May 10, 1953 – 23 August 2020) was a Canadian mathematician
and a professor at Simon Fraser University. He is known as a co-author of the paper which presented the Bailey–Borwein–Plo ...
, converges extremely quickly:
For and
:
where , the sequence converges quartically to , giving about 100 digits in three steps and over a trillion digits after 20 steps. The Gauss–Legendre algorithm (with time complexity
In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by ...
, using Harvey–Hoeven multiplication algorithm) is asymptotically faster than the Chudnovsky algorithm (with time complexity ) – but which of these algorithms is faster in practice for "small enough" depends on technological factors such as memory sizes and access times. For breaking world records, the iterative algorithms are used less commonly than the Chudnovsky algorithm since they are memory-intensive.
The first one million digits of and are available from Project Gutenberg
Project Gutenberg (PG) is a Virtual volunteering, volunteer effort to digitize and archive cultural works, as well as to "encourage the creation and distribution of eBooks."
It was founded in 1971 by American writer Michael S. Hart and is the ...
. A former calculation record (December 2002) by Yasumasa Kanada
was a Japanese computer scientist most known for his numerous world records over the past three decades for calculating digits of . He set the record 11 of the past 21 times.
Kanada was a professor in the Department of Information Science at ...
of Tokyo University
, abbreviated as or UTokyo, is a public research university located in Bunkyō, Tokyo, Japan. Established in 1877, the university was the first Imperial University and is currently a Top Type university of the Top Global University Project by ...
stood at 1.24 trillion digits, which were computed in September 2002 on a 64-node Hitachi
() is a Japanese multinational corporation, multinational Conglomerate (company), conglomerate corporation headquartered in Chiyoda, Tokyo, Japan. It is the parent company of the Hitachi Group (''Hitachi Gurūpu'') and had formed part of the Ni ...
supercomputer
A supercomputer is a computer with a high level of performance as compared to a general-purpose computer. The performance of a supercomputer is commonly measured in floating-point operations per second ( FLOPS) instead of million instructions ...
with 1 terabyte of main memory, which carries out 2 trillion operations per second, nearly twice as many as the computer used for the previous record (206 billion digits). The following Machin-like formulae were used for this:
: ( Kikuo Takano (1982))
: ( F. C. M. Størmer (1896)).
These approximations have so many digits that they are no longer of any practical use, except for testing new supercomputers. Properties like the potential normality of will always depend on the infinite string of digits on the end, not on any finite computation.
Miscellaneous approximations
Historically, base 60 was used for calculations. In this base, can be approximated to eight (decimal) significant figures with the number 3;8,29,44, which is
:
(The next sexagesimal
Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form ...
digit is 0, causing truncation here to yield a relatively good approximation.)
In addition, the following expressions can be used to estimate :
* accurate to three digits:
::
* accurate to three digits:
::
: Karl Popper
Sir Karl Raimund Popper (28 July 1902 – 17 September 1994) was an Austrian-British philosopher, academic and social commentator. One of the 20th century's most influential philosophers of science, Popper is known for his rejection of the cl ...
conjectured that Plato
Plato ( ; grc-gre, Πλάτων ; 428/427 or 424/423 – 348/347 BC) was a Greek philosopher born in Athens during the Classical period in Ancient Greece. He founded the Platonist school of thought and the Academy, the first institution ...
knew this expression, that he believed it to be exactly , and that this is responsible for some of Plato's confidence in the omnicompetence of mathematical geometry—and Plato's repeated discussion of special right triangle
A right triangle (American English) or right-angled triangle (British), or more formally an orthogonal triangle, formerly called a rectangled triangle ( grc, ὀρθόσγωνία, lit=upright angle), is a triangle in which one angle is a right an ...
s that are either isosceles
In geometry, an isosceles triangle () is a triangle that has two sides of equal length. Sometimes it is specified as having ''exactly'' two sides of equal length, and sometimes as having ''at least'' two sides of equal length, the latter versio ...
or halves of equilateral
In geometry, an equilateral triangle is a triangle in which all three sides have the same length. In the familiar Euclidean geometry, an equilateral triangle is also equiangular; that is, all three internal angles are also congruent to each othe ...
triangles.
::
* accurate to four digits:
::
::
::
* accurate to four digits (or five significant figures):
::
* an approximation by Ramanujan, accurate to 4 digits (or five significant figures):
::
* accurate to five digits:
::
::
* accurate to six digits:
::
::
* accurate to seven digits:
::
::
:: - inverse of first term of Ramanujan series.
* accurate to eight digits:
::
::
::
*accurate to nine digits:
::
: This is from Ramanujan, who claimed the Goddess of Namagiri appeared to him in a dream and told him the true value of .
* accurate to ten digits:
::