Pi in fraction form
Moderators: gmalivuk, Moderators General, Prelates

 Posts: 123
 Joined: Thu May 20, 2010 5:39 pm UTC
Pi in fraction form
When messing around with my calculator today (ti84) I found out that the seventh power of Pi is actually a perfect fraction, I don't have my calculator at my house right now so I can't give it, but you can do it on your own. It's something like 22 million divided by 7030
Is this something major? Or just due to the Ti84's limited significancy?
Is this something major? Or just due to the Ti84's limited significancy?
 heyitsguay
 Posts: 118
 Joined: Thu Oct 16, 2008 6:21 am UTC
Re: Pi in fraction form
That's just an artifact of the calculator's finite number of decimal places, it's not really a fraction. Pi is a transcendental number, so no equation involving powers and sums of pi will ever yield a rational number.

 Posts: 123
 Joined: Thu May 20, 2010 5:39 pm UTC
Re: Pi in fraction form
Oh ok, too bad! I thought it was pretty cool regardless
So is that fraction the way the calculator defines Pi then?
So is that fraction the way the calculator defines Pi then?
 heyitsguay
 Posts: 118
 Joined: Thu Oct 16, 2008 6:21 am UTC
Re: Pi in fraction form
Well, I don't know for sure, but it seems unlikely. Why store pi as the seventh root of some nasty fraction when you can store it as the finite decimal sequence 3.1415926535898 or whatever? Then, it can just be looked up when needed  computing seventh roots is costly, computationally.
Re: Pi in fraction form
More likely, your calculator stores pi out to however many digits, and just calculated pi^7, got 3020.29323 or some such, and then when you asked it to convert that to a fraction, it turned that into 302029323/100000 and reduced. Depending on your calculator and how many decimal places it uses, it might get a slightly different decimal which would thus reduce to a different fraction, but the idea is the same.
No, even in theory, you cannot build a rocket more massive than the visible universe.
 gmalivuk
 GNU Terry Pratchett
 Posts: 25786
 Joined: Wed Feb 28, 2007 6:02 pm UTC
 Location: Here and There
 Contact:
