From: 3blue1brown

Introduction

The concept of covering numbers with open sets is a foundational result in measure theory, which provides the formal basis for how mathematicians define integration and probability [00:00:07]. This concept, often found to be highly counterintuitive, involves using infinitely many intervals to cover a set of numbers [00:00:21].

Defining Open Intervals and Covering

An “open interval” refers to a continuous stretch of real numbers that are strictly greater than a number ‘a’ and strictly less than a number ‘b’, where ‘b’ is greater than ‘a’ [00:05:41]. When discussing “covering” a set, it means that each specific number within that set must lie inside at least one of the chosen intervals [00:05:58].

The Challenge: Covering Rational Numbers

A common challenge in measure theory is to cover all rational numbers between 0 and 1 with open intervals, such that the sum of the lengths of these intervals is strictly less than 1 [00:05:52]. While the most obvious approach might be to use the entire interval from 0 to 1, this challenge specifies that the total length must be less than 1 [00:06:11].

This task seems impossible because rational numbers are “dense” in the real numbers [00:06:35], meaning any continuous stretch, no matter how small, contains infinitely many rational numbers [00:06:39]. Therefore, covering them without also covering the entire interval from 0 to 1 appears contradictory [00:06:44]. However, it is possible [00:06:59].

The Solution

The solution involves two key steps:

1. Enumerating Rational Numbers

First, the rational numbers between 0 and 1 are enumerated, meaning they are organized into an infinitely long list [00:07:06]. A natural way to do this is by listing them in order of their denominators, starting with 1/2, then 1/3 and 2/3, followed by 1/4 and 3/4 (excluding 2/4 as it’s already listed as 1/2), and so on, continuing with all reduced fractions for each denominator [00:07:13]. This process ensures each rational number appears exactly once in its reduced form, allowing for reference to the “first,” “second,” or “42nd” rational number [00:07:34].

2. Assigning Intervals with Converging Lengths

Next, one specific open interval is assigned to each rational number in the enumerated list [00:07:47]. To ensure the total length remains less than 1, an infinite sum with positive terms that converges to a desired value (e.g., 1/2 + 1/4 + 1/8 …) is chosen [00:08:14]. This sum can then be multiplied by any desired epsilon (a positive number, e.g., 0.5) so that the new sum converges to epsilon [00:08:22]. The length of the nth interval is then scaled to be equal to the nth term in this converging sum [00:08:34].

This means intervals get very small very quickly [00:08:42]. Since each interval is only responsible for covering one rational number [00:08:50], their sum can be arbitrarily small [00:09:00].

Intuition vs. Analytical Proof

This result often defies intuition [00:09:11]. The discord arises because the proof relies on analytical thinking, viewing rational numbers as an enumerable list [00:09:16]. Our intuition, however, tends to think geometrically, imagining rational numbers as a dense set on the interval where “skipping” any continuous stretch seems impossible due to the infinite rationals it would contain [00:09:20].

Visualizing Small Intervals

When illustrating this concept, especially with very small intervals, a visual representation might show the “parentheses” or markers of intervals crossing over, indicating an extremely tiny stretch between their centers [00:09:50].

For example, if epsilon is chosen as 0.3, it implies that if a number between 0 and 1 is chosen at random, there’s a 70% chance it falls outside these infinitely many intervals [00:10:08]. An irrational number, like the square root of 2 over 2, would be among those 70% [00:10:23]. Even when zooming in on such an irrational number, while rational numbers will always appear in the field of view, the intervals placed on top of them become very small, very quickly [00:10:38]. This illustrates that for any sequence of rational numbers approaching an irrational number, the intervals containing them shrink faster than the sequence converges [00:10:47].

Intervals are smaller if they appear later in the enumerated list, which corresponds to rational numbers having larger denominators [00:11:00]. Thus, an irrational number not being covered by the intervals formalizes the idea that the only rational numbers close to it have large denominators [00:11:08].

Connection to Musical Harmony

This mathematical result has a surprising connection to musical harmony. Just as some musical ratios (like the square root of 2) sound “cacophonous” because they are far from simple rational numbers [00:01:00], an irrational number like the square root of 2 over 2 is not covered by the intervals because the rational numbers near it have large denominators [00:11:08].

If the setup of covering intervals is shifted to the interval from 1 to 2 (representing musical ratios) and epsilon is set to a very small number, say 0.01 [00:11:35], then only a tiny percentage (1%) of numbers would be covered [00:11:45]. Almost all of these covered numbers would be harmonious, such as 2 to the 7/12ths (which is close to 3/2) covered by a “fat” interval [00:11:54]. The numbers that are cacophonous are those rational numbers with high denominators, and irrationals very close to them [00:12:12].

This mathematical fact implies that even for a “musical savant” who finds pleasure in all rational ratios (even complicated ones) [00:04:54], harmonious numbers would still be rare (e.g., only 1% of ratios) [00:12:45]. This happens if her tolerance for error decreases exponentially for more complicated rational numbers [00:12:35]. The fact that a collection of intervals can densely populate a range while covering only a small percentage of its values directly corresponds to the rarity of harmonious numbers, even for a savant [00:12:41].