PrepShorts · Study sheet · Class 12 Mathematics · Chapter 1, Relations and FunctionsPrepShorts

Chapter 1 · Relations and Functions

A relation as a subset of a product set, and the two extreme cases

Sorting relations by the properties they have16 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

16 min.

A relation stops meaning anything and becomes a set of pairs you chose - and that is the gain, not the loss. Measured rather than asserted: on a four-element set there are 65536 relations, exactly 1 of them sits inside every other and exactly 1 contains every other, and rules of the two shapes anyone actually writes down reach only 12 of the 65536.

The idea

The chapter deliberately throws away the everyday requirement that a relation express a recognisable link, and keeps only this: R qualifies as a relation in A when R is some collection of pairs drawn from A × A — any collection at all. That looks like a loss and is in fact the whole gain — because every subset now counts, the relations on A form a collection with a smallest member and a largest one, and the classification the rest of §1.2 sets up runs over all of them with no gaps at either end.

What you should be able to do

  • State the chapter's definition of a relation carried by one set, and apply it as a membership test on a stated pair
  • Convert a relation given by a rule into its list of ordered pairs on a small finite set, and back
  • Use both notations for the same fact — the ordered pair sitting in R, and the infix form with R between the two symbols
  • Show that a stated rule selects no pair at all, and identify the resulting relation as the empty one
  • Show that a stated rule selects every pair, and identify the resulting relation as the universal one
  • Explain why both extremes must be admitted as relations rather than dismissed, and why the chapter groups them under one name
  • Distinguish a relation from A to B from a relation in a single set A, and say which one §1.2 works with
  • Count the ordered pairs available on a small finite set, and say how many relations that permits

Words to know

TermDefinition in one lineFirst introduced
relationany subset of the product of two sets, taken as the definition rather than derived from a linkprinted in this chapter (§1.1, Part I p. 1)
relation in a setthe case where both sets are the same, so R sits inside A × Aprinted in this chapter (§1.2, Part I p. 2)
ordered pairthe two-slot object whose membership of R is the whole questionprinted in this chapter (Miscellaneous Example 19, Part I p. 13)
subsetthe containment that carries the entire definition of a relationprinted in this chapter (§1.2, Part I p. 2)
empty relationthe relation whose rule selects no pair at allprinted in this chapter (Definition 1, §1.2, Part I p. 2)
universal relationthe relation that is the whole of A × Aprinted in this chapter (Definition 2, §1.2, Part I p. 2)
trivial relationsthe chapter's collective name for the two extremesprinted in this chapter (§1.2, Part I p. 2)
product setthe set of all ordered pairs drawn from two sets, written with a crossan added phrase; the book writes the cross notation and never names the construction in this chapter
infix notationwriting the relation symbol between the two objects instead of listing the pairan added label; the chapter shows the notation in its Remark without naming it

Where people slip up

  • "A relation has to mean something." The five opening examples all mean something, and the definition that replaces them means nothing at all. The book says explicitly that it does not require a recognisable link. Any set of pairs qualifies, including one chosen at random.
  • "The empty relation is a degenerate case, not really a relation." It is named, defined and numbered — Definition 1. It qualifies because the empty set sits inside A × A as a subset, and every subset is a relation. Excluding it would make the definition of a relation conditional, which is exactly what the chapter is trying to avoid.
  • "A rule that selects nothing must be a badly written rule." The rule a – b = 10 is perfectly well written; it is the set that makes it select nothing. Move to A = {1, 2, ..., 20} and the same rule selects ten pairs. The relation depends on the rule and the set together, never on the rule alone.
  • "Universal relation means the two sets are the same size, or that A = B." Universal is about one set A and means the relation is the whole of A × A. Size and equality of two different sets are not in the definition at all.
  • "An absolute value could come out negative if a is smaller than b." It cannot; that is what the bars do. This is why the second rule on Part I p. 2 admits every pair without a single case check, and it is worth pausing on, because students often verify it on two or three pairs and never see that it needed no verification.
  • "a R b and (a, b) belonging to R are two different facts." They are one fact in two notations, and the chapter says so in its Remark. Students who learn only one form stall when an exercise uses the other.
  • "Relations are between two different sets, so a relation in one set is unusual." §1.1 sets up two different sets and §1.2 immediately narrows to one. Everything the chapter goes on to define — reflexive, symmetric, transitive, equivalence — is defined only for a relation in a single set, because those words need to compare an element with itself.
Transcript2,354 words

Two lists of students, one from each of two year groups, and a question that sounds easy: how are they related? Here are five answers, and every one of them means something you could check by asking around the school. One has the other for a brother. One has the other for a sister. One is the older of the two. One scored less than the other. The two live in the same neighbourhood.