Re: Pi in fraction form
Except that fraction is clearly already in lowest terms, since the numerator isn't divisible by 2 or 5.
More likely what it does is find the fraction with the smallest denominator within some narrow range around the number it's given. For example, 21362534/7073 is what I get within 10^{8} of pi^7. This is close enough to "something like 22 million divided by 7030" for me to suspect it is the actual result the first poster's calculator gave. (Well, on second thought, I realize that I'm doing this with a program that uses pi to arbitrary precision, which most handheld calculators definitely don't do. So it's possible the calculator in question did give something else, but this fraction is a much much better approximation given the size of its denominator.)
Edit: Incidentally, if you were going to store pi as some function of a rational number, and weren't going to use the ones from the continued fraction expansion of pi itself, using 2143/22 for pi^4 is quite nice. It is within 1.25x10^{7} of the exact value, despite having such a low denominator.
More likely what it does is find the fraction with the smallest denominator within some narrow range around the number it's given. For example, 21362534/7073 is what I get within 10^{8} of pi^7. This is close enough to "something like 22 million divided by 7030" for me to suspect it is the actual result the first poster's calculator gave. (Well, on second thought, I realize that I'm doing this with a program that uses pi to arbitrary precision, which most handheld calculators definitely don't do. So it's possible the calculator in question did give something else, but this fraction is a much much better approximation given the size of its denominator.)
Edit: Incidentally, if you were going to store pi as some function of a rational number, and weren't going to use the ones from the continued fraction expansion of pi itself, using 2143/22 for pi^4 is quite nice. It is within 1.25x10^{7} of the exact value, despite having such a low denominator.
 Proginoskes
 Posts: 313
 Joined: Mon Nov 14, 2011 7:07 am UTC
 Location: Sitting Down
Re: Pi in fraction form
Pi can be expressed in fractional form, though: [imath]{\pi \over 1}[/imath]
This reminds me of the story about Ramanujan, who once dreamt that a goddess visited him and told him that [imath]\pi = \root 4 \of {2143 \over 22}[/imath]. (I guess goddesses don't know everything.)
This reminds me of the story about Ramanujan, who once dreamt that a goddess visited him and told him that [imath]\pi = \root 4 \of {2143 \over 22}[/imath]. (I guess goddesses don't know everything.)
Re: Pi in fraction form
I realise that there's no way to ask this question without it seeming really stupid, but I'll give it a go anyway... is there some intrinsic quality of a circle that dictates that Pi must be an irrational number or is it just 'bad luck'? I can't think of a way to phrase that without it looking batshit insane, so the answer may be 'unask the question'... perhaps a better way of saying it would be to say "what is the proof that pi is irrational'... (for laymen).
How can I think my way out of the problem when the problem is the way I think?
Re: Pi in fraction form
The best way for a layman to approach it is probably with triangles (really most of the circle stuff "comes from" trig anyway):
but using trig Lambert's proof is probably the easiest to work through:
http://en.wikipedia.org/wiki/Proof_that ... irrational
a more extensive discussion is found here:
http://paramanands.wordpress.com/2011/0 ... rtsproof/
but using trig Lambert's proof is probably the easiest to work through:
http://en.wikipedia.org/wiki/Proof_that ... irrational
a more extensive discussion is found here:
http://paramanands.wordpress.com/2011/0 ... rtsproof/
 Talith
 Proved the Goldbach Conjecture
 Posts: 848
 Joined: Sat Nov 29, 2008 1:28 am UTC
 Location: Manchester  UK
Re: Pi in fraction form
I wonder if there's some nice contradiction that you can come to if you assume that {e^(nx)}_{n>0} is not a dense subset of the circle (actually, if pi were rational, this set would be finite, not just nondense). The contradiction would then imply that pi is irrational.
Last edited by Talith on Mon Mar 05, 2012 6:23 pm UTC, edited 1 time in total.
Re: Pi in fraction form
vilidice wrote:The best way for a layman to approach it is probably with triangles (really most of the circle stuff "comes from" trig anyway):
but using trig Lambert's proof is probably the easiest to work through:
http://en.wikipedia.org/wiki/Proof_that ... irrational
a more extensive discussion is found here:
http://paramanands.wordpress.com/2011/0 ... rtsproof/
Many thanks  actually, I came back to post, after a search, that the answer would appear to be "yes, there is, but no, you won't understand it."
Nevertheless I'll take another look using the links you posted. Brains exploding due to substandard construction at ten.
How can I think my way out of the problem when the problem is the way I think?
Re: Pi in fraction form
tomandlu wrote:I realise that there's no way to ask this question without it seeming really stupid, but I'll give it a go anyway... is there some intrinsic quality of a circle that dictates that Pi must be an irrational number or is it just 'bad luck'?
It's not a stupid question at all. There is proof that π is irrational (in fact several proofs are on Wikipedia), but this is incidental to what you are really asking. Ultimately what it comes to is this: almost all real numbers are irrational, in the sense that if you randomly plop down an infinite string of decimal digits, one after another, you will almost certainly not get a rational number. Since there's no particular reason that π must be rational, it would be a coincidence bordering on the miraculous if it were. It turns out that no such miracle occurs, and so π is irrational.
Public key fingerprint: 73B6 8566 BFBC 8D95
 Proginoskes
 Posts: 313
 Joined: Mon Nov 14, 2011 7:07 am UTC
 Location: Sitting Down
Re: Pi in fraction form
SunAvatar wrote:tomandlu wrote:I realise that there's no way to ask this question without it seeming really stupid, but I'll give it a go anyway... is there some intrinsic quality of a circle that dictates that Pi must be an irrational number or is it just 'bad luck'?
It's not a stupid question at all. There is proof that π is irrational (in fact several proofs are on Wikipedia), but this is incidental to what you are really asking. Ultimately what it comes to is this: almost all real numbers are irrational, in the sense that if you randomly plop down an infinite string of decimal digits, one after another, you will almost certainly not get a rational number. Since there's no particular reason that π must be rational, it would be a coincidence bordering on the miraculous if it were. It turns out that no such miracle occurs, and so π is irrational.
Is it coincidence that there are Pythagorean triples?
 gmalivuk
 GNU Terry Pratchett
 Posts: 25786
 Joined: Wed Feb 28, 2007 6:02 pm UTC
 Location: Here and There
 Contact:
Re: Pi in fraction form
No more than it's a coincidence that there are rational numbers. And similarly, a random set of three integers is highly unlikely to be a Pythagorean triple. (In the sense that, as n goes to infinity, the fraction of integer points in the box [n,n]^{3} that are Pythagorean triples goes to zero.)
Re: Pi in fraction form
Or to put it another way, if you're working with a particular type of construction in mind, don't be surprised that such a construction exists or that you can construct examples of that construction, but don't be fooled into thinking that that construction would be likely to come up if you were working with a broader group of numbers. So if you're doing standard geometry, then you're probably going to run into a bunch of nice integers (0, 1, things that are highly divisible, etc) and algebraic numbers (square roots, phi, etc) and a small subset of transcendental numbers (particularly ones closely related to pi) but in the grander scheme of things such numbers form a vast minority.
pollywog wrote:I want to learn this smile, perfect it, and then go around smiling at lesbians and freaking them out.Wikihow wrote:* Smile a lot! Give a gay girl a knowing "Hey, I'm a lesbian too!" smile.
Re: Pi in fraction form
The Wallis product isn't a proof, per se, but it is suggestive that pi is irrational since it appears that it is not equal to any fraction with finite numerator and denominator, and it is a rather neat expression for pi, IMHO. To use the Wallis product to actually prove that pi's irrational you'd need to prove that it's equal to pi and that it can't be reduced to a fraction with finite numerator and denominator; I suspect that to do so would end up being equivalent to one of the more direct proofs already referenced in this thread.
 Proginoskes
 Posts: 313
 Joined: Mon Nov 14, 2011 7:07 am UTC
 Location: Sitting Down
Re: Pi in fraction form
gmalivuk wrote:No more than it's a coincidence that there are rational numbers. And similarly, a random set of three integers is highly unlikely to be a Pythagorean triple. (In the sense that, as n goes to infinity, the fraction of integer points in the box [n,n]^{3} that are Pythagorean triples goes to zero.)
Actually, it goes deeper than that. There are solutions to a^2 + b^2 = c^2 in positive integers, but no solutions to
a^3 + b^3 = c^3 in positive integers. It's not the existence of rational numbers; it's the fact that three of them "conspire" to make an equation like
a^2 + b^2 = c^2 possible.
Re: Pi in fraction form
Proginoskes wrote:Actually, it goes deeper than that. There are solutions to a^2 + b^2 = c^2 in positive integers, but no solutions to
a^3 + b^3 = c^3 in positive integers. It's not the existence of rational numbers; it's the fact that three of them "conspire" to make an equation like
a^2 + b^2 = c^2 possible.
As is wellknown, Pythagorean triplets can easily be generated by:
a = u²  v²
b = 2uv
c = u² + v²
(FWIW, this relationship was known in ancient times). So is it a conspiracy between a, b and c, or should we say that the Pythagorean triplet is merely a simple consequence of an even deeper conspiracy between u and v?
We can go even deeper: Let z = u + iv, then z² = a + bi and c = z². Thus the existence of Pythagorean triplets can be seen as a simple consequence of the multiplicative properties of the complex numbers (or more specifically, the Gaussian integers). I find it intriguing that to really understand the deeper properties of the integers you need to look at complex numbers.
Who is online
Users browsing this forum: No registered users and 13 guests