3Blue1Brown
Because unordered point pairs on a loop form a Möbius strip that is topologically forced to self-intersect when anchored to a plane, every continuous closed loop is guaranteed to contain the vertices of a rectangle.
AI-assisted summary of Who cares about topology? (Old version) — original source. Check the original for full context.
Source published:
Key ideas
- The inscribed square problem remains an open question in mathematics, asking whether every closed loop contains four points forming a square. (1:20)
- By relaxing the condition to finding an inscribed rectangle, the question reduces to finding two distinct point pairs that share both an identical midpoint and equal separation distance. (1:20)
- The configuration space of all unordered pairs of points on a 1D closed loop naturally forms a 2D Möbius strip, whose boundary corresponds to degenerate pairs of identical points. (11:38)
- Mapping this Möbius strip into 3D space by midpoint and distance forces a self-intersection because its boundary lies flat in the plane, rigorously guaranteeing an inscribed rectangle. (14:39)
Detailed notes
## Background This video was published on YouTube by 3Blue1Brown (Grant Sanderson) on November 4, 2016. The description notes that this is an older version of the presentation and directs viewers to an updated release.
## TL;DR Addressing the common critique that introductory topology is reduced to playful novelties like twisting paper strips and morphing coffee mugs into donuts, Grant Sanderson illustrates the discipline's genuine problem-solving power using the inscribed rectangle problem. By weakening the unsolved inscribed square problem to rectangles, the challenge reduces to identifying two distinct pairs of points on an arbitrary closed loop that share both a midpoint and separation distance. Sanderson parameterizes all unordered pairs of points on the loop into an abstract configuration space, proving this space is topologically equivalent to a Möbius strip whose boundary corresponds to degenerate identical pairs. Mapping this strip into three-dimensional space anchors its single boundary to the flat loop, topologically compelling the surface to self-intersect and mathematically guaranteeing the existence of an inscribed rectangle.
## Atmosphere & style The presentation carries an intellectually vindicating and reflective tone, beginning with relatable skepticism toward shallow classroom parlor tricks before blooming into an elegant mathematical revelation. Sanderson's delivery is calm, clear, and deliberately paced, balancing intricate topological surgeries with lucid visual metaphors. Watching the argument unfold feels like witnessing a conceptual magic trick where seemingly esoteric shapes suddenly snap into place as indispensable machinery for a concrete geometric proof.
## Bulletin - [01:20](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=80s) The inscribed square problem remains an open question in mathematics, asking whether every closed loop contains four points forming a square. - [01:20](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=80s) By relaxing the condition to finding an inscribed rectangle, the question reduces to finding two distinct point pairs that share both an identical midpoint and equal separation distance. - [11:38](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=698s) The configuration space of all unordered pairs of points on a 1D closed loop naturally forms a 2D Möbius strip, whose boundary corresponds to degenerate pairs of identical points. - [14:39](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=879s) Mapping this Möbius strip into 3D space by midpoint and distance forces a self-intersection because its boundary lies flat in the plane, rigorously guaranteeing an inscribed rectangle.
## Key takeaways - [00:04](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=4s) Traditional popular introductions to topology often focus on parlor tricks like paper Möbius strips or coffee mugs turning into donuts without demonstrating their problem-solving utility. - [01:20](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=80s) The inscribed square problem asks whether any closed, continuous loop in space contains four vertices that form a square, a problem modern mathematics still cannot prove or disprove. - [01:20](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=80s) Weakening the square problem to an inscribed rectangle allows mathematicians to search for two pairs of points sharing an identical midpoint and equal Euclidean distance. - [03:37](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=217s) Evaluating pairs of points on a loop by plotting their midpoint on the xy-plane and their distance as vertical height sweeps out a continuous 2D surface in 3D space. - [03:37](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=217s) A self-intersection or collision on this 3D surface guarantees that two distinct pairs share the same midpoint and distance, directly yielding an inscribed rectangle. - [05:51](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=351s) The configuration space parameterizing ordered pairs of points on a closed loop is topologically equivalent to a torus. - [10:05](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=605s) Because the distance and midpoint between two points are symmetric, ordered pairs would cause trivial collisions, necessitating a reduction to unordered pairs. - [10:05](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=605s) Folding the torus coordinate square along the diagonal line y = x identifies pairs (x, y) with (y, x), leaving the diagonal crease as the degenerate pairs (x, x). - [11:38](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=698s) Gluing the remaining boundary edges together requires a half-twist, proving that the space of unordered pairs on a loop is a Möbius strip. - [11:38](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=698s) The single boundary edge of the Möbius strip consists entirely of degenerate pairs (x, x) where the distance between points is zero. - [13:08](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=788s) When mapping the Möbius strip to 3D space using the midpoint-distance function, its boundary edge maps directly onto the original loop in the xy-plane. - [14:39](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=879s) It is mathematically impossible to map a Möbius strip into 3D space with its boundary pinned to a 2D plane without the interior intersecting itself. - [14:39](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=879s) The forced topological self-intersection of the Möbius strip provides the exact collision needed to prove every closed loop contains an inscribed rectangle. - [14:39](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=879s) Abstract topological objects like the torus and Möbius strip are not mere mathematical curiosities, but essential configuration spaces that resolve concrete geometric problems.
## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=4s) Why Topology Matters: Beyond Paper Strips and Donuts
Popular mathematical outreach often introduces topology to young students with tactile party tricks, yet these demonstrations frequently fail to convey what the discipline actually achieves. Reflecting on attending math talks and seminars as a kid, Grant Sanderson recalls how organizers consistently leaned on topology to spark enthusiasm, demonstrating objects like the Möbius strip by taking a strip of construction paper, giving it a half twist, and gluing the ends together. Students were prompted to trace a pencil along the paper to prove it had only one side, or were told the classic cliché that topologists cannot distinguish between a coffee mug and a donut because both share exactly one hole. Yet for a mathematically curious mind, these parlor tricks felt hollow. As Sanderson recalls thinking at the time, “How is this math?” and “How does any of this actually help to solve problems?”
The purpose and potency of topological reasoning remained elusive until encountering a concrete, unsolved question in geometry—the inscribed square problem—paired with an unexpectedly brilliant topological solution to its slightly relaxed counterpart. The elegant machinery used to resolve that problem reveals why mathematicians care about abstract shapes, continuous deformations, and high-dimensional surfaces. Rather than being an idle study of playdough geometry, topology provides structural invariants and spatial relationships that cut through seemingly intractable geometric questions.
[01:20](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=80s) The Inscribed Square Problem and Weakening to Rectangles
The classic inscribed square problem begins with an arbitrary closed loop drawn in space—a path squiggled through space in any imaginable, convoluted manner that eventually terminates where it began. The challenge is deceptively simple to state: does every single closed loop contain four points that form the vertices of a square? For elementary geometries, the answer is trivially affirmative. A standard circle contains infinitely many inscribed squares, and an ellipse similarly accommodates inscribed squares without difficulty. The real crux of the problem lies in universality: does every possible closed loop, regardless of how jagged or pathological, possess at least one inscribed square? Describing the mystique of this open question, Sanderson remarks, “I mean, just the fact that this is unsolved is interesting, that the current tools of math can neither confirm nor deny that there's some loop with no inscribed square in it.”
```mermaid flowchart TD accTitle: Inscribed Rectangle Problem Reduction accDescr: Flowchart illustrating how finding an inscribed rectangle on a closed loop is reduced to finding collisions on a 3D surface.
subgraph LoopGeometry ["Loop & Point Pair Geometry"] A["Closed Loop in xy-Plane"] --> B["Select Two Pairs: AC and BD"] B --> C{"Do AC and BD share a midpoint<br/>AND have equal distance?"} end
subgraph GeometricCondition ["Rectangle Equivalence"] C -->|"Yes"| D["Points A, B, C, D<br/>form a Rectangle"] end
subgraph TopologicalEncoding ["3D Graph Encoding"] B --> E["Map Pair to 3D Point:<br/>(Midpoint, Distance)"] E --> F["Continuous Surface Hugs Loop"] F --> G["Self-Intersection / Collision<br/>(Two Pairs -> Same 3D Point)"] end
G -->|"Guarantees"| D ```
Because the square problem remains unproven, mathematicians look at a slightly weaker condition: finding an inscribed rectangle instead of a square. While still remarkably difficult, the rectangle version admits a breathtaking solution that Sanderson highlights as perhaps his favorite piece of mathematics. The breakthrough relies on reframing the question away from tracking four individual vertices to analyzing pairs of points. Any rectangle with vertices labeled $A$, $B$, $C$, and $D$ in cyclic order possesses two diagonals, $AC$ and $BD$. Elementary geometry dictates two fundamental properties for these diagonals: - The distance between $A$ and $C$ equals the distance between $B$ and $D$. - The midpoint of segment $AC$ coincides exactly with the midpoint of segment $BD$.
Crucially, this condition works in both directions. If two distinct pairs of points in space share an identical midpoint and have identical Euclidean lengths, the four endpoints are guaranteed to form a rectangle. Consequently, the challenge reduces to proving that every closed loop admits at least two distinct pairs of points possessing both a shared midpoint and the same separation distance.
[03:37](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=217s) Mapping Point Pairs to a 3D Surface
To prove the existence of two pairs sharing both distance and midpoint, one can translate the geometry into a continuous function mapping pairs of points on the loop into single points in three-dimensional space. Picture the closed loop resting flat on the $xy$-plane. For any chosen pair of points on this loop, locate their midpoint $m$ on the $xy$-plane and measure the Euclidean distance $d$ between them. Then, plot a point in 3D space positioned at horizontal coordinate $m$ and elevated directly in the vertical $z$-direction by a height equal to $d$. Evaluating this function across all possible pairs of points sweeps out a continuous two-dimensional surface hovering above the plane.
This generated surface exhibits an intimate relationship with the underlying curve: - As two chosen points slide closer and closer together along the loop, their separation distance $d$ drops toward zero, driving the height of the plotted point down toward the plane. - Concurrently, their midpoint $m$ converges directly onto the boundary of the loop itself. - When the pair coincides into an identical point $(x, x)$, the distance is zero and the midpoint is $x$, meaning the plotted surface touches down right along the original loop.
Furthermore, this construction forms a continuous function; a minor nudge to either input point results in only a minor shift in the plotted 3D point without sudden jumps. The entire geometric existence question now hinges on whether this surface must cross itself. As Sanderson summarizes the objective, “Our goal, then, is to show that this function has a collision, that two distinct pairs of points each map to the same spot in 3D space.” If two distinct pairs produce the exact same 3D coordinate, they necessarily share the same horizontal midpoint and the same vertical height (distance), immediately yielding an inscribed rectangle.
[05:51](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=351s) Constructing the Torus: The Space of Ordered Pairs
Proving that the 3D surface must intersect itself requires constructing an abstract configuration space that catalogs all possible pairs of points on the loop. In standard Cartesian geometry, pairs of real numbers are plotted on a 2D coordinate plane. By analogy, topologists look for a two-dimensional surface that naturally parameterizes every pair of points on a loop. A critical preliminary distinction must be made between ordered pairs and unordered pairs: - An **ordered pair** treats $(A, B)$ as distinct from $(B, A)$, preserving the concept of a "first" point. - An **unordered pair** treats $\{A, B\}$ as identical to $\{B, A\}$, caring solely about the selected points regardless of sequence.
While the ultimate proof requires unordered pairs, the conceptual stepping stone begins with ordered pairs. Start by cutting the closed loop at an arbitrary point and uncurling it into a straight line interval, scaled from $0$ to $1$. Every point on the original loop maps to a unique number in the interval $[0, 1]$, with the sole exception of the cut site, which corresponds simultaneously to both endpoints $0$ and $1$. By crossing this interval with a second $[0, 1]$ interval along a perpendicular axis, one forms a unit square $[0, 1] \times [0, 1]$. Every internal coordinate $(x, y)$ in this square represents an ordered pair of points on the original loop.
However, the perimeter of the square introduces ambiguity because $0$ and $1$ are physically the same point on the loop. Coordinates along the left edge $(0, y)$ represent the exact same loop pairs as coordinates along the right edge $(1, y)$. To restore a faithful one-to-one mapping, the left and right edges must be glued together in the same orientation, bending the square into a cylinder. By the same logic, the bottom edge $(x, 0)$ and top edge $(x, 1)$ represent identical second coordinates, requiring the top and bottom circular rims of the cylinder to be bent around and glued together. This two-stage gluing produces a torus—the surface of a donut. As Sanderson emphasizes, “The torus is to pair of points on the loop what the xy-plane is to pairs of points on the real number line.” Any slight movement on the torus corresponds to a smooth, slight adjustment of the point pair on the loop, establishing a continuous, bidirectional equivalence.
[10:05](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=605s) Collapsing to Unordered Pairs: The Diagonal Fold
Although the torus elegantly parameterizes ordered pairs, it is too expansive for the rectangle problem. Because the midpoint and distance between $A$ and $B$ are identical to the midpoint and distance between $B$ and $A$, treating $(A, B)$ and $(B, A)$ as distinct inputs would produce a completely trivial collision on our 3D surface. As Sanderson puts it, “That's like saying you can always find a rectangle so long as you consider any pair of points to be a rectangle.”
To prevent such false positives, the parameter space must identify $(x, y)$ with $(y, x)$ as a single, unordered entity: - The coordinate $(0.2, 0.3)$ must be identified with $(0.3, 0.2)$. - The coordinate $(0.5, 0.7)$ must merge with $(0.7, 0.5)$. - In general, every coordinate $(x, y)$ must be identified with its reflection $(y, x)$.
Geometrically, identifying every point with its reflection across the line $y = x$ corresponds to folding the unit square in half along its main diagonal. This fold creates a triangle whose hypotenuse is the diagonal crease where $x = y$. This crease represents pairs of the form $(x, x)$—degenerate pairs where a point on the loop is paired with itself. In the visualization, Sanderson marks this crease as a prominent red line, noting that tracking this specific boundary will be essential for the remainder of the proof.
[11:38](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=698s) Constructing the Möbius Strip from Unordered Pairs
To complete the space of unordered pairs on the loop, the remaining edges of the identification diagram must be glued together, specifically attaching the bottom edge to the right edge. Getting the orientation right is crucial here: points positioned toward the left of the bottom edge must glue to points toward the bottom of the right edge, while points toward the right of the bottom edge attach to points toward the top of the right edge. It feels counterintuitive and strange to visualize at first, warranting a pause to ponder how such a gluing can physically occur in space.
```mermaid flowchart TD accTitle: Gluing Unordered Pairs into a Möbius Strip accDescr: Steps showing how cutting and gluing the identification polygon results in a twisted Möbius strip with a boundary of degenerate pairs. subgraph CuttingAndGluing["Surgery on the Polygon"] A["Polygon representing pairs"] -->|"diagonal cut"| B["Cut pieces reoriented"] B -->|"glue original edges"| C["Rectangular strip"] C -->|"half-twist and glue cut edge"| D["Möbius Strip"] end subgraph BoundaryInterpretation["Geometric Meaning"] D --> E["Surface interior: distinct unordered pairs {x, y}"] D --> F["Red boundary edge: degenerate pairs (x, x)"] end ```
The clever trick to accomplish this is to make a diagonal cut across the shape, set it aside momentarily, glue the bottom and right edges together, and then reconnect the cut seam. Examining the arrow orientations on the resulting rectangular band reveals that reconnecting the cut ends cannot be done directly to form an ordinary cylinder. Instead, the band requires a half-twist before its ends can meet. Performing this operation in three-dimensional space produces a Möbius strip. Grant Sanderson highlights the beauty of this surprise:
> “The Möbius strip is to unordered pairs of points on the loop what the xy-plane is to pairs of real numbers.”
The red boundary edge running along the perimeter of the Möbius strip represents the degenerate pairs of the form $(x, x)$—instances where both selected points are identical.
- Unordered pairs of points on a 1D loop form a continuous two-dimensional manifold that is topologically a Möbius strip. - The single continuous boundary component (highlighted in red) consists strictly of pairs $(x, x)$ where the distance between the two points is zero. - This unexpected emergence of a Möbius strip demonstrates how abstract topological spaces naturally arise as configuration spaces of simple geometric objects.
---
[13:08](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=788s) Mapping the Möbius Strip to 3D Space and the Boundary Condition
With a continuous, one-to-one correspondence established between unordered pairs of points on the loop and points across the Möbius strip, the inscribed rectangle problem can finally be addressed. The problem setup uses a special three-dimensional graph where the original loop sits flat on the $xy$-plane. For any pair of points on the loop, one finds their midpoint $m$ on the $xy$-plane and computes their Euclidean distance $d$. A point is then plotted in three-dimensional space at a height of exactly $d$ units directly above the midpoint $m$.
```mermaid flowchart LR accTitle: The Midpoint-Distance Mapping accDescr: Pipeline mapping pairs of points on a loop through the Möbius strip to a 3D surface. subgraph LoopDomain["Points on Loop"] P["Pair {x, y}"] end subgraph MobiusDomain["Möbius Strip"] M["Point on Möbius strip"] end subgraph Target3D["3D Space (z >= 0)"] S["Point (m, d):<br/>Midpoint m in xy-plane,<br/>Height d = dist(x, y)"] end P <--> M M --> S ```
Because of the continuous bijection between unordered pairs and points on the Möbius strip, this geometric construction defines a natural continuous map from the Möbius strip onto a surface in 3D space: take any point on the Möbius strip, identify the pair of points on the loop it represents, and evaluate the midpoint-and-distance function on that pair.
The boundary behavior of this mapping is the linchpin of the argument. As two points on the loop move closer together, their distance $d$ approaches zero, meaning the plotted point sinks toward the $xy$-plane directly above the loop itself. In the extreme case of pairs like $(x, x)$, the distance is zero and the midpoint is simply the point $x$ itself, placing the output directly on the loop. Consequently, when the Möbius strip is mapped into 3D space, its single boundary edge must be mapped directly onto the original closed loop sitting in the $xy$-plane.
- Input: an unordered pair $\{x, y\}$ from the loop. - Output: a point $(m_x, m_y, d)$ in $\mathbb{R}^3$, where $m = \frac{x+y}{2}$ and $d = \|x - y\|$. - Degenerate boundary pairs $(x, x)$ have $d = 0$ and $m = x$, anchoring the entire boundary of the Möbius strip seamlessly to the original loop in the plane $z = 0$.
---
[14:39](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=879s) Self-Intersection and the Solution to the Inscribed Rectangle Problem
The topological crux of the proof comes down to a fundamental physical and mathematical constraint: you cannot take a Möbius strip and glue its boundary edge down onto a flat two-dimensional plane without forcing the interior of the strip to intersect itself. Because the boundary edge must match the loop in the $xy$-plane, the surface spanning that boundary must cross through itself somewhere in the space above.
> “Since points of the Möbius strip represent pairs of points on the loop, if the strip intersects itself during this mapping, it means that there are at least two distinct pairs of points that correspond to the same output on this surface, which means they share a midpoint and are the same distance apart, which in turn means that they form a rectangle.”
```mermaid flowchart TD accTitle: Topological Intersection Yields a Rectangle accDescr: Logical deduction showing how self-intersection of the Möbius strip guarantees an inscribed rectangle. A["Möbius boundary mapped to 2D loop"] --> B["Strip is topologically forced to self-intersect"] B --> C["Two distinct pairs map to identical (m, d)"] C --> D["Pairs share midpoint m and distance d"] D --> E["Four points form a rectangle on the loop"] ```
That single topological self-intersection resolves the entire inscribed rectangle problem. While the visual intuition that a Möbius strip must self-intersect when bounded by a planar curve seems clear, establishing it rigorously is precisely why the field of topology was developed. Sanderson notes that for students taking topology in the future, proving this rigorously is an illuminating exercise that clarifies why topologists construct technical definitions the way they do. He emphasizes that these shapes are far more than idle curiosities:
> “The reason for talking about the torus and the Möbius strip was not because we were playing around with construction paper, or because we were daydreaming about deforming a coffee mug.”
Rather, these surfaces emerge organically as the configuration spaces required to solve concrete, tangible geometry problems.
- A self-intersection point $(m, d)$ on the mapped surface represents two distinct unordered pairs, $\{A, B\}$ and $\{C, D\}$. - Both segments $AB$ and $CD$ have identical lengths ($d$) and bisect each other at the exact same midpoint ($m$). - Any two line segments that share a midpoint and have equal lengths define the diagonals of a rectangle, proving that the vertices $A, B, C, D$ lying on the loop form an inscribed rectangle.
## Notable quotes > [11:38](https://www.youtube.com/watch?v=AmgkSdhK4K8&t=698s) The Möbius strip is to unordered pairs of points on the loop what the xy-plane is to pairs of real numbers. — Grant Sanderson
## Mentioned Grant Sanderson, 3Blue1Brown, Möbius strip, Inscribed square problem, Inscribed rectangle problem, Torus
## Video description There’s now an updated version: https://youtu.be/IQqtsm-bBRU
[Source](https://www.youtube.com/watch?v=AmgkSdhK4K8)