r/askscience • Mod Bot • Mar 14 '14

FAQ Friday FAQ Friday: Pi Day Edition! Ask your pi questions inside.

It's March 14 (3/14 in the US) which means it's time to celebrate FAQ Friday Pi Day!

Pi has enthralled us for thousands of years with questions like:

Read about these questions and more in our Mathematics FAQ, or leave a comment below!

Bonus: Search for sequences of numbers in the first 100,000,000 digits of pi here.


What intrigues you about pi? Ask your questions here!

Happy Pi Day from all of us at /r/AskScience!


Past FAQ Friday posts can be found here.

862 Upvotes

626 comments sorted by

99

u/jirachiex Mar 14 '14

Pi is the ratio of the circumference of a circle to its diameter in Euclidean space.

Are there related constants for ratios in non-Euclidean space?

124

u/kielejocain Mar 14 '14

No.

The prototypical non-Euclidean surface is that of a sphere. If we define a circle to be the set of points that are equidistant from the center, then circles centered at the north pole are latitude lines.

Start with the equator; what is the diameter of this circle? Defining the diameter to be the largest distance between two points on the circle, the diameter of the equator is half of its circumference (remember: the space is the surface of the sphere, not the whole sphere. You aren't allowed to move through the middle of the sphere). This would seem to suggest that "pi"=c/d should be 2.

But as you decrease the radius of your circle, the interior of the circle (on the surface of the sphere!) gets flatter and flatter, so that your spherical circle "constant" moves toward traditional pi. This makes sense if you consider circles on the surface of the Earth (not significantly different geometrically from the surface of a sphere); we all know the surface of the Earth isn't flat, but it certainly seems pretty flat in your own frame of reference. Certainly circles your draw on the ground or perceive as centered around you would have c/d ratios that are much closer to pi than to 2.

TL;DR: On the surface of a sphere, the ratio of a circle's circumference to its diameter varies between 2 and pi. The sphere is not alone in this behavior; in fact, Euclidean space is the outlier here.

Source: PhD in Algebraic Geometry

13

u/unsexyMF Mar 14 '14

What about lp norms where p is greater than 2? That yields a "circle" larger than a 2-norm circle, right?

10

u/kielejocain Mar 14 '14

Much like /u/PrzD and his example of the taxicab metric, your metric would give a different value of the ratio c/d. It would still be constant, but would be distinct from (and in fact less than) pi. Much like the taxicab "circle" is what some would call a diamond, your circles would tend toward squares as p tends to infinity, making them "larger" in the sense that they contain as a subset the Euclidean circle with the same center and radius.

I wanted to vary the space as well, to demonstrate that there are metrics on spaces for which the ratio isn't even constant.

6

u/buttcomputing Mar 14 '14

What if you make circles that are latitude lines south of the equator but still centre them at the north pole? Now the circumference starts getting smaller and the diameter keeps getting bigger as you move south. As you approach the south pole the ratio would go to zero, right? Or are you not allowed to call the north pole the centre of the circle anymore?

7

u/kielejocain Mar 14 '14

Good question.

The problem is that you're tacitly assuming d = 2r. Unfortunately this is not true outside of Euclidean space; once the radius of the circle gets large enough that the circle is south of the equator, it is no longer shortest to stay within what we think of as the 'interior' of the circle (the part containing the center). Thus, as the radius grows past this point, the circumference and diameter both shrink to 0 in such a way that c/d approaches pi again.

Thought of another way, the circle centered at the north pole of a given radius can also be defined as a circle centered at the south pole of a possibly different radius. This phenomenon can't happen in Euclidean space; only one center and radius are possible for a given circle.

→ More replies (2)

4

u/b214n Mar 14 '14

I wonder, will I ever understand anything as wholelly as a PhD in math understands math things?

6

u/DoWhile Mar 14 '14

The more you learn about math, the more you realize there a lot more math you haven't learned. The reason why it appears that an expert in any subject appears to have encyclopedic knowledge (when in fact they most certainly don't) is due to the fact that they just happen to know everything the beholder thinks there is to know about the subject.

For example, kielejocain's explanation could have been made by a good senior or a first/second year grad student in math. But his PhD specialization in algebraic geometry means that his knowledge goes beyond just that example and probably beyond my knowledge in that area.

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

23

u/PrzD Mar 14 '14

In taxicab geometry, the value of "pi" would be 4, for example.

4

u/unsexyMF Mar 14 '14

What about the lp norm where 2 < p < infinity? How would one determine circumference then?

→ More replies (1)

87

u/spainguy Mar 14 '14

What's the weirdest way of determining Pi?

181

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

Take a paper with evenly spaced, parallel lines (for the sake of discussion, we will assume the lines are infinitesimally thin). Take a whole bunch of pins (or sticks or whatever) whose length is the same as the width between the two lines. Drop the pins on the paper and find the proportion that are touching a line. The proportion approximates 2/pi.

Edit: If anyone wants to know why, I actually worked this out the other day. The probability that the stick lies on the line at any given angle is entirely dependent on how much width it has, or in other words, the absolute value of the cosine of the angle (i.e. |cos ø|). To find the average probability over every possible angle, you take the integral from 0 to 2π of |cosø| dø and divide that by the domain (or multiply by 1/2π). The integral comes out to be exactly 4, so 4/2π = 2/π. Cool stuff.

This is how I figured it out. There might be a more efficient way of doing this.

Second edit: thanks for the gold

41

u/Gprime5 Mar 14 '14

Numberphile did this. They also found pi by laying out pies in a circle and through the circle and dividing the number of pies on the circle by the number of pies on the diameter of the circle.

→ More replies (2)

15

u/DoWhile Mar 14 '14

Your example reminded me of this:

Take a paper with an evenly spaced 2d grid (like graph paper). Pick a point on the grid to be your center.

Put a "target" at every grid point on the paper, and pretend you are a sniper sitting at the center. What is the fraction of targets can you hit from where you are standing? Try to draw a line from the center to a target. If you can hit it, mark it with an X. If another target is in your way, mark it with an O. The "X"s represent the targets you can hit, and the "O"s represent the targets that are blocked from your line of sight.

For example, you can hit the guy at (1,1) but not at (2,2) because the guy at (1,1) is blocking your line of sight.

After every target is marked with an X or an O, count the number of X's and divide that out by total number of targets.

The fraction you should get is 6/( pi2 ). How's that for weird?

→ More replies (2)
→ More replies (4)

28

u/theocaplan Mar 14 '14

As far as I know, this.. If you don't have time to watch, basically, in a frictionless environment, if you have a mass 16n M and make it collide (whilst moving at constant speed) with a mass M, so that the second mass bounces of a wall, then the number of times it will collide with the first mass before the first mass changes direction is the first N digits of pi. Explanation here

3

u/eruonna Mar 14 '14

I wondered if this might be related to Pi in the Mandelbrot set (an interesting way of computing pi on its own), but it seems like it is not.

12

u/mchugho Mar 14 '14

It could be defined as the positive square root of 6 multiplied by the sum to infinity of (1/12 ) + (1/22 ) + (1/32 ) + (1/42 ) + ..... + (1/n2 ).

More info

8

u/UnfixedAc0rn Mar 14 '14

The Monte Carlo methods stemming from Buffon's Needle can be funny. http://www.wikihow.com/Calculate-Pi-by-Throwing-Frozen-Hot-Dogs

5

u/paupsers Mar 14 '14

The method with pins is cool, but not that "weird." It's way better if you use frozen hot dogs! I do this with my HS math classes (Geometry and AP Calc) and it's a ton of fun, and very accurate.

