π-day, 2013 Michael Kozdron

Similar documents
In today s world, people with basic calculus knowledge take the subject for granted. As

Math 200 University of Connecticut

What can we learn from Newton's estimate of ln(2) and Pi?

History of π. Andrew Dolbee. November 7, 2012

Grade 8 Chapter 7: Rational and Irrational Numbers

Algorithms for Experimental Mathematics I David H Bailey Lawrence Berkeley National Lab

Extracting Hexadecimal Digits of π

Explain any relationship you see between the length of the diameter and the circumference.

Limits and Continuity

Infinite Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Some Background on Kanada s Recent Pi Calculation David H. Bailey 16 May 2003

A Brief History of Pi

Euler s Identity: why and how does e πi = 1?

Chapter 0. Introduction. An Overview of the Course

Estimation of the value of Π using Minimum and Maximum Circumference of a Circle 1

On Various Ways of Approximating the Quadrature of a Circle by Numbers. 1 Author Leonh. Euler

MthEd/Math 300 Williams Fall 2011 Midterm Exam 2

Math 4388 Amber Pham 1. The Birth of Calculus. for counting. There are two major interrelated topics in calculus known as differential and

Group 4 Project. James Earthman, Gregg Greenleaf, Zach Harvey, Zac Leids

4.3. Riemann Sums. Riemann Sums. Riemann Sums and Definite Integrals. Objectives

Foundations of Basic Geometry

Chapter 3 Differentiation Rules

On the Roots of Digital Signal Processing 300 BC to 1770 AD

STØRMER NUMBERS PAUL HEWITT

MILLIS PUBLIC SCHOOLS

Math Calculus I

4 Pictorial proofs. 1. I convert 40 C to Fahrenheit: = I react: Wow, 104 F. That s dangerous! Get thee to a doctor!

Exact Value of Pi Π (17 8 3)

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

SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS

How to Calculate π: Machin s Inverse Tangents

CS187 - Science Gateway Seminar for CS and Math

7.1 Indefinite Integrals Calculus

MAT100 OVERVIEW OF CONTENTS AND SAMPLE PROBLEMS

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61

Integration. Copyright Cengage Learning. All rights reserved.

Ma 530 Power Series II

Leibniz and the Discovery of Calculus. The introduction of calculus to the world in the seventeenth century is often associated

A Preview Of Calculus & 2.1 Rates of Change

Applied Mathematics 205. Unit 0: Overview of Scientific Computing. Lecturer: Dr. David Knezevic

REVIEW: MORE FUNCTIONS AP CALCULUS :: MR. VELAZQUEZ

CISC 1400 Discrete Structures

Power series and Taylor series

Expectations on Fractal Sets

Infinity and Infinite Series

Take It To The Limit. Calculus H Mr. Russo Reaction to Take It To The Limit

Written test, 25 problems / 90 minutes

Formulae for some classical constants

π in terms of φ via the Machin s Route

Chapter 1 INTRODUCTION TO CALCULUS

A formula for pi involving nested radicals

1.2 REAL NUMBERS. 10 Chapter 1 Basic Concepts: Review and Preview

On the computational complexity of mathematical functions

Formulas for Odd Zeta Values and Powers of π

A π day celebration! Everyone s favorite geometric constant!

Taylor series. Chapter Introduction From geometric series to Taylor polynomials

Since x + we get x² + 2x = 4, or simplifying it, x² = 4. Therefore, x² + = 4 2 = 2. Ans. (C)

Identities for the arctangent function by enhanced midpoint integration and the high-accuracy computation of pi

The Miraculous Bailey-Borwein-Plouffe Pi Algorithm

Math Final Exam Review

A Brief History of the Approximation of π

2.5 Exponential Functions and Trigonometric Functions

Lecture 8. Eudoxus and the Avoidance of a Fundamental Conflict

Infinite series, improper integrals, and Taylor series

MATH1014 Calculus II. A historical review on Calculus

Brockington College Mathematics Personal Learning Checklist

Integer Relation Methods : An Introduction

DIFFERENTIATION RULES

CHAPTER 1. REVIEW: NUMBERS

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Combinatorial Proof of the Hot Spot Theorem

= , AD = 1, BE = 1, and F G = 1. By Pythagoras, BD = AB 2 + AD 2 = 2. By similar triangles on DEF and ABD, we have that AF.

Alan Turing s Contributions to the Sciences

WEEK 7 NOTES AND EXERCISES

Lesson 28 Working with Special Triangles

π is a mathematical constant that symbolizes the ratio of a circle s circumference to its

Chapter 06: Analytic Trigonometry

Math 6 Extended Prince William County Schools Pacing Guide (Crosswalk)

1 The Real Number System

