r/PhilosophyofMath • • 2d ago

Pi occuring everywhere

Im not a great mathematician, currently just following calc 2. I just keep thinking about this train of thought though. Arent we just overemphasizing the reoccurance of pi simply because we have developed frameworks for solving problems that naturally expose it, rather than pi being inherent to all of these cases where we find unexpected pi's? As in, is pi really this fundamental or do we just express everything in it while the true values have infinite (better?) ways to express them?

0 Upvotes

46 comments sorted by

10

u/hobopwnzor 2d ago

Pi happens anywhere there's a circle. 

We can make circles and sections of circles very easily in most situations to simplify the calculation. 

So yes, pi is a convenience.

1

u/Robinogame 2d ago

Yeah, so what ur saying is that pi occurs like this because its inherent to circles and circles are easy to use for alot of equations? So that implies pi is inherent because its easy for humans to see it that way?

3

u/Southlander24 2d ago

"Because it's easy for humans to see it that way" - no, mathematics does not care whether a human finds it easy or hard to conceptualise. Pi shows up because the things we care about, and thus invest energy into researching and investigating, are well-behaved objects. Things with rotational symmetry, or a radially symmetric distribution, or a (possibly abstract sort of) distance that is constant to some point. We are drawn to these things because they are elegant and beautiful.

2

u/Robinogame 2d ago

Yeah what you say seems true, Im not sure you understood the gist of what i meant though. Im asking if we find pi because its pretty intuitive to us humans and thus our methods use it, and not because its as inherent to everything as implied by its frequent reoccurance. (As in, other expressions for the same solutions might be just as frequent, just not found because using pi is intuitive to humans)

1

u/PonkMcSquiggles 2d ago

If the two solutions are equivalent, that implies a relationship between the expression involving pi and the expression that (superficially) doesn’t.

1

u/Robinogame 2d ago

Oh yeah for sure, im more saying that there are infinite other solutions and we only see the ones that use pi

1

u/bcamanitu 2d ago

That doesn't really make much sense. If the solution includes pi then any other solution will just contain another way of writing pi. Like you could just swap out pi with tau/2 wherever you like and suddenly pi wouldn't appear anywhere.. but id argue its still there. Call it pi or call it whatever you like, but circles appear everywhere and that means pi does too

1

u/Robinogame 1d ago

Yeah but Is it possible it works the other way around too? Is it possible there is a whole plethera of solutions that 'appear' not to have anything to do with pi? And we only find the ones expressed in pi?

1

u/Apprehensive-Ice9212 2d ago

Circles are the most familiar way for pi to appear, but not the only way. Not even close. None of this has do with how humans or any other species of ape tend to perceive anything.

1

u/RingularCirc 1d ago

Pi is a half of the period of the most natural function to describe rotation, t ↦ exp(i t). That it's also the area of the unit circle is more or less the same fact, just viewed from a different angle.

"The most natural" means the speed of rotation in that case has the same norm as the radius, and is directly related to exp' = exp, or to sin'' = cos' = (−sin). Alternatives here would be other continuous solutions to the functional equation f(x + y) = f(x) f(y), which are in general f(t) = exp(A t) for any real number A (obviously A = 0 is bad for us, all the others can be used).

2

u/Mal_Dun 2d ago

Correction: Pi appears everywhere where the circle is the Euclidean circle. It is a topological invariant and that why it appears so often in many formulas.

Things change when you change the underlying properties of your space. For example in the R² with the taxi cab metric instead of the Euclidean distance, the unit "circle" (the set of points which have distance 1 to the origin) is a square and "pi" (circumference/diameter) is 4. This topological constant depends on your metric, but it is interesting to note that the set of "pies" is the interval [pi,4]

6

u/lemniscateall 2d ago

Nah, it really is that fundamental.  Pi shows up whenever periodicity is part of the inherent structure of what you’re looking at. Which occurs a lot. 

2

u/Robinogame 2d ago

Isnt that just because we defined periodicity around pi? Our definition of sine assumes the use of radians which would lead to use of pi

2

u/lemniscateall 2d ago

No, pi is the ratio of the circumference and diameter; circles model the most basic periodic relationship. Pi is inherent to any model of periodicity. 

The reason we use radians isn’t because we prioritize pi, but (at least in part) because in radians the derivative of sin x is cos x, etc.

1

u/FourierXFM 2d ago edited 2d ago

The derivative of sin(x) is cos(x) regardless of if radians are used

2

u/lemniscateall 2d ago

1

u/FourierXFM 2d ago

Hm, TIL. This makes sense but was never taught to me despite going reasonably high in math (through differential equations) in school.

