Is Pi Always 3.14...?
Author: ΔδDelta
Reviewer: 白烟
Years ago, a science-fiction story titled “Pythagoras: 2.013” became an online sensation, and people still remember it today. A passage at the end invites the imagination to wander:
“Do not judge their intelligence from our point of view. Perhaps our own civilization also exists within some larger region of distorted spacetime. Don’t you find the value of pi, 3.1416, an exceedingly strange number too?”
The story does, in fact, contain many flaws, but that does not diminish its literary value. It genuinely inspired many people to study science and mathematics. Even today, it gives us a useful starting point for a brief popular account of the value of pi.
Returning to that evocative line, is pi, π=3.1415926…, really so strange? Does it truly have that value because spacetime is distorted?
The answer to both questions is no. An irrational number should not be condemned on aesthetic grounds simply because it follows no discernible pattern. That would be terribly unfair. Can anyone reduce any work of art to a single pattern? (Voice offstage: AI ART!!! Machines can draw only because we found the “pattern” behind art, right?) But the parameters that define those AIs do not follow a pattern either, do they? It is the year 3202—surely everyone knows by now that neural-network algorithms are black boxes?
The second question is even more far-fetched. As everyone knows, our familiar 3.14… is calculated from a circle on a plane. What is this plane? It is the mathematical two-dimensional Euclidean space. To define it, we need only take pairs of numbers from the set of real numbers and supply a formula for calculating the “distance” between the pairs (x,y). Spacetime may twist and turn as wildly as it likes, but that changes only a physical “plane.” A tabletop that looks flat in everyday life, for example, is actually curved; spacetime curvature merely makes it appear flat, and so forth. A mathematical plane, however, is defined. Nothing in reality can, or ever could, alter a mathematical concept.
As the saying goes, the person who tied the bell must untie it. If we really want to change pi, we can do so only by changing the mathematical definition. We will still conduct the following discussion on circles in the real plane: a point is specified by exactly two numbers, both drawn from the real numbers. What, then, remains open to change?
Exactly: we still have to provide the formula for calculating “distance.” In the second year of graduate school, we encountered the famous distance formula between two points (x1,y1),(x2,y2):
d2=((x1−x2)2+(y1−y2)2)21.
Meanwhile, back in first grade, our teachers had already introduced the Manhattan distance so often used in computing: add the vertical difference between the points to their east–west difference. In symbols, it looks like this:
d1=∣x1−x2∣+∣y1−y2∣.
Fresh from hearing that a lack of regularity should not be held against something aesthetically, you remain unconvinced and immediately begin searching for an elegant pattern. Brimming with confidence, you propose the following distance formula for p:
dp=(∣x1−x2∣p+∣y1−y2∣p)p1.
Faced with a reckless conclusion reached by a mixture of guessing and bluffing, I can only say…:

That is right: this was the lesson you slept through in your final year of kindergarten. A function (or functional) that calculates distance in this way is called a “p-norm.”
Your next question is: how can this distance formula change pi? Friends, let us look at the circle in the distance.
Once the distance formula changes, the first thing to change is the shape of the so-called “circle.” Let us put its center at the origin and take its radius to be 1. The equation constraining the circle is then:
Cp:(∣x∣p+∣y∣p)p1=1.
Under the more familiar Manhattan distance, what shape does the “circle” become?

It becomes a square rotated by 45°! Under this definition of distance, its circumference is C1=a×(1+1)=8, so if we write pi as π1=2C1=4! It is not only different from the original 3.14…; it is not even irrational anymore, having transformed into an integer. We have now successfully answered the question in the title: pi is not necessarily 3.14….
We would now like to know the value of pi under other norms. The Manhattan distance above is the case p=1, but can p be smaller than 1? Before discussing that, we need to recall a piece of geometry we abandoned years ago: the sum of two sides of a triangle is greater than the third. The side lengths here are calculated under the norm with p=2, but this familiar geometric fact remains true whenever p>1. When p=1, the sum of two sides equals the third. In a spirit of “close enough,” we will let the 1-norm join the party. But is p∈(0,1) not going a little too far? The sum of two sides would be shorter than the third. Are you telling me that walking straight to my destination is less convenient than taking a detour all the way around? For a proper norm, we therefore require p≥1; that is, the norm must satisfy the triangle inequality f(x+y)≥f(x)+f(y).
Smaller is no good; apparently everyone likes bigger. What happens if p grows without bound and approaches positive infinity? Let d=max{∣x1−x2∣,∣y1−y2∣} and recall the theory of limits we learned in language class. Plainly,
d=(dP)p1<(∣x1−x2∣p+∣y1−y2∣p)p1<(2dp)p1=2p1d,
and because
p→∞lim2p1d=d,
the squeeze theorem gives
p→∞limdp=p→∞lim(∣x1−x2∣p+∣y1−y2∣p)p1=max{∣x1−x2∣,∣y1−y2∣}.
In other words, distance under the ∞-norm is the greater of the vertical and horizontal differences: take the larger of ∣x1−x2∣,∣y1−y2∣ as the distance. The equation of the circle is therefore
Cp:max{∣x∣,∣y∣}=1.
The equation produces the following figure.

