# Proof that 22/7 exceeds π

Proofs of the famous mathematical result that the rational number 22/7 is greater than π (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 π”.[1] Julian Havil ends a discussion of continued fraction approximations of π with the result, describing it as “impossible to resist mentioning” in that context.[2]

The purpose of the proof is not primarily to convince its readers that 22/7 (or 3 1/7) is indeed bigger than π; systematic methods of computing the value of π exist. If one knows that π is approximately 3.14159, then it trivially follows that π < 22/7, which is approximately 3.142857. But it takes much less work to show that π < 22/7 by the method used in this proof than to show that π is approximately 3.14159.

## Background

22/7 is a widely used Diophantine approximation of π. It is a convergent in the simple continued fraction expansion of π. It is greater than π, as can be readily seen in the decimal expansions of these values:

{\displaystyle {\begin{aligned}{\frac {22}{7}}&=3.{\overline {142\,857}},\\\pi \,&=3.141\,592\,65\ldots \end{aligned}}}

The approximation has been known since antiquity. Archimedes wrote the first known proof that 22/7 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 22/7 is greater than the ratio of the perimeter of a circumscribed regular polygon with 96 sides to the diameter of the circle.[note 1] Another rational approximation of π that is far more accurate is 355/113.

## The proof

The proof can be expressed very succinctly:

${\displaystyle 0<\int _{0}^{1}{\frac {x^{4}\left(1-x\right)^{4}}{1+x^{2}}}\,dx={\frac {22}{7}}-\pi .}$

Therefore, 22/7 > π.

The evaluation of this integral was the first problem in the 1968 Putnam Competition.[4] 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.[5]

## Details of evaluation of the integral

That the integral is positive follows from the fact that the integrand is non-negative, being a quotient involving only sums and products of powers of non-negative real numbers. In addition, one can easily check that the integrand is strictly positive for at least one point in the range of integration, say at 1/2. Since the integrand is continuous at that point and non-negative 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:

{\displaystyle {\begin{aligned}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{aligned}}}

(See polynomial long division.)

## Quick upper and lower bounds

In Dalzell (1944), it is pointed out that if 1 is substituted for x in the denominator, one gets a lower bound on the integral, and if 0 is substituted for x in the denominator, one gets an upper bound:[6]

${\displaystyle {\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}.}$

Thus we have

${\displaystyle {\frac {22}{7}}-{\frac {1}{630}}<\pi <{\frac {22}{7}}-{\frac {1}{1260}},}$

hence 3.1412 < π < 3.1421 in decimal expansion. The bounds deviate by less than 0.015% from π. See also Dalzell (1971).[7]

## Proof that 355/113 exceeds π

As discussed in Lucas (2005), the well-known Diophantine approximation and far better upper estimate 355/113 for π follows from the relation

${\displaystyle 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 .}$

Note that

${\displaystyle {\frac {355}{113}}=3.141\,592\,92\ldots ,}$

where the first six digits after the decimal point agree with those of π. Substituting 1 for x in the denominator, we get the lower bound

${\displaystyle \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 ,}$

substituting 0 for x in the denominator, we get twice this value as an upper bound, hence

${\displaystyle {\frac {355}{113}}-{\frac {911}{2\,630\,555\,928}}<\pi <{\frac {355}{113}}-{\frac {911}{5\,261\,111\,856}}\,.}$

In decimal expansion, this means 3.141592 57 < π < 3.141592 74, where the bold digits of the lower and upper bound are those of π.

## Extensions

The above ideas can be generalized to get better approximations of π; see also Backhouse (1995)[8] and Lucas (2005) (in both references, however, no calculations are given). For explicit calculations, consider, for every integer n ≥ 1,

${\displaystyle {\frac {1}{2^{2n-1}}}\int _{0}^{1}x^{4n}\left(1-x\right)^{4n}\,dx<{\frac {1}{2^{2n-2}}}\int _{0}^{1}{\frac {x^{4n}\left(1-x\right)^{4n}}{1+x^{2}}}\,dx<{\frac {1}{2^{2n-2}}}\int _{0}^{1}x^{4n}\left(1-x\right)^{4n}\,dx,}$

where the middle integral evaluates to

{\displaystyle {\begin{aligned}&{\frac {1}{2^{2n-2}}}\int _{0}^{1}{\frac {x^{4n}\left(1-x\right)^{4n}}{1+x^{2}}}\,dx\\&\qquad =\sum _{j=0}^{2n-1}{\frac {\left(-1\right)^{j}}{2^{2n-j-2}\left(8n-j-1\right){\binom {8n-j-2}{4n+j}}}}+\left(-1\right)^{n}\left(\pi -4\sum _{j=0}^{3n-1}{\frac {\left(-1\right)^{j}}{2j+1}}\right)\end{aligned}}}

involving π. The last sum also appears in Leibniz' formula for π. The correction term and error bound is given by

{\displaystyle {\begin{aligned}{\frac {1}{2^{2n-1}}}\int _{0}^{1}x^{4n}\left(1-x\right)^{4n}\,dx&={\frac {1}{2^{2n-1}\left(8n+1\right){\binom {8n}{4n}}}}\\&\sim {\frac {\sqrt {\pi n}}{2^{10n-2}\left(8n+1\right)}},\end{aligned}}}

where the approximation (the tilde means that the quotient of both sides tends to one for large n) of the central binomial coefficient follows from Stirling's formula and shows the fast convergence of the integrals to π.

The results for n = 1 are given above. For n = 2 we get

${\displaystyle {\frac {1}{4}}\int _{0}^{1}{\frac {x^{8}\left(1-x\right)^{8}}{1+x^{2}}}\,dx=\pi -{\frac {47\,171}{15\,015}}}$

and

${\displaystyle {\frac {1}{8}}\int _{0}^{1}x^{8}\left(1-x\right)^{8}\,dx={\frac {1}{1\,750\,320}},}$

hence 3.141592 31 < π < 3.141592 89, where the bold digits of the lower and upper bound are those of π. Similarly for n = 3,

${\displaystyle {\frac {1}{16}}\int _{0}^{1}{\frac {x^{12}\left(1-x\right)^{12}}{1+x^{2}}}\,dx={\frac {431\,302\,721}{137\,287\,920}}-\pi }$

with correction term and error bound

${\displaystyle {\frac {1}{32}}\int _{0}^{1}x^{12}\left(1-x\right)^{12}\,dx={\frac {1}{2\,163\,324\,800}},}$

hence 3.141592653 40 < π < 3.141592653 87. The next step for n = 4 is

${\displaystyle {\frac {1}{64}}\int _{0}^{1}{\frac {x^{16}\left(1-x\right)^{16}}{1+x^{2}}}\,dx=\pi -{\frac {741\,269\,838\,109}{235\,953\,517\,800}}}$

with

${\displaystyle {\frac {1}{128}}\int _{0}^{1}x^{16}\left(1-x\right)^{16}\,dx={\frac {1}{2\,538\,963\,567\,360}},}$

which gives 3.141592653589 55 < π < 3.141592653589 96.

## Footnotes

### Notes

1. ^ Proposition 3: The ratio of the circumference of any circle to its diameter is less than 3 1/7 but greater than 3 10/71.[3]

### Citations

1. ^ Lucas, Stephen (2005), "Integral proofs that 355/113 > π" (PDF), Australian Mathematical Society Gazette, 32 (4): 263–266, MR 2176249, Zbl 1181.11077
2. ^ Havil, Julian (2003), Gamma. Exploring Euler's Constant, Princeton, NJ: Princeton University Press, p. 96, ISBN 0-691-09983-9, MR 1968276, Zbl 1023.11001
3. ^ Archimedes (2002) [1897], "Measurement of a circle", in Heath, T.L., The Works of Archimedes, Dover Publications, pp. 93–96, ISBN 0-486-42084-1
4. ^ Alexanderson, Gerald L.; Klosinski, Leonard F.; Larson, Loren C., eds. (1985), The William Lowell Putnam Mathematical Competition: Problems and Solutions: 1965–1984, Washington, DC: The Mathematical Association of America, ISBN 0-88385-463-5, Zbl 0584.00003
5. ^ 2010 IIT Joint Entrance Exam, question 38 on page 15 of the mathematics section.
6. ^ Dalzell, D. P. (1944), "On 22/7", Journal of the London Mathematical Society, 19 (75 Part 3): 133–134, doi:10.1112/jlms/19.75_part_3.133, MR 0013425, Zbl 0060.15306.
7. ^ Dalzell, D. P. (1971), "On 22/7 and 355/113", Eureka; the Archimedeans' Journal, 34: 10–13, ISSN 0071-2248.
8. ^ Backhouse, Nigel (July 1995), "Note 79.36, Pancake functions and approximations to π", The Mathematical Gazette, 79 (485): 371–374, JSTOR 3618318