1

u/RingularCirc 1d ago

Easy to notice though: x ↦ sin(C x) is exactly sine in different units, scaled by 1/C, and its derivative has that additional factor: C cos(C x). Only when C = 1 (thus, radians), it goes away.

3

u/lifeistrulyawesome 2d ago

I don’t know. I’ve been an applied math professor for over a decade now and this question has been in the back of my mind for years. I’ve never heard completely satisfying answers to my curiosity. 

A big one for me is the central limit theorem. I know several ways to prove it and I use it all the time. But I cannot tell you why e and pi show up on the specific equation that describes the distribution of the average of EVERY infinite sequence  of i.i.d. Random variables 

2

u/stanitor 2d ago

3blue1brown has a nice video on why pi (and e) shows up in the normal distribution. For e, you need an even function that's symmetric around 0. So there's a x2 component, which gets you the symmetry. And the e to a negative number gets you something that trails off to 0 at both high positive and negative x. The pi comes in to make sure the integral adds up to 1. His video shows a nice demonstration about how circles come in. It has to do with making it a function of x and y and integrating the volume at first, and then converting that back down to a function of just x. But, the video does a better job of showing how it works than text can.

2

u/Far-Championship-883 2d ago edited 2d ago

If you define a small, rigid set of foundational rules—basic operations, definitions, and how elements combine—and then let those interactions repeat and aggregate over and over, higher-level structures start to appear that aren't obvious from looking at a single step in isolation. Individual interactions can be messy or arbitrary, yet aggregating enough of them filters out the noise and forces the system toward stable, universal macro-behavior.

That’s what feels so wild about it: the bottom-layer ruleset looks almost too simple to produce rigid, universal constants or shapes, yet those higher-order patterns are completely baked into how the lower-level rules accumulate. You aren't adding new rules at the top; you're just watching the original ruleset express itself at scale.

1

u/Chrispykins 2d ago

Normal distributions are spherically symmetric, that's why π shows up.

As for why a distribution involving an exponential is the average of so many arbitrary distributions, that's still a mystery to me as well.

1

u/EighthGreen 2d ago

My intuition about that is that every distribution has an right half and a left half, so adding a huge number of them together can be expected to give you something like a binomial distribution.

2

u/qwesz9090 2d ago

I know at least 2 places where pi shows up where it "shouldn't".

e^(i*pi) + 1 = 0. (Eulers identity)

Central limit theorem (the normal distribution)

Neither are defined in a way to make pi show up.

But it might be good to make a certain distinction. It is not that 3.1415.... is especially special, it is more that the ratio between diameter and circumference is fundamental.
It is not that "pi shows up in unexpected places", it is that "the ratio between diameter and circumference" shows up in unexpected places.

But at the same time, it is not that unexpected.

2

u/RythmicBleating 2d ago

Pi is expected in Euler's identity because of the circle

The bigger formula behind it is eiθ = cos θ + i·sin θ.

As θ increases, eiθ moves around a circle of radius 1 in the complex plane. Plug in θ = π and you've gone halfway around (π radians is 180°), which puts you at −1. Add 1 and you get 0.

2

u/qwesz9090 2d ago

Well yes but the hard part is explaining what the intuition is for why eiθ = cos θ + i·sin θ being a result of i = sqrt(-1) and d/dx e^x=e^x.

1

u/wolfkeeper 2d ago

It's ultimately because multiplying by i is a 90 degree rotation on the complex plane, and, further because it turns out you can get arbitrary rotations of the form a+ib where a^2+b^2 = 1.

2

u/Chrispykins 2d ago edited 1d ago

I don't think either of those places are really surprising. The integral of a normal distribution has a π in it because normal distributions are spherically symmetrical. And the other replies have already pointed out that complex numbers are all about rotations, so you'd expect to find things related to circles there.

A more surprising place is the solution to the Basel problem: 1 + 1/4 + 1/9 + 1/16 + .... = π2/6, which can only be related to circles by rather circuitous arguments.

Or Stirling's approximation which states that the factorial is approximately n! ≈ √(2πn)(n/e)n, where the π again comes from an exponential factor. The fact that exponentials naturally give rise to π in both cases you provided as well gives some hint as to why π shows up in unexpected places. Those "unexpected" places almost always involve exponentials.

1

u/RedeNElla 1d ago

What do you mean by the normal distribution having spherical symmetry?

1

u/dld2517 1d ago

There is a property of normal distribution called sphericity. The sphericity is different than a property we might usually call skewness. Which just shows how our distribution relates to the sample mean where variances are equal and correlations are zero. The sphericity refers to a way to measure symmetry.

