Proof that 22/7 exceeds π
Template:Pi box Proofs of the mathematical result that the rational number Template:Sfrac is greater than [[pi|Template:Pi]] (pi) date back to antiquity. One of these proofs, more recently developed but requiring only elementary techniques from calculus, has attracted attention in modern mathematics due to its mathematical elegance and its connections to the theory of Diophantine approximations. Stephen Lucas calls this proof "one of the more beautiful results related to approximating Template:Pi".<ref name="Lucas2005">Template:Citation</ref> Julian Havil ends a discussion of continued fraction approximations of Template:Pi with the result, describing it as "impossible to resist mentioning" in that context.<ref>Template:Citation</ref>
The purpose of the proof is not primarily to convince its readers that Template:Sfrac Template:Nowrap is indeed bigger than Template:Pi. Systematic methods of computing the value of Template:Pi exist. If one knows that Template:Pi is approximately 3.14159, then it trivially follows that Template:Pi < Template:Sfrac, which is approximately 3.142857. But it takes much less work to show that Template:Pi < Template:Sfrac by the method used in this proof than to show that Template:Pi is approximately 3.14159.
BackgroundEdit
Template:Sfrac is a widely used Diophantine approximation of Template:Pi. It is a convergent in the simple continued fraction expansion of Template:Pi. It is greater than Template:Pi, as can be readily seen in the decimal expansions of these values:
- <math>\begin{align}
\frac{22}{7} & = 3. \overline{142\,857}, \\ \pi\, & = 3.141 \,592\,65\ldots \end{align}</math>
The approximation has been known since antiquity. Archimedes wrote the first known proof that Template:Sfrac is an overestimate in the 3rd century BCE, although he may not have been the first to use that approximation. His proof proceeds by showing that Template:Sfrac is greater than the ratio of the perimeter of a regular polygon with 96 sides to the diameter of a circle it circumscribes.Template:Refn
ProofEdit
The proof first devised by British electrical engineer Donald Percy Dalzell (1898–1988) in 1944<ref>Template:Cite book</ref> can be expressed very succinctly:
- <math> 0 < \int_0^1 \frac{x^4\left(1-x\right)^4}{1+x^2} \, dx = \frac{22}{7} - \pi. </math>
Therefore, Template:Sfrac > Template:Pi.
The evaluation of this integral was the first problem in the 1968 Putnam Competition.<ref>Template:Citation</ref> It is easier than most Putnam Competition problems, but the competition often features seemingly obscure problems that turn out to refer to something very familiar. This integral has also been used in the entrance examinations for the Indian Institutes of Technology.<ref>2010 IIT Joint Entrance Exam, question 41 on page 12 of the mathematics section.</ref>
Details of evaluation of the integralEdit
That the integral is positive follows from the fact that the integrand is non-negative; the denominator is positive and the numerator is a product of nonnegative numbers. One can also easily check that the integrand is strictly positive for at least one point in the range of integration, say at Template:Sfrac. Since the integrand is continuous at that point and nonnegative elsewhere, the integral from 0 to 1 must be strictly positive.
It remains to show that the integral in fact evaluates to the desired quantity:
- <math>
\begin{align} 0 & < \int_0^1\frac{x^4\left(1-x\right)^4}{1+x^2}\, dx \\[8pt] & = \int_0^1\frac{x^4-4x^5+6x^6-4x^7+x^8}{1+x^2}\, dx & \text{expansion of terms in the numerator} \\[8pt] & = \int_0^1 \left(x^6-4x^5+5x^4-4x^2+4-\frac{4}{1+x^2}\right) \, dx & \text{ using polynomial long division} & \\[8pt] & = \left.\left(\frac{x^7}{7}-\frac{2x^6}{3}+ x^5- \frac{4x^3}{3}+4x-4\arctan{x}\right)\,\right|_0^1 & \text{definite integration} \\[6pt] & = \frac{1}{7}-\frac{2}{3}+1-\frac{4}{3}+4-\pi\quad & \text{with }\arctan(1) = \frac{\pi}{4} \text{ and } \arctan(0) = 0 \\[8pt] & = \frac{22}{7}-\pi. & \text{addition} \end{align} </math>
(See polynomial long division.)
Quick upper and lower boundsEdit
In Template:Harvtxt, it is pointed out that if 1 is substituted for Template:Math in the denominator, one gets a lower bound on the integral, and if 0 is substituted for Template:Math in the denominator, one gets an upper bound:<ref>Template:Citation.</ref>
- <math>\frac{1}{1260} = \int_0^1\frac{x^4 \left(1-x\right)^4}{2}\,dx < \int_0^1\frac{x^4 \left(1-x\right)^4}{1+x^2}\,dx < \int_0^1\frac{x^4 \left(1-x\right)^4}{1}\,dx = {1 \over 630}.</math>
Thus we have
- <math>\frac{22}{7} - \frac{1}{630} < \pi < \frac{22}{7} - \frac{1}{1260},</math>
hence 3.1412 < Template:Pi < 3.1421 in decimal expansion. The bounds deviate by less than 0.015% from Template:Pi. See also Template:Harvtxt.<ref>Template:Citation.</ref>
Proof that 355/113 exceeds Template:PiEdit
As discussed in Template:Harvtxt, the well-known Diophantine approximation and far better upper estimate [[355/113|Template:Sfrac]] for Template:Pi follows from the relation
- <math>0<\int_0^1\frac{x^8\left(1-x\right)^8\left(25+816x^2\right)}{3164\left(1+x^2\right)}\,dx=\frac{355}{113}-\pi.</math>
- <math>\frac{355}{113}= 3.141\,592\,92\ldots,</math>
where the first six digits after the decimal point agree with those of Template:Pi. Substituting 1 for Template:Math in the denominator, we get the lower bound
- <math>\int_0^1\frac{x^8\left(1-x\right)^8\left(25+816x^2\right)}{6328}\,dx =\frac{911}{5\,261\,111\,856} = 0.000\,000\,173\ldots,</math>
substituting 0 for Template:Math in the denominator, we get twice this value as an upper bound, hence
- <math>\frac{355}{113}-\frac{911}{2\,630\,555\,928}<\pi<\frac{355}{113}-\frac{911}{5\,261\,111\,856}\,.</math>
In decimal expansion, this means Template:Nowrap, where the bold digits of the lower and upper bound are those of Template:Pi.
ExtensionsEdit
The above ideas can be generalized to get better approximations of Template:Pi; see also Template:Harvtxt<ref>Template:Citation</ref> and Template:Harvtxt (in both references, however, no calculations are given). For explicit calculations, consider, for every integer Template:Math,
- <math>
\frac1{2^{2n-1}}\int_0^1 x^{4n}(1-x)^{4n}\,dx <\frac1{2^{2n-2}}\int_0^1\frac{x^{4n}(1-x)^{4n}}{1+x^2}\,dx <\frac1{2^{2n-2}}\int_0^1 x^{4n}(1-x)^{4n}\,dx, </math>
where the middle integral evaluates to
- <math>\begin{align}
\frac1{2^{2n-2}} & \int_0^1\frac{x^{4n}(1-x)^{4n}}{1+x^2}\,dx\\[6pt] = {} & \sum_{j=0}^{2n-1}\frac{(-1)^j}{2^{2n-j-2}(8n-j-1)\binom{8n-j-2}{4n+j}} +(-1)^n\left(\pi-4\sum_{j=0}^{3n-1}\frac{(-1)^j}{2j+1}\right) \end{align}</math>
involving Template:Pi. The last sum also appears in [[Leibniz formula for pi|Leibniz' formula for Template:Pi]]. The correction term and error bound is given by
- <math>\begin{align}\frac1{2^{2n-1}}\int_0^1 x^{4n}(1-x)^{4n}\,dx
&=\frac{1}{2^{2n-1}(8n+1)\binom{8n}{4n}}\\[6pt] &\sim\frac{\sqrt{\pi n}}{2^{10n-2}(8n+1)}, \end{align}</math>
where the approximation (the tilde means that the quotient of both sides tends to one for large Template:Math) of the central binomial coefficient follows from Stirling's formula and shows the fast convergence of the integrals to Template:Pi.
Calculation of these integrals: For all integers Template:Math and Template:Math we have
- <math>\begin{align}
x^k(1-x)^\ell&=(1-2x+x^2)x^k(1-x)^{\ell-2}\\[6pt] &=(1+x^2)\,x^k(1-x)^{\ell-2}-2x^{k+1}(1-x)^{\ell-2}. \end{align}</math>
Applying this formula recursively Template:Math times yields
- <math>x^{4n}(1-x)^{4n}
=\left(1+x^2\right)\sum_{j=0}^{2n-1}(-2)^jx^{4n+j}(1-x)^{4n-2(j+1)}+(-2)^{2n}x^{6n}.</math>
Furthermore,
- <math>\begin{align}
x^{6n}-(-1)^{3n} &=\sum_{j=1}^{3n}(-1)^{3n-j}x^{2j}-\sum_{j=0}^{3n-1}(-1)^{3n-j}x^{2j}\\[6pt] &=\sum_{j=0}^{3n-1}\left((-1)^{3n-(j+1)} x^{2(j+1)}-(-1)^{3n-j}x^{2j}\right)\\[6pt] &=-(1+x^2)\sum_{j=0}^{3n-1} (-1)^{3n-j}x^{2j}, \end{align}</math>
where the first equality holds, because the terms for Template:Math cancel, and the second equality arises from the index shift Template:Math in the first sum.
Application of these two results gives
- <math>\begin{align}\frac{x^{4n}(1-x)^{4n}}{2^{2n-2}(1+x^2)}
=\sum_{j=0}^{2n-1} & \frac{(-1)^j}{2^{2n-j-2}}x^{4n+j}(1-x)^{4n-2j-2}\\[6pt] & {} -4\sum_{j=0}^{3n-1}(-1)^{3n-j}x^{2j}+(-1)^{3n}\frac4{1+x^2}.\qquad(1) \end{align}</math>
For integers Template:Math, using integration by parts Template:Math times, we obtain
- <math>\begin{align}
\int_0^1x^k(1-x)^\ell\,dx &=\frac \ell{k+1}\int_0^1x^{k+1}(1-x)^{\ell-1}\,dx\\[6pt] &\,\,\,\vdots\\[6pt] &=\frac \ell{k+1} \frac{\ell-1}{k+2}\cdots\frac1{k+\ell}\int_0^1x^{k+\ell}\,dx\\[6pt] &=\frac{1}{(k+\ell+1)\binom{k+\ell}{k}}.\qquad(2) \end{align}</math>
Setting Template:Math, we obtain
- <math>\int_0^1 x^{4n} (1-x)^{4n}\,dx = \frac{1}{(8n+1)\binom{8n}{4n}}.</math>
Integrating equation (1) from 0 to 1 using equation (2) and Template:Math, we get the claimed equation involving Template:Pi.
The results for Template:Math are given above. For Template:Math we get
- <math>\frac14\int_0^1\frac{x^8(1-x)^8}{1+x^2}\,dx=\pi -\frac{47\,171}{15\,015}</math>
and
- <math>\frac18\int_0^1 x^8(1-x)^8\,dx=\frac1{1\,750\,320},</math>
hence Template:Nowrap, where the bold digits of the lower and upper bound are those of Template:Pi. Similarly for Template:Math,
- <math>\frac1{16}\int_0^1\frac{x^{12}\left(1-x\right)^{12}}{1+x^2}\,dx= \frac{431\,302\,721}{137\,287\,920}-\pi</math>
with correction term and error bound
- <math>\frac1{32}\int_0^1 x^{12} (1-x)^{12}\,dx=\frac1{2\,163\,324\,800},</math>
hence Template:Nowrap. The next step for Template:Math is
- <math>\frac1{64}\int_0^1\frac{x^{16} (1-x)^{16}}{1+x^2}\,dx= \pi-\frac{741\,269\,838\,109}{235\,953\,517\,800}</math>
with
- <math>\frac1{128}\int_0^1 x^{16} (1-x)^{16}\,dx=\frac1{2\,538\,963\,567\,360},</math>
which gives Template:Nowrap.
See alsoEdit
- [[Approximations of π|Approximations of Template:Pi]]
- [[Chronology of computation of π|Chronology of computation of Template:Pi]]
- Lindemann–Weierstrass theorem (proof that Template:Pi is transcendental)
- [[List of topics related to π|List of topics related to Template:Pi]]
- [[Proof that π is irrational|Proof that Template:Pi is irrational]]
FootnotesEdit
NotesEdit
CitationsEdit
External linksEdit
- The problems of the 1968 Putnam competition, with this proof listed as question A1.