Deep-dive audio discussion on Hippasus, Pythagorean cosmology, the crisis of incommensurability, and rational gaps.
Welcome to Lecture 2! In our previous session, we established the grammatical foundation of sets and mappings. Today, we turn our attention to numbers—objects you have been working with since primary school. Yet, as we examine them through the lens of real analysis, familiar concepts will take on a deeper, more rigorous character.
You might wonder why we need formal proofs to establish things that feel intuitively obvious—such as the fact that between any two fractions, there is always another fraction, or that $\sqrt{2}$ cannot be written as a simple ratio of integers. After all, if our calculators and geometric intuition already tell us these things are true, why labor through the logic?
The reason is that intuition alone can hide subtle traps. The ancient Greeks were profoundly shocked to discover that the diagonal of a unit square ($\sqrt{2}$) slips entirely through the cracks of the rational numbers, revealing invisible "holes" in the number line. Proving these properties from first principles gives us absolute certainty, ensuring that when we eventually build limits and calculus upon these numbers, our foundation never shakes.
If constructing proofs by contradiction or working through algebraic inequalities feels challenging at first, take a deep breath—that is completely normal. Mathematical rigor is a craft acquired one careful step at a time. Take your time with the examples, explore the arguments, and remember that every expert analyst started exactly where you are now.
Before we examine fractions and the real number line, where do numbers begin? Mathematically, the set of natural numbers $\mathbb{N} = \{0, 1, 2, \dots\}$ is defined from the ground up using Peano's Axioms. Think of natural numbers as a connected chain or graph starting at root $0$ with no branching and no loops:
Induction is our primary tool for proving properties across infinite sequences. Once we step beyond the counting numbers into fractions ($\mathbb{Q}$) and the unbroken real continuum ($\mathbb{R}$), we rely on these foundational rules to ensure our arithmetic never breaks down.
Let's prove the famous identity for the sum of the first $n$ positive integers for all $n \ge 1$:
Think of induction like toppling an infinite row of dominoes. We need two things: (1) knock down the very first domino, and (2) guarantee that each domino knocks down the next one.
If you ask someone whether fractions (rational numbers, $\mathbb{Q}$) fill up the number line, their first instinct is usually "Yes, absolutely." After all, how could you possibly find empty space between fractions when they are crammed together so tightly?
To build our intuition, let's look at a concrete example. Pick any two fractions—say, $0.3$ and $0.4$. Are they touching? Not at all! We can easily slip $0.35$ right between them. But why stop there? Between $0.3$ and $0.35$, we can place $0.31$, $0.32$, or $0.301$. In mathematics, this property of endless crowding is called density.
Instead of guessing decimals, how do we prove this works for any two arbitrary fractions $a$ and $b$ where $a < b$? We use a wonderfully simple tool: the arithmetic midpoint.
If you add two numbers together and divide by $2$, you get the exact halfway point:
Because adding two fractions and dividing by a whole number always yields another fraction, $c_1$ is guaranteed to be a rational number. And because it's the exact average, it sits safely between $a$ and $b$ ($a < c_1 < b$).
Now, what happens if we take $a$ and our new midpoint $c_1$, and find their midpoint ($c_2 = \frac{a + c_1}{2}$)? We can repeat this zooming-in process endlessly, generating an infinite stack of unique fractions trapped between our original starting points:
We start with interval $[0.3, 0.4]$. No fractions are plotted yet. The line appears continuous, but infinitely many rational points are waiting between the endpoints.
Demonstrating closure under division: any arithmetic average of two rationals is strictly guaranteed to generate a brand new, valid rational number.
Suppose you are given two fractions that look right next to each other: $a = \frac{3}{7}$ and $b = \frac{4}{7}$. How do we find a rational number strictly between them without touching a calculator or using repeating decimals?
Every arithmetic operation on integers and fractions produces another fraction. You can produce an infinite sequence of rational stepping stones between any two points simply by repeating this process!
It is completely natural for beginners to assume: "If fractions are infinitely dense, they must cover every single point on the number line, right?"
Surprise! That is the biggest trap in early analysis. Even though rational numbers are packed so tightly that you can never find two "touching" without another fraction between them, the rational line is riddled with microscopic holes. As we are about to discover in Section 3, numbers like $\sqrt{2}$ fall right through those invisible gaps!
In Section 2, we saw that the rational numbers ($\mathbb{Q}$) are dense—you can always squeeze another fraction between any two. It is tempting to look at that infinite crowding and assume the number line is completely solid. But ancient Greek mathematicians discovered a shocking geometric reality that shattered this illusion.
Imagine drawing a simple right-angled triangle with both legs measuring exactly $1$ unit. By Pythagoras' theorem, the length of the diagonal hypotenuse $c$ is given by $c^2 = 1^2 + 1^2 = 2$, which means $c = \sqrt{2}$. Where does this length live on our rational number line? Nowhere! Exactly where $\sqrt{2}$ belongs, there is an invisible pinprick hole.
We view the macro scale between $1.40$ and $1.50$. The red dashed line marks the exact location of $\sqrt{2}$.
Demonstrating coordinate limits: fractions can approach $\sqrt{2}$ infinitely closely without ever landing on the missing coordinate.
If proof by contradiction feels a bit like a legal loophole or a magic trick the first time you see it, take heart—that is completely normal! When we want to prove a negative statement (like "there is no fraction equal to $\sqrt{2}$"), a direct proof is practically impossible because we cannot check an infinite number of fractions one by one.
Proof by contradiction lets us outsmart infinity. Instead of searching an infinite haystack for a needle that isn't there, we use an indirect four-step method (Reductio ad Absurdum):
To prove mathematically that no fraction can ever plug this hole, let's apply this method to $\sqrt{2}$:
Assume $\sqrt{2}$ could be written as a simplified fraction $\frac{p}{q}$ for integers $p$ and $q$ (with $q \neq 0$ and no common factors). Squaring both sides gives:
Think about prime factorizations. When you square any whole number, all its prime factors double in count, meaning every perfect square must contain an even number of prime factors (counting multiplicities).
Therefore, $p^2$ has an even number of prime factors. But look at $2q^2$: $q^2$ has an even number, and multiplying by one extra $2$ makes it an odd number! An even number can never equal an odd number ($2n \neq 2k+1$). This inescapable contradiction proves that our starting assumption was false: $\sqrt{2}$ cannot be a fraction ($\sqrt{2} \notin \mathbb{Q}$).
Hippasus of MetapontumHippasus of Metapontum was an early Greek philosopher and member of the Pythagorean brotherhood. The Pythagoreans held a mystical doctrine that "all is number", believing that every geometric magnitude in the cosmos could be expressed as an exact ratio of integers.
Shattering the World of Fractions: While examining the simplest geometric figure imaginable—a unit square with side lengths of $1$—Hippasus evaluated the diagonal hypotenuse $\sqrt{1^2 + 1^2} = \sqrt{2}$. Using an early geometric version of the parity contradiction shown above, he proved the diagonal is incommensurable with the sides: no common sub-unit exists that divides evenly into both.
By proving that $\sqrt{2} \notin \mathbb{Q}$, Hippasus revealed that the rational numbers leave gaping, invisible pinprick holes along the number line. According to mathematical lore, the discovery so severely undermined Pythagorean cosmology that Hippasus was taken out to sea and thrown overboard for heresy.
When we patch the gaps in the rational numbers $\mathbb{Q}$ to build the real numbers $\mathbb{R}$, we want to make sure our new number line behaves nicely. We don't want arithmetic to act unpredictably or inequalities to contradict themselves.
To guarantee this, mathematicians define $\mathbb{R}$ as a complete ordered field. That sounds like intimidating vocabulary, but it simply means $\mathbb{R}$ is built on three common-sense promises:
Without these three guarantees, calculus as we know it would collapse:
• Without Completeness, limits could march endlessly toward a target value (like zooming in on $\sqrt{2}$) only to fall through a missing hole because the destination doesn't exist in the number system.
• Without Order, inequalities and directions would become unstable, making it impossible to define closeness or continuity.
• Without the Field rules, basic algebraic manipulation (like expanding brackets or solving equations) would break down into unpredictable exceptions.
Demanding that $\mathbb{R}$ be a complete ordered field gives us a flawless, unbroken bedrock where calculus can stand safely.
Let's break down how these three promises translate into everyday rules you can trust:
Think of this as the basic grammar of addition and multiplication. These are rules you have trusted your whole life:
Have you ever wondered how numbers relate to each other on a line? The Trichotomy Property guarantees that if you pick any two real numbers $a$ and $b$, there is never any confusion or ambiguity about where they stand. Exactly one of three things must always be true:
As illustrated below relative to a fixed reference point $b$, any candidate number $a$ must fall into one of these three mutually exclusive zones:
When we work with inequalities, we need to know that shifting or scaling our numbers won't break logical sense. Let's examine each rule paired with its own visual diagram:
If $a > b$ and $b > c$, then $a > c$. If your budget is higher than Alice's, and Alice's is higher than Bob's, yours is definitely higher than Bob's.
If $a > b$, adding the same number $c$ to both sides preserves the inequality ($a + c > b + c$). Whoever had more beforehand still has more after a shared shift!
If $a > b$ and you scale both sides by a positive number $c$, the inequality remains unchanged ($ac > bc$ when $c > 0$).
If $a > b$ and you multiply both sides by a negative number $c$, the inequality symbol flips around ($ac < bc$ when $c < 0$). As shown below, multiplying by $-1$ mirrors the entire number line!
We all know that $(-3)^2 = 9 > 0$ and $3^2 = 9 > 0$. But how do we prove from pure axioms that $x^2 \ge 0$ for every real number $x$, without making assumptions about arithmetic?
We use the Trichotomy Property. For any real number $x$, exactly one of three cases must be true:
By Trichotomy, there are no other possibilities. Therefore, $x^2 \ge 0$ for all $x \in \mathbb{R}$, with equality if and only if $x = 0$. From this single deduction flows almost all of optimization, quadratic equations, and metric distances!
Eudoxus of CnidusEudoxus of Cnidus was an ancient Greek astronomer, scholar, and mathematician, widely considered antiquity's greatest geometer alongside Archimedes. Following the crisis of incommensurability sparked by Hippasus, Greek geometry was paralyzed because existing proofs relied on integer ratios that failed for irrational lengths.
The Theory of Proportions: Preserved in Book V of Euclid's Elements, Eudoxus formulated a rigorous definition of proportion that applied equally to rational and incommensurable magnitudes. Crucially, he established what we now know as the Archimedean Property: any two positive quantities can exceed one another if either is added to itself a sufficient number of times.
In modern analysis, this guarantees that the real line contains no non-zero "infinitely small" ghosts. No matter how small an interval $\epsilon > 0$ is chosen, taking enough discrete steps of size $\epsilon$ will inevitably outrun any finite number, establishing an essential bridge between discrete counting and continuous space.
In everyday speech, when someone says "take the absolute value," the rule of thumb you probably learned was simply: "throw away the minus sign." For example, $|5| = 5$ and $|-5| = 5$.
While that rule of thumb is fine for quick mental arithmetic, real analysis asks you to look at absolute value through a much more powerful lens: geometry and physical distance. If you place a tape measure between two marks on a workbench, the distance is never negative, regardless of whether you measure from left to right or from right to left.
To express this rigorously without relying on informal words like "drop the sign", mathematics defines the absolute value function $|x|: \mathbb{R} \to \mathbb{R}$ piecewise:
Notice what happens when $x$ is negative: if $x = -4$, then $-x = -(-4) = +4$. The extra minus sign cancels out the negativity, guaranteeing the final output is always non-negative.
When you measure the distance between any two coordinates $a$ and $b$ on the number line, you simply take the difference between them inside an absolute value:
Because $|a - b| = |b - a|$, distance is completely symmetric: the distance from Alice at $2$ to Bob at $6$ is $|2 - 6| = |-4| = 4$, and the distance from Bob to Alice is $|6 - 2| = |4| = 4$.
Here is where real analysis truly begins. In calculus, when we say "$x$ is getting closer and closer to $a$," how do we write that with mathematical precision? We use the Greek letter epsilon ($\varepsilon$) to represent an arbitrarily small positive margin of error.
We say that $x$ is $\varepsilon$-close to $a$ if the distance between them is strictly less than $\varepsilon$:
Notation note: The double arrow $\iff$ stands for "if and only if" (logical equivalence). It simply means the statement on the left and the statement on the right are two different ways of saying the exact same truth: if one holds, the other automatically holds!
Geometrically, this creates an open safety buffer centered right at $a$, reaching $\varepsilon$ units to the left and $\varepsilon$ units to the right. In analysis, this open interval $(a - \varepsilon, a + \varepsilon)$ is called the $\varepsilon$-neighbourhood of $a$.
Have you ever wondered why an algebraic rule about numbers on a flat line is named after a triangle?
In geometry, the shortest distance between two points is a direct straight line. If you start at point $A$ and want to go to $C$, walking directly along side $c$ will always be shorter than taking a detour through point $B$ (walking $a + b$). In any physical triangle, no single side can ever be longer than the other two sides combined:
On the real number line, this triangle is simply flattened into one dimension. If $a$ and $b$ pull in opposite directions (like $-2$ and $+4$), their cancellation shrinks the net result to $|-2 + 4| = 2$, which is strictly smaller than walking the full detour distance $|-2| + |4| = 6$. The only time equality holds ($|a + b| = |a| + |b|$) is when both numbers push in the exact same direction!
The forward triangle inequality gives you a ceiling: the direct journey $|a - b|$ can never be longer than $|a| + |b|$. But does it have a floor? Can the distance between two points shrink to zero if the two sticks have different lengths?
Of course not! If one stick has length $10$ and another stick has length $3$, the third side of any triangle connecting them must be at least $10 - 3 = 7$ units long, even if you fold them flat against each other. This is the Reverse Triangle Inequality:
The 2-Line Sneaky Proof: You don't need a whole new framework to prove this—it falls out of the forward triangle inequality with a clever substitution! Write $a$ as $(a - b) + b$:
Swapping the roles of $a$ and $b$ gives $|b| - |a| \le |a - b|$ as well. Putting those two bounds together wraps the difference into absolute values: $||a| - |b|| \le |a - b|$!
Why does $|a + b| \le |a| + |b|$ hold for all real numbers? Remember that every real number $x$ is trapped between its negative and positive absolute value:
Now test what happens to the sum $a + b$:
In both cases, $|a + b|$ never exceeds $|a| + |b|$!
Find all real numbers $x$ that satisfy:
Instead of treating this as blind algebra, let's solve it both algebraically and geometrically as a neighbourhood:
Karl WeierstrassKarl Weierstrass was a German mathematician universally regarded as the "father of modern analysis." For the first two centuries following Newton and Leibniz, calculus relied heavily on physical intuition, moving particles, and geometric graphs—descriptions that frequently collapsed when dealing with pathological curves.
Absolute Value as a Metric: Weierstrass realized that rigorous analysis required eliminating vague kinematic phrases like "approaches" or "gets infinitely close." He replaced them with static, algebraic inequalities centered entirely on the absolute value function $|x - y|$.
By defining closeness through exact distance bounds ($|f(x) - L| < \epsilon$ whenever $|x - c| < \delta$), Weierstrass transformed the absolute value from a mere sign-stripping operation into the primary measuring tape of pure mathematics. Properties like the Triangle Inequality became the workhorses that prove whether sequences converge and functions stay continuous.
Up to this point, we have established arithmetic rules and measured distances between numbers. But we now arrive at the true crown jewel of introductory real analysis: Completeness.
In Section 3, we discovered that the rational numbers $\mathbb{Q}$ have missing coordinates like $\sqrt{2}$. We promised that the real numbers $\mathbb{R}$ "patch" all of these invisible pinpricks. But how do mathematicians describe an unbroken continuum without using hand-wavy words like "no holes"?
The answer lies in two deceptively simple concepts: ceilings (bounds) and tightest ceilings (suprema).
Imagine a collection of numbers sitting inside a set $S \subseteq \mathbb{R}$. Think of an upper bound as any ceiling that hangs above every single member of the set:
The Ceiling Ambiguity: Notice that ceilings are never unique! If you are standing in a room with a 3-metre ceiling, a 10-metre ceiling is also safely above your head, as is a 100-metre ceiling. If $K$ is an upper bound, any larger number $K' > K$ is automatically an upper bound too.
A set has a maximum only if the highest ceiling actually belongs to the set itself ($M \in S$).
The open interval $(0, 1)$ gets infinitely close to $1$ without ever touching it. Therefore, $(0, 1)$ has no maximum! This reveals why we need a sharper tool than just maximums and minimums.
Since upper bounds can be unnecessarily tall (like choosing a ceiling a kilometer high), analysts ask: "What is the lowest, tightest possible ceiling you can place over the set without cutting into it?"
Similarly, the infimum ($t = \inf S$) is the greatest lower bound—the highest possible floor supporting the set from below.
The Crucial Difference: While $(0, 1)$ has no maximum, its supremum exists and is exactly $1$ ($\sup(0, 1) = 1$). A supremum acts as a generalized maximum: if the maximum exists, it equals the supremum; if the maximum does not exist, the supremum still pins down the exact border where the set ends!
Now we can formulate the bedrock principle that separates the rational numbers from the real numbers:
In plain language: if a set of real numbers has any ceiling at all, it is guaranteed to have an exact, tightest ceiling that belongs to the real number continuum.
Consider the set of rational numbers whose squares are less than $2$:
Is $S$ bounded above in $\mathbb{Q}$? Absolutely. The rational numbers $2$, $1.5$, and $1.42$ are all valid rational ceilings.
Does $S$ have a least upper bound inside $\mathbb{Q}$? No! The tightest ceiling wants to sit at exactly $\sqrt{2}$. But as we proved in Section 3, $\sqrt{2}$ is not rational! If you choose any rational upper bound slightly larger than $\sqrt{2}$ (like $1.415$), you can always find another rational upper bound even closer (like $1.4143$). Because the target point is missing from $\mathbb{Q}$, the ceiling falls right through the hole!
Completeness guarantees there are enough numbers to plug every gap. But how do we ensure there aren't too many numbers (like mysterious infinitely large elements sitting beyond all natural counting)?
This is settled by the Archimedean Property of the real numbers:
In simple terms: no matter how tiny a step $x$ you take (say, a millimeter), and no matter how huge a mountain $y$ stands before you (the distance to the moon), taking sufficiently many repeated steps ($nx$) will eventually surpass $y$. The natural numbers $\mathbb{N}$ march without boundary across all of $\mathbb{R}$.
Let's test these concepts on three representative sets:
Looking back across today's lecture, what seemed at first glance like separate technical topics—domino induction proofs, rational midpoint averages, $\sqrt{2}$ contradictions, distance metrics, and ceilings—was actually a single, coordinated campaign to answer one profound mathematical question: "What does it actually mean for a line to be solid, unbroken, and continuous?"
Consider how each layer builds upon the last:
Without the Axiom of Completeness, the most fundamental theorems of calculus would completely fall apart:
By defining the real numbers $\mathbb{R}$ as a complete ordered field, we have constructed an unbroken, flawless stage. Next week, when we let sequences run along this continuum, we can be completely confident that wherever they converge, a real number will always be waiting to catch them.
Richard DedekindRichard Dedekind was a German mathematician who made foundational contributions to abstract algebra and number theory. In 1858, while preparing lecture notes for an introductory calculus class at the Polytechnic in Zürich, he was deeply troubled to discover that while textbooks spoke constantly of the "continuous real line," mathematics possessed no rigorous definition of what continuity actually meant.
Dedekind Cuts: In his landmark 1872 treatise Stetigkeit und irrationale Zahlen (Continuity and Irrational Numbers), Dedekind asked: What is the fundamental property of a line that has no gaps? His insight was that any knife cut dividing the real numbers into left and right halves must pass through an exact boundary point.
When slicing the rational numbers $\mathbb{Q}$ at $\sqrt{2}$, however, the knife passes through nothing: the left set has no maximum, and the right set has no minimum. Dedekind showed that by defining irrational numbers as the cuts themselves, we fill every microscopic pinprick hole in $\mathbb{Q}$, guaranteeing that every bounded set has a supremum and completing the continuum $\mathbb{R}$.
Work through the progressive interactive problems to lock in these foundational concepts before moving on to Lecture 3.
Launch Interactive Problem Stepper ➔