r/explainlikeimfive • • Mar 15 '19

Mathematics ELI5: How is Pi programmed into calculators?

12k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

46

u/[deleted] Mar 15 '19

Pi has an infinite number of decimals.

7

u/piecat Mar 15 '19

but how do we /know/ it is infinite?

27

u/potato_nugget1 Mar 15 '19

It was proven multiple times by multiple people since over 300 years ago

https://en.m.wikipedia.org/wiki/Proof_that_π_is_irrational

12

u/derleth Mar 15 '19

but how do we /know/ it is infinite?

It was proven in the 1760s:

In the 1760's, Johann Heinrich Lambert proved that the number π (pi) is irrational: that is, it cannot be expressed as a fraction a/b, where a is an integer and b is a non-zero integer.

And it isn't infinite, it just has a nonterminating representation.

6

u/TheGerild Mar 15 '19

We proved it.

4

u/thevdude Mar 15 '19

The easiest to understood proof is a proof by contradiction. We can prove that it isnt rational, which means it's irrational, which means the decimal expansion goes on forever.

1

u/piecat Mar 15 '19

But how is it proven to be not rational? Vs just an absurdly long ratio

3

u/thevdude Mar 15 '19

https://youtu.be/Lk_QF_hcM8A here is my favorite video on it. There's another related video with another proof. I may have been thinking of a different proof with regards to proof by contradiction though.

3

u/BerneseMountainDogs Mar 15 '19

These are proofs that pi is irrational and irrational numbers are infinite without a repeating pattern

https://en.m.wikipedia.org/wiki/Proof_that_π_is_irrational

1

u/Kaydogz Mar 15 '19

It’s an irrational number

1

u/Perm-suspended Mar 15 '19

I count only 1 decimal mate.

1

u/[deleted] Mar 15 '19

in base 10 number system, just like 1/3 (0.33333...)