A PROBABILISTIC PROOF OF WALLIS S FORMULA FOR π. ( 1) n 2n + 1. The proof uses the fact that the derivative of arctan x is 1/(1 + x 2 ), so π/4 =

Similar documents
IF A PRIME DIVIDES A PRODUCT... ζ(s) = n s. ; p s

The Continuing Story of Zeta

Calculus II Practice Test Problems for Chapter 7 Page 1 of 6

Needles and Numbers. The Buffon Needle Experiment

Math 200 University of Connecticut

CLOSED FORM CONTINUED FRACTION EXPANSIONS OF SPECIAL QUADRATIC IRRATIONALS

Irrationality measure and lower bounds for π(x)

Why does pi keep popping up? Undergraduate Colloquium, October 2007 I. Definitions and Archimedes. II. Digits and some silliness (and Ramanujan)

A Simple Counterexample to Havil s Reformulation of the Riemann Hypothesis

rama.tex; 21/03/2011; 0:37; p.1

SJÄLVSTÄNDIGA ARBETEN I MATEMATIK

x 2 y = 1 2. Problem 2. Compute the Taylor series (at the base point 0) for the function 1 (1 x) 3.

The Riemann and Hurwitz zeta functions, Apery s constant and new rational series representations involving ζ(2k)

Bernoulli Numbers and their Applications

A Geometric Proof that e is Irrational and a New Measure of its Irrationality

Reform Calculus: Part II. Marcel B. Finan Arkansas Tech University c All Rights Reserved

The Prime Number Theorem

A Surprising Application of Non-Euclidean Geometry

Classnotes - MA Series and Matrices

Some Interesting Properties of the Riemann Zeta Function

Math 113 Winter 2005 Key

Mathematics 324 Riemann Zeta Function August 5, 2005

THE PENNSYLVANIA STATE UNIVERSITY SCHREYER HONORS COLLEGE DEPARTMENT OF MATHEMATICS BERNOULLI POLYNOMIALS AND RIEMANN ZETA FUNCTION

Chapter 7: Techniques of Integration

Introducing the Normal Distribution

IRRATIONALITY OF π AND e

Calculus II Practice Test 1 Problems: , 6.5, Page 1 of 10

Methods of Integration

Power Series. x n. Using the ratio test. n n + 1. x n+1 n 3. = lim x. lim n + 1. = 1 < x < 1. Then r = 1 and I = ( 1, 1) ( 1) n 1 x n.

Extension of Summation Formulas involving Stirling series

Beukers integrals and Apéry s recurrences

X. Numerical Methods

Math 259: Introduction to Analytic Number Theory More about the Gamma function

1 Review of di erential calculus

Math 1B Final Exam, Solution. Prof. Mina Aganagic Lecture 2, Spring (6 points) Use substitution and integration by parts to find:

Summary: Primer on Integral Calculus:

An Invitation to Modern Number Theory. Steven J. Miller and Ramin Takloo-Bighash PRINCETON UNIVERSITY PRESS PRINCETON AND OXFORD

Math 341: Probability Seventeenth Lecture (11/10/09)

Fall 2013 Hour Exam 2 11/08/13 Time Limit: 50 Minutes

MOMENTS OF HYPERGEOMETRIC HURWITZ ZETA FUNCTIONS

MATH1120 Calculus II Solution to Supplementary Exercises on Improper Integrals Alex Fok November 2, 2013

(x 3)(x + 5) = (x 3)(x 1) = x + 5. sin 2 x e ax bx 1 = 1 2. lim

An Euler-Type Formula for ζ(2k + 1)

THE GAMMA FUNCTION AND THE ZETA FUNCTION

Integration Techniques for the AB exam

SUMMATION TECHNIQUES

Random matrices and the Riemann zeros

Evaluating ζ(2m) via Telescoping Sums.

Abstract. 2. We construct several transcendental numbers.

About the Gamma Function

MULTISECTION METHOD AND FURTHER FORMULAE FOR π. De-Yin Zheng

Taylor and Laurent Series

A Proof of the Riemann Hypothesis and Determination of the Relationship Between Non- Trivial Zeros of Zeta Functions and Prime Numbers

Learning Objectives for Math 165

Math 162: Calculus IIA

Number Theory and Algebraic Equations. Odile Marie-Thérèse Pons

Classical transcendental curves

MTH739U/P: Topics in Scientific Computing Autumn 2016 Week 6

On the number of ways of writing t as a product of factorials

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

1. Introduction Interest in this project began with curiosity about the Laplace transform of the Digamma function, e as ψ(s + 1)ds,

On Certain Hypergeometric Summation Theorems Motivated by the Works of Ramanujan, Chudnovsky and Borwein

Final Exam 2011 Winter Term 2 Solutions

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

Prelim Examination 2010 / 2011 (Assessing Units 1 & 2) MATHEMATICS. Advanced Higher Grade. Time allowed - 2 hours

Ordinary Differential Equations (ODEs)

Summation Techniques, Padé Approximants, and Continued Fractions

Notes on Special Functions

Spring 2011 solutions. We solve this via integration by parts with u = x 2 du = 2xdx. This is another integration by parts with u = x du = dx and

Carefully tear this page off the rest of your exam. UNIVERSITY OF TORONTO SCARBOROUGH MATA37H3 : Calculus for Mathematical Sciences II

FRACTIONAL HYPERGEOMETRIC ZETA FUNCTIONS

MTH 121 Fall 2007 Essex County College Division of Mathematics and Physics Worksheet #1 1

Sums of arctangents and some formulas of Ramanujan

PRIME NUMBER THEOREM

MATH Solutions to Probability Exercises

Chapter 11 - Sequences and Series

The integrals in Gradshteyn and Ryzhik. Part 10: The digamma function

Final Exam SOLUTIONS MAT 131 Fall 2011

Integrals evaluated in terms of Catalan s constant. Graham Jameson and Nick Lord (Math. Gazette, March 2017)

STEP Support Programme. Pure STEP 1 Questions

Zeros of the Riemann Zeta-Function on the Critical Line

Solutions to Math 41 Final Exam December 10, 2012

Infinite series, improper integrals, and Taylor series

Solutions to Homework 2

arxiv: v1 [math.mg] 15 Jul 2013

Math 201 Solutions to Assignment 1. 2ydy = x 2 dx. y = C 1 3 x3

Math 1B, lecture 15: Taylor Series

EXTENDED RECIPROCAL ZETA FUNCTION AND AN ALTERNATE FORMULATION OF THE RIEMANN HYPOTHESIS. M. Aslam Chaudhry. Received May 18, 2007

1969 AP Calculus BC: Section I

Chapter 8 Indeterminate Forms and Improper Integrals Math Class Notes

WRONSKIANS AND LINEAR INDEPENDENCE... f (n 1)

HYPERGEOMETRIC BERNOULLI POLYNOMIALS AND APPELL SEQUENCES

Some Thoughts on Benford s Law

Analytic Aspects of the Riemann Zeta and Multiple Zeta Values

Isoperimetric Sets of Integers

Solutions to Practice Final

Boston College, Department of Mathematics, Chestnut Hill, MA , May 25, 2004

A GEOMETRIC VIEW OF RATIONAL LANDEN TRANSFORMATIONS

Undergraduate Texts in Mathematics. Editors J. H. Ewing F. W. Gehring P. R. Halmos

Dramatis Personae. Robin Whitty. Riemann s Hypothesis, Rewley House, 15 September Queen Mary University of London

Transcription:

A PROBABILISTIC PROOF OF WALLIS S FORMULA FOR π STEVEN J. MILLER There are many beautiful formulas for π see for example [4]). The purpose of this note is to introduce an alternate derivation of Wallis s product formula, equation ), which could be covered in a first course on probability, statistics, or number theory. We quickly review other famous formulas for π, recall some needed facts from probability, and then derive Wallis s formula. We conclude by combining some of the other famous formulas with Wallis s formula to derive an interesting expression for logπ/) equation 5)). Often in a first-year calculus course students encounter the Gregory-Leibniz formula, π 4 3 + 5 7 + n ) n n +. The proof uses the fact that the derivative of arctan x is / + x ), so π/4 dx/ + x ). To complete the proof, expand the integrand with the geometric series formula and then justify interchanging the order of integration and summation. Another interesting formula involves Bernoulli numbers and the Riemann zeta function. The Bernoulli numbers B k are the coefficients in the Taylor series t e t t + k B k t k ; k! each B k is rational. The Riemann zeta function is ζs) n n s, which converges for real part of s greater than. Using complex analysis one finds see for instance [, p. 365] or [8, pp. 79 8]) that ζk) 4)k B k π k, k! yielding formulas for π to any even power. In particular, π /6 n n and π 4 /9 n n 4. Date: June 4, 8. Mathematics Subject Classification. 6E5 primary), 6F5, Y6 secondary). Key words and phrases. Wallis s Formula, t-distribution, Gamma Function. An amusing consequence of these formulas is a proof of the infinitude of primes. Using unique factorization, one can show that ζs) also equals p p s ), where p runs over all primes. As π is irrational and ζ) π /6, there must be infinitely many primes: if there were only finitely many then π /6 p p ) would be rational! See [3] for explicit lower bounds on πx) derivable from upper bounds for the irrationality measure of ζ), and [4] for more details on the numerous connections between ζs) and number theory.

STEVEN J. MILLER One of the most interesting formulas for π is a multiplicative one due to Wallis 665): π 3 4 4 3 5 6 6 5 7 8 8 7 9 n n n n )n + ). ) Common proofs use the infinite product expansion for sin x see [8, p. 4]) or induction to prove formulas for integrals of powers of sin x see [3, p. 5]). We present a mostly elementary proof using standard facts about probability distributions encountered in a first course on probability or statistics and hence the title). The reason we must write mostly elementary is that at one point we appeal to the Dominated Convergence Theorem. It is possible to bypass this and argue directly, and we sketch the main ideas for the interested reader. Recall that a continuous function fx) is a continuous probability distribution if ) fx) and ) fx)dx. We immediately see that if gx) is a nonnegative continuous function whose integral is finite then there exists an a > such that agx) is a continuous probability distribution take a / gx)dx). This simple observation is a key ingredient in our proof, and is an extremely important technique in mathematics; the proof of Wallis s formula is but one of many applications. 3 In fact, this observation greatly simplifies numerous calculations in random matrix theory, which has successfully modeled diverse systems ranging from energy levels of heavy nuclei to the prime numbers; see [5, 4] for introductions to random matrix theory and [] for applications of this technique to the subject. One of the purposes of this paper is to introduce students to the consequences of this simple observation. Our proof relies on two standard functions from probability, the Gamma function and the Student t-distribution. The Gamma function Γx) is defined by Γx) e t t x dt. Note that this integral is well defined if the real part of x is positive. Integrating by parts yields Γx + ) xγx). This implies that if n is a nonnegative integer then Γn + ) n!; thus the Gamma function generalizes the factorial function see [7] for more on the Gamma function, including another proof of Wallis s formula involving the Gamma function). We need the following: Claim: Γ/) π. For a statistical proof involving an experiment and data, see the chapter on Buffon s needle in [] page 33): if you have infinitely many parallel lines d units apart, then the probability that a randomly dropped rod of length l d crosses one of the lines is l/πd. Thus you can calculate π by throwing many rods on the grid and counting the number of intersections. 3 A nice application of Wallis s formula is in determining the universal constant in Stirling s formula for n!; see [5] for some history and applications.