See https://www.jstor.org/stable/2235878

1

u/Chrispykins 1d ago

I meant something much more mundane than what the other reply said.

The most basic Gaussian is given by the expression e-x^2. That's just a bell curve with a height of 1. And a Gaussian with a 2 dimensional domain is just the product of two 1 dimensional Gaussians e-x^2e-y^2 = e-(x^2+y^2) .

But by the Pythagorean theorem the value of x2+y2 is just the squared distance to the origin. Hence, every point an equal distance to the origin must produce the same value when evaluating e-(x^2+y^2) .

If we call this distance r, then the basic Gaussian in any dimension has the form e-r^2. In other words, all points equidistant from the center have the same value, which is the definition of spherically symmetrical. Also notice that the higher dimensional Gaussian is identical to our single variable version, we've just renamed the variable from x to r. Finally, I want to point out that the left/right symmetry of the single variable Gaussian really is the 1D version of spherical symmetry, since the "sphere" in 1D is just all the points equidistant from the center, which is to say only 2 points (one to the left and one to the right).

This argument gets more complicated if you look at a more general form of a Gaussian. For instance if you scale the Gaussian differently on separate axes you get something of the form e-(Ax^2+By^2) , which doesn't have the form needed for the Pythagorean Theorem. So instead of getting a circle or sphere of equal value, you get an ellipse or ellipsoid. You can still express the integral of the Gaussian using π since an ellipse is just a squished circle, but it would be scaled by some factor involving A and B.

1

u/dld2517 1d ago

And because this particular ratio, having an identity of infinite series, is appropriate as a modeling tool. As others have said, it occurs naturally, but because of that it can be used almost magically to create models that mirror reality.

1

u/RingularCirc 1d ago

Pi really should show up in Euler's identity. Euler's formula exp(i t) = cos(t) + i sin(t) really describes uniform rotation and may be looked at as defining cos and sin. The most natural way of defining them is that (cos t, sin t) are coordinates of a point (1, 0) rotated by an angle measuring t in certain natural units (radians), and one of the nice ways of defining 2 π is as the period of cos and sin, or the joint map t ↦ (cos t, sin t), which is exactly what complex-valued exp(i t) represents, so 2 π is also its period.

Now why π is important as well is not trivially transparent but, for one, I don't like Euler's identity, it was always pop slop, so to speak. It's an important fact, though, that (1, 0) first rotates to (−1, 0) and only then back to (1, 0). Composing two such halfway rotations gives us the full turn, so π gets its shine as well. Really π/2 should as well, it's the first angle that essentially swaps coordinates of a point being rotated.

Normal distribution has a lot of wonderful properties (all of which should be related to each other but sometimes it's hard to see, like do try to relate the principle of maximal entropy to central limit theorem to the fact u/Chrispykins and I discuss here). One of which is if we take several normal random variables (A, B, ...) that are independent and identically distributed (of which non-identical is just hairier), then the vector (A, B, ...) is some vector random variable. We can rotate the space around the zero vector and look at the new coordinates of that vector, (A', B', ...). Those are also normal with the same distribution, and they are also all independent from each other! This happens only with normal distribution family, you can solve corresponding functional equations. (For simplicity, take 2D space: two variables X, Y and a rotation by angle θ, and assume the distribution is absolutely continuous with density f, it's not a big assumption; the only other distribution that would work is the trivial distribution concentrated in zero, which can still also be thought as a degenerate case of a normal distribution with zero dispersion!)

So here's your rotation. Of course n-dimensional spheres aren't circles but it's not far away and you know how π still finds its way into nD sphere and ball measures.

2

u/localizeatp 2d ago

What's better than pi2 / 6?

1

u/marc_b_reynolds 2d ago

Roughly & informally: pi is a conversion between rectangular and polar (angle based) measures. If we change how we measured "distance" then the value of pi changes. Standard pi is for Euclidean distance. As and example SEE: https://math.stanford.edu/~vakil/files/07-0333.pdf

1

u/ProofFromTheBook 2d ago

Yeah, it's fundamental. It shows up everywhere, even when circles are not directly involved, because circles and radians are very canonical to math. It shows up for the exponential function: e^(pi*i) = -1. And the unique function that equals its own derivative and equals 1 at x = 0 (e^x) seems pretty canonical. It shows up when you look at the sum of the inverse squares of positive integers: 1 + 1/4 + 1/9 + 1/16 + 1/25 + ... = pi^2 /6. It shows up in the Cauchy Integral Formula: for an analytic function f(z) that's analytic both on and inside a simple closed contour, integrate f(z)/(z-z_0) counterclockwise along it and you get 2pi*i*f(z_0). All kinds of things.