Each of those draws a different set of lines between the two lists, and each line is there for a reason a person could tell you. That is what the word relation means in English, and it is the wrong meaning for what comes next. Because in about one sentence, all five of these are going to be thrown away. Here is the definition that replaces them. Take the set of every ordered pair you could build with a first entry from one list and a second entry from the other.

A relation is any collection of those pairs. Any collection at all. Read that again, because the word doing the work is any, and it is doing damage. There is no requirement that the pairs you keep have anything to do with one another. There is no requirement that you could explain your choice. A relation is a subset, and a subset is a decision about each pair taken one at a time, with no obligation to be consistent about it.

Everything the brother relation had - the reason, the meaning, the story - is gone, and what is left is a list of pairs you kept. That looks like a loss, and the rest of this is going to argue that it is the whole gain. Let us make the damage visible on something small. Take the set holding one, two, three and four, and draw every ordered pair you can make from it as a cell in a grid.

Sixteen cells, and a relation is a choice of which ones to shade. Here is one: shade the pair one three, the pair two two, the pair three one, the pair four one, and the pair four four. Five cells, chosen because I felt like it. There is no rule behind that shading, and there does not need to be one; it is a relation because it is a set of pairs, and that is the entire test.

Now, how many of the possible shadings does a rule of a familiar shape ever reach? Take the rule b equals a plus some whole number, and run it over every whole number it can be given: it reaches eight different shadings and then starts repeating. Take the rule the size of the difference is at least some whole number, and do the same: it reaches five. Between them the two families reach twelve shadings.

The definition admits all of them, and it admits the sixty-five thousand five hundred and twenty-four that neither family ever produces. Before going on, one piece of notation, because it trips people who only learned the other one. The pair one three sits inside our shaded relation. You can write that as an ordered pair belonging to a set, which is the honest form, because it says exactly what a relation is.

Or you can write the name of the relation between the two entries, the way you would write is less than, or equals. One R three. That form reads like a verb, and it is why relations feel like actions rather than sets. But there is no second fact there. The pair belonging to the set and the symbol written between the entries are one statement in two costumes, and an exercise is free to hand you either.

Now a narrowing that happens quietly, and matters enormously. We began with two different lists, and a relation running from one to the other. From here on, both entries come from the same set. The reason is not tidiness. Everything that is about to be defined - whether a relation always links a thing to itself, whether it works in both directions, whether links can be chained - needs to compare an element with another element of the same set.

With two different sets those questions cannot even be asked. So: one set, and the pairs are drawn from that set on both sides. Four elements give sixteen ordered pairs, and each of the sixteen is independently in or out. That is two multiplied by itself sixteen times, which is sixty-five thousand five hundred and thirty-six relations on a set of four things. Sixty-five thousand five hundred and thirty-six of them, for a set you can write on a single line.

Somewhere in that pile are the two we are about to name. Take the same four elements and this rule: keep the pair when the first entry minus the second equals ten. Go through the grid honestly, cell by cell, rather than guessing. One minus one is zero, no. One minus four is minus three, no. Four minus one is three, no. Work all sixteen and the count of cells that qualify is zero.

And you can see why without checking, once you have checked: the largest difference this set can produce is three, and the smallest is minus three. Ten is nowhere near that stretch. So the rule is fine, the arithmetic is fine, and the relation it selects is the one holding nothing at all. The grid stays completely unshaded, and that empty grid is a relation, because the set holding no pairs is a subset of the sixteen just as surely as any other.

Now the other end, with a rule that looks equally ordinary. Keep the pair when the size of the difference between the entries is at least zero. The size of a difference is the difference with any minus sign stripped off, so it is never negative. Never. Which means the test is passed before it is applied. On this set the size of the difference takes four distinct values, and the smallest of the four is zero, so nothing is anywhere near failing.

All sixteen cells shade, and the count of pairs on which the size of the difference is negative is zero, because there are none to be had. This is worth pausing on, because the usual instinct is to test two or three pairs and be satisfied. The point is that no pair ever needed testing. And to see that the sixteen was a reading and not a formality, move the zero up to one: now the rule keeps twelve cells and leaves four unshaded.

Same rule, one number changed, and the whole grid stops being full. So here are the two names. A relation that holds no pair at all is called the empty relation, and it is written as the empty set sitting inside the grid. A relation that holds every pair is called the universal relation, and it is written as the grid itself. Together they are called the trivial relations, which is an unfortunate name, because trivial here means at the ends, not unimportant.

