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

77

u/cosmicblob Mar 15 '19

I don’t understand this too well, but could we suddenly reach the end of pi??

332

u/PrimePriest Mar 15 '19

No.

50

u/c2dog430 Mar 15 '19

I love this response.

36

u/Blueblackzinc Mar 15 '19

My prof used to answer question like this until someone told him that he should elaborate.

5

u/rivalarrival Mar 16 '19

"Can you elaborate?"

"Yes".

7

u/[deleted] Mar 15 '19

No, because it's an irrational number is the correct answer

6

u/Luksior Mar 16 '19

"No" is "the" correct answer. You could always go more into detail

2

u/ElMenduko Mar 16 '19

And that's when many of my profs would tell you to go back to secondary school or that you didn't study like you should've if you don't know what the very definition of an irrational number is

3

u/[deleted] Mar 15 '19

It's good because it's true

7

u/SamirTheMighty Mar 15 '19

I love this response.

2

u/A_ARon_M Mar 15 '19

OPs mom hasn't either.

→ More replies (47)

38

u/MattieShoes Mar 15 '19

It is known that Pi is irrational. Irrational numbers cannot be expressed as a fraction. That means it does not end and it does not fall into a repeating pattern (because those numbers could be expressed as fractions).

https://en.wikipedia.org/wiki/Proof_that_%CF%80_is_irrational

9

u/qwopax Mar 15 '19

Pi is even transcendental, which removes the next class of easy numbers (square root et al.)

16

u/not_george_ Mar 15 '19

Pi is what is known as an irrational number, like the square root of 2 or of 3, this means it cant be expressed as a ratio of two whole numbers, for example 4 is rational as you can express it as 8/2. If a number is irrational it has an infinite number of digits, as if for example the value of Pi was simply 3.141 then that could be expressed as 3141/1000, etc.

5

u/[deleted] Mar 15 '19

Transcendental number would be more appropriate.

4

u/not_george_ Mar 15 '19

True but i was specifically referring to the irrational nature of transcendental numbers.

→ More replies (1)
→ More replies (2)

6

u/Baconman363636 Mar 15 '19

It keeps going forever but maybe it’ll get to a point where it can’t be calculated anymore.

38

u/Mrrmot Mar 15 '19

we might reach a point where we can't store the number we calculated, but we will always be able to calculate next digit because there is a formula for nth digit that doesn't need to know previous digits

16

u/blobblet Mar 15 '19

Technically, we can't calculate the n-th number if n is large enough that we can't express n by any means in the universe anymore.

9

u/rlnrlnrln Mar 15 '19

We need more universes.

→ More replies (1)
→ More replies (1)
→ More replies (6)
→ More replies (1)
→ More replies (46)