Exercise 1.1 · Q9: Multiples of 4, and equality, on {0, …, 12}
Show that each of the relation in the set , given by
(i)
(ii)
is an equivalence relation. Find the set of all elements related to 1 in each case.
(i) is a multiple of 4 exactly when for some .
Reflexive: let . Then , so . Thus is reflexive.
Symmetric: let , so . Then , so . Thus is symmetric.
Transitive: let , so and . Then , so . Thus is transitive.
Hence is an equivalence relation.
For , , so . Then or , giving (as ).
The set of elements related to 1 is .
(ii) Reflexive: for , , so . Thus is reflexive.
Symmetric: . Thus is symmetric.
Transitive: . Thus is transitive.
Hence is an equivalence relation. Here .
The set of elements related to 1 is .
Want the reason behind every step, the basics and the checks?
Part (i) is the "divides the difference" pattern of Example 5 with 4 in place of 2: " is a multiple of 4" means for an integer , and the three properties follow from , and . The elements related to 1 are those that differ from 1 by and still lie in : that is . Part (ii), equality, is the smallest possible equivalence relation: each element is related only to itself, so the answer is .
- Given
- (13 integers) and two relations on it: (i) is a multiple of 4; (ii) .
- To show
- Each relation is reflexive, symmetric and transitive.
- To find
- In each case, the set of all elements related to 1.
- Plan
- Part (i): (1) remove the absolute value; (2)–(4) prove the three properties; (5) find every with a multiple of 4. Part (ii): (1) prove the three properties of equality; (2) read off the elements equal to 1.
Basics you need
An integer is a multiple of 4 when for some integer : . 0 is a multiple of 4 (), and is a multiple of 4 exactly when is. Basics: integers and remainders
is the set of integers from 0 to 12 inclusive: , 13 elements. Any answer must lie inside this set. Basics: sets
Reflexive: for all . Symmetric: . Transitive: . Basics: reflexive, symmetric, transitive
This is , the equivalence class . For an equivalence relation, the elements of a class are all related to each other. Basics: equivalence classes
Part (i): is a multiple of 4
Remove the absolute value
is either or , and a number is a multiple of 4 exactly when its negative is (Basic 1). So
The transitive step will add two differences, and signed differences add exactly while absolute values do not. For example and add to , but . So we work with , where may be negative.If , write it as : is still an integer, so it is still of the form .Reflexive
For any , . So for every , and is reflexive.
Every element differs from itself by 0, and 0 is a multiple of 4 (with ).0 is a multiple of every integer: .Symmetric
Suppose , so for an integer . Then
and is an integer. So , and is symmetric.
Reversing a subtraction only changes its sign, and the negative of a multiple of 4 is again a multiple of 4. We started from and derived .Integers are closed under negation: .Transitive
Suppose and : and for integers . Adding,
is an integer, so , and is transitive. Hence is an equivalence relation.
Adding the two equations cancels the middle element , leaving exactly the difference we need. We use two letters and because the two differences need not be equal: in the chain they are and , but in the chain they are and ., and the sum of two integers is an integer.Find every element related to 1
We need all with a multiple of 4. Since , the difference lies between 0 and 11, so the only possible multiples are 0, 4 and 8:
0 1 2 3 4 5 6 7 8 9 10 11 12 1 0 1 2 3 4 5 6 7 8 9 10 11 Only (difference 0), (difference 4) and (difference 8) qualify. Equivalently, gives : give , while gives and gives , both outside . So
The 13 elements of sorted by : each row is one equivalence class, and neighbours in a row differ by 4. The gold row is the class of 1, . The four classes , , , do not overlap and together contain all of . "The set of all elements related to 1" means every in with , so we must test every , or argue that no other can work. The table does the first; the formula does the second and shows why the list stops: the next candidates, 13 and , are not in . The class of 1 is the set of elements that leave remainder 1 when divided by 4.For an equivalence relation, the elements related to 1 form the class , and any two of them are related to each other: , . Basics: equivalence classes
Part (ii):
Equality is reflexive, symmetric and transitive
Reflexive: for every , , so .
Symmetric: if then , so and .
Transitive: if and then and , so and .So is an equivalence relation.
These are the three basic properties of equality itself: every number equals itself, an equation can be read backwards, and two numbers equal to the same number are equal. This relation is , the identity relation on , with exactly 13 pairs.Reflexive, symmetric, transitive: Definition 3; equivalence relation: Definition 4 (Section 1.2).Find every element related to 1
means . The only such is 1 itself, so
Under equality, each element is related to nothing but itself. So every equivalence class has one element: , , and so on, 13 classes in all. Compare with part (i), where 1 was also related to 5 and 9.Equality is the smallest equivalence relation on any set: every equivalence relation must contain all the pairs , and equality contains nothing else.
(i) is an equivalence relation on , and the set of elements related to 1 is . (ii) is an equivalence relation on , and the set of elements related to 1 is . (Textbook answer: (i) , (ii) .)
Class Catcher, in the chapter’s Games tab. Level 4 is part (i) of this question: four baskets for |a − b| a multiple of 4. Play Class Catcher ↗
Part (i) on one chain: and , so and are in ; transitivity predicts , and indeed . ✓ Count the pairs of part (i): the four classes have sizes 4, 3, 3, 3, so has ordered pairs out of . A computer check of all 13 values of and all triples confirms the answers and the three properties for both relations.
- Including 13 in the answer. is a multiple of 4, but 13 is not in , whose largest element is 12.
- Forgetting 1 itself. is a multiple of 4, so 1 belongs to the set of elements related to 1.
- Forgetting 0 in . starts at 0. Here it does not change the answer (), but it matters for the class .
- Adding absolute values in the transitive proof. Work with , any integer, as in Step 1.
- " divides " (or " is a multiple of ") is always an equivalence relation on a set of integers. Its classes are the remainder groups on division by .
- When finding "all elements related to ", list the candidates and keep only those inside the given set.
- Equality is an equivalence relation with one-element classes; it sits inside every equivalence relation on the same set.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| multiple of 4 multiple of 4; | Part (i) Step 1 | Definition of multiple; absolute value |
| Reflexive, symmetric, transitive | Part (i) Steps 2–4; Part (ii) Step 1 | Definition 3, Section 1.2 (Lesson: types of relations) |
| Equivalence relation | Both parts | Definition 4, Section 1.2 |
| ; ; | Part (i) Steps 2–4 | Integer arithmetic, closure of |
| Same pattern with 2 in place of 4 | Idea | Example 5 (Lesson: equivalence relations) |
| The table of , the classes, the count 43 | Part (i) Step 5; Check | Brute-force check in the site's verification script |
| Answers and | Result | Agrees with the textbook answer key |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →