<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Infinity on kenji.blog</title><link>http://kenji.blog/en/tags/infinity/</link><description>Recent content in Infinity on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Thu, 10 Sep 2026 21:00:00 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/tags/infinity/index.xml" rel="self" type="application/rss+xml"/><item><title>Can it be filled with paint, but not painted on the surface?: Gabriel's Horn</title><link>http://kenji.blog/en/p/gabriels-horn/</link><pubDate>Thu, 10 Sep 2026 21:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/gabriels-horn/</guid><description>&lt;img src="http://kenji.blog/p/gabriels-horn/img/gabriels_horn.jpg" alt="Featured image of post Can it be filled with paint, but not painted on the surface?: Gabriel's Horn" />&lt;p>What would happen if there was a container with a &amp;ldquo;finite volume, yet an infinite surface area&amp;rdquo;?
Intuitively, it seems impossible, but in the world of mathematics, such a solid figure certainly exists. It is the figure known as &lt;strong>&amp;ldquo;Gabriel&amp;rsquo;s Horn&amp;rdquo;&lt;/strong>, also known as &lt;strong>&amp;ldquo;Torricelli&amp;rsquo;s Trumpet&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;p>Discovered in 1641 by the Italian mathematician Evangelista Torricelli, this figure shocked mathematicians and philosophers of the time, sparking fierce debate about the nature of &amp;ldquo;infinity&amp;rdquo;.&lt;/p>
&lt;h2 id="the-painters-paradox">The Painter&amp;rsquo;s Paradox
&lt;/h2>&lt;p>If we liken the properties of this figure to everyday &amp;ldquo;paint&amp;rdquo;, the following bizarre paradox occurs.&lt;/p>
&lt;ol>
&lt;li>&lt;strong>When filling the horn with paint&lt;/strong>:
Since the volume of the horn is finite (exactly $\pi$), you can completely fill the inside of the horn by pouring just $\pi$ liters (about 3.14 liters) of paint.&lt;/li>
&lt;li>&lt;strong>When painting the surface of the horn&lt;/strong>:
The surface area of the horn is infinite. Therefore, if you try to paint the inside (or outside) surface of the horn with a brush, no matter how much paint you prepare, you will never finish painting it for eternity.&lt;/li>
&lt;/ol>
&lt;p>&lt;strong>&amp;ldquo;You can fill the inside with 3.14 liters of paint, but you need an infinite amount of paint to paint the surface.&amp;rdquo;&lt;/strong>
Why does this counter-intuitive situation occur?&lt;/p>
&lt;div class="mermaid">graph TD
A["Gabriel's Horn"] --> B["Calculation of Volume (Integration)"]
A --> C["Calculation of Surface Area (Integration)"]
B --> B1["Volume = π (Finite)"]
B1 --> B2["Can fill the inside with paint"]
C --> C1["Surface Area = ∞ (Infinite)"]
C1 --> C2["Cannot completely paint the surface"]
B2 --> D{"Paradox!"}
C2 --> D
style A fill:#FFD54F,stroke:#333,stroke-width:2px
style B1 fill:#81C784,stroke:#333
style C1 fill:#E57373,stroke:#333,color:#fff
style D fill:#F44336,stroke:#333,color:#fff,stroke-width:3px&lt;/div>
&lt;h2 id="mathematical-proof-the-magic-of-calculus">Mathematical Proof: The Magic of Calculus
&lt;/h2>&lt;p>Gabriel&amp;rsquo;s Horn is created by rotating the graph of the function $y = \frac{1}{x}$ (where $x \ge 1$) around the $x$-axis.
Let&amp;rsquo;s calculate the volume $V$ and surface area $A$ of this solid figure using calculus.&lt;/p>
&lt;h3 id="1-calculation-of-volume-why-it-becomes-finite">1. Calculation of Volume (Why it becomes finite)
&lt;/h3>&lt;p>The volume $V$ of a solid of revolution is found by integrating the cross-sectional area (a circle with radius $\frac{1}{x}$).&lt;/p>
$$ V = \pi \int_{1}^{\infty} \left( \frac{1}{x} \right)^2 dx = \pi \int_{1}^{\infty} \frac{1}{x^2} dx $$
&lt;p>Calculating this definite integral:
&lt;/p>
$$ V = \pi \left[ -\frac{1}{x} \right]_{1}^{\infty} = \pi (0 - (-1)) = \pi $$
&lt;p>
The result converges to a finite value $\pi$.&lt;/p>
&lt;h3 id="2-calculation-of-surface-area-why-it-becomes-infinite">2. Calculation of Surface Area (Why it becomes infinite)
&lt;/h3>&lt;p>On the other hand, the calculation for the surface area $A$ is as follows.&lt;/p>
$$ A = 2\pi \int_{1}^{\infty} y \sqrt{1 + \left(\frac{dy}{dx}\right)^2} dx $$
&lt;p>Since &lt;/p>
$$ \frac{dy}{dx} = -\frac{1}{x^2} $$
&lt;p>, the content inside the square root becomes $1 + \frac{1}{x^4}$.
Here, since $\sqrt{1 + \frac{1}{x^4}} > 1$ for all $x \ge 1$, the following inequality holds.&lt;/p>
$$ A > 2\pi \int_{1}^{\infty} \frac{1}{x} \cdot 1 dx = 2\pi \left[ \ln x \right]_{1}^{\infty} $$
&lt;p>The natural logarithm $\ln x$ diverges to infinity as $x \to \infty$. Therefore, the surface area $A$, which is larger than that, naturally also diverges to &lt;strong>infinity&lt;/strong>.&lt;/p>
&lt;h2 id="the-trick-behind-this-paradox">The &amp;ldquo;Trick&amp;rdquo; Behind This Paradox
&lt;/h2>&lt;p>Even if it can be proven mathematically correct, it might not make sense to our real-world intuition.
&amp;ldquo;If it can be filled with paint, that paint is touching the inner surface, so shouldn&amp;rsquo;t the surface be painted as well?&amp;rdquo;&lt;/p>
&lt;p>This discrepancy in intuition arises from the &lt;strong>confusion of mathematical concepts with physical reality&lt;/strong>.&lt;/p>
&lt;p>In the world of mathematics, the &amp;ldquo;thickness&amp;rdquo; of paint can be made infinitely thin down to zero. Although Gabriel&amp;rsquo;s Horn becomes infinitely narrow as it goes further, the mathematical paint can become infinitely thin and flow into the deepest depths of that narrow tip, coating the infinite surface area with a finite volume (however, the thickness of the paint film approaches zero towards the tip).&lt;/p>
&lt;p>However, in the physical real world, paint is made up of atoms and molecules (particles with a finite size).
Even if you pour real paint, once the horn&amp;rsquo;s tube becomes narrower than the &amp;ldquo;diameter of a paint molecule&amp;rdquo;, the paint can go no further. In other words, physically, it is impossible to fill it to the tip, nor to paint its infinite surface.&lt;/p>
&lt;p>Gabriel&amp;rsquo;s Horn is a beautiful example that teaches us that human intuition is bound by the &amp;ldquo;rules of a finite world&amp;rdquo; and does not always align with the world of calculus, which deals with &amp;ldquo;infinity&amp;rdquo;.&lt;/p></description></item><item><title>How Long Is the Coast of Britain?: The Coastline Paradox</title><link>http://kenji.blog/en/p/coastline-paradox/</link><pubDate>Thu, 10 Sep 2026 21:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/coastline-paradox/</guid><description>&lt;img src="http://kenji.blog/p/coastline-paradox/img/coastline_paradox.jpg" alt="Featured image of post How Long Is the Coast of Britain?: The Coastline Paradox" />&lt;p>How many kilometers long is the coastline of Britain?
You might think the answer can be found in an encyclopedia or a geography textbook. However, in reality, there exists a strange fact: &lt;strong>&amp;ldquo;the answer changes depending on how you measure it, and theoretically becomes infinite.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>This is the &lt;strong>Coastline Paradox&lt;/strong>. This discovery later sparked the creation of an entirely new field of mathematics called &amp;ldquo;fractal geometry.&amp;rdquo;&lt;/p>
&lt;h2 id="the-shorter-the-ruler-the-longer-the-distance">The Shorter the Ruler, the Longer the Distance
&lt;/h2>&lt;p>A coastline is not a straight line, but is composed of countless inlets, capes, and irregularities in the rocky surface.&lt;/p>
&lt;p>Suppose you measured the coastline of Britain with a giant 100 km ruler (a straight line). With this ruler, the jagged edges of small inlets and peninsulas under 100 km are ignored and shortcut.&lt;/p>
&lt;p>Next, let&amp;rsquo;s measure it again with a 1 km ruler. Since you are now measuring along the contours of the small bays and capes that were ignored earlier, the total length will inevitably be longer.&lt;/p>
&lt;p>Furthermore, what would happen if you measured the unevenness of every single rock with a 1 m ruler, the surface of pebbles with a 1 cm ruler, and the contours of grains of sand with a 1 mm ruler?&lt;/p>
&lt;div class="mermaid">graph TD
A["Measurement of Coastline"] --> B["100 km Ruler"]
A --> C["1 km Ruler"]
A --> D["1 m Ruler"]
B --> B1["Ignores small inlets"]
B1 --> B2["Measurement result: Approx. 2,800 km"]
C --> C1["Follows the shape of inlets"]
C1 --> C2["Measurement result: Approx. 3,400 km"]
D --> D1["Measures down to the unevenness of rocks"]
D1 --> D2["Measurement result: Increases further (theoretically infinite)"]
style B2 fill:#FFCDD2,stroke:#333
style C2 fill:#E57373,stroke:#333
style D2 fill:#F44336,stroke:#333,color:#fff&lt;/div>
&lt;p>Lewis Fry Richardson discovered this phenomenon empirically in 1951. As the unit of measurement (the length of the ruler) gets smaller, the measured length of the coastline increases endlessly.&lt;/p>
&lt;h2 id="fractal-dimension-between-1d-and-2d">Fractal Dimension: Between 1D and 2D
&lt;/h2>&lt;p>The mathematician Benoit Mandelbrot provided a mathematical explanation for this paradox. In 1967, he published a famous paper in the journal &lt;em>Science&lt;/em> titled &amp;ldquo;How Long Is the Coast of Britain? Statistical Self-Similarity and Fractional Dimension&amp;rdquo;.&lt;/p>
&lt;p>Mandelbrot pointed out that natural shapes like coastlines possess &lt;strong>self-similarity (fractals)&lt;/strong>, meaning that &amp;ldquo;no matter how much you zoom in, the same kind of complex structure appears.&amp;rdquo;&lt;/p>
&lt;p>If it were a pure mathematical straight line (1 dimension), the length would not change even if you halved the ruler. However, a coastline is so jagged that it is more complex than a 1D line, yet it is not a 2D surface with area either.&lt;/p>
&lt;p>Mandelbrot introduced the concept of &lt;strong>&amp;ldquo;fractal dimension (Hausdorff dimension)&amp;rdquo;&lt;/strong> to represent the complexity of such figures.
The fractal dimension of the coastline of Britain is estimated to be $D \approx 1.25$. In other words, the coastline of Britain is a mysterious entity with a &amp;ldquo;dimension higher than a 1D line, but lower than a 2D surface.&amp;rdquo;&lt;/p>
&lt;p>If the length of the ruler is $s$ and the measured length of the coastline is $L(s)$, the following relationship exists with the fractal dimension $D$:&lt;/p>
$$ L(s) \propto s^{1-D} $$
&lt;p>In the case of Britain&amp;rsquo;s coastline, $D = 1.25$, so $1 - D = -0.25$.
&lt;/p>
$$ L(s) \propto s^{-0.25} $$
&lt;p>
This shows mathematically that as the ruler length $s$ approaches 0, the measurement result $L(s)$ diverges to infinity $\infty$.&lt;/p>
&lt;h2 id="ultimate-conclusion-length-cannot-be-defined">Ultimate Conclusion: Length Cannot Be Defined
&lt;/h2>&lt;p>The concept of &amp;ldquo;length&amp;rdquo; that we use in everyday life works only for smooth straight lines and curves. Asking for the &amp;ldquo;absolute length&amp;rdquo; of a fractal figure existing in nature (coastlines, clouds, mountain ranges, branching of blood vessels, etc.) actually makes no mathematical sense.&lt;/p>
&lt;p>&amp;ldquo;How long is the coast of Britain?&amp;rdquo;
The correct answer is, &amp;ldquo;It depends on the length of the ruler used to measure it,&amp;rdquo; and theoretically, it is &amp;ldquo;infinite.&amp;rdquo; The fact that infinite length is folded into a limited small space can be said to be a beautiful paradox regarding our spatial perception.&lt;/p></description></item><item><title>Is a flying arrow at rest?: Zeno's Arrow Paradox</title><link>http://kenji.blog/en/p/zenos-arrow/</link><pubDate>Thu, 10 Sep 2026 21:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/zenos-arrow/</guid><description>&lt;img src="http://kenji.blog/p/zenos-arrow/img/zenos_arrow.jpg" alt="Featured image of post Is a flying arrow at rest?: Zeno's Arrow Paradox" />&lt;p>An arrow shot from a bow is flying through the sky. This arrow is certainly moving.
However, Zeno, a Greek philosopher from the 5th century BC, developed the following terrifying logic.&lt;/p>
&lt;p>&lt;strong>&amp;ldquo;The flying arrow is actually at rest.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>This is neither a joke nor sophistry, but the &lt;strong>&amp;ldquo;Arrow Paradox&amp;rdquo;&lt;/strong> that mathematicians and philosophers have seriously debated for 2500 years.&lt;/p>
&lt;h2 id="zenos-argument">Zeno&amp;rsquo;s Argument
&lt;/h2>&lt;p>Zeno&amp;rsquo;s argument starts with the concept of a &amp;ldquo;moment in time.&amp;rdquo;&lt;/p>
&lt;ol>
&lt;li>Time is a sequence of &amp;ldquo;moments.&amp;rdquo;&lt;/li>
&lt;li>If you capture a single moment (a point where the length of time is zero) like a &amp;ldquo;photograph,&amp;rdquo; the arrow &amp;ldquo;is&amp;rdquo; at a specific point in space.&lt;/li>
&lt;li>At that moment, the arrow is merely &amp;ldquo;occupying&amp;rdquo; that space and is &lt;strong>not moving&lt;/strong>. (If it were moving, it would require a &amp;ldquo;duration of time&amp;rdquo; rather than a &amp;ldquo;moment.&amp;rdquo;)&lt;/li>
&lt;li>This holds true no matter which moment you pick out.&lt;/li>
&lt;li>If the arrow is at rest at every moment in time, &lt;strong>when does it move?&lt;/strong>&lt;/li>
&lt;/ol>
&lt;div class="mermaid">graph TD
A["Flying arrow"] --> B["Time is a continuous sequence of moments"]
B --> C["Moment t1: Arrow is at rest at position A"]
B --> D["Moment t2: Arrow is at rest at position B"]
B --> E["Moment t3: Arrow is at rest at position C"]
C --> F{"At every moment, the arrow is at rest"}
D --> F
E --> F
F --> G["Conclusion: The arrow is not moving!"]
style A fill:#2196F3,color:#fff
style F fill:#FF9800,color:#fff,stroke-width:2px
style G fill:#F44336,color:#fff,stroke-width:3px&lt;/div>
&lt;h2 id="intuition-vs-logic">Intuition vs. Logic
&lt;/h2>&lt;p>&amp;ldquo;Ridiculous. The arrow is actually flying, isn&amp;rsquo;t it?&amp;rdquo; This is probably most people&amp;rsquo;s first reaction.
However, it is actually extremely difficult to point out &lt;strong>logically&lt;/strong> where Zeno&amp;rsquo;s argument is flawed.&lt;/p>
&lt;p>In fact, the ancient Greek philosopher Diogenes is said to have simply stood up and walked around the room in response to Zeno, showing him, &amp;ldquo;Look, it is moving.&amp;rdquo; However, this does not constitute a &lt;strong>refutation&lt;/strong> of Zeno&amp;rsquo;s logic. What Zeno is questioning is not &amp;ldquo;whether it can move,&amp;rdquo; but rather, &amp;ldquo;can we logically explain what it means to move without contradiction?&amp;rdquo;&lt;/p>
&lt;h2 id="resolution-by-calculus-an-attempt">Resolution by Calculus (An Attempt)
&lt;/h2>&lt;p>&lt;strong>Calculus&lt;/strong>, invented by Newton and Leibniz in the 17th century, provided a mathematical answer (at least partially) to this paradox.&lt;/p>
&lt;p>In calculus, &amp;ldquo;the velocity at a certain moment (instantaneous velocity)&amp;rdquo; is defined as follows:&lt;/p>
$$ v(t) = \lim_{\Delta t \to 0} \frac{\Delta x}{\Delta t} $$
&lt;p>In other words, velocity is defined as the &amp;ldquo;limit&amp;rdquo; where the change in position $\Delta x$ is divided by the change in time $\Delta t$, as $\Delta t$ approaches infinitely close to zero.&lt;/p>
&lt;p>The point here is that &lt;strong>&amp;ldquo;instantaneous velocity&amp;rdquo; is not the distance traveled within a zero-time duration.&lt;/strong>
It is a quantity defined as the &amp;ldquo;tendency,&amp;rdquo; or &lt;strong>&amp;ldquo;limit,&amp;rdquo;&lt;/strong> of minute changes before and after that time.&lt;/p>
&lt;p>Therefore, the answer from the perspective of calculus is as follows:&lt;/p>
&lt;p>&amp;ldquo;Indeed, if you capture a moment of zero length, the arrow has not moved &amp;lsquo;within&amp;rsquo; that moment. However, even at that moment, the arrow has the property of &amp;lsquo;instantaneous velocity (a non-zero limit value).&amp;rsquo; Being &amp;lsquo;at rest&amp;rsquo; means having an &amp;lsquo;instantaneous velocity of zero,&amp;rsquo; but since the instantaneous velocity of a flying arrow is not zero, the arrow cannot be said to be &amp;lsquo;at rest.&amp;rsquo;&amp;rdquo;&lt;/p>
&lt;h2 id="remaining-philosophical-questions">Remaining Philosophical Questions
&lt;/h2>&lt;p>While calculus provided a practical solution to Zeno&amp;rsquo;s paradox, it hasn&amp;rsquo;t completely settled the philosophical debate.&lt;/p>
&lt;p>The concept of a &amp;ldquo;limit&amp;rdquo; is strictly a mathematical tool (calculation procedure), and it does not rigorously answer fundamental questions such as &lt;strong>&amp;ldquo;what physically is the smallest unit of time (moment),&amp;rdquo; &amp;ldquo;what is continuity,&amp;rdquo; and &amp;ldquo;what is the essence of motion.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>In modern physics (quantum mechanics), the possibility that minimum units for time and space (Planck time, Planck length) exist is discussed. If time is not &amp;ldquo;continuous&amp;rdquo; but &amp;ldquo;discrete (digital),&amp;rdquo; Zeno&amp;rsquo;s paradox might need to be re-evaluated in a completely different context.&lt;/p>
&lt;p>Even after 2500 years, Zeno&amp;rsquo;s arrow continues to ask us, &amp;ldquo;What does it mean to move?&amp;rdquo; and &amp;ldquo;What is time?&amp;rdquo;&lt;/p></description></item><item><title>Hilbert's Grand Hotel: How to Accommodate Infinite New Guests in a Fully Booked Hotel</title><link>http://kenji.blog/en/p/hilberts-grand-hotel/</link><pubDate>Thu, 10 Sep 2026 06:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/hilberts-grand-hotel/</guid><description>&lt;img src="http://kenji.blog/p/hilberts-grand-hotel/img/hilberts_hotel.jpg" alt="Featured image of post Hilbert's Grand Hotel: How to Accommodate Infinite New Guests in a Fully Booked Hotel" />&lt;h2 id="1-welcome-to-the-ultimate-hotel">1. Welcome to the Ultimate Hotel
&lt;/h2>&lt;p>The great German mathematician David Hilbert devised an interesting thought experiment to illustrate how far the concept of &amp;ldquo;infinity&amp;rdquo; is from human intuition.&lt;/p>
&lt;p>Imagine that somewhere in the universe, there is a hotel called &lt;strong>&amp;ldquo;Hilbert&amp;rsquo;s Grand Hotel.&amp;rdquo;&lt;/strong>
This hotel has an &lt;strong>infinite number&lt;/strong> of rooms, numbered 1, 2, 3, and so on.&lt;/p>
&lt;p>One day, there was a massive event in the universe, and every single room in this infinite hotel was occupied, making it &lt;strong>&amp;ldquo;fully booked.&amp;rdquo;&lt;/strong>
Then, an exhausted traveler arrived and asked the front desk, &amp;ldquo;Could you please find me a room?&amp;rdquo;&lt;/p>
&lt;p>A normal hotel would have no choice but to refuse, saying, &amp;ldquo;We are sorry, but we are fully booked.&amp;rdquo;
However, this is the Grand Hotel. The manager smiled and said, &amp;ldquo;Certainly. We will have a room ready for you right away.&amp;rdquo;
How can they accommodate a new guest when the hotel is already full?&lt;/p>
&lt;hr>
&lt;h2 id="2-case-1-how-to-accommodate-one-new-guest">2. Case 1: How to Accommodate One New Guest
&lt;/h2>&lt;p>The manager made an announcement over the intercom to all the guests currently staying at the hotel:&lt;/p>
&lt;p>&lt;strong>&amp;ldquo;Attention all guests. Please move to the room whose number is &amp;lsquo;plus 1&amp;rsquo; of your current room number.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>What happens then?&lt;/p>
&lt;ul>
&lt;li>The guest in room 1 moves to room 2.&lt;/li>
&lt;li>The guest in room 2 moves to room 3.&lt;/li>
&lt;li>The guest in room 3 moves to room 4.&lt;/li>
&lt;li>The guest in room $n$ moves to room $n+1$.&lt;/li>
&lt;/ul>
&lt;div class="mermaid">graph LR
subgraph "Before Moving (Fully Booked)"
R1["Room 1&lt;br>(Guest A)"]
R2["Room 2&lt;br>(Guest B)"]
R3["Room 3&lt;br>(Guest C)"]
R4["..."]
end
subgraph "After Moving"
NewR1["Room 1&lt;br>(Empty!)"]
NewR2["Room 2&lt;br>(Guest A)"]
NewR3["Room 3&lt;br>(Guest B)"]
NewR4["Room 4&lt;br>(Guest C)"]
end
R1 -->|Move| NewR2
R2 -->|Move| NewR3
R3 -->|Move| NewR4
NewGuest["New Guest"] -->|Check-in| NewR1
style NewR1 fill:#aaffaa,stroke:#333,stroke-width:2px
style NewGuest fill:#ffaaaa,stroke:#333,stroke-width:2px&lt;/div>
&lt;p>Since there are an infinite number of rooms, the scenario where &amp;ldquo;the guest in the last room is kicked out&amp;rdquo; never occurs. Everyone successfully moves to the next room.
And brilliantly, &lt;strong>Room 1 becomes vacant.&lt;/strong> The new traveler was able to stay in Room 1 safely.&lt;/p>
&lt;p>In the world of infinity, $\infty + 1 = \infty$ holds true.
Even if you take out &amp;ldquo;one&amp;rdquo; from the &amp;ldquo;whole (infinity),&amp;rdquo; the size of the whole does not change.&lt;/p>
&lt;hr>
&lt;h2 id="3-case-2-how-to-accommodate-an-infinite-number-of-new-guests">3. Case 2: How to Accommodate an Infinite Number of New Guests
&lt;/h2>&lt;p>Well, the next day, the hotel was fully booked once again.
Then, incredibly, an &lt;strong>infinite bus&lt;/strong> carrying an &lt;strong>&amp;ldquo;infinite number of passengers&amp;rdquo;&lt;/strong> arrived.
The passengers who got off the bus pressed the front desk, saying, &amp;ldquo;We need rooms for everyone!&amp;rdquo;&lt;/p>
&lt;p>If they asked for the &amp;ldquo;plus 1&amp;rdquo; move like yesterday, it would take forever.
However, the manager didn&amp;rsquo;t panic. He made another intercom announcement.&lt;/p>
&lt;p>&lt;strong>&amp;ldquo;Attention all guests. Please move to the room whose number is &amp;lsquo;multiplied by 2&amp;rsquo; of your current room number.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>What happens then?&lt;/p>
&lt;ul>
&lt;li>The guest in room 1 moves to room 2.&lt;/li>
&lt;li>The guest in room 2 moves to room 4.&lt;/li>
&lt;li>The guest in room 3 moves to room 6.&lt;/li>
&lt;li>The guest in room $n$ moves to room $2n$.&lt;/li>
&lt;/ul>
&lt;p>Through this move, the infinite number of guests who were already staying fit perfectly into &lt;strong>&amp;ldquo;all the even-numbered rooms.&amp;rdquo;&lt;/strong>
And miraculously, &lt;strong>&amp;ldquo;all the odd-numbered rooms (Room 1, 3, 5&amp;hellip;)&amp;rdquo; became completely vacant&lt;/strong>!&lt;/p>
&lt;div class="mermaid">graph LR
subgraph "Current Guests"
G1["Guest 1"] -->|Multiply by 2| R2["Room 2"]
G2["Guest 2"] -->|Multiply by 2| R4["Room 4"]
G3["Guest 3"] -->|Multiply by 2| R6["Room 6"]
end
subgraph "New Guests from Bus (Infinite)"
N1["New Guest 1"] -->|To Odd Room| R1["Room 1 (Empty)"]
N2["New Guest 2"] -->|To Odd Room| R3["Room 3 (Empty)"]
N3["New Guest 3"] -->|To Odd Room| R5["Room 5 (Empty)"]
end
style R1 fill:#aaffaa,stroke:#333
style R3 fill:#aaffaa,stroke:#333
style R5 fill:#aaffaa,stroke:#333&lt;/div>
&lt;p>Since there are an infinite number of odd numbers as well, the manager can accommodate everyone by guiding the passengers of the infinite bus sequentially from the front to Room 1, Room 3, Room 5, and so on.&lt;/p>
&lt;p>In the world of infinity, $\infty + \infty = \infty$ holds true.
Even if you add infinity to infinity, the size remains the same &amp;ldquo;infinity.&amp;rdquo;&lt;/p>
&lt;hr>
&lt;h2 id="4-case-3-what-if-an-infinite-number-of-infinite-buses-arrive">4. Case 3: What if an Infinite Number of Infinite Buses Arrive?
&lt;/h2>&lt;p>Furthermore, the next day. Once again, the hotel is fully booked.
And then, astonishingly, &lt;strong>&amp;ldquo;an infinite number of infinite buses, each carrying an infinite number of passengers,&amp;rdquo;&lt;/strong> arrived in a continuous line.&lt;/p>
&lt;p>Bus 1 has an infinite number of people, Bus 2 has an infinite number of people, Bus 3 has an infinite number of people&amp;hellip; this goes on for an infinite number of buses.
Even the manager seems like he might panic, but he was a mathematical genius. He came up with the idea of using &amp;ldquo;prime numbers.&amp;rdquo;&lt;/p>
&lt;p>The manager gave the following instructions:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>&lt;strong>Movement of guests already staying in the hotel&lt;/strong>
Let the current room number be $n$. Have them move to room &amp;ldquo;$2^n$&amp;rdquo;.
(Room 1 $\rightarrow$ Room 2, Room 2 $\rightarrow$ Room 4, Room 3 $\rightarrow$ Room 8&amp;hellip;)
This accommodates all the current guests.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Guiding guests from Bus 1 (Infinite people)&lt;/strong>
Let the guest&amp;rsquo;s seat number be $n$. Guide them to room &amp;ldquo;$3^n$&amp;rdquo;.
(Room 3, Room 9, Room 27&amp;hellip;)&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Guiding guests from Bus 2 (Infinite people)&lt;/strong>
Use the next prime number, 5, and guide them to room &amp;ldquo;$5^n$&amp;rdquo;.
(Room 5, Room 25, Room 125&amp;hellip;)&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Guiding guests from Bus $k$ (Infinite people)&lt;/strong>
Use the $(k+1)$-th prime number, $P$, and guide them to room &amp;ldquo;$P^n$&amp;rdquo;.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>Thanks to a powerful mathematical theorem known as &amp;ldquo;the uniqueness of prime factorization (any number can be expressed as a combination of prime factor multiplications in only one way),&amp;rdquo; the room numbers $2^n, 3^n, 5^n, 7^n \dots$ will absolutely never overlap with anyone else.&lt;/p>
&lt;p>In this way, the manager brilliantly managed to accommodate a staggering number of guests—&lt;strong>&amp;ldquo;Infinity $\times$ Infinity&amp;rdquo;&lt;/strong>—into a single infinite hotel!&lt;/p>
&lt;hr>
&lt;h2 id="5-infinite-sets-have-different-sizes-cantors-theorem">5. Infinite Sets Have Different &amp;ldquo;Sizes&amp;rdquo; (Cantor&amp;rsquo;s Theorem)
&lt;/h2>&lt;p>What Hilbert&amp;rsquo;s Grand Hotel teaches us is the fact that &lt;strong>&amp;ldquo;countably infinite (infinity that can be counted by assigning numbers like 1, 2, 3&amp;hellip;)&amp;rdquo;, no matter how many times it is added together or multiplied, will ultimately fit within the same size of &amp;ldquo;countably infinite&amp;rdquo; framework.&lt;/strong>&lt;/p>
&lt;p>However, the mathematician Georg Cantor discovered an even more terrifying truth.
&amp;ldquo;Natural numbers&amp;rdquo; and &amp;ldquo;fractions&amp;rdquo; can all be accommodated in this infinite hotel. But &lt;strong>if guests of &amp;ldquo;real numbers (all decimals, including irrational numbers)&amp;rdquo; arrive, even this infinite hotel will absolutely not be able to accommodate all of them.&lt;/strong>&lt;/p>
&lt;p>It has been proven that the number of real numbers is fundamentally a &amp;ldquo;larger (higher-level) infinity&amp;rdquo; than the number of rooms in the infinite hotel (countably infinite).
Although often lumped together under the word &amp;ldquo;infinity,&amp;rdquo; there actually exists a hierarchical structure (cardinality) within infinity, ranging from a &amp;ldquo;small infinity&amp;rdquo; to an &amp;ldquo;infinity so large it is absolutely unreachable.&amp;rdquo;&lt;/p>
&lt;hr>
&lt;h2 id="6-conclusion-the-infinity-that-destroys-human-intuition">6. Conclusion: The &amp;ldquo;Infinity&amp;rdquo; That Destroys Human Intuition
&lt;/h2>&lt;p>Hilbert&amp;rsquo;s Grand Hotel vividly illustrates how the &amp;ldquo;common sense of the finite&amp;rdquo; cultivated in our daily lives simply does not apply in the &amp;ldquo;world of infinity.&amp;rdquo;&lt;/p>
&lt;p>&amp;ldquo;The whole is greater than the part&amp;rdquo;
&amp;ldquo;No one can enter a fully booked hotel&amp;rdquo;
&amp;ldquo;If you add infinity to infinity, it gets bigger&amp;rdquo;&lt;/p>
&lt;p>All these obvious intuitions are brilliantly betrayed.
The world of infinity is a treasure trove of paradoxes (truths that contradict intuition). Mathematicians did not fear these paradoxes; instead, they subdued them with the power of logic, classified them, and built the beautiful system of modern set theory.&lt;/p>
&lt;p>The next time you are turned away because &amp;ldquo;the hotel is fully booked,&amp;rdquo; try to imagine, &amp;ldquo;What if this hotel were Hilbert&amp;rsquo;s Grand Hotel?&amp;rdquo;&lt;/p></description></item><item><title>Banach-Tarski Paradox: Cut one sphere and get two spheres of the same size?</title><link>http://kenji.blog/en/p/banach-tarski-paradox/</link><pubDate>Thu, 10 Sep 2026 02:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/banach-tarski-paradox/</guid><description>&lt;img src="http://kenji.blog/p/banach-tarski-paradox/img/banach_tarski.jpg" alt="Featured image of post Banach-Tarski Paradox: Cut one sphere and get two spheres of the same size?" />&lt;h2 id="1-a-magical-theorem-1--1--1-">1. A Magical Theorem: 1 = 1 + 1 ?
&lt;/h2>&lt;p>Imagine you have a solid gold sphere (ball) right in front of you.
You cut this sphere into several pieces with a knife. Then, you reassemble those pieces like a puzzle. You don&amp;rsquo;t stretch, bend, or add any new gold to the pieces. You just move them around and put them together.&lt;/p>
&lt;p>However, when you look at the completed puzzle, you end up with &lt;strong>&amp;ldquo;two solid gold spheres of exactly the same size as the original one&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;p>You might think, &amp;ldquo;That&amp;rsquo;s absurd! It violates the law of conservation of mass, and it&amp;rsquo;s an alchemist&amp;rsquo;s delusion!&amp;rdquo;
In the real physical world, it is absolutely impossible. However, &lt;strong>in the world of pure mathematics (geometry and set theory), this is proven as a logically 100% correct theorem&lt;/strong>.&lt;/p>
&lt;p>This is the &lt;strong>&amp;ldquo;Banach-Tarski Paradox&amp;rdquo;&lt;/strong>, proven in 1924 by two mathematicians, Stefan Banach and Alfred Tarski.&lt;/p>
&lt;hr>
&lt;h2 id="2-accurately-understanding-the-claim-of-the-paradox">2. Accurately Understanding the Claim of the Paradox
&lt;/h2>&lt;p>When the theorem proven by Banach and Tarski is expressed in mathematically precise words, it goes like this:&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Banach-Tarski Theorem&lt;/strong>
Any solid sphere $S$ in 3-dimensional space can be decomposed into a finite number of disjoint pieces. Then, by reassembling those pieces (using only rotations and translations), it is possible to create two solid spheres that have exactly the same radius as the original sphere $S$.&lt;/p>
&lt;/blockquote>
&lt;p>Even more surprisingly, applying this theorem leads to the following conclusion:&lt;/p>
&lt;ul>
&lt;li>By decomposing a single pea into a finite number of pieces and reassembling them, you can create &lt;strong>a sphere exactly the size of the sun&lt;/strong>. (Also known as the pea and the sun paradox)&lt;/li>
&lt;/ul>
&lt;p>Why is such magic mathematically permitted?
The secret is hidden in two keywords: &lt;strong>&amp;ldquo;Infinity&amp;rdquo;&lt;/strong> and the &lt;strong>&amp;ldquo;Axiom of Choice&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;hr>
&lt;h2 id="3-the-mysterious-properties-of-infinity">3. The Mysterious Properties of &amp;ldquo;Infinity&amp;rdquo;
&lt;/h2>&lt;p>The first step to understanding this paradox is to learn about the strange properties of &amp;ldquo;infinite sets&amp;rdquo;.&lt;/p>
&lt;p>In the &amp;ldquo;finite&amp;rdquo; world we normally deal with, the whole is always strictly greater than the part.
For example, if you take out the even numbers (5 numbers) from the numbers 1 to 10 (10 numbers), the count is halved.&lt;/p>
&lt;p>However, this common sense does not apply in the world of &amp;ldquo;infinity&amp;rdquo;.
Which are more numerous: all &amp;ldquo;natural numbers&amp;rdquo; (1, 2, 3, 4, &amp;hellip;) or all &amp;ldquo;even numbers&amp;rdquo; (2, 4, 6, 8, &amp;hellip;)?
Intuitively, since even numbers are only half of the natural numbers, you might feel there are more natural numbers.
However, try making pairs as follows:&lt;/p>
&lt;ul>
&lt;li>1 $\rightarrow$ 2&lt;/li>
&lt;li>2 $\rightarrow$ 4&lt;/li>
&lt;li>3 $\rightarrow$ 6&lt;/li>
&lt;li>$n \rightarrow 2n$&lt;/li>
&lt;/ul>
&lt;p>In this way, for every natural number, you can exactly pair it with an even number that is exactly twice its value (a one-to-one correspondence). There are no numbers left over.
In other words, mathematically, &lt;strong>&amp;ldquo;the number of natural numbers (infinity)&amp;rdquo; and &amp;ldquo;the number of even numbers (infinity)&amp;rdquo; are exactly the same size&lt;/strong>!&lt;/p>
&lt;p>Even though we supposedly took out half (even numbers) from the whole (natural numbers), the size remains unchanged. In infinite sets, it can happen that &lt;strong>&amp;ldquo;a part is equal to the whole&amp;rdquo;&lt;/strong>.
The Banach-Tarski theorem can be said to be the ultimate form of applying this &amp;ldquo;magic of infinity&amp;rdquo; to sets of &amp;ldquo;points&amp;rdquo; in 3-dimensional space.&lt;/p>
&lt;hr>
&lt;h2 id="4-points-in-space-are-cut-immeasurably">4. Points in Space are Cut &amp;ldquo;Immeasurably&amp;rdquo;
&lt;/h2>&lt;p>When you cut a real object (like gold or an apple) with a knife, the pieces always have a &amp;ldquo;volume&amp;rdquo;.
However, a sphere in mathematics is a &lt;strong>&amp;ldquo;collection of an infinite number of points&amp;rdquo;&lt;/strong> with no volume in themselves.&lt;/p>
&lt;p>Banach and Tarski grouped (divided) these infinite points in a very special and complex way.
The way they are divided is so complex and scattered that they become a state where &amp;ldquo;volume can no longer be measured (non-measurable set)&amp;rdquo;.&lt;/p>
&lt;div class="mermaid">graph TD
S["Original sphere S (Volume V)"] -->|Special decomposition| P1["Piece 1 (Volume unmeasurable)"]
S --> P2["Piece 2 (Volume unmeasurable)"]
S --> P3["Piece 3 (Volume unmeasurable)"]
S --> P4["Piece 4 (Volume unmeasurable)"]
S --> P5["Piece 5 (Volume unmeasurable)"]
P1 -->|Rotation and Translation| S1["New sphere 1 (Volume V)"]
P2 -->|Rotation and Translation| S1
P3 -->|Rotation and Translation| S1
P4 -->|Rotation and Translation| S2["New sphere 2 (Volume V)"]
P5 -->|Rotation and Translation| S2
style S fill:#ffddaa,stroke:#333,stroke-width:2px
style S1 fill:#aaddff,stroke:#333,stroke-width:2px
style S2 fill:#aaddff,stroke:#333,stroke-width:2px&lt;/div>
&lt;p>Once each piece becomes a hazy collection of points that &amp;ldquo;do not have (or cannot be measured for) volume&amp;rdquo;, they can escape the constraint of the physical rule (additivity of measure) that says &amp;ldquo;the sum of the pieces must equal the original volume&amp;rdquo;.&lt;/p>
&lt;p>And by cleverly rotating and combining those pieces of hazy points, the &amp;ldquo;magic of infinity&amp;rdquo; completes two spheres packed exactly with the same points as the original sphere.
In fact, it has been proven that this operation of &amp;ldquo;making two spheres from one sphere&amp;rdquo; is possible by dividing the original sphere into just &lt;strong>5 pieces&lt;/strong>.&lt;/p>
&lt;hr>
&lt;h2 id="5-the-root-of-it-all-what-is-the-axiom-of-choice">5. The Root of It All: What is the &amp;ldquo;Axiom of Choice&amp;rdquo;?
&lt;/h2>&lt;p>So, why is a &amp;ldquo;decomposition so complex that its volume cannot be measured&amp;rdquo; mathematically possible?
It is because we accept the &lt;strong>&amp;ldquo;Axiom of Choice&amp;rdquo;&lt;/strong>, a rule that forms the foundation of modern mathematics.&lt;/p>
&lt;p>Roughly speaking, the Axiom of Choice is the following rule:&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Concept of the Axiom of Choice&lt;/strong>
When there are items in many boxes, the rule says &lt;strong>&amp;ldquo;you can choose exactly one item from each box and form a new set&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;/blockquote>
&lt;p>If the number of boxes is finite, anyone can do it normally.
However, &lt;strong>if there are an &amp;ldquo;infinite&amp;rdquo; number of boxes&lt;/strong>, humans cannot finish the operation of &amp;ldquo;choosing one by one&amp;rdquo; an infinite number of times. Even so, the Axiom of Choice admits that &amp;ldquo;it is acceptable to assume the chosen set exists&amp;rdquo;.&lt;/p>
&lt;p>This axiom was extremely convenient and essential in constructing modern mathematics. Most mathematicians accepted this rule, thinking, &amp;ldquo;Well, it&amp;rsquo;s obvious.&amp;rdquo;&lt;/p>
&lt;p>However, accepting this Axiom of Choice means admitting the existence of the &amp;ldquo;scattered, hazy set of points whose volume cannot be measured (non-measurable set)&amp;rdquo; mentioned earlier. And as a result, the Banach-Tarski theorem, which states that &amp;ldquo;one sphere becomes two&amp;rdquo;, is derived as a logical necessity.&lt;/p>
&lt;hr>
&lt;h2 id="6-conclusion-the-world-beyond-intuition-painted-by-mathematics">6. Conclusion: The &amp;ldquo;World Beyond Intuition&amp;rdquo; Painted by Mathematics
&lt;/h2>&lt;p>The Banach-Tarski paradox is not a paradox in the sense that &amp;ldquo;there is a contradiction in logic&amp;rdquo;. It is a paradox in the sense that &lt;strong>while the logic is 100% correct, the derived conclusion violently contradicts human intuition and physical laws&lt;/strong>.&lt;/p>
&lt;p>When this theorem was published, some mathematicians argued, &amp;ldquo;If such an absurd conclusion is reached, the Axiom of Choice must be wrong!&amp;rdquo;
However, today, many mathematicians accept the Axiom of Choice, and the Banach-Tarski theorem is also accepted as a &amp;ldquo;bizarre but beautiful property held by 3-dimensional space and infinite sets&amp;rdquo;.&lt;/p>
&lt;p>Since the physical world we live in is made of &amp;ldquo;finite-sized particles&amp;rdquo; called atoms, we cannot turn a pea into the size of the sun.
However, on the canvas of &amp;ldquo;mathematics&amp;rdquo; created by the human brain, the size of a point is zero, and infinite operations are allowed.&lt;/p>
&lt;p>The Banach-Tarski paradox can be said to be one of the masterpieces of modern mathematics, teaching us &lt;strong>how effortlessly the concept of &amp;ldquo;infinity&amp;rdquo; leaps over naive human intuition&lt;/strong>.&lt;/p></description></item><item><title>The Two Envelopes Paradox: The Collapse of Logic and Decision-Making Traps Caused by Infinite Expected Values</title><link>http://kenji.blog/en/p/two-envelopes-paradox/</link><pubDate>Thu, 10 Sep 2026 00:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/two-envelopes-paradox/</guid><description>&lt;img src="http://kenji.blog/p/two-envelopes-paradox/img/two_envelopes.jpg" alt="Featured image of post The Two Envelopes Paradox: The Collapse of Logic and Decision-Making Traps Caused by Infinite Expected Values" />&lt;h2 id="1-the-ultimate-choice-to-switch-or-not-to-switch">1. The Ultimate Choice: To Switch or Not to Switch?
&lt;/h2>&lt;p>You are standing on the final stage of a game show. On the table in front of you are &lt;strong>two identical-looking envelopes (A and B)&lt;/strong>.
The host says to you:&lt;/p>
&lt;blockquote>
&lt;p>&amp;ldquo;One envelope contains &lt;strong>twice as much money&lt;/strong> as the other. Please choose one.&amp;rdquo;&lt;/p>
&lt;/blockquote>
&lt;p>After some hesitation, you choose &lt;strong>Envelope A&lt;/strong>.
Just as you are about to look inside, the host whispers the devil&amp;rsquo;s temptation:&lt;/p>
&lt;blockquote>
&lt;p>&amp;ldquo;You can &lt;strong>exchange&lt;/strong> your Envelope A with the remaining Envelope B right now if you want. Would you like to switch?&amp;rdquo;&lt;/p>
&lt;/blockquote>
&lt;p>Now, should you switch your envelope?&lt;/p>
&lt;hr>
&lt;h2 id="2-the-infinite-loop-derived-from-expected-value-calculations">2. The &amp;ldquo;Infinite Loop&amp;rdquo; Derived from Expected Value Calculations
&lt;/h2>&lt;p>Let&amp;rsquo;s exercise some mathematical thinking here.
Suppose the amount in your Envelope A is $X$ yen.
According to the rules, the amount in Envelope B is either &amp;ldquo;half of $X$ yen ($\frac{X}{2}$)&amp;rdquo; or &amp;ldquo;twice $X$ yen ($2X$)&amp;rdquo;. The probability for each is $\frac{1}{2}$ (50%).&lt;/p>
&lt;p>Now, let&amp;rsquo;s calculate the &lt;strong>expected value (the estimated average amount) if you switch envelopes&lt;/strong>.&lt;/p>
$$ E = \frac{1}{2} \times \left(\frac{X}{2}\right) + \frac{1}{2} \times (2X) $$
$$ E = \frac{X}{4} + X = \frac{5}{4}X = 1.25X $$
&lt;p>A surprising result emerges.
By simply switching envelopes, the expected value jumps to &lt;strong>$1.25$ times&lt;/strong> (a 25% increase) the original $X$ yen.
The conclusion becomes, &amp;ldquo;If you think mathematically, it&amp;rsquo;s definitely better to switch!&amp;rdquo;&lt;/p>
&lt;p>However, a &lt;strong>collapse of logic&lt;/strong> occurs here.
Suppose you switched to Envelope B. What happens if the host asks again right after, &amp;ldquo;Do you want to switch back to A after all?&amp;rdquo;
The exact same calculation formula applies, and this time it means &amp;ldquo;Switching from B to A will increase the expected value by 1.25 times.&amp;rdquo;&lt;/p>
&lt;p>In other words, &lt;strong>just by continuously switching &amp;ldquo;from A to B&amp;rdquo; and &amp;ldquo;from B to A&amp;rdquo;, the theoretical expected value will keep increasing infinitely&lt;/strong>. This clearly contradicts reality (the contents of the envelopes are fixed from the start and do not increase just because you switch them).&lt;/p>
&lt;div class="mermaid">graph TD
Start["You choose Envelope A (contains X yen)"] --> Think["Calculate if it's profitable to switch"]
Think --> Case1["Envelope B has half (X/2 yen) : 50% probability"]
Think --> Case2["Envelope B has double (2X yen) : 50% probability"]
Case1 --> Calc["Expected Value = (X/4) + X = 1.25X"]
Case2 --> Calc
Calc --> SwitchToB["Switch to Envelope B! (contains Y yen)"]
SwitchToB --> ThinkAgain["Calculate again"]
ThinkAgain --> Case3["Envelope A has half (Y/2 yen) : 50% probability"]
ThinkAgain --> Case4["Envelope A has double (2Y yen) : 50% probability"]
Case3 --> Calc2["Expected Value = 1.25Y"]
Case4 --> Calc2
Calc2 --> SwitchToA["Switch back to Envelope A!"]
SwitchToA --> Start
style Calc fill:#ff9999,stroke:#333,stroke-width:2px
style Calc2 fill:#ff9999,stroke:#333,stroke-width:2px
style SwitchToA fill:#ff4444,color:#fff,stroke:#333,stroke-width:4px&lt;/div>
&lt;p>Why did a seemingly perfect expected value calculation produce such a strange paradox?&lt;/p>
&lt;hr>
&lt;h2 id="3-demystifying-the-mathematical-trick-the-swap-of-variables">3. Demystifying the Mathematical Trick: The Swap of Variables
&lt;/h2>&lt;p>The trap of this paradox lies in &lt;strong>&amp;ldquo;how the random variable $X$ is used&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;p>In the previous calculation formula, we treated the amount $X$ in Envelope A as a &lt;strong>fixed constant&lt;/strong>, and assumed Envelope B is either &amp;ldquo;$\frac{X}{2}$ or $2X$&amp;rdquo;.
However, what is actually fixed is the &lt;strong>&amp;ldquo;total amount of money in the two envelopes&amp;rdquo;&lt;/strong>, or the &lt;strong>&amp;ldquo;smaller amount&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;p>Let $S$ be the amount in the envelope with less money. Then, the envelope with more money contains $2S$.
There are only two possible scenarios for the entire game (the probability of each is $\frac{1}{2}$).&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Pattern 1:&lt;/strong> Envelope A you chose has the smaller amount ($S$), and Envelope B has the larger amount ($2S$)&lt;/li>
&lt;li>&lt;strong>Pattern 2:&lt;/strong> Envelope A you chose has the larger amount ($2S$), and Envelope B has the smaller amount ($S$)&lt;/li>
&lt;/ul>
&lt;p>Now, let&amp;rsquo;s correctly calculate the expected values for &lt;strong>&amp;ldquo;not switching&amp;rdquo;&lt;/strong> and &lt;strong>&amp;ldquo;switching&amp;rdquo;&lt;/strong> the envelopes.&lt;/p>
&lt;p>&lt;strong>Expected value when not switching $E_{stay}$:&lt;/strong>
&lt;/p>
$$ E_{stay} = \frac{1}{2} \times S + \frac{1}{2} \times 2S = \frac{3}{2}S = 1.5S $$
&lt;p>&lt;strong>Expected value when switching $E_{switch}$:&lt;/strong>
You get $2S$ in Pattern 1, and $S$ in Pattern 2.
&lt;/p>
$$ E_{switch} = \frac{1}{2} \times 2S + \frac{1}{2} \times S = \frac{3}{2}S = 1.5S $$
$$ E_{stay} = E_{switch} $$
&lt;p>The expected values match perfectly!
In the first incorrect calculation, we treated the $X$ in Pattern 1 (which is actually $S$) and the $X$ in Pattern 2 (which is actually $2S$) as &lt;strong>different values using the same variable $X$&lt;/strong>, which created the illusion that &amp;ldquo;switching increases the expected value.&amp;rdquo;&lt;/p>
&lt;div class="mermaid">pie title "The Truth of Expected Values (assuming the smaller amount is S)"
"Expected value of not switching (1.5S)" : 50
"Expected value of switching (1.5S)" : 50&lt;/div>
&lt;hr>
&lt;h2 id="4-what-if-you-open-the-envelope">4. What If You Open the Envelope?
&lt;/h2>&lt;p>The paradox seems to be resolved. However, a deeper problem awaits.&lt;/p>
&lt;p>What if you &lt;strong>looked inside your Envelope A before exchanging envelopes&lt;/strong>?
When you open Envelope A, you find &lt;strong>&amp;ldquo;10,000 yen&amp;rdquo;&lt;/strong> inside.&lt;/p>
&lt;p>At this moment, $X = 10000$ becomes a fixed value.
Envelope B contains either &amp;ldquo;5,000 yen&amp;rdquo; or &amp;ldquo;20,000 yen&amp;rdquo;.
What happens if we apply the very first calculation formula here?&lt;/p>
$$ E_{switch} = \frac{1}{2} \times 5000 + \frac{1}{2} \times 20000 = 2500 + 10000 = 12500 $$
&lt;p>The expected value is 12,500 yen. It is certainly higher than the current 10,000 yen.
Moreover, since $X$ is now a &amp;ldquo;specific constant&amp;rdquo; of 10,000 yen, the previous counterargument of the &amp;ldquo;swap of variables&amp;rdquo; no longer applies.
In this case, is it &lt;strong>absolutely better to switch&lt;/strong>?&lt;/p>
&lt;h3 id="the-disproof-by-bayesian-inference-the-missing-prior-distribution">The Disproof by Bayesian Inference: The Missing &amp;ldquo;Prior Distribution&amp;rdquo;
&lt;/h3>&lt;p>In response to this, mathematicians introduced the concept of the &lt;strong>&amp;ldquo;prior distribution of amounts (prior probability)&amp;rdquo;&lt;/strong>.
The question is whether we can truly say that 5,000 yen and 20,000 yen are each inside with a $\frac{1}{2}$ probability.&lt;/p>
&lt;p>For example, suppose the maximum budget for the show is 100 million yen. If you open Envelope A and find &amp;ldquo;60 million yen&amp;rdquo;, the probability that Envelope B contains &amp;ldquo;120 million yen&amp;rdquo; is zero (because it&amp;rsquo;s over budget). In other words, as the amount in Envelope A gets larger, the probability that Envelope B is &amp;ldquo;double&amp;rdquo; must decrease, and the probability that it is &amp;ldquo;half&amp;rdquo; must increase.&lt;/p>
&lt;p>When calculating the expected value using Bayes&amp;rsquo; theorem assuming an arbitrary prior distribution $P(x)$, it has been mathematically proven that &lt;strong>under any realistic probability distribution (where the sum is 1), there is no magical distribution that makes it &amp;ldquo;better to switch&amp;rdquo; for all amounts of $X$&lt;/strong>.&lt;/p>
&lt;hr>
&lt;h2 id="5-the-infinite-trap-connection-to-the-st-petersburg-paradox">5. The Infinite Trap: Connection to the St. Petersburg Paradox
&lt;/h2>&lt;p>There is only one case where it is &amp;ldquo;better to switch for all $X$&amp;rdquo;.
That is only if we assume the show&amp;rsquo;s budget is &lt;strong>infinite&lt;/strong> and all amounts (1 yen, 2 yen, 4 yen, 8 yen&amp;hellip; up to infinity) appear uniformly—an &amp;ldquo;improper prior distribution&amp;rdquo; (a distribution whose sum is infinity).&lt;/p>
&lt;p>However, in the real world, no television station has infinite assets.
The bug caused by this &amp;ldquo;infinite expected value&amp;rdquo; shares deep roots with the &lt;strong>St. Petersburg paradox&lt;/strong> (the problem of how much a person would be willing to pay for a gamble with an infinite expected value).&lt;/p>
&lt;h2 id="6-conclusion-the-terrors-of-probability-and-expected-value">6. Conclusion: The Terrors of Probability and Expected Value
&lt;/h2>&lt;p>Even though the &amp;ldquo;Two Envelopes Paradox&amp;rdquo; consists only of simple multiplication and addition, it teaches us the following lessons:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Errors caused by ambiguity in definitions&lt;/strong>: If you do not clarify what a variable refers to (whether $X$ always refers to the same amount), logic can easily collapse.&lt;/li>
&lt;li>&lt;strong>The illusion of &amp;ldquo;no information = 50% probability&amp;rdquo;&lt;/strong>: The assumption that &amp;ldquo;because we don&amp;rsquo;t know, it must be fifty-fifty&amp;rdquo; (the principle of insufficient reason) can sometimes lead to fatal miscalculations.&lt;/li>
&lt;li>&lt;strong>The difficulty of handling infinity&lt;/strong>: Introducing the concept of &amp;ldquo;infinity,&amp;rdquo; which cannot be applied to the real world, into calculation formulas produces results that defy common sense.&lt;/li>
&lt;/ol>
&lt;p>The next time in life you think, &amp;ldquo;The grass is greener on the other side, so it&amp;rsquo;s better to switch,&amp;rdquo; remember this paradox. In your calculation formula, the variables might just be getting swapped.&lt;/p></description></item></channel></rss>