Simulate
Check the claim with numbers
Take the set of the numbers for whole numbers : 0, , , , and so on. Every element is below 1. Does the set have a largest element, and what is the smallest number above all of it?
Among the first 100,000 elements, the largest is , still below 1, and the smallest is 0. Yet every number tried just below 1 is passed: an element exceeds from on. So 1 looks like the smallest number above the set, though no element reaches it.
Some sets have no such number, since nothing lies above all of 1, 2, 3 and so on. And the smallest number above a set need not be a fraction. Bisection (lesson 1.3.2) closes in on the top of the set of with :
After 50 halvings, lo and hi agree with to about 15 digits. But is not a fraction (stage PG2 proves it), so with fractions alone this set would have no smallest number above it. The real numbers fill such gaps, and this lesson says how.
Conjecture
Every element of the set
is below 1, and every number below 1 is passed by some element of . So 1 is the smallest number above , and has no largest element.
One hundred thousand elements stay below 1, and three numbers just below 1 are passed. A proof must handle every element and every number below 1.
Upper bounds and the supremum
The braces build a set: is the set of all numbers for whole numbers . An upper bound of a set is a number with for every element . If has one, it is bounded above, and then it has many: anything above an upper bound is one too.
The supremum of , written , is its least upper bound: an upper bound that is at most every other upper bound. Lower bounds and the infimum , the greatest lower bound, are the same ideas turned upside down.
Rule: Supremum
The symbol reads "is in". A supremum need not belong to . When it does, it is the maximum of , its largest element.
For the set of the conjecture, 2, 1.5 and 1 are upper bounds. But 0.9 is not, because the element is above it: the simulation's first element above .
The ε-test
The second half of the definition is easier to check in another form. An upper bound is the supremum exactly when every number below is passed by some element.
Rule: The ε-test for a supremum
The test works both ways: a supremum always passes it, and an upper bound that passes it is the supremum.
Here is why. Suppose the upper bound passes the test, and . Take : some element is above , so is not an upper bound, and is the least.
Conversely, let and . Then is below the least upper bound, so it is not an upper bound, and some element is above it.
Completeness
Rule: Completeness
We take this as a basic property of the real numbers, as lesson PG3.1 took well-ordering for the whole numbers. The fractions alone lack it, as the set of with suggests.
Completeness says a supremum exists without saying what it is. Lesson PG4.5 uses exactly that, to prove that a sequence converges before its limit is known.
Format 2
Fill the gap
The proof of the conjecture, with its key steps left out. Type each missing piece in , or as a number, then check.
1 is an upper bound. For every , , which is positive. So every element of is below 1.
Nothing smaller is an upper bound. Let . The Archimedean property, proved at the end of this lesson, gives a whole number , so and . By the ε-test, .
For , the first such whole number is , as the simulation found.
No largest element. Each element is passed by the next one, which is bigger by . That is positive, so no element is the largest, and the supremum 1 is not in .
The infimum. The elements increase, so the first one, , is the smallest. So , and here the infimum is in : it is the minimum.
How to type answers
- Powers with
^, brackets round a power that is a sum:r^k,r^(k+1). - Fractions with
/and brackets:(1-r)/(1+r). Multiply with*or side by side:2k+1. - Press Enter in any box to check them all.
Format 3
Find the error
A proof that every non-empty set with an upper bound has a largest element. The claim is false, so some line must be wrong. Select it.
Simulate
A claim of your own to prove
Lesson PG4.1 chose each with the Archimedean property: for every real number there is a whole number . For any particular , Python finds one with math.floor, which rounds down to a whole number.
Even for just above , the whole number 1000000000000001 is larger. In the form lesson PG4.1 used: for , has .
Conjecture
For every real number there is a whole number with .
Python finds a whole number above each it is given. The claim is that one exists for every real number, and its proof needs completeness.
Format 4
Write it
Prove the Archimedean property from completeness. Argue by contradiction: suppose that some real number has for every whole number .
Saved in this browser as you type.
Write your own first: a proof you have tried to write teaches far more than one you only read.
The form lesson PG4.1 used follows at once. For , take a whole number ; then .
Summary card
- An upper bound of has for every . The supremum is the least upper bound; the infimum is the greatest lower bound.
- The ε-test: an upper bound is exactly when, for every , some element is above .
- Completeness: every non-empty set of real numbers with an upper bound has a supremum. It need not be in the set: .
- The Archimedean property: for every real some whole number exceeds . Its proof needs completeness.