And notice what the naming costs: nothing. Neither of them had to be argued into the definition. The empty set is a subset of the grid, so the empty relation qualifies without special pleading. The grid is a subset of itself, so the universal relation qualifies the same way. This is the payoff for throwing the meaning away in the first place. A definition that demanded a recognisable link would have had to decide whether nothing counts as a link, and whether everything does, and it would have got one of them wrong.

Both of those verdicts came out of arithmetic. Here is the same pair of extremes settled by facts about the world instead, which is a useful shock. Take a school that admits boys only, and put every pupil on the roll into one set - here, fourteen of them. First relation: keep the pair when the second pupil has the first for a sister. Nobody on that roll is anybody's sister, so the count of qualifying pairs is zero, and the relation is the empty one.

No algebra was involved; a fact about who the school admits did the whole job. Second relation: keep the pair when the two pupils' heights differ by less than three metres. Every pair qualifies - all one hundred and ninety-six of them - so the relation is universal. And again the reason is not algebra: across those fourteen pupils the largest gap between any two heights is eighty-three centimetres, and three metres is not a distance human beings differ by.

Change the world and the verdict changes with it, which is exactly the point. Now the misunderstanding this topic most often produces. A student sees that the difference-of-ten rule selected nothing and concludes the rule was badly written. It was not. Keep the rule exactly as it is, change nothing about it, and hand it a different set: the whole numbers from one up to twenty. The same rule now selects ten pairs, and the relation is neither empty nor universal.

In fact the smallest set of that shape on which the rule catches anything runs up to eleven, and below that it comes back empty every time. The relation was never a property of the rule. It is a property of the rule and the set together, and dropping either half leaves you unable to say what relation you are talking about. The other half of the same lesson: keep the set and move the rule's number.

Ask for a size of difference of at least each whole number from minus five up to five - eleven settings in all - and eight of those eleven land on one extreme or the other. The two ends are not exotic. You fall into them by accident, constantly. Between the ends there is everything else, and reading one off its rule is the skill this all rests on. Same four elements, and the rule b equals a plus one.

One goes to two, two goes to three, three goes to four. And four goes to five, except five is not in the set, so four contributes nothing. Three pairs out of the sixteen available. Now the same rule with the set running up to six. The same three pairs, and then four to five and five to six as well: five pairs. Nothing about the rule changed; the set got longer and the relation got longer with it.

Run that on every set from one up to n and the count is always one less than the size of the set, which is the last element having nowhere to go. Two things follow. A rule is an instruction for building a list, and the list is the relation. And you can always go back the other way: hand someone the three pairs and they can tell you the rule, or invent a different rule that gives the same three.

Rules can also carry more than one demand, and then membership has to be settled pair by pair, with no shortcut. Take a relation on the counting numbers that keeps the pair when two things both hold: the first entry is two less than the second, and the second entry is bigger than six. Four candidate pairs, and both demands get checked on every one of them. Two and four: two is indeed two less than four, so the first demand passes; but four is not bigger than six, so it fails.

Three and eight: eight is bigger than six, so the second demand passes; but eight minus two is six, not three, so it fails the first. Eight and seven: seven is bigger than six, that passes; but seven minus two is five, not eight, so it fails the first as well. Six and eight: six is two less than eight, and eight is bigger than six. Both demands hold, so that is the one pair in the relation.

Now look at how the three failures fell out, because it is not the tidy way you would expect. Two of them failed the first demand and only one failed the second. Three failures, two demands, and no neat one-each split - which is why each candidate has to be walked through both tests rather than sorted by eye. And this relation is not an extreme: on the first forty counting numbers it holds thirty-four pairs, comfortably between the ends.

So why keep the two extremes, when neither of them tells you anything interesting on its own? Go back to the pile of sixty-five thousand five hundred and thirty-six relations on four elements. Ask which of them is contained inside every single one of the others. Exactly one is, and it is the empty relation. Ask which of them contains every single one. Exactly one does, and it is the universal relation.

The other sixty-five thousand five hundred and thirty-four sit between those two, and every one of them is above the floor and below the ceiling. That is not a coincidence about these two; it is what a floor and a ceiling are. Narrow the pile - keep only the relations that hold one particular pair - and the floor rises to that single pair while the ceiling stays the whole grid.

Keep only the relations that leave that pair out, and the ceiling drops to fifteen pairs while the floor goes back to nothing. The ends move with the collection, which is how you know they were measured and not decreed. Throw the two extremes out of the definition and the pile has holes at both ends: rules you can write in one line would name no relation at all, and every classification built on top would have to carry an exception clause.

Keeping them costs one sentence and buys a definition with no gaps. That is why the meaning was thrown away, and it was worth it.

Where this fits

Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.

Comes up again in

Either side of this one

The book

Open in a new tab