0.1 (§3) Relations
- •
Def. A relation on is a subset . Write for ; read “ is in the relation to ”.
Note. Contrast with §2. The graph of a function is also a subset of , but a very special one: each occurs exactly once as a first coordinate. Delete that condition and what remains is a relation. Nothing else is required — any subset will do.
- •
Rmk. Two families of relations carry the weight in this course:
- –
equivalence relations — used from §22 onwards (quotients);
- –
order relations — used from §14 onwards (the order topology).
- –
Equivalence relations and partitions
- •
Def. is an equivalence relation on if for all :
- (1)
(reflexivity) ;
- (2)
(symmetry) ;
- (3)
(transitivity) and .
- (1)
- •
Notation. Write . The three conditions become ; ; and .
- •
Caution. Symmetry and transitivity do not give reflexivity. The empty relation on a nonempty set satisfies (2) and (3) and fails (1).
Note. The tempting bogus argument: “ gives , and transitivity then gives .” It assumes there is some with . Worth putting on the board and letting them find the hole; it is Munkres Exercise 3.3.
- •
Def. For the equivalence class of is
Nonempty, since by reflexivity.
- •
Lem. Two equivalence classes are either disjoint or equal.
Proof. Suppose , so and ; by symmetry and transitivity . For any we get , hence ; so . The situation is symmetric in and , so the reverse inclusion holds too.
- •
Def. A partition of is a collection of disjoint nonempty subsets whose union is .
- •
Thm. Equivalence relations on and partitions of determine one another:
- –
gives the partition (disjoint by the lemma, nonempty by reflexivity, covering since );
- –
a partition gives iff lie in the same element of ;
- –
the two constructions are mutually inverse.
Proof. For the second bullet: symmetry is immediate; reflexivity holds because covers ; transitivity holds because distinct elements of are disjoint, so the element containing is determined by . The equivalence classes of this relation are exactly the members of . For uniqueness, if and give the same partition then for each the classes and are both the unique member of containing , hence equal; so .
- –
- •
Ex. On , declare when . Classes: circles centred at the origin, together with .
- •
Ex. On , declare when . Classes: the horizontal lines. More generally gives the vertical translates of a parabola.
- •
Caution. The collection of all lines in the plane is not a partition: two distinct lines can meet. Disjointness is the condition that fails.
Note. Do one example where the classes are visibly a partition and one where the proposed pieces overlap. The picture does more than the axioms here. Point forward: in §22 the set of equivalence classes becomes a space, and this bookkeeping becomes the quotient topology.
Order relations
- •
Def. is an order relation (simple, or linear, order) on if:
- (1)
(comparability) or ;
- (2)
(nonreflexivity) holds for no ;
- (3)
(transitivity) and .
- (1)
- •
Notation. Write . Then means or ; means .
- •
Rmk. (2) and (3) together forbid and at once: transitivity would force . So exactly one of , , holds.
- •
Ex. The usual order on . A less familiar one: iff , or and .
- •
Ex. Relations satisfying (2) and (3) but not (1) — strict partial orders — are common; inclusion of subsets is one. [Mk §11]
- •
Def. For the open interval . If it is empty, is the immediate predecessor of and the immediate successor of .
- •
Def. and have the same order type if some bijection satisfies .
- •
Ex. and have the same order type, via
- •
Def. Dictionary order on :
- •
Ex. in the dictionary order has the order type of ; does not — in the latter every element has an immediate successor.
Note. Same two factors, order of the factors swapped, genuinely different order types. Draw the two pictures: a line broken into intervals versus a stack of copies of . This is the example that makes §14 worth doing.
The least upper bound property
- •
Def. Let . An element is an upper bound for if for all ; is bounded above if one exists. A smallest upper bound is the least upper bound, . Dually: lower bound, bounded below, .
- •
Caution. need not lie in . If it does, it is the largest element of .
- •
Def. An ordered set has the least upper bound property if every nonempty subset that is bounded above has a least upper bound. Greatest lower bound property: dually.
- •
Thm. The two properties are equivalent.
- •
Ex. has the least upper bound property; a subset bounded above in has a real supremum, which must lie in .
- •
Ex. does not. The set is bounded above by every element of , and has no least upper bound in : the candidate has been removed.
Note. One deleted point destroys the property. Keep this example — an ordered set with this property and no immediate successors is a linear continuum, and that is exactly what makes the intermediate value theorem work in §24.
0.2 (§4) The Integers and the Real Numbers
- •
Rmk. §§1–3 were the logical foundations: sets, functions, relations. Now the mathematical foundation — and — stated as axioms rather than constructed.
Note. Two routes are available: build from set theory with bare hands, or assume it and list what you assumed. The first is honest logic and costs weeks; the second costs one blackboard. Take the second, say why, and move on.
- •
Def. A binary operation on is a function . Written infix: , , rather than .
Assumption — there is a set with , , and an order such that:
- •
Algebraic.
- (1)
and are associative;
- (2)
and are commutative;
- (3)
there are with and for all ;
- (4)
every has an additive inverse; every has a multiplicative inverse;
- (5)
.
- (1)
- •
Mixed.
- (6)
; and .
- (6)
- •
Order.
- (7)
has the least upper bound property [Mk §3];
- (8)
there is with .
- (7)
- •
Notation. , , , are defined from (1)–(5); the usual laws of signs and of fractions are then theorems, not axioms. Likewise the laws of inequalities follow once (6) is adjoined.
- •
Def. A set with (1)–(5) is a field; with (6) as well, an ordered field; a set with an order satisfying (7) and (8) is a linear continuum.
Note. Split the list on the board into the algebraist’s half and the topologist’s half. Only (7) and (8) survive into this course — they involve no arithmetic at all, and they are exactly what §24 will use.
- •
Rmk. (8) is redundant: given , the element lies strictly between. It is listed separately only because it, with (7), is what the topology depends on.
- •
Notation. is positive if , negative if . = positive reals; = nonnegative reals.
Defining the integers
- •
Def. is inductive if and .
- •
Def. , the intersection of all inductive subsets of .
Note. The smallest inductive set. Nothing is being constructed — the positive integers are being carved out of a set we have already assumed. Say this; otherwise the definition looks like a trick.
- •
Rmk. is inductive, so : positive integers really are positive. Also is inductive, so is the smallest element of .
- •
Thm. Basic properties:
- –
is inductive;
- –
(induction) an inductive equals .
Note. The principle of induction is not an extra axiom here. It is immediate from the definition: is contained in every inductive set.
- –
- •
Def. ; . Sums, differences and products of integers are integers; quotients need not be.
- •
Rmk. No integer lies strictly between and .
- •
Notation. , the section of below ; so and .
Two alternative forms of induction
- •
Thm. (Well-ordering) Every nonempty subset of has a smallest element.
Proof. First show by induction on that every nonempty subset of has a smallest element. For the only such subset is . For the step, let be nonempty: if we are done; otherwise is nonempty and its smallest element is smallest in . Now take any nonempty , pick , and apply this to , which is nonempty; its smallest element is smallest in .
- •
Thm. (Strong induction) If and, for every , implies , then .
Proof. If not, well-ordering gives a smallest . Every positive integer below lies in , i.e. , so the hypothesis forces — contradiction.
Note. Note the direction of use: strong induction is proved from well-ordering, which is proved from ordinary induction. Worth drawing the arrow; students often assume the three are unrelated.
Where the least upper bound axiom is actually needed
- •
Rmk. Everything above used only (1)–(6). Axiom (7) has not yet been touched.
- •
Thm. (Archimedean ordering property) has no upper bound in .
Proof. Suppose it had one. By (7) it has a least upper bound . Then is not an upper bound, so for some ; hence with , contradicting that bounds .
- •
Rmk. Other consequences of (7): the greatest lower bound property; existence of for every ; and hence the existence of irrational numbers, e.g. .
Note. This is the answer to “why assume something as strange as (7)?” Without it the positive integers could be bounded, square roots need not exist, and could be . Three sentences here buy a lot of goodwill.
- •
Caution. The familiar decimal symbols , , … do name the positive integers uniquely, but that is a fact we never need and will not prove.
0.3 (§5) Cartesian products
- •
Def. Indexing function for : a surjection ; write , family . Not assumed injective: is allowed for .
- •
Notation. , ; finite case .
- •
Def. -tuple function , written ; ; .
- •
Def. sequence function , written (also called an -tuple); ; .
- •
Def. General product. -tuple function , .
Note. Stress: a point of an infinite product is a function. Everything about product topologies later reads more easily from this description.
0.4 (§6) Finite sets
- •
Def. Section of : ; for this is .
- •
Lem. injective .
Proof. Induction on : delete , use a bijection .
- •
Cor. Hence there is no injective when . (Pigeonhole.)
- •
Prop. A bijection forces .
Proof. Apply the lemma to and to .
- •
Cor. Hence there is no bijection when .
- •
Def. is finite of cardinality if there is a bijection . Cardinality is well defined. Ex. has cardinality ; singletons have cardinality .
- •
Lem. is finite, of cardinality ; if the cardinality is .
- •
Thm. A finite set admits no bijection with a proper subset of itself.
- •
Cor. is not finite: is a bijection of with the proper subset .
- •
Cor. Any subset of a finite set is finite; if then .
- •
Prop. TFAE: (1) finite; (2) some ; (3) some .
Proof. : send to .
- •
Prop. Finite unions and finite products of finite sets are finite.
0.5 (§7) Countable and uncountable sets
- •
Def. is infinite if it is not finite. It is countably infinite if there is a bijection ; countable if it is finite or countably infinite; uncountable otherwise.
Note. Sections of are the model for finite; itself is the model for countably infinite. Same sentence, one word changed.
- •
Ex. is countably infinite: for and for bijects .
- •
Ex. is countably infinite — count along the anti-diagonals. A clean proof is below; the picture is not the proof.
The countability criterion
- •
Thm. For , TFAE:
- (1)
is countable;
- (2)
there is a surjection ;
- (3)
there is an injection .
Proof. : if is countably infinite this is the definition; if is finite, extend a bijection to all of by sending everything above to . : , as in §6. : restricting the range, bijects with a subset of , so it is enough to know every subset of is countable — the lemma below.
Note. This is the workhorse. After this, nothing is proved by exhibiting a bijection; everything is proved by exhibiting a surjection from or an injection into it. Say so explicitly.
- (1)
- •
Lem. An infinite subset is countably infinite.
Proof. Define by and
The set being minimised is nonempty — otherwise would surject onto , making finite — so is defined, using well-ordering at each step. Injective: for , while it. Surjective: given , the image is infinite, hence not contained in , so for some ; take least with . Then for , so , whence . So .
- •
Caution. The definition of above is not a proof by induction. Induction proves a statement about a function already defined; here the function is being brought into existence. What licenses it is the principle of recursive definition: if a formula gives uniquely, and for gives uniquely from the values , then it determines a unique . [Mk §8]
Note. Not all recursions are legitimate: “” asserts that is not in a set it belongs to. Same shape as the barber who shaves exactly the men who do not shave themselves. Worth one minute — it is the difference between a definition and a wish.
Closure properties
- •
Cor. A subset of a countable set is countable.
Proof. Restrict the injection into .
- •
Cor. is countably infinite.
Proof. is injective: with gives , and the left side is odd, so ; then forces . Apply the criterion.
Note. The anti-diagonal bijection is prettier but fiddly to verify. Unique factorisation makes it a one-liner — and it generalises immediately to .
- •
Ex. is countably infinite: surjects , and is infinite. Same argument for .
Note. The rationals are dense in and yet no more numerous than . Students find this the first genuinely surprising statement of the course; let it land before moving on.
- •
Thm. A countable union of countable sets is countable.
Proof. Index the family by and choose surjections and . Then surjects onto , and .
- •
Caution. The word choose there is doing real work: infinitely many are selected at once. This is an appeal to the axiom of choice. [Mk §9]
- •
Thm. A finite product of countable sets is countable.
Proof. For two factors, surjects ; then induct using .
- •
Caution. Finite is essential — see the next theorem.
An uncountable set
- •
Thm. Let . Then is uncountable.
Proof. (Cantor diagonal.) Let be any function and write . Define by
Then and for every , since the two differ in coordinate . So is not surjective, and by the criterion is not countable.
Note. Draw the array and circle the diagonal. Emphasise that no cleverness in choosing can help — the argument defeats every at once. That uniformity is the point, and it is the same move that will reappear for the uncountability of .
- •
Rmk. So countable products of countable sets need not be countable, in sharp contrast to finite products. [Mk §19] — the same contrast reappears for product topologies, where the box and product topologies agree on finite products and diverge on infinite ones.
- •
Rmk. is uncountable, by essentially the same diagonal argument applied to decimal expansions.