Peter G. Brown. 1 π = 4

Introduction Derivation General formula List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

A Dissection Proof of Leibniz s Series for π/4

For math conventions used on the GRE, refer to this link:

Chapter 1. Complex Numbers. 1.1 Complex Numbers. Did it come from the equation x = 0 (1.1)

Saxon Calculus Scope and Sequence

Analysis of occurrence of digit 0 in first 10 billion digits of π after decimal point

DERIVATIONS. Introduction to non-associative algebra. Playing havoc with the product rule? UNIVERSITY STUDIES 4 TRANSFER SEMINAR FALL 2012

Trig Identities. or (x + y)2 = x2 + 2xy + y 2. Dr. Ken W. Smith Other examples of identities are: (x + 3)2 = x2 + 6x + 9 and

Lies My Calculator and Computer Told Me

Math Section 4.3 Unit Circle Trigonometry

The Arithmetic of Reasoning. Chessa Horomanski & Matt Corson

CHAPTER 1 NUMBER SYSTEMS. 1.1 Introduction

PYP Mathematics Continuum

A-Level Mathematics TRIGONOMETRY. G. David Boswell - R2S Explore 2019

Calculus Trivia: Historic Calculus Texts

MATH The Derivative as a Function - Section 3.2. The derivative of f is the function. f x h f x. f x lim

SOLUTIONS TO PROBLEMS

Approximation of π by Numerical Methods Mathematics Coursework (NM)

Squaring the Circle. A Classical Problem

Remark: Do not treat as ordinary numbers. These symbols do not obey the usual rules of arithmetic, for instance, + 1 =, - 1 =, 2, etc.

Transcription:

π-day, 2013 Michael Kozdron

What is π? In any circle, the ratio of the circumference to the diameter is constant. We are taught in high school that this number is called π. That is, for any circle. π = circumference diameter But how do you know that the ratio is constant? Have you ever thought of proving this? Could there exist two circles having different ratios of circumference to diameter? 1

r 1 θ s 1 s 2 r 2 Partition the circles into n 3 congruent wedges, each with angle θ = 360 /n. Note that the two triangles T 1 and T 2 are similar. Therefore, s 1 r 1 = s 2 r 2. Moreover, C 1 ns 1 and C 2 ns 2. In fact, C 1 = lim n ns 1 and C 2 = lim n ns 2. Therefore, C 1 d 1 = C 1 2r 1 = lim n ns 1 2r 1 = lim n ns 1 2r 1 = lim n ns 2 2r 2 = lim n ns 2 2r 2 = C 2 2r 2 = C 2 d 2 2

So now that we know π exists, can we calculate it? It seems that the symbol π for the ratio of the circumference to the diameter of a circle was first used by the Welsh mathematician William Jones in 1706. Leonard Euler adopted it in 1737 and it quickly became the standard. However, the fact that the ratio is constant has been known for about 3600 years! Hence, calculating the value of π has interested people for millennia. 3

The first to calculate π theoretically appears to be Archimedes of Syracuse (287 212 BC). By inscribing and circumscribing a 96-sided polygon, he computed 223 71 < π < 22 7. For the next 1800 years, the only improvements in approximations to π came from geometry and using polygons with more and more sides. 4

However, the European Renaissance (c. 1600) brought about a whole new mathematical world including calculus. Gottfried Wilhelm von Leibniz (1646 1716) and Isaac Newton (1642 1727) are both recognized as inventing calculus independently. One remarkable result from calculus that proved useful for approximating π for over 200 years is known as Leibniz s formula although it may have been discovered first by James Gregory (1638 1675). 5

Leibniz-Gregory Formula for π Start with the geometric series formula that we learn in high school 1 1 r = 1+r +r2 +r 3 + which is valid for r < 1. If we substitute in r = t 2, then and so integrating from 0 to x yields which implies x 0 1 1+t 2 = 1 t2 +t 4 t 6 + 1 1+t 2 dt = x 0 ( 1 t 2 +t 4 t 6 + ) dt arctanx = x x3 3 + x5 5 x7 7 + x9 9 +. It can be checked that this formula is valid for x 1. 6

Leibniz-Gregory Formula for π Since tan(π/4) = 1, if we substitute x = 1 into we find arctanx = x x3 3 + x5 5 x7 7 + x9 9 + arctan1 = π 4 = 1 1 3 + 1 5 1 7 + 1 9 +. That is, π = 4 (1 13 + 15 17 + 19 + ) and so to approximate π, one just needs to add up a lot of terms in this series. Notice that successive terms in this alternating series are reciprocals of odd integers. This means that the convergence will be very slow! Hence, one will need to add up a LOT of terms to get even a few digits accuracy. In fact, one needs to add up the first 300 terms to get the two decimal place accuracy of Archimedes 22 7. 7