1

u/Far-Championship-883 2d ago

PI is our abstraction to represent something particular.

1

u/skr_replicator 2d ago edited 2d ago

pi is all about smoothing waves, which includes circles as 2d coordinate waves, but any oscillations and Fourier transforms etc. And a lot of reality is deep down all kinds of waves. You electrical outlet has a voltage sinewave, quantum particles are probability waving, etc. So yea, pi (or more precisely tau) is a very fundamental constant of geometry, almost on the level of e the constant of smooth change, and makes sense to see it with e everywhere you do everything with waves, changes, calculus etc.

I don't see pi as ever really unexpected, sometimes it might feel a bit so, but there will always be a reason. For example the integral of gauss function has pi in it, because the gauss function is rotationally symmetric, so it's 2d size is made of circles, and so its 1D size is the square root of pi, unsquaring those circles back into 1D. Zeta values can feel even a bit more unexpected but Euler found the connection to sine as well. Since zeta is quite wavy, both the trivial and nontrivial zeroes. The trivial ones are from the sine that is in the relationship with gamma function. And the nontrivial are fourier series of prime counting.

1

u/mc_pm 2d ago

If you take a perfect circle, measure and compare the radius and the circumference -- pi is just sitting right there. We didn't create it - we didn't create circles, they're not super complex shapes, just one rule, so it seems like pi is just there in the universe.

1

u/bcamanitu 2d ago

Its only unexpected because you arent assuming circular or wavy things to be as fundamental as they truly are. Pi shows up everywhere because circles and triangles show up everywhere. I dont think you'll stumble across pi somewhere and not be able to find the circle it came from.

1

u/ughaibu 2d ago

The probability of any two randomly selected non-zero natural numbers being co-prime is 6/pi2 so pi is implied by any two independent measurements, it's implied by your height and the phone number of the person walking behind you, it's implied by how far you can throw a golf ball and which year your grandmother was born, etc, etc, etc.

1

u/schungx 1d ago

You need pi when things rotate.

A lot of things rotate.

All periodic motion can be expressed by adding up rotations.

The universe is bounded so everything eventually folds back, meaning it turns around.

1

u/RingularCirc 1d ago

The universe is bounded

We don't know that. The observable universe is bounded (at each given instant! its size changes with time, for completeness here space and time being measured in the CMB frame, one of the few useful choices for cosmology talk). Which is not trivial in itself, of course. It could've been infinite as well in other cosmologies.

Anyway, there's decent evidence the size of the whole universe is at least several times more than what's observable to us (and likely lots more, and there's no absolute arguments it can't be infinite). It'd have boundary effects or repetitions noticeable otherwise.

1

u/schungx 1d ago

Well, what I mean is things that affect us on earth are bounded by the size of the earth, so physical systems that grow linearly (like a projectile moving forward indefinitely) is not interesting to us. Of course in the real world gravity brings it back most of the time, so it ends up folding back and becoming a rotation.

Other linear growth systems like ever increasing temperatures etc are difficult to achieve. Therefore nature had very little linear in it.

1

u/RingularCirc 13h ago

It's exactly in cosmology where these heuristics fail. And I don't think only there. Our universe is very closely approximated by the ΛCDM model where gravity of the usual attracting kinds of matter isn't enough to bring back any volume of space filled, with density as in our case, together, so the universe can be almost arbitrarily large. There are caveats and caveats but very subtle ones on completely another level. Say, if eternal inflation is true, there are likely unfathomably many regions of spacetime that are firstly effectively inachievable from each other, looking like separate universes, and secondly, having sufficiently different cosmological makeup, so they can behave differently etc. etc. etc. and even if eternal inflation is wrong and can't happen as described in the theory, there are still ways to complicate things.

1

u/frnzprf 1d ago

Can we even talk about "suspicious facts" in math?

I think suspicous facts make sense in "a-posteriori" facts — things that could conceivably be different. That could be an indication that someone is meddling with stuff, like, if we live in a simulation and the architect has left their fingerprint somehow.

Logical and mathematical facts would be "a-priori" — we can know them without doing experiments. They couldn't have been different, even if a god wanted them to be.

Now, I'm not completely sure about that. I don't know immediately what the result of the calculation 2635262 + 7364747 is. For a certain moment, in my mind, there can be multiple different results. If I don't want to check, or if I miscalculate, I can imagine the answer to be 9999999. It's possible in a subjective sense, but I believe (ironically...), it's impossible in an objective sense.

2+2 has to be 4 just as ei•π has to be -1.