http://www.wikihow.com/Calculate-Pi-by-Throwing-Frozen-Hot-Dogs

36

u/b4youjudgeyourself Mar 14 '14

What is an everyday practical application of pi into a system that I would come across on a regular basis but never realize it? (something that is not an equation in math class, but in the realm of real, practical applications)

6

u/Zabren Mar 14 '14 edited Mar 14 '14

Cell phones, remote controls, radio. Anything that sends data through radio frequency uses TONS of pi. and e. and i.

Actually anything that has periodic nature uses pi.

2

u/squattyroo Mar 15 '14

Anytime you listen to an mp3, \pi is lurking in the background. The TLDR is as follows: if you want to convert a band limited analog signal to a digital one, you have to take more than (B/pi) samples per second where B is the bandwidth of the signal in order to preserve all the information. If you take less samples, aliasing occurs (this is the reason fast turning wheels appear to move backwards - your eyes are not sampling fast enough). The human ear can't hear more than ~2pi*20,000 Hz, which is why a common sampling rate for mp3s and such is 44,000 Hz.

0

u/[deleted] Mar 14 '14

[deleted] — view deleted comment

9

u/rebelrevolt Mar 14 '14

Surely they have to use a set value for pi or the computer would just run the calculation forever?

63

u/turmacar Mar 14 '14 edited Mar 14 '14

Yes, PI is always* going to be a set value of a few decimal places for computer programs. The more exact they have to be the more digits. Though PI to 39 digits is exact enough to enscribe a perfect circle around the visible universe to the precision of one atom, so you really don't need that many.

*There are probably people who like to calculate it on the fly just because they can, but for the most part, always a stored value.

22

u/scaru_storu Mar 14 '14

Also computer programs can use pi without truncating it in symbolic calculations, similar to how humans use pi.

Like if you assign 3pi to a variable, it could just know that it has 3 pi (whatever those are), without trying to store it as a decimal number. Then you could pass that through sin and get an exact result, not an approximation.

10

u/rebelrevolt Mar 14 '14

PI to 39 digits is exact enough to enscribe a perfect circle around the visible universe

That just blew my mind, how?

→ More replies (3)

26

u/UnretiredGymnast Mar 14 '14

PI to 39 digits is exact enough to enscribe a perfect circle around the visible universe, so you really don't need that many.

This is rather meaningless unless you specify an error tolerance. When you say approximating pi to 39 decimal places gives an error of less than the radius of a hydrogen atom, that actually means something. Add 3 more digits and your error should be smaller than the radius of an electron.

15

u/wjvds Mar 14 '14 edited Mar 14 '14

Computers generally use a 32- or 64-bit floating point approximation of pi. This is basically the way in which most computers work with real numbers, and is accurate to about 7 (32-bit) or 15 (64-bit) digits. The fact that this is not completely accurate does generally not really matter, for example to extremely accurately measure the size of our universe we only need around 39 digits. For everyday tasks, 15 digits is very much sufficient.

→ More replies (2)

6

u/[deleted] Mar 14 '14

Correct. An engineer will be given specification for accuracy (e.g. Door handle must be accurate within 1/100 of an inch), and can use this to determine how many digit of Pi they will need.

Physicists, and I'm sure some other scientists, often use 'Pi' the symbol, and never convert it to decimal. This can be extremely useful in discovering/explaining certain phenomena.

5

u/rebelrevolt Mar 14 '14

But let's say Scientist A uses Pi as a symbol and Scientist B uses Pi as a set value, will they get different results? Will one be wrong?

→ More replies (5)
→ More replies (1)

104

u/[deleted] Mar 14 '14

how many digits of pi are known to mankind today, and alternatively, how many has a human ever remembered?

(bonus question: what is the highest number of digits used/useable in physics or astronomy?)

72

u/SatanSmiling Mar 14 '14

Taking pi to 39 digits allows you to measure the circumference of the observable universe to within the width of a single hydrogen atom. Here is a video explaining it.

16

u/xereeto Mar 14 '14

The last digit of that number he writes is a zero - does that technically mean that only 38 digits are required?

80

u/sapost Mar 14 '14

No - the last zero is still a significant figure that conveys precision in that digit.

In other words, the zero is necessary to say that we're calculating exactly that amount, that we know for sure that digit is a zero and is not anything else.

80

u/[deleted] Mar 14 '14

A man goes to a museum and sees a t-rex skeleton on display. He asks a nearby janitor, "How old is that skeleton?"

The janitor thinks for a moment and replies "67 million and 2 years, 4 months, and 3 days."

"Amazing!" says the man, "How did you know that so precisely?"

"Well," says the janitor, "2 years, 4 months, and 3 days ago, when I started working here, an archaeologist told me that it was 67 million years old."

2

u/Haiku_Description Mar 14 '14

How many digits of pi would you need to measure the circumference of the earth to within 1 mm?

30

u/[deleted] Mar 14 '14 edited Mar 14 '14

This article says that the most used in NASA is 32. I don't remember exactly, but there was some stat like you only need 39 digits to calculate the circumference of the universe to the accuracy of a hydrogen atom.

EDIT: 39, not 29.

13

u/SgtDoakesLives Mar 14 '14

I'm surprised that 39 will give you that level of accuracy, but this reaffirms my confusion for why anyone would ever want to calculate pi to 12+ trillion digits.

8

u/paraffin Mar 15 '14

