JP / EN
Math Insights

What is Pi ($\pi$)?

The infinite world beyond 3.14.
Why is it irrational? How has humanity calculated its value throughout history?

1. Introduction: 3.14 is a "Lie"

In elementary school, we learn it as "3.14". In higher mathematics, we use the Greek letter $\pi$ (Pi). However, this number $3.14$ is merely an "approximation."

Why don't textbooks teach us the "exact value"? The answer is simple: "It is impossible to write the exact value using numbers."

Let's unravel the true identity of this mysterious number $\pi$ and the history of how humanity has chased its digits.

2. Definition: The Constant Hidden in Circles

What is $\pi$ exactly? Its definition is very simple.

$$ \pi = \frac{\text{Circumference}}{\text{Diameter}} $$

Whether it's a tiny circle or a massive one, if the diameter is "1", the circumference will always be "3.141592...". It is one of the fundamental constants that govern our universe, unchanging no matter where you go.

Why can't it be a fraction? (Irrational Numbers)

Numbers that can be expressed as a ratio of integers (fraction $\frac{a}{b}$) are called "Rational Numbers." However, $\pi$ cannot be written as a fraction. Such numbers are called "Irrational Numbers."

Circle vs Hexagon Gap exists!

Fig 1. Circle vs. Polygon

What if $\pi$ were rational?

Suppose $\pi$ ended exactly at $3.14$. This would mean the circumference is exactly $\frac{314}{100}$ times the diameter.

This leads to a strange conclusion. If we can count the circumference as an exact number of "straight line segments" (based on the diameter), it implies that the circle is made up of "tiny straight lines (a polygon)."

A true circle is never "jagged," no matter how much you zoom in. It curves smoothly forever. Because there is always a "gap that can never be measured by straight lines," the ratio $\pi$ must also never end, continuing infinitely.

3. How to Calculate? (Archimedes' Method)

Over 2000 years ago, without supercomputers, how did Archimedes reach the precision of "3.14"? He used a method that can be considered the origin of numerical analysis: "Squeezing the circle with polygons."

  1. Draw a regular hexagon inside a circle of diameter 1 → Perimeter is $3$.
  2. Draw a regular hexagon outside the circle → Perimeter is $3.46$.
  3. Therefore, $\pi$ lies between $3 < \pi < 3.46$!

He manually increased the number of sides: 6 → 12 → 24 ... up to a 96-gon, narrowing the range to: $$ 3.1408 < \pi < 3.1428 $$ This is the origin of "Pi $\approx$ 3.14".

4. How do Computers Calculate?

Modern computers don't draw polygons. They use more efficient mathematical formulas.

1. Leibniz Formula (Infinite Series)

A beautiful but famously slow-converging formula. By infinitely adding and subtracting odd fractions, you eventually get $\pi$.

$$ \frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \frac{1}{9} - \dots $$

2. Monte Carlo Method (Probabilistic Simulation)

We can calculate $\pi$ by "randomly dropping rain."

Monte Carlo Simulation Total: 100, Inside: 78 π ≈ 4 × (78/100) = 3.12

Fig 2. Estimation of Pi using Monte Carlo method

  1. Draw a circle inside a square.
  2. Randomly throw points (darts) at it.
  3. The ratio of "points inside the circle" to "total points" approaches $\frac{\pi}{4}$.
$$ \pi \approx 4 \times \frac{\text{Points Inside Circle}}{\text{Total Points}} $$

This is a type of "numerical integration" and is a vital technique frequently used in modern physical simulations.

5. Dr.WataWata's Insight

Pi has now been calculated to trillions of digits. However, for scientific calculations or even calculating rocket trajectories in space, only about 15 digits (3.141592653589793...) are needed for sufficient precision.

So why do we calculate trillions of digits? It's not because we need to know $\pi$, but because it is the perfect "Stress Test for Supercomputers."

Can the computer continue an endless calculation without a single error? It is the ultimate benchmark for measuring computing reliability.