A PROBABILISTIC PROOF OF WALLIS S FORMULA FOR π 3 Proof. In the integral for Γ/), change variables by setting u t so dt udu tdu). This yields Γ/) e u du e u du. This integral is well-known to equal π see page 54 of []). The standard proof is to square the integral and convert to polar coordinates: Γ/) e u du e v dv π e r rdrdθ π. In fact, our proof above shows e t / dt. π ) This density is called the standard normal or Gaussian). This is one of the most important probability distributions, and we shall see it again when we look at the Student t-distribution. If g is a continuous probability density, then we say that the random variable Y has distribution g if for any interval [a, b] the probability that Y takes on a value in [a, b] is b a gy)dy. The celebrated Central Limit Theorem see [6, p. 55] for a proof) states that for many continuous densities g, if X,..., X n are independent random variables, each with density g, then as n the distribution of Y n µ)/σ/ n) converges to the standard normal where Y n X + + X n )/n is the sample average, µ is the mean of g, and σ is its standard deviation 4 ). The second function we need is the Student 5 t-distribution with degrees of freedom): f t) + π Γ ) + + t here is a positive integer and t is any real number. + c + t ; Claim: The Student t-distribution is a continuous probability density. Proof. As f t) is clearly continuous and nonnegative, to show f t) is a probability density it suffices to show that it integrates to. We must therefore show that + + t dt π Γ ) +. 4 The mean µ of a distribution is its average value: µ xgx)dx. The standard deviation σ measures how spread out a distribution is about its average value: σ x µ) gx)dx. 5 Student was the pen name of William Gosset.

4 STEVEN J. MILLER As the integrand is symmetric, we may integrate from to infinity and double the result. Letting t tan θ so dt sec θdθ) we find + + t dt π/ sec θdθ sec + θ π/ cos θdθ. The proof follows immediately from two properties of the Beta function see [, p. 56]): Bp, q) Γp)Γq)/Γp + q) Bm +, n + ) π/ cos m+ θ) sin n+ θ)dθ; 3) an elementary proof without appealing to properties of the Beta function is given in Appendix A. The Student t-distribution arises in statistical analyses where the sample size is small and each observation is normally distributed with the same mean and the same unknown) variance see [8, ]). The reason the Student t-distribution is used only for small samples sizes is that as, f t) converges to the standard normal; proving this will yield Wallis s formula. While we can prove this by invoking the Central Limit Theorem, we may also see this directly by recalling that e x lim + x ) N. N N We therefore have lim + t ) / e t) / e t /. As f t) is a probability distribution for all positive integers, it integrates to for all such, which is equivalent to c π Γ ) + Taking the limit as yields lim lim c lim + + t dt + + t dt + + t dt. e t / dt π. Some work is necessary of course to justify interchanging the integral and the limit; this justification is why our argument is only mostly elementary. A standard proof uses the Dominated Convergence Theorem see [7, p. 54] or [9, p. 38]) to

A PROBABILISTIC PROOF OF WALLIS S FORMULA FOR π 5 show that as the t-distribution converges to the standard normal; 6 one may take 8 exp t /8) as the dominating function. We have therefore shown that c lim c lim + π Γ ) π. 4) The fact that c / π is the key step in our proof of Wallis s formula. We have calculated the limit by using our observation that a probability distribution must integrate to ; calculating it by brute force analysis of the Gamma factors yields our main result. Theorem: Wallis s formula is true. Proof. The proof follows from expanding the Gamma functions and substituting into 4); we highlight the main steps. Let m. Using Γn + ) nγn) and Γ/) π we find that ) m + Γ m )m 3) 5 3 π/ m. As Γm) m )!, after some algebra we find that c m 3 5 m 3) m ) 4 6 m ) m m. Multiplying by m + )/m + ) and regrouping, we find 3 c m 3 5 m )m + ) 4 4 m m m + n ) m, which we rewrite as m n n n )n + ) 4 4 3 3 5 m m m )m + ) m 4m + )c. m As lim m /c m π and lim m m/4m + ) /4, we have n n n )n + ) π, which completes the proof. n By combining the expansion for π from Wallis s formula with those involving the Bernoulli numbers and the zeta function, we obtain a proof of the following amusing formula for logπ/). 6 For completeness we sketch how such an argument could proceed. If t [ log, log ] then + t /) +)/ exp t /) tends to zero rapidly with. Further, if ft) is the density of the standard normal, then t log ft)dt and t log f t)dt also tend to zero rapidly with. Careful bookkeeping shows that the normalization constants c must therefore approach c / π.

