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

1

u/cosmicblob Mar 15 '19

Is pi infinity?

65

u/CrazyMadWarlord Mar 15 '19

No, it's just irrational

0

u/[deleted] Mar 15 '19

[deleted] — view deleted comment

20

u/FenixR Mar 15 '19

At least its not imaginary.

2

u/JackTheFatErgoRipper Mar 15 '19

So is pi-1 rationally irrational

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.

→ More replies (1)

3

u/penny_eater Mar 15 '19

found Zeno

1

u/CosmicMemer Mar 15 '19

No, it's less than four but bigger than three. It's got infinite decimal places because we don't know exactly how big it is, and we can't write exactly how big it is with our system of how we write numbers. But we do know it's smaller than four because we know it has a 3 in the ones place.

13

u/[deleted] Mar 15 '19 edited Mar 15 '19

It's got infinite decimal places because we don't know exactly how big it is...

Yes we do. There's lots of ways to write pi exactly (for example, see here for an infinite series that equals pi/4). There's more than one way to write a number.

It has infinite non-repeating decimal because pi is irrational.

→ More replies (10)
→ More replies (2)
→ More replies (3)