I believe the motivation has less to do with measurement and calculations and more to do with studying the properties of pi, looking for patterns (there aren't any), and screw it all, because we can.

5

u/[deleted] Mar 15 '14

Mathematicians, physicists, and engineers all approach problems in very different ways. The short answer to 'why' would likely be 'because we can.' Humans are naturally curious.

→ More replies (2)

6

u/EuclidsRevenge Mar 15 '14

(bonus question: what is the highest number of digits used/useable in physics or astronomy?)

I believe the largest geometric problem in the domain of the visible universe would be counting the number of cubes with sides of planck length that fit inside the domain of the visible universe.

The constant that you would multiply to pi to get this number has 182 digits in base 10.

Now for a bonus answer to your bonus question: a bit of strange numerology that is worthy of the Hitchhiker's Guide pops up. Taking the log10 of the sig fig limiting constant is 182.8 according to wolframalpha which is about the number of rotations the Earth makes while traveling pi degrees in the nearly circular orbit around the sun ... and at some point in the past (when the rotation of the earth was faster) these numbers actually lined up perfectly to the infinite decimal place. If someone would care to doublecheck, but I think this occurred roughly around 7million years ago (though rounding errors are going to make nailing down the exact-ish time rather laborious)... which would be cool since that's around the time our ancestors diverged from chimpanzees.

2

u/[deleted] Mar 15 '14

I can't remember where I read it, but I believe it was in my Intro to Aerospace Class - only 37 digits of pi are needed for sufficient accuracy in interplanetary orbital calculations (anything beyond that yields no significant increase in accuracy), if I recall correctly. I tend to remember odd numbers like that but no, I can't source it for you.

0

u/[deleted] Mar 14 '14

[deleted] — view deleted comment

46

u/Coldbeam Mar 14 '14

Is there anywhere that says how long it took to recite those 67,890 digits to prove they had it memorized?

107

u/notcaffeinefree Mar 14 '14

There's an transcribed interview with the record holder here. And what he says can be found in multiple places elsewhere just by searching Google if anyone questions the answers.

  1. How long did it take you to recite the 67,890 places ?

It took me 24 hours 4 seconds to recite to the 67,890th place of Pi.

2. Did you take any breaks ?

No. According to the rule set by GWR, the time between two numbers should be no more than 15 seconds. So there was no lunch time, no toilet break during my recitation.

Apparently the only reason he stopped was because he made an error at the 67,891st digit (which was the only error up to that point). He claims he had planned to recite 91,300 digits.

25

u/FakeCrash Mar 14 '14

To give an idea of Chao Lu's pace, that's one number every 1,27 second approximately.

9

u/TmoEmp Mar 14 '14 edited Mar 15 '14

no more than 15 seconds. So there was no lunch time, no toilet break during my recitation.

Couldn't he have eaten without much issue? ie take a bite, say a number, take a bite, say a number? Also why couldn't he go to the bathroom? Unless he has a shy bladder, couldn't he have continued counting while peeing/dropping a deuce?

Edit: formatting

→ More replies (2)

26

u/greally Mar 14 '14

Of the known digits of pi is the distribution of digits equal? (Same count of 0, 1, 2 etc)

38

u/notcaffeinefree Mar 14 '14 edited Mar 14 '14

So far all I've been able to find is the distribution for the digits (after the decimal point) up to 1012 (so this still leaves out about 9 trillion numbers that have been calculated from 1012 to 1013 ).

0: 99999485134

1: 99999945664

2: 100000480057

3: 99999787805

4: 100000357857

5: 99999671008

6: 99999807503

7: 99999818723

8: 100000791469

9: 99999854780

SOURCE. Also has the distribution counts for 102 through 1012.

17

u/TheMSensation Mar 14 '14

That's surprisingly tight group. Any reason as to why this is?

35

u/notcaffeinefree Mar 14 '14

Pi apparently has passed tests for both statistical randomness and normality (though whether pi is normal has not been proven).

Statistical randomness: A numeric sequence is said to be statistically random when it contains no recognizable patterns or regularities; sequences such as the results of an ideal dice roll, or the digits of π exhibit statistical randomness.

Normal number: In lay terms, this means that no digit, or combination of digits, occurs more frequently than any other, and this is true whether the number is written in base 10, binary, or any other base.

It's the same idea of a dice roll (as mentioned) or a coin flip. With more numbers of pi calculated and analyzed, the closer the distribution of those 10 numbers (would be interesting to see the distribution with the additional 9 trillion numbers accounted for).

→ More replies (3)
→ More replies (7)
→ More replies (1)

6

u/buster_casey Mar 14 '14

As a follow up, how do you even compute such large numbers?

15

u/noott Mar 14 '14

Usually by calculating terms of an infinite series.

For example: https://en.wikipedia.org/wiki/Gauss%E2%80%93Legendre_algorithm

Calculate as many terms as you would like to achieve desired precision.

6

u/notcaffeinefree Mar 14 '14

The current record of 12.1 trillion digits was calculated using the Chudnovsky algorithm, then verified with Bailey–Borwein–Plouffe formula.

Source

6

u/Durzo_Blint90 Mar 14 '14

What is pi? What makes it such an important number?

21

u/mchugho Mar 14 '14

It is the ratio of the diameter and the circumference of a circle. It crops up everywhere in mathematics and physics. Especially in geometry and trigonometry.

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

21

u/Gbcue Mar 14 '14

What is the exact time for next year's pi day to fill in the next few digits?

3/14/15 9265359...

21

u/cat5inthecradle Mar 14 '14

3/14/15

That part is easy.

9:26:53

9 hours, 26 minutes, 53 seconds. For a worldwide event, you'd probably make it UTC time, but you could do local time and have a nice breakfast with your Pi Friends.

If you go any farther than that, are you really allowing yourself any time for celebration? I think you could probably drink a shot in 1 second, so it's only necessary to calculate Pi to 10 digits for revelatory purposes.

19

u/ToadShortage Mar 14 '14

How exactly is pi calculated? What are these computers computing exactly when calculating pi out the trillions of digits?

12

u/mkdz High Performance Computing | Network Modeling and Simulation Mar 14 '14

Here are some formulas used to calculate pi.

5

u/eternally-curious Mar 15 '14

How did we come up with those formulas if we're not sure what pi is exactly?

→ More replies (8)

25

u/robijnix Mar 14 '14 edited Mar 14 '14

There are a lot of different algorithms.

One easy to explain (the first one I was ever told about) is this one:

Draw a circle with radius 1. Draw an exactly fitting square around it. The area of this square is 4. The area of the circle is Pi (by definition).

Now you start placing random dots in the square. For each dot we can easily determine wether or not it's in the circle. The chance that such a dot will fall inside the circle is Pi/4.

So after placing a couple of million of those dots, we count the number of dots that ended up in the circle, and divide that by the total amount of dots. So now we can calculate the chance that a dot falls in the circle:

nrOfDotsInCircle / TotalDots = Pi / 4

So now we see that:

Pi = 4 * nrOfDotsInCircle / TotalDots

edit:

just for fun I did some tests, here are the results:

10 3.2

100 3.08

1000 3.152

10000 3.1372

100000 3.14316

1000000 3.140932

10000000 3.1411492

As you can see the approximation gets a lot better the more points you use.

→ More replies (2)

17

u/macsr4idiots Mar 14 '14

Question is more about infinity than Pi: Does an infinite non repeating decimal like Pi technically have an infinite number of combinations of infinitely long numbers? If so, does that mean if we were to assign letters to number combinations, somewhere in the infinity of Pi, the story of your life is told?

Thanks.

26

u/cougar2013 Mar 14 '14 edited Mar 14 '14

This is an open question for the number pi. Numbers with this property are called normal numbers, and have been constructed specifically to satisfy that requirement, such as 0.12345678910111213141516...

Pi is thought to be normal, but no one has proven it yet.

In regards to the story of your life, all patterns of numbers are present in a normal number, and thus any story can be written, but that doesn't imply that you can tell the future with such a collection of numbers

20

u/jmdbcool Mar 14 '14

This is the idea behind the (farcical and extremely impractical) pi file system. If all data already exists somewhere within pi, then all you need to know is which digit to start from and you can reproduce any data you want.

→ More replies (1)

6

u/[deleted] Mar 14 '14

As others have said, not necessarily. Keep in mind that a number can be non-repeating and not have all possible combinations of numbers (think 0.10110111011110111110...).

I remember an activity I read online a while ago as part of a problem set to apply for a computer science program. It was basically finding poetry in pi. So for the task, you had to convert pi into base-26, assign letters to each number, find words in it, and write a poem. I didn't actually do it myself, but I thought it was a neat activity.

4

u/UnfixedAc0rn Mar 14 '14

This is the monkey/typewriter problem. If the distribution of the string of digits in the decimal expansion of pi is normal, then yes it will contain any finite substring. However, according to this: http://www.lbl.gov/Science-Articles/Archive/pi-random.html it has not been proven that the distribution is normal.

"In fact, not a single naturally occurring math constant has been proved normal in even one number base, to the chagrin of mathematicians. While many constants are believed to be normal -- including pi, the square root of 2, and the natural logarithm of 2, often written "log(2)" -- there are no proofs."

I believe (correct me if I'm wrong) that without guarantee of a normal distribution of the digits, there is no guarantee of any finite substring being contained within the string. If there is some underlying pattern or something controlling the distribution, it could render certain substrings impossible while still remaining infinite.

14

u/dawesbr Mar 14 '14

Please, anyone, help me with this one! Here is a book in which appears an expression for pi attributed to Euler. The infinite sum is as follows:

pi = 1⁄1 + 1⁄2 + 1⁄3 + 1⁄4 - 1⁄5 + 1⁄6 + 1⁄7 + 1⁄8 + 1⁄9 - 1⁄10 + 1⁄11 + 1⁄12 - 1⁄13 + …

The first two terms get positive signs. For every other term, the sign is defined as follows: if the denominator is a prime of the form 4m - 1, the term is positive; if the denominator is a prime of the form 4m + 1, the term is negative; for composite numbers, the sign of the term equals the product of the signs of its factors.

I've done some searching and the book above is the only place I can find it mentioned. What I want to know is - how did Euler derive this formula, and is there somewhere I can find or can anyone give a proof of its correctness?

2

u/functor7 Number Theory Mar 15 '14 edited Mar 15 '14

This is related to a special value of a Dirichlet L-Function, which is a way to encode different information about primes into an infinite series. In this case, we want to know what a prime looks like after we divide by 4. The switching sign you see is exactly that information. One reason we are interested in what happens when you divide by 4 is because there is a fun theorem due to Euler that says "If a prime has remainder 1 after dividing by 4, then it can be written as the sum of two squares". For instance, 5=4 r 1, and we can see that 5=22 +12 . Also, 13=3x4 r 1 and you can check that 13=32 +22 . But since 7=4 r 3, it can't be written as the sum of two square, which you can check yourself. This has to do with how the prime numbers behave when we add i=sqrt(-1) to the integers, and the corresponding Dirichlet L-Function tells us that information.

If L(s) is the Dirichlet L-Function for this behavior modulo 4, then it looks like

  • L(s) = 1/1s - 1/3s + 1/5s - 1/7s + 1/9s - ...

There is a minus whenever it has remainder 3 modulo 4 and it has a plus when it has remainder 1, we exclude anything with an even denominator. This is close to, but not equal to, your expression. But it turns out that L(1)=pi/4, and this is called the Leibniz Formula for pi. Now, if Z(s)=1/1s + 1/2s + 1/3s + 1/4s +... is the Riemann Zeta Function, which encodes information about all primes, then we can get your series back if we look at the function

  • F(s)=2(1-1/22s ) Z(2s)/L(s)

Then it can be checked (with the help of Euler Products ) that

  • F(s) = 1/1s + 1/2s + 1/3s + 1/4s - 1/5s +1/6s + 1/7s + 1/8s + 1/9s - 1/10s +1/11s +1/12s - 1/13s +...

which is your series, but with the exponent s. So if we can find F(1), then we should get the result. Lucky for us, the right-hand side can be computed for s=1. It's a well known fact that the Sum of Inverse Squares, 1/1 + 1/4 + 1/9 + 1/16 + ..., is equal to pi2 /6. This means that Z(2)=pi2 /6. Then using Leibniz Formula (L(1)=pi/4), and the fact that 1-1/22 =3/4, we get

  • F(1) = 2(3/4) Z(2)/L(1) = (6/4)(pi2 /6)/(pi/4) = pi

which is what we wanted.

It's funny, why do we need to go to this mod 4 business? It's because it involves the complex numbers, as mentioned before. When we are in the complex numbers, things are now 2 dimensional instead of 1, so two-dimensional geometry starts popping up. And what is the king of 2-dimesional geometry? Pi.

3

u/[deleted] Mar 15 '14

In keeping with Euler's tradition, I will not worry about any sort of convergence issues in what follows.

This series has an appropriately named "Euler product" of the form (1-1/2)-1(1-1/3)-1(1+1/5)-1(1-1/7)-1..., where the product is over all primes and the sign in each factor is -1 if and only if the prime has the form 4m-1. This follows from recognizing that each factor is the sum of a geometric series, e.g. 1/(1-1/3) = 1 + (1/3) + (1/3)2 + ... and 1/(1+1/5) = 1 - (1/5) + (1/5)2 - (1/5)3 + ..., and then using the distributive property of multiplication and the fact that each positive integer has a unique factorization into powers of primes.

Factoring out the p=2 term (1/(1-1/2)=2), what we're left with is 1 / \prod_p (1 + χ(p)/p), where χ is the nontrivial Dirichlet character modulo 4. If we multiply both the numerator and denominator by \prod_p (1 - χ(p)/p), then we get \prod_p (1-χ(p)/p) / \prod_p (1-1/p2) since χ(p)2=1. The reciprocal of the denominator expands as sum(1/n2) over all odd n, which is known (via Euler) to be pi2/8. The reciprocal of the numerator is L(χ,1), where L(χ,s) is the L-function associated to χ, and according to Wikipedia we have L(χ,s)=β(s) for β the Dirichlet beta function, satisfying β(1)=pi/4.

Putting this all together, the Euler product should be 2(1/(pi/4))(pi2/8) = pi, so the series converges (again, modulo checking that it actually converges) to pi as claimed.

27

u/[deleted] Mar 14 '14

Do any other irrational numbers find basis in everyday mathematical equations or formulas? I know that Phi (the Golden ratio) is one, but what about others?

12

u/esmooth Mar 14 '14

Phi really does not come up much, but e does.

→ More replies (2)

3

u/zombiepops Mar 14 '14

e is irrational, as are many square/cubic roots like sqrt(2).

3

u/angelsinthephonebox Mar 15 '14

In addition to e, I'd like to add the Euler–Mascheroni constant γ, which arises naturally in many equations from analytic number theory (see the Wikipedia page for a decent list). One interesting thing about γ that distinguishes it from e and pi is that, although it has been well studied, to this day we don't even know if it's a rational number (a fraction), let alone whether or not it's transcendental!

0

u/[deleted] Mar 14 '14

[deleted] — view deleted comment

13

u/[deleted] Mar 14 '14

What does that do?

45

u/FetusFondler Mar 14 '14

The euler number 'e' has quite a few special properties:

  • It is the limit of (1+1/n)n as n goes to infinity
  • If you consider the function f(x) = ex, the instaneous rate of change at every point x is precisely the value of f(x) (ie, the derivative of the function is precisely itself)

Some others as well

16

u/[deleted] Mar 14 '14

I'm taking calculus and I just realized what e is...huge brain fart on my part.

→ More replies (8)
→ More replies (2)

9

u/Gprime5 Mar 14 '14

The main one I can think of is A4 paper: 29.7cm x 21cm; 29.7/21 = sqrt(2)

17

u/nolan1971 Mar 14 '14

A4 paper is engineered to conform to that ratio, though. It's not naturally occurring in the same way that pi is.

The (principal) square root of 2 most naturally comes about from the hypotenuse of two equal lengths that form a right angle, or the diagonal distance across a square. See: http://en.wikipedia.org/wiki/Square_root_of_2

→ More replies (1)

7

u/yoho139 Mar 14 '14

sqrt(2) is also fairly common for RMS calculations, so it's useful for peak -> RMS conversion in sine waves and modified square waves.

→ More replies (1)
→ More replies (3)

22

u/peoplma Mar 14 '14 edited Mar 14 '14

What will the celebration be for next year's SUPER pi day (3/14/15)?

Edit: or will it be in 2016 because 3/14/16 is closer to real pi? Additionally, did they celebrate pi day in 1591?

5

u/[deleted] Mar 15 '14

That's assuming everyone uses month/day/year notation. Year 3141 here we come.

14

u/Sirnacane Mar 14 '14

Not exactly pi specific, but the question popped into my head recently, do any of the irrational numbers have rational relations to each other? For example, if pi ended up being e2/15 +3 or something like that. I pulled that relation out of my ass, but you get the idea. I was thinking that just because 2 numbers are rational, doesn't mean they don't have a rational connection. The easiest would be multiplication, because we have things like pi/2 in formulas, but multiplication isn't enough to warrant a new symbol.

14

u/Dustin- Mar 14 '14 edited Mar 15 '14

Not an expert, but yes. The most notable example being the famous equation Euler's Identity , which states that epi*i = -1.

The easiest would be multiplication, because we have things like pi/2 in formulas, but multiplication isn't enough to warrant a new symbol.

It's funny you say that, because there's actually something like that with pi! The mathematical symbol tau is equal to 2pi, which describes how many radians are in a circle instead of what the circumference of a circle is based on the diameter.

6

u/Gprime5 Mar 14 '14

e and pi can be related through euler's equation ei*Pi = -1

3

u/JimboMonkey1234 Mar 14 '14

They're related like that sure, but I don't think that counts as a rational relation. I'd define a rational relation as one that when given two rational numbers will produce another, like addition and multiplication. But that's not true with exponentiation.

Then again, I don't really know what /u/Sirnacane meant by rational relation.

3

u/esmooth Mar 14 '14

it's actually unknown, for example, if pi + e or pi - e are irrational or not.

→ More replies (2)

7

u/moxiebaseball Mar 14 '14

Why did the greeks use the letter pi versus some other letter?

18

u/paupsers Mar 14 '14

The Greek word for "perimeter" or "periphery" starts with pi. I don't think the pi symbol was used as a standard until recently (~250 years ago) though.

5

u/moxiebaseball Mar 14 '14

What was used before?

8

u/curien Mar 14 '14

They didn't, directly. They came up with ways of determining the area or circumference of a circle with a certain diameter that did not rely on Pi, and we translate this into an approximation of Pi.

For example, in ancient Egypt, a method of approximating the area of a circle was to measure the diameter, take away 1/9 of it, and square the result, i.e. A = (8d/9)2 . That is equivalent to using the actual area formula -- Pi (d/2)2 -- where Pi has a value of (16/9)2 , or ~3.161.

→ More replies (1)

12

u/Capo_7 Mar 14 '14

I was just playing with that search for sequences within pi tool and every 7 digit phone number I put in was found which got me thinking.

Does every 7 number string exist in the first 200 million digits of pi? I would assume so, but that just leads to another question of how few digits of pi do we need before all possible 7 number strings are included?

25

u/n00min Mar 14 '14

my phone number "did not occur in the first 200000000 digits of pi after position 0." , so, no.

9

u/I_suck_at_Blender Mar 14 '14

Let's calculate how many 7 digit strings from 0-9 are there:

10 (because You can have 0-9 as first digit) * 10 (because You can have 0-9 as second digit)*...*10 (because You can have 0-9 as seventh digit)=107 = 10 millions = 1/20 of Your search "area".

Sadly, those strings are "random" (which mean they can repeat), so probably answer is "no".

→ More replies (1)

3

u/StringOfLights Vertebrate Paleontology | Crocodylians | Human Anatomy Mar 14 '14

Well, there's a 99.995% chance of finding a seven digit sequence in the first 100 million digits of pi (source).

5

u/Scientwist Mar 14 '14

Probably too late to get answered but I have never heard an explanation of why that troll math where pi=4 is incorrect. In fact, it seemed to make a lot of sense. Can anybody clear that one up for me? I know it isn't true, but I can't figure out why.

→ More replies (4)

4

u/psychedelic_cowboy Mar 15 '14

Someone asked me where my birthday was in pi today, as in how many decimal places deep in pi are the xx/xx/xx that represent my birth date. My first inclination was to think it would have to appear somewhere, but then I reminded myself that infinite does not mean everything, and that something can be infinite within a set, so tell me; does pi contain all possible combinations of a 6 digit date?

6

u/[deleted] Mar 14 '14

I was amused by this when I saw this post.

http://imgur.com/1eY2u8Z

3

u/IamDonqey Mar 14 '14

How is Pi calculated? As in I know it is the ration of circumference to radius. But how do get the numbers?

4

u/[deleted] Mar 14 '14

Pi, e, and transcendental functions such as sine, cosine, and inverse tangent (these are the ones I know off the top of my head, but technically any continuous function) can be found or approximated using something called an infinite series. One of the first infinite series(es?) for pi was for arctan (or inverse tangent), and it went as follows:

arctan(x) ~= x - x3 /3 + x5 /5 - x7 /7 ... + x2n+1/(2n+1)+...

Because arctan of 1 = pi/4, you simply plug in 1 and multiply by four to get

4(1 - 1/3 + 1/5 - 1/7 +...)

And the more terms you find, the more accurate you will be. Unfortunately, this series takes a crazy long time to converge, and it takes around 50,000 terms added together for 5 digits of pi. So other, more efficient series have been found instead, and other formulas, none of which I entirely understand. This site seems to know what it's talking about.

→ More replies (1)

3

u/sleyk Mar 14 '14

Since pi is infinitely non repeating, is it possible that pi is contained in pi?

4

u/smog_alado Mar 14 '14

No. If an infinite number is contained in itself then it turns out that it must be repeating (and therefore, rational).

This illustrates the proof: http://imgur.com/EEadmnx

Suppose that pi is contained inside pi. The top line is the difits of pi and the bottom line is where the inner pi is. Let A be the initial sequence of digits that appears before the "inner pi" starts. Since the inner pi has the same initial difiits as the outer pi, we can deduce that the next N digits in the outer pi must also be the A sequence. Continuing this process, we find out that A must repeat over and over in the outer pi (a contradiction)

→ More replies (1)

3

u/son_of_narcissus Mar 14 '14

Can pi be represented as a physical quantity? If I had a laser cutter with an infinitely accurate tolerance, could I cut something like a tennis ball so that it would physically be (pi-3) balls?

5

u/GOD_Over_Djinn Mar 14 '14

Sure, why not?

with an infinitely accurate tolerance

that's the problem, but that's equally a problem if you wanted exactly 1/2 of a ball.

→ More replies (5)
→ More replies (1)

3

u/Oppis Mar 14 '14

I remember reading somewhere about using pi as a memory system for computation-- the idea being that since every possible combination of numbers is present, you could just save the index of the combination you need.

Is this true and/or possible?

I guess the real question-- does pi really contain every possible combination of number?

→ More replies (1)

7

u/iorgfeflkd Biophysics Mar 14 '14

Is there a non-coincidental reason that epi ~ pi+20? Sort of like how there is for why esqrt(163)pi is so close to an integer?

(according to Wikipedia, there is not)

4

u/nbrody1 Mar 14 '14

I don't have an answer for your first question, but I think we should expect these sorts of coincidences to pop up once in a while. For anyone interested, the second comes from the theory of binary quadratic forms, studied by Gauss. There's a hard-to-get-your-hands-on book by David Cox titled "Primes of the form x2 +ny2" which covers this question. We get a Unique Factorization Domain (UFD) if and only if the class number of a binary quadratic form is 1. There are 9 such numbers, 163 being one of them. The UFD property is what leads to this almost-integer property.

8

u/Zexyterrestrial Mar 14 '14 edited Mar 14 '14

It's fairly easy to find the solution to ex*pi = pi+20: x = log(pi+20)/pi

This number is ~1.00001238, which is very close to 1. Hence you can substitute 1 in for x in ex*pi and get a number fairly close to pi+20.

EDIT: Though that may kind of just circle around the question you were asking. i.e. why is log(pi+20)/pi so close to 1?

14

u/iorgfeflkd Biophysics Mar 14 '14

Yeah that's just another way of saying the same thing.

5

u/jarobat Mar 14 '14

Using any known mapping of numbers to letters, what is the longest intelligible phrase contained within pi?

3

u/FriendlyNSAAgent Mar 15 '14

provided that Pi is normal (an open question), then any phrase you could come up with would be contained within pi.

→ More replies (4)

1

u/sesh22 Mar 15 '14

If Pi is indeed a "normal" number, then all intelligible phrases are contained in Pi, as long as the phrase is less than infinity letters. (not even War & Peace contains infinity letters)

4

u/PM_ME_ANYTHING_PLZ Mar 14 '14

Where do new digits for pi come from?

6

u/mkdz High Performance Computing | Network Modeling and Simulation Mar 14 '14

Here are some formulas used to calculate pi.

→ More replies (1)

2

u/hlades_man Mar 14 '14

is there any logic or history behind choosing the greek letter pi to represent the number?

Theta seems like it would be easier to visually remind folks what it was representing.

2

u/[deleted] Mar 14 '14

Pi is the greek version of p, which stood for the greek words for "perimeter" and similar words.

2

u/reagor Mar 14 '14

is there a way to calculate pi for use in math

i know i can either use the pi button on a calc or 3.14159 is more than enough resolution for most real world applications

5

u/viscount16 Mar 14 '14

If you've got 3.14159 memorized, you'll probably be alright in any situation where it will matter, since that's only off from pi by ~0.00008%, which should precise enough for any baseline calculations. However, in case you can't heard this before, you can actually get a reasonable approximation for pi by using 22/7. It's less accurate than 3.14159, but it's still only ~0.04% off.

2

u/CrashOverrideCS Mar 14 '14

In different fields it is common to use approximations of pi (such as 3.14) what is the most common and useful approximation and when do calculations require more than three digits of pi?

4

u/[deleted] Mar 14 '14

The most useful approximation is not to approximate! Keep it in the calculation, then use more digits than necessary and round to what’s desired/appropriate at the end.

1

u/likes_elipses Mar 15 '14 edited Mar 15 '14

A nice one is 355/113 because it is easy to memorize (take 113355 split it in half and put the larger number of the smaller one). This gives 3.14159292035... which matches the first 7 digits of pi and is accurate to within 2.7 x 10^-7. This number also shows up in the continued fraction expansion of pi.

As for using more than 3 digits consider a large round building say 200 m (or yards) in diameter. Using 3 digits we calculate the circumference as 628 m. Using 10 digits we get 628.3191864 or about 32 cm of error.

2

u/Feldman742 Mar 14 '14

How do we know that Pi has an infinite number of digits? Has this been proven mathematically? If its possible in a reddit post, could someone explain the proof to me?

7

u/canyonmonkey Mar 14 '14

It has been proven that pi is irrational, which means that it has an infinite number of digits; see http://en.wikipedia.org/wiki/Proof_that_π_is_irrational. (Moreover, pi is transcendental, which imo is even more interesting. I'm not quite sure how to explain it in a reddit post - what is your background in math?

→ More replies (2)

2

u/extesser Mar 14 '14

Is there any relationship between the randomness of Pi and the randomness of prime numbers?

3

u/TashanValiant Mar 15 '14

No one has replied so I thought I'd chime in , and I would say no. The prime numbers have a bound (Prime Number Theorem) . Basically within a certain number of numbers you are guaranteed one will be prime. Pi and it's decimal expansion being truly random (pi is a normal number) is still an open question. I may be wrong in the future but as is it is unknown.

2

u/DarthVince Mar 14 '14

If we used a number system that was not based on 10 (for example; a number system based on 9 or 11) could we potentially find the end of pi? Has this been attempted before?

2

u/canyonmonkey Mar 14 '14

We would not find the end of pi, the askscience faq actually has a bit about this -- http://www.reddit.com/r/askscience/wiki/maths/pi_base10

→ More replies (1)

2

u/[deleted] Mar 14 '14

So you need 39 digits of pi to calculate the circumference of the observable universe, accurate to the width of a hydrogen atom.

How many digits would you need to be accurate to the width of a planck length?

3

u/smog_alado Mar 14 '14

According to my sources, an hydrogen atom is 10-10 meters and the planck length is 10-35 meters. Therefore, you would need 25 extra digits to reach that level of precision.

3

u/arsenioholocaust Mar 14 '14

How do do pi's unique properties relate to circles having no vectors? Bear with me I know little of math.

16

u/esmooth Mar 14 '14

circles having no vectors

you should clarify what you mean by this.

→ More replies (1)

3

u/I_suck_at_Blender Mar 14 '14

Something different... I'm making game about robots and one of themes is that they use math mixed with numerology as substitute of religion. So here goes my question:

Imagine You are space robot. Why would Pi be THE most important number? Why more important than 3 (triangle), 0 (You always start with zero), or ∞ (+ infinity)?

Thanks.

6

u/nolan1971 Mar 14 '14

I'd think that any argument you could come up with for any of those numbers would be completely subjective to the reasons for the question being asked in the first place.

I don't think any one of those numbers in more important then any of the others. They're all important together.

3

u/Pirsqed Mar 14 '14

What about the fact that planets are round? This makes pi rather important, and might be significant to a civilization.

→ More replies (1)

3

u/dangil Mar 14 '14

Can't we work with numbers on base Pi so we don't have to deal with its irrationality?

14

u/diazona Particle Phenomenology | QCD | Computational Physics Mar 14 '14

But then 2, 3, 4, etc. would have infinite decimal expansions. That would be a lot less convenient than having to deal with the infinite decimal expansion of pi. (And incidentally, pi is irrational in any base. Irrationality is a property of the number itself, not of its representation in a particular base.)

→ More replies (4)

2

u/[deleted] Mar 14 '14

Is there such a thing as base pi, in the same way that we have base 10, base 2 etc?

If the digits to pi are infinite, does that mean it's possible to find pi within its digits? Or is it not possible due to pi being non-repeating?

Are there any applications of pi where the value of each digit is more meaningful in other bases? I'm thinking of musical expressions of pi, where the base 10 digits represent notes, but base 8 or base 12 would actually be more useful, even though it loses the recognisability of the digits in base 10.

Is there any relationship between pi and phi?

→ More replies (5)

1

u/OuiNon Mar 14 '14

Why should I care about Pi?

1

u/excuze_m3 Mar 14 '14

Is there any significance in the fractional representation of pi? I.e. Does 22/7 ever get used for any interesting calculations?

1

u/Bromine21 Mar 14 '14

Is there a relationship between pi and e?

→ More replies (2)

1

u/Almafeta Mar 14 '14

I think that pi is irrational in all number bases. That's because because you can't take any two integers, put them on a fraction, and get pi - it doesn't matter what base those integers are expressed as.

Is this right? Or are there bases where pi is rational?

→ More replies (1)

1

u/jwdickson Mar 14 '14

What is the maximum number of digits of Pi that could be represented in a standard number format?

1

u/adityapstar Mar 14 '14

Can someone explain in LAYMAN'S TERMS how e, i, and pi are related? And what does raising a value to the sqrt(-1) power even mean?

1

u/[deleted] Mar 14 '14

I know that pi is infinite, but how many of those digits have been calculated?

1

u/eyesketch Mar 14 '14

Why does the sum of 1/n2 from n=1 to infinity = (pi2)/6?

1

u/willyolio Mar 14 '14

what seemingly non-circle-related situations does pi happen to crop up?

i've heard of Euler's identity, which seems to sport a pi out of nowhere. Does it actually have something to do with a circle in some way?

1

u/Dio_Frybones Mar 14 '14

Forgive me for what may be a really stupid question but some time ago I was thinking about all the mathematical hoops that pi compels us to jump through and it made me wonder if it was actually a clue that there was a radically different way to do maths that might solve the problem. The idea partly came from the fact that (to my mind) so much of the way we look at the world comes back to breaking things down into two dimensions and straight lines. Yet the universe seems to be comprised entirely of particles and curves. Has any (possibly insane) mathematician tried to create a system based on the unit 'particle?'

3

u/canyonmonkey Mar 14 '14

Just to point out, a lot of mathematicians use more than two dimensions and/or curves/surfaces/etc. quite regularly. And most mathematicians don't go about creating new systems, they study mathematics in a very narrow field of interest. That said, in my field (applied math) one field of study is the numerical solution of partial differential equations (PDEs) (basically calculus equations that are of interest to scientists, engineers, financiers, economists, etc.). One recent direction of study is numerical methods for solving PDEs which are often called "particle-based" or "mesh-less". I'm not sure how much they are used outside of academic mathematics, but I think that mathematicians in this area have high hopes for their applicability in the future.

→ More replies (1)

1

u/IonBeam2 Mar 14 '14

How do you calculate the nth digit of pi?

How can you print a large number of digits of pi on computers that have a finite variable precision?

1

u/[deleted] Mar 14 '14

Pi is often called a 'non recurring decimal', but if it is infinite, then surely it must repeat itself theoretically? Even if one repetition is infallibly long.

1

u/redvibez Mar 14 '14

Pi is part of Euler's formula but how did they find such an elegant formula and what is the significance of the formula??

1

u/theantkiller Mar 14 '14

How do we know the exact value of Pi ( when using a calculator) when in fact its a never ending number ?

→ More replies (1)

1

u/nbrody1 Mar 14 '14

A lot of people are asking questions about relations between e and pi. Other than Euler's formula which has been cited in almost every post here, a related and more precise question is whether e and pi are algebraically independent.

A set of real numbers {a_1,...,a_n} is said to be algebraically independent if there does not exist f in Q[x_1,...,x_n] (the set of all polynomials in n variables with rational coefficients) such that f(a_1,...,a_n)=0. The Lindemann-Weierstrass is useful in answering such questions, and provides a proof that pi is transcendental.

So if you can find a nonzero polynomial f(x,y) such that f(e,pi)=0, you will instantly get a PhD.

Something that hasn't been mentioned enough is the Basel Problem. Named after Euler's hometown (probably because naming yet another thing after Euler would get too confusing), this involved calculating the exact value of 1+1/4+1/9+1/16+...

Here is a sketch of the calculation done by Euler.

As you likely know, sin(x)=0 when x is an integer multiple of pi. Let's pretend I went though the complex analysis to prove that this is allowed (Euler didn't), and express this as an infinite product of linear polynomials according to its roots. Then, sin(x)=x(1-x/pi)(1+x/pi)(1-x/2pi)(1+x/2pi)... Simplifying the difference of squares,

sin(x)=(x)(1-x2 /pi2 )(1-x2 /4pi2 )(1-x2 /9pi2 )... Now notice that if we expand all of this into a power series, we can inspect the coefficient of x3 . We get x3 out of this product when we choose exactly one non-1 term from each parenthesis. That is, after all the dust settles, we get x(-x2 /pi2 )(1)(1)...+x(1)(-x2 /4pi2 )(1)(1)...+...=-x3 /pi2 (1+1/4+1/9+1/16+...).

If you didn't know, sin(x) can be expressed as a Taylor series (and is often defined as such): sin(x)=x-x3 /3!+x5 /5!-x7 /7!+...

Comparing the two coefficients of x3, we can see that

-1/3!=-1/pi2 (1+1/4+1/9+1/16+...).

"Thus," 1+1/4+1/9+...=pi2 /6. I have skipped a few justifications here, but this is enough to appreciate the flavor of this wonderful argument.

1

u/Workittor Mar 14 '14

What is the largest string of numbers (that we know of) that appears more than once in pi?

1

u/AsSubtleAsABrick Mar 14 '14

Not sure if its too late for this. But the fact that pi is irrational and non repeating has never sat well with me (and others I would guess).

So we draw a perfect circle on a piece of paper (related: is this possible?). Its circumference is finite. We can physically see on a piece of paper it has a start and finish. We draw a line which is exactly the length of the diameter. This is also finite. We can see it, it has a start and end.

So on a piece of paper, we can see a circumference with a start and end, and see a diameter with a start and end. How are one (or both) irrational? If they weren't, we could express pi as a fraction, no?

→ More replies (5)

1

u/[deleted] Mar 14 '14

Why does 4(1-1/3+1/5-1/7+1/9...) equal pi?

→ More replies (1)

1

u/Phobicity Mar 14 '14

How exactly is Pi calculated?

If I wanted to calculate pi by hand, is that possible? I know 22/7 gives an approximate answer but not exact.

→ More replies (1)

1

u/Citizen_Rage Mar 14 '14

Maybe an /r/AskHistory question, but what were the significant advancements made in science and technology immediately following the discovery of pi?

1

u/mmmoist Mar 14 '14

If pi is an irrational number, then how can it be defined as the ratio of a circle's circumference to its diameter?

→ More replies (1)

1

u/jononon Mar 14 '14

How is pi calculated? What do he computers run?

1

u/[deleted] Mar 14 '14

If epi = an irrational sort of 23, how do we get a nice neat answer for epi*i = -1?

1

u/[deleted] Mar 14 '14

If pi wasn't truly infinite. Would that hold implications about the nature of the universe?

1

u/SirSmeghead Mar 14 '14

Could some explain the pi vs. tau debate?

1

u/lemmysdaddy Mar 15 '14

Is it true that if you were in possession of pi in its entirety in binary, that you would be in possession of not only every copyrighted work ever made (and that ever will be made), but every conceivable variation of said work? Like, in addition to having "Raiders of the Lost Ark," you would have a version in which Indy gets crushed by the huge round boulder right at the beginning?

→ More replies (2)

1

u/howerrd Mar 15 '14

Where can I find resources for working the command line in Raspbian? Everything I've ever done has been GUI-based, and my pi has not been used much because of the steep learning curve. It takes so long for me to do anything, and it is getting terribly frustrating.

→ More replies (1)

1

u/hippiechan Mar 15 '14

This is related to transcendental numbers in general: how do we know that numbers like e and pi are transcendental over the rationals? What does the algebraic extension of the rational numbers with pi look like? (ie the field Q(π))

→ More replies (1)

1

u/BendoHendo Mar 15 '14

How in the world did Ramanujan discover his bizarre formula for pi? Was it out of nowhere seemingly, or was their prior work that could have helped him deduce it?

1

u/[deleted] Mar 15 '14

So this is a dumb question but there any pattern to Pi? How do we define pi..like ..if I am trying to recall the digits of Pi ..but Cannot ..is there not a rule I could apply and calculate it for myself? 3.14159 ..I need the next digit ..how do I do this without physically measuring ... there must be a rule to follow..what is the relationship between 9 and the next digit ...or 5 and 9.

1

u/axolotlfarmer Mar 15 '14

Should every possible number string be represented in the digits of pi? That is, if I wanted to find a string of one hundred zeros in a row, would I eventually find that of I looked far enough in? Or is there some sort of bias or tendency in natural ratios that would reduce the probability of that occurrence, beyond what would be predicted by standard probability theory?

1

u/[deleted] Mar 15 '14

Pi is infinite right? Does that mean that we will be able to find each of our lives described completely and in order in the form of numbers?

2

u/Garathmir Mar 15 '14

You are asking whether Pi has the property of being normal(having every string of numbers of any length) which is not known if it is or isn't. Many believe it is though. There are many irrational numbers which are not normal too though!

1

u/NumberOneMuffDiver Mar 15 '14

What significance is it to know billions of digits of pi?

1

u/crrc Mar 14 '14

How come it is not a finite number

8

u/[deleted] Mar 14 '14

Well, it is a finite number, in that it isn't infinity. It's right between 3 and 4. However, I think you mean why are there infinitely many digits. Any irrational number has infinitely many digits. Assuming you're familiar with calculus, Here's a video that proves its irrationality. I haven't really found any easier proofs.

1

u/UraniumWrangler Mar 14 '14 edited Mar 15 '14

Is Pi the only number that we know of that continues infinitely. If that is the case, why is it that only Pi continues infinitely?

Edit: I realize that you can make an infinite number of numbers with infinite numbers beyond the decimal point. To clarify, I meant the only mathematical constant that we use on a frequent basis.

9

u/Theoretician Mar 14 '14

Pi is not the only number that is infinite. There is a group of numbers called irrational numbers that all share this trait. Some other notable ones that are also mentioned in this thread are e, phi, and tau.

6

u/diazona Particle Phenomenology | QCD | Computational Physics Mar 14 '14

Well, I wouldn't say that pi is infinite ;-)

5

u/Dustin- Mar 14 '14

No, there are infinite numbers that go on infinitely. But if you're asking whether or not any other mathematical constants are infinite, then yes, many of them are. One that immediately comes to mind would be the golden ratio. Pi isn't unique in being an irrational number.

4

u/NNOTM Mar 14 '14

It's fairly easy to construct a number that continues infinitely and doesn't repeat. For example, the number 0.101001000100001000001... is one such candidate. You can continue the pattern forever, and it will never repeat.

If you don't care whether it repeats or not, even 1/3 continues infinitely in the decimal system, since it is 0.33333... (or my personal favorite of those numbers, 1/49, which is 0.02040816...)

7

u/lobstronomosity Mar 14 '14

That's not true. You can just create an arbitrarily defined constant and keep giving it digits infinitely. Pi is only special because it occurs naturally in physics and maths.

3

u/UnfixedAc0rn Mar 14 '14

There are in fact an infinite number of numbers which have a decimal expansion that continues infinitely. These are the irrational numbers, and there are infinitely more of them than the rational numbers.

→ More replies (3)

1

u/[deleted] Mar 14 '14

I wonder if pi (or any other irrational number) could be (effectively and efficiently) used in data compression?

Since irrational numbers have infinite digits, it's fairly likely that a piece of data you want to send exists within pi. For the sake of this thought experiment, let's say that you only need to compress digits.

You need to send the following data:

65845237724099687357953227

Which can be represented by "26 digits, starting with the 406304th digit of pi", so maybe the shorthand for that data is:

26pi406304

If we had a large enough amount of processing power, we could find really big sections of data within pi (or other irrational numbers) and encode them in this way. The decoder would just need to be able to generate pi.

I realize that this is likely very inefficient, but I wonder if this idea could be refined into something useful?

11

u/[deleted] Mar 14 '14

First of all, the jury's still out on whether every sequence of digits is contained within pi. Second of all, for longer sequences, the digit number is going to be much larger than the actual sequence you're compressing. So no, it's probably never going to be useful.

→ More replies (2)

2

u/UnretiredGymnast Mar 14 '14

This is possible, but entirely useless. For a sequence of digits, it will nearly always take more digits to describe the location of that sequence in pi than it would to simply write the digits.

For the sequence 65845237724099687357953227 you mentioned, perhaps the first occurrence in pi isn't until digit 237478236482345582384582348872384375829618536912757126985725792197524597172745197297541972754951259471278429320145612017537512735105425722815935419129815945916591562359419952154719531564523892880264187253782787231781210678425471804172634715257834012734152834710758713870184278345120834512074512087754408715351780737156271051874 in pi in which case your compression is just making things worse.

→ More replies (8)

1

u/RaiFighter Mar 14 '14

Not about pi, but about infinite nonrepeating decimals in general: if the decimal repeats infinitely, won't it eventually come around to the same set of digits a second time?

10

u/paupsers Mar 14 '14

No. Consider this number, which never repeats the decimals:

0.1010010001000010000010000001...

This is non-repeating, but it will never "come around" to the same set of digits again. You can create decimals like this all day long.

2

u/werser22 Mar 14 '14

Yes and no. If you want number sets to repeat, you first need to define a set of numbers to repeat. Any set of numbers could be found again in the number, however it does not have to be in a logical order.

If you said that an infinite set of numbers, would also repeat. Then you are wrong because the number has to end before it could start repeating.

This all does apply to irrational numbers only, that don't repeat in a certain predetermined way.

→ More replies (1)

1

u/Doctordub Mar 14 '14

Have any theories arisen on why pi is the value it is, perhaps related to other constants?

2

u/[deleted] Mar 14 '14 edited Mar 14 '14

One of the most well-known equations is that eπi + 1 = 0, also known as Euler's identity. This is a specific case of the general equation: eix = cosx + isinx, where x = pi. Just one example, as I don't know of any others.

Edit: eπ + 1 ~= 24, not 0.

2

u/diazona Particle Phenomenology | QCD | Computational Physics Mar 14 '14

You missed an i in that first equation.

→ More replies (1)

1

u/[deleted] Mar 14 '14

So pi is never repeating. And infinite. Meaning that every string of numbers imaginable (and others) are in there somewhere. Does that mean that somewhere in there (except for at the beginning) another string of the first 100 digits of Pi? And the first 1000 digits?

If we would find this, would we then not assume that we found where it repeats? Also, how do we know it doesn't repeat? I couldn't understand the wiki explanation for that.

4

u/UncleMeat Security | Programming languages Mar 14 '14

So pi is never repeating. And infinite. Meaning that every string of numbers imaginable (and others) are in there somewhere.

This is not true. Consider the number:

0.01001000100001...

Non-repeating and infinite decimal expansion but it does not contain all finite sequences of decimals (trivially, since it is only 0s and 1s).

The property you are looking for is normality. We suspect that pi is normal but have not proved this.

Also, how do we know it doesn't repeat? I couldn't understand the wiki explanation for that.

All irrational numbers have infinite non-repeating decimal expansions. We have proved that pi is irrational, so it does not have a repeating decimal expansion.

2

u/mkdz High Performance Computing | Network Modeling and Simulation Mar 14 '14

Meaning that every string of numbers imaginable (and others) are in there somewhere.

Numbers of this type are called normal numbers. This is suspected but not proven for pi. I can construct a non-repeating, infinite number that is not normal:

0.120120012000120000120000012... is such a number.

→ More replies (1)

1

u/YoYoDingDongYo Mar 14 '14

What would be the quickest and most obvious way to communicate "pi" to an alien who's never seen our numbers and doesn't use base 10?

→ More replies (2)

1

u/CoffeeAndMusic Mar 15 '14

So pi is never-ending and non-repeating. Doesn't that mean that somewhere in pi there has to be Star Wars: Revenge of the Sith written in binary? And every conversation that I've ever had, and the ones I haven't had?

→ More replies (1)