Improved Leibniz-Gregory Formulas for π Although the original Leibniz-Gregory formula converges very slowly to π, with a clever application of a high school trig identity we can do a lot better. Recall the angle-sum formula for tangent, namely tan(α+β) = tan(α)+tan(β) 1 tan(α)tan(β). ( ) Suppose that α = arctan(1/2) and β = arctan(1/3). If we let θ = α+β, and observe that both α and β are acute angles, then θ < π implying that θ is in either the first or second quadrant. From ( ) we find tan(θ) = tan(α+β) = tan(α)+tan(β) 1 1 tan(α)tan(β) = 2 + 1 3 1 1 2 1 3 = 5 6 1 1 6 = 1. 8

Thus, if tan(θ) = 1 and θ is in either the first or second quadrant, we conclude that θ = arctan(1) = π ; that is, 4 θ = α+β or, equivalently, π 4 = arctan(1/2)+arctan(1/3). Thus, if we substitute 1/2 and 1/3 into our formula for arctan, we obtain ) π ((1/2) 4 = (1/2)3 + (1/2)5 (1/2)7 + (1/2)9 + 3 5 7 9 ) + ((1/3) (1/3)3 + (1/3)5 (1/3)7 + (1/3)9 + 3 5 7 9 9

Machin s Formula Using the same trick with the tangent formula, one can show π 4 = 4arctan(1/5)+arctan(1/239). This formula was discovered by John Machin and he used it to calculate π to 100 decimals in 1706. In 1798, Euler found Here s an cute formula for you to prove. π = 20arctan(1/7)+8arctan(3/79). π = arctan(1) + arctan(2) + arctan(3). 10

Machin s Method (1706 1949) Using Machin s method, William Shanks determined π to 607 places in 1853 and 707 places in 1873. However, it turns out that Shanks made a mistake and was only accurate to 527 places. Curiously, it was noticed by the mathematician Augustus De Morgan around 1873 that there was a suspicious shortage of 7s in the last few hundred digits in Shanks expansion. Then in 1946, D.F. Ferguson found that Shanks made an error. But by 1949, calculating π by hand was obsolete as computers were now being used to do the job. Here is π to roughly 1500 digits. 11

3.1415926535897932384626433832795028841971693993751058209749445923078164 062862089986280348253421170679821480865132823066470938446095505822317253 594081284811174502841027019385211055596446229489549303819644288109756659 334461284756482337867831652712019091456485669234603486104543266482133936 072602491412737245870066063155881748815209209628292540917153643678925903 600113305305488204665213841469519415116094330572703657595919530921861173 819326117931051185480744623799627495673518857527248912279381830119491298 336733624406566430860213949463952247371907021798609437027705392171762931 767523846748184676694051320005681271452635608277857713427577896091736371 787214684409012249534301465495853710507922796892589235420199561121290219 608640344181598136297747713099605187072113499999983729780499510597317328 160963185950244594553469083026425223082533446850352619311881710100031378 387528865875332083814206171776691473035982534904287554687311595628638823 537875937519577818577805321712268066130019278766111959092164201989380952 572010654858632788659361533818279682303019520353018529689957736225994138 912497217752834791315155748572424541506959508295331168617278558890750983 817546374649393192550604009277016711390098488240128583616035637076601047 101819429555961989467678374494482553797747268471040475346462080466842590 694912933136770289891521047521620569660240580381501935112533824300355876 402474964732639141992726042699227967823547816360093417216412199245863150 302861829745557067498385054945885869269956909272107975093029553211653449 12

π today Currently, the world record for digits of π is over 10 trillion digits. So why do people want to compute π to so many digits? Superficial answer: it s fun! Practical answer: it can be used for testing supercomputers and numerical analysis algorithms. Calculating the digits to millions of decimal places is now used to test computers for bugs in hardware and software (which is how Intel s Pentium found a chip bug a few years ago). Modern record breakers still add up terms in infinite series known to converge to π. The more rapidly converging the series, the easier it is to get more digits in the approximation. Actually, the real breakthrough is in the fact that these recently-discovered algorithms allow digits of π to be calculated without requiring the computation of earlier digits. 13

The Bailey-Borwein-Plouffe formula (BBP formula) provides such a digit extraction algorithm for the computation of the nth binary digit of π using base 16 math. (For details, see Wikipedia.) This summation formula was discovered in 1995 by Simon Plouffe and is named after the authors of the paper in which the formula was published, David H. Bailey, Peter Borwein, and Simon Plouffe. π = i=0 1 16 i ( 4 8i+1 2 8i+4 1 8i+5 1 ) 8i+6 14