PrepShorts · Study sheet · Class 12 Mathematics · Chapter 1, Relations and Functions
Chapter 1 · Relations and Functions
Why an equivalence relation cuts its set into disjoint classes, and why the cut can be run backwards
This video could not be loaded. Reload the page to try again.
Sign in with Google18 min.
Keep your place in this chapter — sign in, it’s free.Sign in
Reading “related to” as “in the same box” is a real claim, and it is false for most relations - because two boxes are either the same box or share nothing, and a relation is under no such obligation. Measured rather than argued: take each demand away in turn and the damage is different every time - 1 element in no box, then 2 boxes overlapping partly, then 6.
The idea
An equivalence relation and a division of a set into non-overlapping boxes are two descriptions of one object, and each of the three demands of Definition 3 pays for a different part of that correspondence: reflexivity puts every element into a box, symmetry makes the box of a and the box of b the same box whenever the two are related, and transitivity is precisely what forbids two boxes from partly overlapping. Because the correspondence runs both ways, one can start from the boxes and manufacture the relation — which is what the chapter does with the three remainder sets of the integers under division by three.
What you should be able to do
- State Definition 4 and verify all three demands for a relation defined by a divisibility condition
- Write the class of a chosen element as a set, and list the classes of a relation on a small finite set
- Prove that any two classes of an equivalence relation are either identical or share nothing, and say where each of the three demands is spent
- Explain why every element lies in exactly one class, and why the classes therefore cover the set without overlap
- Run the construction backwards: from a stated division into boxes, define the relation it induces and verify that it is an equivalence relation
- Show that two differently described relations on the same set are the same relation, by proving containment each way
- Identify the classes of a geometric equivalence relation, and say why one element of the set has to be excluded from the description
- Count the equivalence relations on a small set by counting the divisions instead
Words to know
| Term | Definition in one line | First introduced |
|---|---|---|
| equivalence relation | a relation meeting all three demands of Definition 3 at once | printed in this chapter (Definition 4, §1.2, Part I p. 3) |
| equivalence class | the set of everything related to one chosen element, written with that element in square brackets | printed in this chapter (§1.2, Part I p. 4) |
| partition | the chapter's word for the pieces an equivalence relation cuts a set into | printed in this chapter (§1.2, Part I p. 4) |
| subdivision | the chapter's second word for the same pieces | printed in this chapter (§1.2, Part I p. 4) |
| disjoint | sharing no element | printed in this chapter (§1.2, Part I p. 4) |
| representative | the element whose name a class is written under | an added term; the chapter writes classes under a chosen element without naming the practice |
| covering | the fact that every element of the set falls in some class | an added phrasing, not printed here |
| fibre | the class of inputs a function sends to one common output | an added term, not printed in this chapter |
Where people slip up
- "The classes all have the same size." Example 6 gives four against three; Exercise 1.1 Q8 gives three against two; Exercise 1.1 Q9(i) gives one box of four and three boxes of three. Equal size is a feature of the tidy integer examples, not part of the definition.
- "Two classes can overlap a bit." They cannot, and the reason is transitivity, not tidiness. Section 6's proof shows a single shared element drags the two classes into being the same set. Overlapping-but-different is the one configuration that is ruled out, and it is ruled out by a two-line argument.
- "[0] and [2] are different because 0 and 2 are different." A class has as many names as it has members. In Example 5's relation the chapter itself writes the even class as the class of any 2r. Under division by three, [0], [3] and [–6] all name the same box.
- "An equivalence relation partitions the set, so a partition is a different thing that happens as a result." They are the same information twice. The chapter makes the point by starting from three boxes on Part I p. 4 and getting the relation back, and Miscellaneous Example 20 does it again on nine elements.
- "Reflexivity is the easy condition, so it does not really do anything." It is what guarantees the classes cover the set. Drop it and an element can belong to no class at all, and the boxes no longer add up to X.
- "Similar and congruent give the same classes." Exercise 1.1 Q12's first and third triangles are similar without being congruent — one has sides double the other. And Q13's classes are coarser still: every triangle in one box, regardless of shape.
- "Every point of the plane is on a circle about the origin." The origin is not, which is why Exercise 1.1 Q11 excludes it by name. Its class is a single point.
- "The union of two equivalence relations must be one too, since the intersection is." It need not be; the counterexample above is three elements wide. Intersection preserves all three demands because each is a condition of the form "these pairs must be present", and being present in both is enough. Union has no such argument available.
Ask your teacher a person
Your teacher reads this and writes back, usually within a day. For an instant answer, use Ask the video in the sidebar.
Your class sees the question and the answer. Only your teacher sees that it was you.
No questions on this topic yet.
Worked answers: Exercise 1.1 · Exercise 1.2 · Miscellaneous Exercise · this video explains Exercise 1.1 Q7, Exercise 1.1 Q8, Exercise 1.1 Q9, Exercise 1.1 Q11, Exercise 1.1 Q12, Exercise 1.1 Q13, Exercise 1.1 Q14, Miscellaneous Exercise Q7
Transcript2,520 words
There is a sentence people reach for almost without noticing: this one is related to that one, so they belong together. Belonging together means sitting in the same box, and boxes have a property that relations do not automatically have. Two boxes either are the same box or they share nothing at all. There is no third possibility, because a box is not the kind of thing that can half overlap another one.
A relation, on the other hand, can do anything it likes. So reading related to as in the same box is a real claim, and it is false for most relations. This video is about exactly which relations you are allowed to read that way, and about what each of the three demands buys you. The answer is that all three are needed and none of them is spare. And the reading runs in both directions: given the boxes you can recover the relation, which means the two are one object described twice.
Start with the example everything else here grows out of. Take a strip of fifteen consecutive integers, running from minus six up to eight, and relate two of them when their difference is even. Check the first demand: is every integer related to itself? The difference of a number with itself is zero, and zero is even, so yes. Check the second: if the difference of the first and the second is even, is the difference of the second and the first even too?
Reversing a difference changes only its sign, and a sign does not change whether a number is even. Check the third, which is the one worth slowing down for. Suppose the first minus the second is even, and the second minus the third is even. The video asks the checker how many such chains the strip offers, and the answer is eight hundred and fifty-five. Of those eight hundred and fifty-five chains, the number whose two ends have an odd difference is zero.
That zero deserves a reason, not just a count. Write down what the chain gives you: the first minus the second is even, and the second minus the third is even. Now add those two differences together. The second cancels, and what is left is the first minus the third. So the question becomes whether the sum of two even numbers is even, and it is. Two even numbers are two doubles, and the sum of two doubles is a double.
That single line is the whole of the third demand for this relation, and it is why the count came back zero rather than merely small. The count and the reason are doing different jobs. The count says the strip contains no counterexample; the reason says no strip ever could. Now look at what the relation did to the strip. Everything even is related to everything even, and everything odd to everything odd, and nothing crosses.
Ask the checker to collect, for each integer on the strip, the set of everything related to it. It does this one element at a time and never compares one collection with another, so it has no way of arranging the answer. Two distinct collections come back, holding eight integers and seven. Now the census. Walk every ordered pair of those collections and ask one of three questions: are they the same set, do they share nothing, or do they share something without being equal?
Two pairs come back the same, two come back sharing nothing, and the number that overlap partly is zero. That third outcome is available and the walk can report it, which is what makes the zero a reading. And the number of integers on the strip belonging to no collection at all is zero, so the two boxes between them cover everything. The natural next thought is that this was a fact about even numbers.
It was not. Take any set at all, and any relation on it that passes all three demands. For each element, write down the class of that element: everything related to it. Two things are then true, and they are true for the same reason every time. Every element lies in at least one class, so the classes cover the set. And any two classes are either the same class or share nothing, so the classes do not overlap.
Put those together and every element lies in exactly one class. That is what it means to cut a set into boxes, and the cut came from the relation alone. What comes next is the proof, and the point of it is not that the result is true. It is that each of the three demands pays for a different line of it. Here is the argument, and it is shorter than it looks.
Suppose the class of a and the class of b share an element, and call it c. Then c is related to a, and c is related to b. Symmetry turns the first of those around: a is related to c. Transitivity chains that with the second: a is related to b. Now take anything at all in the class of a, and call it x. Then x is related to a, and a is related to b, so transitivity puts x in the class of b.
That gives the whole of the first class sitting inside the second. Run the same argument with a and b exchanged and you get the second sitting inside the first. Two sets each inside the other are the same set. So sharing one element forced the two classes to be identical, which is why partly overlapping never happens. And the covering came from the first demand, one line earlier: a is related to a, so a is in its own class and nothing is left out.
Now watch what happens when you take the demands away one at a time. Each of the three relations here passes exactly two demands and fails the one being tested, and the census is re-run on each. Drop the first demand only. Elements belonging to no box: one. Boxes overlapping partly: zero. So the covering breaks and nothing else does — the first demand is what puts every element somewhere.
Drop the second demand only. Elements belonging to no box: zero. Boxes overlapping partly: two. Drop the third demand only. Elements belonging to no box: zero. Boxes overlapping partly: six. Three demands, three different kinds of damage, and no two of them the same pair of numbers. That is the cleanest demonstration there is that none of the three clauses is redundant. Everything so far went from a relation to boxes.
Now run it the other way. Take the same strip of fifteen integers and hand over three boxes instead: the multiples of three, the numbers one more than a multiple of three, and the numbers two more. Five integers in each. Define a relation by one rule and nothing else: two integers are related when they sit in the same box. The checker builds that relation without ever being told whether the boxes are any good, and compares it pair by pair with the relation that admits two integers when three divides their difference.
They are the same relation. And it passes all three demands: three boxes, five in each, and zero pairs of them overlapping partly. Now feed the same routine bad boxes, so you can see what the good ones bought. Boxes that overlap give a relation that fails the third demand. Boxes that leave an element out give a relation that fails the first. Covering buys reflexivity, not overlapping buys transitivity, and same box reading the same in either order buys symmetry.
So the construction runs both ways, and a relation and a division are the same information written twice. A finite rehearsal, because the integer examples are misleadingly tidy. Take the numbers one to seven and relate two of them when they are both odd or both even. It passes all three, and it produces two boxes holding four numbers and three. Four and three, not four and four. Take one to five and relate two of them when their difference is even: two boxes again, holding three and two.
Now the set of integers from nought to twelve, thirteen of them, related when their difference is divisible by four. Four boxes, of sizes four, three, three and three, and those sizes add back to thirteen. The one you get by asking what is related to one is the set holding one, five and nine. And then the case that looks like a joke and is not. On the same thirteen numbers, relate two of them when they are equal.
That passes all three demands, and it produces thirteen boxes, each holding one number. Thirteen boxes, one hundred and fifty-six pairs of them sharing nothing, and zero overlapping partly. Equal sizes were never part of the definition. A class is a set, and a set does not know which of its members you named it after. On the strip cut into three, the box holding nought is the box holding three, and the box holding minus six.
Ask the checker how many of the fifteen integers on the strip name that same box, and the answer is five — exactly its members. So one box, five names, and none of them more official than the others. This is where the notation misleads. Writing the class of nought and the class of three side by side makes them look like two things, because nought and three are two things.
They are one thing. The element in the bracket is a name for the box, chosen from inside it, and any member would have done. The only question worth asking is whether two names pick out the same box, and that is settled by whether the two elements are related. Here is a cut you can look at. Take the points of a plane and relate two of them when they are the same distance from the origin.
Same distance is an equality between two numbers, so all three demands pass without any work. The classes are the circles drawn about the origin, one for each radius. Except for one. Take a grid of forty-nine points about the origin and let the checker collect the classes: ten of them come back. Of those ten, the number holding a single point is one, and that one is the class of the origin itself.
The other nine hold more than one point each. The origin is at distance zero from itself and from nothing else, so its class is a single point and a single point is not a circle. That is why any careful statement of this one says: for any point other than the origin. The exclusion is not a technicality to skip past — it is the whole reason the picture needs one point drawn outside the family of circles.
The same objects can be cut in more than one way, and which cut you get is decided entirely by the relation you chose. Take three right-angled triangles with sides three, four and five; five, twelve and thirteen; and six, eight and ten. All three are right-angled — nine plus sixteen is twenty-five, twenty-five plus a hundred and forty-four is a hundred and sixty-nine, and thirty-six plus sixty-four is a hundred.
Cut them by similarity and you get two boxes, of sizes one and two, because the third triangle has sides exactly double the first. Cut them by congruence and you get three boxes of one each. Now add a square and a pentagon, and cut all five by how many sides they have: three boxes. Cut them by side count and then by shape: four boxes. The triangle of sides three, four and five shares a box with three of them one way, and with two of them the other.
One cut is finer than the other, and neither is a relabelling of the other. One warning about the sides. A fourth triangle with sides three, four and six shares two sides with the first and is neither right-angled nor similar to it. Two sides agreeing is not enough; the third side is what decides. Two more relations worth putting side by side, because one of them is a trap.
Take a set of thirty-five straight lines, and relate two of them when they are parallel. Five boxes, seven lines in each, sorted by slope. Notice what makes the first demand pass here: a line counts as parallel to itself. All thirty-five are parallel to themselves, and the number of lines at a right angle to themselves is zero. Same set of lines, two relations, and the first demand goes one way for one and the other way for the other, purely on a convention.
Now the trap. Take two relations that both pass all three demands, and intersect them. The result passes all three as well, and that is a real theorem, not bookkeeping. Take the union instead and it can fail. On three elements, one relation joins the first two and the other joins the last two; their union holds the first related to the second and the second to the third, and does not hold the first to the third.
Run every ordered pair of the equivalence relations on three elements — twenty-five pairs. All twenty-five intersections pass all three demands. Nineteen of the twenty-five unions do, which leaves six that do not. Almost every relation in this topic is one machine wearing different clothes. Take any function, and relate two inputs when the function sends them to the same output. Same page count, same distance, same number of sides, same slope, same remainder — every one of those is that machine.
The classes are the sets of inputs sharing an output. Five different functions on a twelve-element set were tried, and all five produce a relation passing all three demands. One of them cuts the twelve into five boxes of sizes two, two, two, three and three, adding back to twelve. And here is the same idea running in reverse, once more. Two descriptions of one relation on nine numbers: divisible by three on one side, three named blocks on the other.
The pairs one description holds and the other does not: zero, in both directions. Twenty-seven pairs out of the eighty-one available, described twice. Which brings us to counting. Counting equivalence relations directly means testing every relation on the set. Counting divisions into boxes means listing divisions. On sets of one, two, three and four elements those two counts are one, two, five and fifteen — and they agree, by two routines that share no code.
So a question like how many equivalence relations on three elements hold one related to two is not a search at all. Five divisions, of which two keep one and two in the same box. The answer is two, and you never had to look at a relation.
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.
Builds on
- Reflexive, symmetric and transitive as three demands that can fail independentlyClass 12 · Ch 1, Relations and Functions
- A relation as a subset of a product set, and the two extreme casesClass 12 · Ch 1, Relations and Functions
Either side of this one
- What one-one asks of distinct inputs, and what many-one allowsClass 12 · Ch 1, Relations and Functions