6 STEVEN J. MILLER Theorem: We have log π k ζk) 4 k k k ) k B k k k! π k. 5) Proof. The Taylor series of log x) is k xk /k. The nth factor in Wallis s formula may be written as ). 4n Thus taking logarithms of Wallis s formula and Taylor expanding yields log π log ) 4n n n k The n-sum gives ζk), and the claim now follows. k 4n ) k k 4 k k n n k. Note that the above formula for logπ/) converges well. It is easy to see that ζk) and lim k ζk) ). Thus each additional summand yields at least one new digit base 4). See [6] for additional formulas for logπ/). ACKNOWLEDGEMENTS. The author would like to thank his statistics classes and participants at π Day at Brown for many enlightening conversations, and Mike Rosen, Ed Scheinerman, Gopal Srinivasan, and the referees for several useful suggestions and references. This work was partly supported by NSF grant DMS6848. APPENDIX A. ELEMENTARY CALCULATION OF CONSTANTS For completeness, we provide a more elementary derivation that the stated constant is the correct normalization constant for the Student t-distribution. Lemma A.. We have π/ cos θdθ π Γ ) +. 6) Proof. The claim follows by induction; we sketch the main idea. Assume we have proven the claim for all n. Then π/ cos n+ θdθ π/ π/ sin θ) cos n θdθ cos n θdθ π/ sin θ cos n θ sin θ ) dθ. We integrate the second term on the right by parts, with u sin θ and dv cos n θ sin θdθ. The uv term vanishes at and π/ and we are left with π/ cos n+ θdθ π/ cos n θdθ n π/ cos n θ cos θdθ,

A PROBABILISTIC PROOF OF WALLIS S FORMULA FOR π 7 which simplifies to π/ cos n+ θdθ n n + π/ cos n θdθ. The claim now follows from standard properties of the Gamma function Γm + ) mγm) and Γ/) π). REFERENCES [] M. Aigner and G. M. Ziegler, Proofs from THE BOOK, Springer-Verlag, Berlin, 998. [] G. Arfken, Mathematical Methods for Physicists, 3rd ed., Academic Press, New York, 985. [3] G. Boros and V. Moll, Irresistible Integrals: Symbolics, Analysis and Experiments in the Evaluation of Integrals, Cambridge University Press, Cambridge, 4. [4] J. Borwein and P. Borwein, Pi and the AGM: A Study in Analytic Number Theory and Computational Complexity, John Wiley, New York, 987. [5] J. B. Conrey, The Riemann hypothesis, Notices of the AMS 5 3) 34 353. [6] W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, nd ed., John Wiley, New York, 97. [7] G. Folland, Real Analysis: Modern Techniques and Their Applications, nd ed., Pure and Applied Mathematics, Wiley-Interscience, New York, 999. [8] W. Gosset, The probable error of a mean, Biometrika 6 98) 5. [9] R. V. Hogg and A. T. Craig, Introduction to Mathematical Statistics, 5th ed., Prentice Hall, New York, 994. [] S. Lang, Complex Analysis, Graduate Texts in Mathematics, vol. 3, Springer-Verlag, New York, 999. [] M. Mehta, Random Matrices, nd ed., Academic Press, Boston, 99. [] I. Miller and M. Miller, John E. Freund s Mathematical Statistics with Applications, 7th ed., Prentice Hall, New York, 4. [3] S. J. Miller, M. Schiffman, and B. Wieland, Irrationality measure and lower bounds for πx). http://arxiv.org/pdf/79.84 [4] S. J. Miller and R. Takloo-Bighash, An Invitation to Modern Number Theory, Princeton University Press, Princeton, NJ, 6. [5] J. F. Scott, Mathematical Works of John Wallis, Chelsea Publishing Co., New York, 98. [6] J. Sondow, A faster product for π and a new integral for ln π/, this MONTHLY 5) 79 734. [7] G. K. Srinivasan, The Gamma function: an eclectic tour, this MONTHLY 4 7) 97 35. [8] E. Stein and R. Shakarchi, Complex Analysis, Princeton University Press, Princeton, NJ, 3. Department of Mathematics, Brown University, Providence, RI 9 and Department of Mathematics and Statistics, Williams College, Williamstown, MA 67 Steven.J.Miller@williams.edu