The relations on the numbers, on sets and "divides" on the positive integers do not sort things into groups of equals; they rank them, and ranking needs its own definitions of what comes first, what sits on top, and when a collection has a top at all.
The previous lesson picked out the equivalence relations, those that are reflexive (every element is related to itself), symmetric (a relation one way gives it the other way) and transitive (related along a chain means related end to end), and showed that they group things. This lesson turns to the relations that rank. It assumes relations as sets of pairs, power sets, the quantifiers, and divisibility: when for some integer . As throughout the course, .
Antisymmetry
An order cannot be symmetric: if forced , then would give . What an order has instead is that two things each ranked below the other are the same thing. A relation on a set is antisymmetric when
The symbol stands for an abstract relation of this kind, read "precedes or equals"; is kept for numbers.
Antisymmetric is not the negation of symmetric. Equality is both, since whenever and , certainly . And " is even" on is symmetric without being antisymmetric, since it relates and both ways.
To prove antisymmetry, take arbitrary and , assume both and , and deduce . To refute it, exhibit two different elements related both ways.
Partial orders
A relation on that is reflexive, antisymmetric and transitive is a partial order, and with it is a partially ordered set, or poset. Three examples carry the lesson.
The first is on , with the ordering facts of school algebra taken as known. Reflexivity is . For antisymmetry, suppose and ; if then and , and adding gives , which is false, so . For transitivity, and mean and , and adding gives .
Example. Let be a set. Prove that is a partial order on the power set , the set of all subsets of .
Reflexive: for every , every element of is an element of , so . Antisymmetric: let and . Each set is a subset of the other, which is exactly the double inclusion that proves two sets equal, so . Transitive: let and , and let . Since , , and since , . As was arbitrary, . All three properties hold, so is a partial order on .
Now you. Prove that divisibility is a partial order on .
Answer
Reflexive: , so . Transitive: let and , say and with integers. Then and is an integer, so . Antisymmetric: let and , say and . Then , and since , . Because and are positive, so are and , and two positive integers with product are both . So .
The positivity is doing real work. On , divisibility is still reflexive and transitive, but since , and since , while . The broken step is the last: also has the integer solution . So divisibility is not a partial order on .
Total orders and strict orders
Two elements and of a poset are comparable when or . A partial order in which every pair is comparable is a total order, or linear order, because its elements line up in a single row. The order on is total: for any two reals, either or .
The other two examples are not. Neither of and divides the other, so they are incomparable under divisibility, and so are and . In the sets and are incomparable, since neither is a subset of the other. This is what "partial" means: the order ranks some pairs and is silent about others.
Each partial order has a strict version: means and , which turns into , into "is a proper subset of", and divisibility into "divides and is different from".
Hasse diagrams
A finite poset can be drawn economically, leaving reflexivity and transitivity for the reader to fill in. Say that covers when and there is no with . The Hasse diagram puts each element as a point, places higher on the page than whenever , and draws a line only for covering pairs. Then exactly when or a path climbs from to .
Take the eight divisors of , namely , under divisibility. The number is covered by the primes , and . Then is covered by and , by and , and by and . Finally , and are each covered by . That is twelve lines, drawn as the edges of a cube standing on the corner , with at the opposite corner. The poset has nineteen strict pairs in all (for instance ), but the other seven follow by climbing.
The cube is no accident. A divisor of is a product of some of the primes , and , and exactly when the primes of are among those of . So the divisors of under divisibility have the same diagram as under .
The divisors of give a different shape. They are . Here is covered by and ; is covered by and ; by ; and and are covered by . Note that does not cover , because and lie between. Those seven lines draw two squares sharing an edge, from to , rather than a cube.
Maximal against greatest
"Top" has two meanings in a poset, and they come apart as soon as the order is not total. An element of is greatest when everything lies below it: for every . An element is maximal when nothing lies strictly above it: there is no with . Least and minimal are the same definitions turned upside down.
Take the divisors of other than , the set under divisibility. Nothing in it is a proper multiple of or of , so both are maximal. Neither is greatest, since neither divides the other, and nothing else could be, since a greatest element would be a multiple of both. So there are two maximal elements and no greatest. At the bottom, divides everything and is least. In a Hasse diagram the maximal elements are the points with no line going up.
Greatest is a statement about every element; maximal is a statement about none. That is why a greatest element is always maximal (anything above it would also be below it, and antisymmetry makes the two equal), while a maximal element may simply be incomparable with the rest. In a total order every pair is comparable, and the two notions coincide.
Infinite posets can lack both: under , has no maximal element, since .
Example. Prove that a poset has at most one greatest element.
Let and both be greatest elements of . Since is greatest and , we have . Since is greatest and , we have . By antisymmetry, .
Antisymmetry supplies the equality, and it is why one may speak of "the greatest element", written when it exists.
Now you. Prove that if a poset has a greatest element , then is the only maximal element of .
Answer
First, is maximal. Suppose for some , so and . Since is greatest, , and antisymmetry gives , a contradiction. Second, let be any maximal element. Since is greatest, . If then , contradicting maximality of . So .
The poset is the contrapositive at work: it has two maximal elements, so it cannot have a greatest one.
Upper bounds and the least upper bound
Maximal and greatest look inside a set. Bounds look at it from outside, within a larger poset. Let be a subset of a poset . An element is an upper bound of when for every , and is bounded above when it has one. Lower bounds are defined the other way up. An upper bound need not belong to : in , the upper bounds of are exactly the numbers , and none of them is in the set.
Among the upper bounds, the one that matters is the lowest. An element is the least upper bound, or supremum, of , written , when two conditions hold:
Condition (i) says is an upper bound; condition (ii) says it lies below every other one. Together they say is the least element of the set of upper bounds, so by the upside-down version of the Example above there is at most one, and "the" is earned. The greatest lower bound, or infimum, , is defined the other way up.
The definition works in any poset. Under divisibility on the upper bounds of are the common multiples, and each is a multiple of (if and , then is even, so is even). So , the least common multiple. Under , , since any set containing and contains their union.
In , where is total, condition (ii) has a working form: no number below is an upper bound, that is, for every some has . If belongs to , it is the greatest element: . But it need not belong.
Example. Prove that has , and that .
The set is . For (i), each element satisfies because , so is an upper bound. For (ii), let ; we show is not an upper bound. Since , choose a natural number , which exists because has no upper bound in , a fact a later lesson proves. Then , so , and an element of lies above . Every upper bound is therefore at least , and . Finally would force , which no allows, so , and has a supremum but no greatest element.
Now you. Prove that without using any fact about .
Answer
For (i), every satisfies , so is an upper bound. For (ii), let and find an element of above it. If , the element will do. If , take the midpoint : then and , so and . So no number below is an upper bound, and , which is not in the interval.
A supremum can also fail to exist. The empty set has every real as an upper bound and so no least one, and has no upper bound in at all.
A gap in the rationals
Whether a least upper bound exists depends on the poset the bounds are drawn from, just as surjectivity depended on the codomain. Work in under , and let
The set is nonempty, since , and bounded above in by , since a rational has . In fact any positive rational with is an upper bound: if some had , then , contradicting .
So the rational upper bounds can be pushed down, and the elements of pushed up. The decimals , , and have squares , , and , all above , so each is an upper bound. The decimals , , and have squares , , and , all below , so each is in . The two sides close in on a number whose square is , and an earlier lesson proved that no rational has square .
That suggests a fact, stated here and proved in a later lesson: is nonempty and bounded above in , yet has no least upper bound in , because below every rational upper bound lies a smaller one. Inside the same set has supremum . The rationals are totally ordered, as the reals are, yet something the reals have is missing from them, and least upper bounds are where the absence shows.
Whether every nonempty set of reals bounded above has a least upper bound is a question about what sets of real numbers look like, and it is where the course is heading. A prior question comes first: how many real numbers are there? Both and are infinite, and it is not yet clear that one infinity can be larger than another. The next lesson settles it by comparing the sizes of infinite sets.