# Pi

**URL:** <https://boards.straightdope.com/t/pi/791924>\
**Category:** Factual Questions\
**Created:** [July 23, 2017, 8:47am UTC](https://boards.straightdope.com/t/pi/791924 "2017-07-23T08:47:09Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [July 26, 2017, 5:16pm UTC](https://boards.straightdope.com/t/pi/791924/161 "2017-07-26T17:16:05Z")

</div>

Or sets all the way down, or any of a variety of other objects all the way down.

---

<div class="post-metadata">

**Author:** ![aceplace57](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/aceplace57/32/3500_2.png) [@aceplace57](https://boards.straightdope.com/u/aceplace57)\
**Post date:** [July 26, 2017, 5:45pm UTC](https://boards.straightdope.com/t/pi/791924/162 "2017-07-26T17:45:45Z")

</div>

> [@abashed](#):
>
> So are we here really saying there is a fundamental incompatibility between fractions, which consist of a numerator and denominator and can be expressed as one number divided by another, and decimals, which try to force natural fractions to ‘fit’ the decimal system? So would I be correct in saying that the decimal system is flawed?

Yes, the decimal system is some what flawed.

That’s why we were taught to work in fractions in school. Most of my teachers wanted the final answer in a fraction reduced to it lowest terms. Converting it to a decimal introduces rounding errors.

Some teachers preferred answers left as compound fractions because they are easier to plug into another calculation.

I shudder anytime I see a kid grab a calculator and convert fractions to decimal values before working the problem.

3/8 + 1/4+ 2/3 + 1/2  
9/24 + 6/24 + 16/24 + 12/24 = 43/24 = 1 19/24

.375 + .25 + .667 + .5 = 1.792

The 2nd example is not as precise. Although the actual answer is close enough for most applications.

Pi is troublesome because it can’t be expressed as an exact fraction. We use 22/7 as an approximation.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [July 26, 2017, 5:57pm UTC](https://boards.straightdope.com/t/pi/791924/163 "2017-07-26T17:57:05Z")

</div>

Well, it depends on where the numbers came from in the first place. If the 1/2 came from some formula where it was known that it was exactly 1/2, then it’s good to keep it as a fraction. But if you put a ruler down next to something and measured it as 1/2 inch, then the decimal is just as good as the fraction. And while 22/7 is usually a reasonable approximation for pi, 3.14 is nearly as good, and 3.141 is better. Really, if you’re in a context where you’re writing 1 19/24 as your answer instead of 1.792, then you should also be writing π instead of 22/7.

---

<div class="post-metadata">

**Author:** ![abashed](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@abashed](https://boards.straightdope.com/u/abashed)\
**Post date:** [July 26, 2017, 6:00pm UTC](https://boards.straightdope.com/t/pi/791924/164 "2017-07-26T18:00:21Z")

</div>

> [@DPRK](#):
>
> Philosophy of mathematics and real analysis.

Okay, I stand corrected although I’m baffled by ‘real analysis!’

---

<div class="post-metadata">

**Author:** ![abashed](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@abashed](https://boards.straightdope.com/u/abashed)\
**Post date:** [July 26, 2017, 6:01pm UTC](https://boards.straightdope.com/t/pi/791924/165 "2017-07-26T18:01:42Z")

</div>

> [@Andy\_L](#):
>
> If I understand correctly “Number Theory” is the term for the field that discusses the properties of integers. Fermat’s Last Theorem and Goldbach’s conjecture are number theory - what we’ve been talking about is (I suppose) analysis - the field that deals with limits, infinite series, etc.

Thanks Andy, it’s all very confusing but I’m a bit wiser now. 😉

---

<div class="post-metadata">

**Author:** ![Lemur866](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lemur866/32/434_2.png) [@Lemur866](https://boards.straightdope.com/u/Lemur866)\
**Post date:** [July 26, 2017, 6:10pm UTC](https://boards.straightdope.com/t/pi/791924/166 "2017-07-26T18:10:08Z")

</div>

It’s like people used to complain about the metric system.

“It’s so complicated!”  
“Why?”  
“Well, it’s a mile for me to walk to school. But in the metric system it’s 1.60934 kilometers! I weigh 200 pounds, but in the metric system that’s 90.7185 kilograms! I want a gallon of milk at the store, but in metric it’s 3.78541 liters! It’s so much more complicated!”

---

<div class="post-metadata">

**Author:** ![abashed](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@abashed](https://boards.straightdope.com/u/abashed)\
**Post date:** [July 26, 2017, 6:12pm UTC](https://boards.straightdope.com/t/pi/791924/167 "2017-07-26T18:12:20Z")

</div>

> [@septimus](#):
>
> For many people, a number _is_ its decimal representation. It’s then understandable that lack of a _finite_ decimal representation is seen as a serious flaw.
> 
> I try to ask leading questions, to see where the problem lies. For example, 0.99999… has a 2nd flaw beside its infinitude — its number has TWO different decimal representations. I asked the guy a year ago whether 0.3333… was just as bad as 0.9999… He agreed, briefly, that it was, but went back to repeating “I move my pencil from .99 to .999” :smack:
> 
> I tried to ask OP whether infinite repeating decimals had the same flaw, in his view, as irrationals:
> 
> … but got no answer.

It’s not a flaw but it seems to show to my inexperienced eyes that integers are simply inadequate for certain ‘quantities.’ To me, if you can never stop approaching pi or the sqrt of 2, etc. you cannot regard this as equivalent to using integers. The fact, that for any practical purposes it really doesn’t matter, still does not alter ths.

---

<div class="post-metadata">

**Author:** ![Francis\_Vaughan](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/francis_vaughan/32/3093_2.png) [@Francis\_Vaughan](https://boards.straightdope.com/u/Francis_Vaughan)\
**Post date:** [July 26, 2017, 6:14pm UTC](https://boards.straightdope.com/t/pi/791924/168 "2017-07-26T18:14:29Z")

</div>

You can also have complex analysis. Which involves complex numbers. As opposed to real analysis - real numbers. The properties of real numbers versus complex numbers are remarkably different, so much so that each has a separate category for itself. Complex analysis has some quite astounding results. Very useful ones it might be said.

Number theory is a fun area. Even such simple things as the properties of prime numbers are mostly number theory. Hence Goldbach’s conjecture, unique prime factorisation theorem and so on.

---

<div class="post-metadata">

**Author:** ![abashed](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@abashed](https://boards.straightdope.com/u/abashed)\
**Post date:** [July 26, 2017, 6:15pm UTC](https://boards.straightdope.com/t/pi/791924/169 "2017-07-26T18:15:32Z")

</div>

> [@Exapno\_Mapcase](#):
>
> abashed. Is -1 an integer? Can you show me -1 balls in a bag? Can you subtract 5 from 3? What is x in 5x + 12 = 3?
> 
> Start from there and solve that. Then start working on irrationals.

I don’t want to give the impression I don’t think irrationals are useful and have a right to exist but why are many people here trying to tell me they are the same as integers? Someone posted earlier that .99999999999’ is equivalent to 1! How does \*that \*work?

---

<div class="post-metadata">

**Author:** ![abashed](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@abashed](https://boards.straightdope.com/u/abashed)\
**Post date:** [July 26, 2017, 6:18pm UTC](https://boards.straightdope.com/t/pi/791924/170 "2017-07-26T18:18:18Z")

</div>

> [@aceplace57](#):
>
> Yes, the decimal system is some what flawed.
> 
> That’s why we were taught to work in fractions in school. Most of my teachers wanted the final answer in a fraction reduced to it lowest terms. Converting it to a decimal introduces rounding errors.
> 
> Some teachers preferred answers left as compound fractions because they are easier to plug into another calculation.
> 
> I shudder anytime I see a kid grab a calculator and convert fractions to decimal values before working the problem.
> 
> 3/8 + 1/4+ 2/3 + 1/2  
> 9/24 + 6/24 + 16/24 + 12/24 = 43/24 = 1 19/24
> 
> .375 + .25 + .667 + .5 = 1.792
> 
> The 2nd example is not as precise. Although the actual answer is close enough for most applications.
> 
> Pi is troublesome because it can’t be expressed as an exact fraction. We use 22/7 as an approximation.

Well thank you aceplace, I was beginning to think I was the only one here who saw it this way. 🙂

---

<div class="post-metadata">

**Author:** ![Lemur866](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lemur866/32/434_2.png) [@Lemur866](https://boards.straightdope.com/u/Lemur866)\
**Post date:** [July 26, 2017, 6:31pm UTC](https://boards.straightdope.com/t/pi/791924/171 "2017-07-26T18:31:53Z")

</div>

> [@abashed](#):
>
> I don’t want to give the impression I don’t think irrationals are useful and have a right to exist but why are many people here trying to tell me they are the same as integers? Someone posted earlier that .99999999999’ is equivalent to 1! How does \*that \*work?

Of course they’re not the same as integers. Neither are rational numbers, right?

And if 0.99999… is not equal to 1, what’s the difference? I mean that literally.

1 - 0.999999… = what?

It equals zero. If there is zero difference between two numbers they are the same number. Therefore, 0.99999… = 1.

If you want to argue that way out there at the infinity-th decimal point there’s a little 0.000…001 left over, why isn’t it a 0.000…0001 left over? And of course, there is no infinity-th decimal point, because infinity doesn’t work that way.

And sure, lots of people have tried to work out theories of infinitesimals, but to include them as regular numbers that you can do arithmetic with either leads to all sorts of contradictions or requires you to give up on common sense arithmetic.

Like, is there a difference between 2 and 2 + an infinitesimal? How about 2 + 2 infinitesimals?

Anyway, tangent. You don’t want to go there.

---

<div class="post-metadata">

**Author:** ![Lemur866](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lemur866/32/434_2.png) [@Lemur866](https://boards.straightdope.com/u/Lemur866)\
**Post date:** [July 26, 2017, 6:42pm UTC](https://boards.straightdope.com/t/pi/791924/172 "2017-07-26T18:42:22Z")

</div>

> [@abashed](#):
>
> Well thank you aceplace, I was beginning to think I was the only one here who saw it this way. 🙂

OK, but let’s ask what you’re trying to do here.

Are you a carpenter trying to figure out how much wood you’ll need to face the side of a 2 foot diameter wooden cylinder?

Then you’re not making measurements to the millionth decimal place. In this case any approximation of pi that is more accurate than your most inaccurate measurement will be fine. You’ve got a 2 foot cylinder, not a 2.000000000000000000000000 foot wooden cylinder. In this case using 3.14 as your value for pi is fine, because you don’t have measurements more precise than 1 part in a thousand.

But if you’re doing trigonometry you don’t ever want to calculate using the decimal expression of pi. If your answer is precisely 4π/3, that’s the answer you should give. If you’re doing some complex equation, leave pi in there as an exact value instead of approximating it. And if you need a real world carpenter answer at the very end, only do the calculation using an approximate value of pi at the very end, when you know your significant figures and therefore know how precise a value for pi would be useful.

---

<div class="post-metadata">

**Author:** ![Telemark](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/telemark/32/372_2.png) [@Telemark](https://boards.straightdope.com/u/Telemark)\
**Post date:** [July 26, 2017, 7:04pm UTC](https://boards.straightdope.com/t/pi/791924/173 "2017-07-26T19:04:48Z")

</div>

> [@aceplace57](#):
>
> I shudder anytime I see a kid grab a calculator and convert fractions to decimal values before working the problem.
> 
> 3/8 + 1/4+ 2/3 + 1/2  
> 9/24 + 6/24 + 16/24 + 12/24 = 43/24 = 1 19/24
> 
> .375 + .25 + .667 + .5 = 1.792
> 
> The 2nd example is not as precise. Although the actual answer is close enough for most applications.

That’s just because you didn’t use the proper representation for 2/3.

.375 + .25 + .666… + .5 = 1.271666…

There’s no loss of precision if you use the proper representation.

---

<div class="post-metadata">

**Author:** ![Xema](https://avatars.discourse-cdn.com/v4/letter/x/9de053/32.png) [@Xema](https://boards.straightdope.com/u/Xema)\
**Post date:** [July 26, 2017, 7:54pm UTC](https://boards.straightdope.com/t/pi/791924/174 "2017-07-26T19:54:23Z")

</div>

> [@aceplace57](#):
>
> Pi is troublesome because it can’t be expressed as an exact fraction. We use 22/7 as an approximation.

It’s long puzzled me why. 22/7 is not a particularly good approximation - it differs from the correct value of pi by about 1 part in 800.

Whereas (unless you have a serious objection to 3-digit integers) you can use 355/113, which differs by less than one part in 3.5 million.

(Mnemonic: start with 113355; split this into 113 355 and re-arrange appropriately.)

---

<div class="post-metadata">

**Author:** ![PrimalEnvy](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@PrimalEnvy](https://boards.straightdope.com/u/PrimalEnvy)\
**Post date:** [July 26, 2017, 8:05pm UTC](https://boards.straightdope.com/t/pi/791924/175 "2017-07-26T20:05:58Z")

</div>

> [@Telemark](#):
>
> That’s just because you didn’t use the proper representation for 2/3.
> 
> .375 + .25 + .666… + .5 = 1.271666…
> 
> There’s no loss of precision if you use the proper representation.

Oh, the irony of typos…

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [July 26, 2017, 8:12pm UTC](https://boards.straightdope.com/t/pi/791924/176 "2017-07-26T20:12:34Z")

</div>

22/7 is not considered particularly accurate _now_, but 4000 years ago it was.

I have never encountered anyone using 22/7 to approximate π for any serious purpose, but it would be interesting to hear anecdotes from anyone who has, even if it was for a back-of-an-envelope calculation.

---

<div class="post-metadata">

**Author:** ![Lemur866](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/lemur866/32/434_2.png) [@Lemur866](https://boards.straightdope.com/u/Lemur866)\
**Post date:** [July 26, 2017, 8:16pm UTC](https://boards.straightdope.com/t/pi/791924/177 "2017-07-26T20:16:41Z")

</div>

> [@abashed](#):
>
> It’s not a flaw but it seems to show to my inexperienced eyes that integers are simply inadequate for certain ‘quantities.’ To me, if you can never stop approaching pi or the sqrt of 2, etc. you cannot regard this as equivalent to using integers. The fact, that for any practical purposes it really doesn’t matter, still does not alter ths.

OK, I’m going to take another stab at this. The square root of 2 has an exact value, and that value is the square root of two. Same with pi. Pi has an exact value, and that value is pi. Yes, these values are not integers. That doesn’t mean they’re not exact. If you multiply the square root of two by the square root of two, you get exactly 2. If you have a square with sides of exactly 1 unit, what is the length of the diagonal? Does it have an exact value? Does the value of the diagonal vary depending on how closely you look at it? Does it get bigger then smaller then bigger than smaller then bigger then smaller? Or is it always the same?

The answer is that it is always the same. Now, it might be fair to say that the value of that diagonal is not a number, but an idea. Lots of ancient mathematicians agreed with that statement. Numbers are for counting things, like one thing and two things. If you can’t express it in terms of counting numbers, then it’s not a number. Like zero is not a number, or negative numbers are not numbers, they’re ideas, but not numbers. Fractions are numbers, and ratios of numbers are numbers, but anything else is right out.

And if you complain that you can’t write the value of the square root of two without being imprecise, that’s not true. You can write it precisely: the square root of two. You can’t write a decimal representation of that number precisely, but so what? Did we make a rule that if you can’t write a precise decimal representation of a number then it isn’t’ a number? Where in the rulebook does it say that?

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [July 26, 2017, 10:40pm UTC](https://boards.straightdope.com/t/pi/791924/178 "2017-07-26T22:40:21Z")

</div>

> [@Francis\_Vaughan](#):
>
> You can also have complex analysis. Which involves complex numbers. As opposed to real analysis - real numbers. The properties of real numbers versus complex numbers are remarkably different, so much so that each has a separate category for itself. Complex analysis has some quite astounding results. Very useful ones it might be said.
> 
> Number theory is a fun area. Even such simple things as the properties of prime numbers are mostly number theory. Hence Goldbach’s conjecture, unique prime factorisation theorem and so on.

And then there’s Analytic Number Theory, which uses complex analysis to study the whole numbers. (Arguably the most famous and important unsolved problem in mathematics, the Riemann Hypothesis, is a problem in analytic number theory.)

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [July 26, 2017, 11:49pm UTC](https://boards.straightdope.com/t/pi/791924/179 "2017-07-26T23:49:47Z")

</div>

And the eventual proof of Fermat’s Last Theorem went off into fields of mathematics that didn’t even exist in Fermat’s time.

I don’t think that I’d call the Riemann Hypothesis the most famous or most important unsolved problem, though. The most famous is probably the Goldbach conjecture, followed by the twin prime conjecture. And the most important is probably whether P = NP.

---

<div class="post-metadata">

**Author:** ![septimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/septimus/32/410_2.png) [@septimus](https://boards.straightdope.com/u/septimus)\
**Post date:** [July 27, 2017, 2:00am UTC](https://boards.straightdope.com/t/pi/791924/180 "2017-07-27T02:00:01Z")

</div>

> [@Xema](#):
>
> Whereas (unless you have a serious objection to 3-digit integers) you can use 355/113, which differs by less than one part in 3.5 million.
> 
> (Mnemonic: start with 113355; split this into 113 355 and re-arrange appropriately.)

Not only is 355/113 an excellent approximation to _pi_, it _cannot be improved_ with small numbers. To find a better fractional approximation you must go all the way to 52163 / 16604, and it is only very slightly better. (I know this is related to _pi_’s continued fraction form, but is there a _reason_ for _that_?)

> [@Chronos](#):
>
> And the most important is probably whether P = NP.

P ≠ NP (though this is Gödel-undecidable). This may be less of a computing obstacle as quantum computers begin to serve as Turing’s Oracles.

[Previous page](https://boards.straightdope.com/t/pi/791924.md?page=8)

[Next page](https://boards.straightdope.com/t/pi/791924.md?page=10)
