Beta

The most beautiful formula not enough people understand

Below is a short summary and detailed review of this video written by FutureFactual:

The Hidden Geometry of High-Dimensional Spheres: Archimedes, Knight Moves, and the Gamma Function

Overview

In this talk, 3Blue1Brown unveils the unexpected beauty of high-dimensional spheres, explaining how the volume of an N-dimensional ball relates to familiar 2D and 3D formulas. Through puzzle-driven intuition, Archimedean geometry, and the gamma function, the talk shows how dimensions beyond three are not just abstract abstractions but real tools that illuminate problem solving in data-rich fields like machine learning.

Expanded Deep Dive: From First Puzzles to a Unifying Formula

The talk opens with gratitude for the audience and the campus, then pivots to a claim about an underappreciated formula that connects geometry and analysis across dimensions. The two warm-up puzzles establish a concrete bridge between probability and geometry. In the first puzzle, the random pair (X,Y) with X,Y uniform on [-1,1] has a probability of landing inside the unit circle equal to the area of the circle divided by the area of the square, which is pi/4. The intuition is that two random coordinates define a random point in a 2 by 2 square, and the event X^2 + Y^2 <= 1 is exactly the event that the point lies inside the unit circle. This interpretation is geometric and highlights the power of thinking in terms of points in two-dimensional space rather than performing integrals in an abstract probability space.

The second warm-up puzzle extends to higher dimensions by introducing a third random coordinate Z, uniform in [-1,1]. The probability that X^2 + Y^2 + Z^2 <= 1 is then the volume of the unit ball in three dimensions divided by the volume of the 2x2x2 cube. Since the unit ball in 3D has volume 4/3 pi and the cube has volume 8, the probability is (4/3 pi)/8 = pi/6, which is about 0.5236. This example underscores a central theme: volume in higher dimensions is a natural generalization of area, and the ratio to the enclosing cube yields a probability that can be understood geometrically. The talk emphasizes that higher dimensional geometry is not simply abstract; it is a practical framework, especially in fields like machine learning where data is represented as points in high-dimensional spaces.

As the number of dimensions increases, the questions become more geometric, and the audience is invited to imagine a 2 by 2 by 2 by ... hypercube and a corresponding N-dimensional unit ball. The probability question becomes the ratio of the N-dimensional ball volume to the N-dimensional cube volume, a ratio that depends only on the radius and the dimension. This leads to a broader exploration of how geometry in high dimensions plays a role in modern computation and data science, where high-dimensional spaces are ubiquitous.

The second, more counterintuitive puzzle introduces the corner spheres on the corners of a 2x2 square. By placing a unit sphere on each corner and asking for the largest inner sphere tangent to all outer corner spheres, the radius in 2D is sqrt(2) - 1 ≈ 0.414. In 3D, with eight corner spheres, the radius becomes sqrt(3) - 1 ≈ 0.732, and in 4D the radius is 2 - sqrt{?} arranged similarly, with the pattern continuing. The overall theme is that the geometry of high dimensions is not a straightforward generalization of low-dimensional intuition; rather, the distances to corners, edges, and centers behave in surprising ways. This section also dispels the common bias that high-dimensional spheres must behave like larger, more spiky versions of their lower-dimensional analogs; in fact, the real counterintuitive aspect lies with cubes.

The speaker emphasizes a crucial distinction: spheres in high dimensions are not inherently problematic; the difficulty arises from the behavior of cubes, whose corners are far from the origin in many dimensions. The intuitive picture is that the inner tangent sphere must be quite large to touch all corner spheres in higher dimensions, yet the cube itself is a limiting boundary. The analysis leads to the idea that volume is heavily influenced by the interplay between expansion in some directions and compression in others, a phenomenon that persists as we move to higher dimensions.

The discussion then moves toward the true heart of the talk: the formula for the volume of a high-dimensional ball and where it comes from. The familiar results in 2D and 3D are recapped: circumference is 2 pi R, area is pi R^2, surface area of the sphere is 4 pi R^2, and the volume is 4/3 pi R^3. These formulas invite a generalization, and the goal is to connect interior volume with boundary measure via a unifying framework that persists in any dimension N. The idea is to organize the information in a chart that places BN as the interior volume in N dimensions and the D symbol as the boundary measure in those dimensions. A key observation is that the relationship between the boundary and the interior is reminiscent of a derivative: the derivative of area with respect to radius is approximately the circumference times dR, and the interior can be obtained by integrating those boundary contributions, with the division by the dimension playing a crucial role.

This leads to Archimedes' insight about surface area: projecting patches of the sphere onto a cylinder preserves area in a certain sense due to a balance between stretch and squeeze. Archimedes' argument is more than a neat trick; it is an expression of a deeper principle: the boundary of a ball in higher dimensions can be understood by considering lower-dimensional boundaries and their interplay with the additional dimensions. The knight's move concept is used to illustrate this: you multiply by 2 pi R to account for the added boundary in the new dimension, then divide by the new dimension, effectively transferring volume information between dimensions.

The higher-dimensional generalization requires introduction of the gamma function to unify even and odd dimensions. The recurrence relation for the volume constants across dimensions suggests that the volume in dimension N is proportional to pi^{N/2} divided by Gamma(N/2 + 1). With this, the odd and even dimension cases align neatly because the gamma function extends the factorial: for half-integer arguments, Gamma(n/2 + 1) reduces to expressions involving sqrt(pi). This is the moment where the talk connects geometry with a powerful analytic tool, showing how a simple geometric question reveals the elegance of the gamma function and its connection to pi through half-integers.

The gamma-function-based formula for the volume of the unit ball is V_N(1) = pi^{N/2} / Gamma(N/2 + 1). Using the base cases N = 0, 1, 2, 3, the talk demonstrates how the recursion arises from the knight's move and integration: you go to dimension N by multiplying by 2 pi and dividing by N, then integrating to go down and recover volume. This process provides a coherent explanation for the entire sequence of volumes across dimensions, and clarifies why 1/2 factorial must be sqrt(pi)/2 for the formula to hold consistently. The gamma function elegantly unites all dimensions under one roof, resolving the apparent oddities between even and odd dimensions.

The lecture then shifts to numerical exploration and real-world relevance. A quick simulation can verify the formula by randomly sampling N numbers in [-1,1], summing their squares, and checking whether the sum is less than 1. The numerical results align with the pi^{N/2} / Gamma(N/2 + 1) formula, reinforcing the intuition that high-dimensional geometry is not just abstract but empirically verifiable. The speaker also notes that as N increases, the volume of the unit ball shrinks dramatically, becoming puny in high dimensions such as N = 100. This phenomenon has practical implications in fields like cryptography, quantum mechanics, and learning theory, where high-dimensional spaces are foundational.

The final sections celebrate the beauty of unification: factorials and pi hide inside the gamma-based volume formula, and a unifying approach connects areas in two dimensions to volumes in higher dimensions. The talk underscores that the same knight's move and integration logic underpin the entire diagram, and that a deeper understanding emerges when you view these shapes as pieces of a larger mathematical tapestry. The talk closes with encouragement to explore the gamma function, to test the ideas with simulations, and to appreciate the powerful, sometimes counterintuitive, geometry of high dimensions.

To find out more about the video and 3Blue1Brown go to: The most beautiful formula not enough people understand.