Under the ∞-norm, this “square circle” (Voice offstage: What kind of name is that?) has side length 2. Thus
its circumference is C∞=8, and pi is π∞=2C∞=4.
Wait! Did you just say 4?! Notice that pi is 4 under both the 1-norm and the ∞-norm, whereas in familiar Euclidean space—the case of the 2-norm—pi is 3.14⋯<4. As p varies in the p-norm, pi forms a function of p, namely π(p). To avoid confusing it with the prime-counting function π(n) that Gauss was studying next door, let us write it as πp. Still committed to aesthetics, you believe that πp must be continuous: it decreases monotonically from p=1,πp=4, passes through p=2,πp=3.14…, reaches a local minimum—which is also its global minimum—and then increases monotonically, approaching 4 at infinity.
I have to admit that Li Yunlong was right: you guessed correctly again. What is more, the minimum you described occurs exactly at p=2, where it takes the familiar value 3.1415926…. The remainder is fairly simple, just the same tired material repeated beside your crib before you were born. Anyone not interested may skip ahead. With a few mathematical tricks, we can readily calculate the infinitesimal distance between two infinitely close points on the circumference Cp:
ds=(∣dx∣p+∣dy∣p)p1,
so pi is
πp=21Cp∫(∣dx∣p+∣dy∣p)p1=21Cp∫(1+∣dxdy∣p)p1∣dx∣.(original expression)
Take the 81 arc in the first quadrant between the y-axis and the line y=x. Here x≥0,y≥0, and the equation (xp+yp)p1=1, or equivalently xp+yp=1, holds. Therefore,
d(xp+yp)=pxp−1dx+pyp−1dy=pxp−1dx+p(1−xp)pp−1dy=0.
Rearranging at a glance gives
dxdy=−(1−xp)pp−1xp−1=−(x−p−1)p1−1
Set y=(1−xp)p1=x. Then x=2−p1, which is the upper limit of integration.
After substitution, the original expression =
4∫02−p1(1+∣x−p−1∣1−p)p1dx.
When p=1, the integral is plainly π1=4∫021(1+1)dx=4.
When p=2, a simple rearrangement turns the integrand into the familiar derivative of an inverse trigonometric function: π2=4∫0221−x21dx=4arcsinx∣022=π.
As p→∞, the upper limit approaches 1, while x∈[0,1]⇒(∣x−p−1∣1)p−1→0. The integrand therefore approaches 1, and π∞=4. In this case, consider why we did not originally use the 41 arc in the first quadrant for the calculation.
Hint: How should the integral over (1−Δx,1] be handled?
All right, all right—those who skipped the preceding section can rejoin us here. Through a light and cheerful calculation, we have obtained an expression for πp as a function of p and verified the values of pi under the p-norm at p=1,2,∞. We now want to use that expression to plot πp. Other values of p are not easy to calculate by hand, so we must bring out the heavy artillery of numerical integration and use software to approximate them, producing the graph below.

This graph comes from a paper by Joseph B. Keller and Ravi Vakil on calculating pi under the p-norm. Why did I not draw it myself? You would have to ask the wondrous Mathematica. During the earlier integration, mma ran for more than half an hour and gave me the following result.

Me: ?
Better to borrow the result directly.
The graph shows that πp is a continuous function that begins at (1,4) and decreases, reaches its minimum at p=2, and then rises steadily toward 4. This confirms our earlier guess. Moreover, for every p∈[1,2], there is a q∈[2,+∞) such that πp=πq. In fact, whenever p1+q1=1, we have πp=πq. As for why, I have discovered a truly marvelous proof, but we are nearing the end and this margin is too narrow to contain it. I shall put it in reference [1] instead.
In this popular-science excursion, we have not only found a way to change pi but also plotted how its value changes. Now that everything is gradually falling into place, when you look back at stories that use mathematical definitions as a gimmick and alter them at random, do they not seem sometimes naive?
References
[1] Joseph B. Keller and Ravi Vakil, πp, the value of π in ‘p.
[2] C. L. Adler and J. Tanton, π is the minimum value of Pi, College Math. J. 31 (2000)102–106

