Example 18: The intersection of two equivalence relations
If and are equivalence relations in a set , show that is also an equivalence relation.
Reflexive: Let . As and are reflexive, and . So . Thus is reflexive.
Symmetric: Let . Then and . As and are symmetric, and . So . Thus is symmetric.
Transitive: Let . Then and . As and are transitive, and . So . Thus is transitive.
Hence is an equivalence relation.
Want the reason behind every step, the basics and the checks?
A relation is a set of ordered pairs, so is simply the set of pairs that belong to both relations. Each of the three properties (reflexive, symmetric, transitive) is a rule of the form "if certain pairs are present, then a certain pair is present". If the given pairs are in both and , each relation separately supplies the required pair, so the required pair is in both, which is to say in the intersection. Every step of the proof is this one move: split into and , use each one's property, and join back up.
- Given
- A set and two relations in , each of which is reflexive, symmetric and transitive.
- To show
- is reflexive, symmetric and transitive.
- Plan
- (1) Write down what membership of means. (2) Prove each of the three properties for arbitrary elements of , using the "split, apply, join" move. (3) Conclude, and (as an extra) see on a small example what the intersection does to the classes, and why the union does not work.
Basics you need
A relation in is a subset of . Writing means " is related to ". So set operations such as and apply to relations directly. Basics: what a relation is
is the set of things that belong to both and . So exactly when and . Basics: sets
Reflexive: for all . Symmetric: . Transitive: and . An equivalence relation has all three. Basics: reflexive, symmetric, transitive
Nothing is known about , or except the stated properties. So the proof can use only those properties, applied to arbitrary elements . Basics: proving and disproving
An equivalence relation splits into disjoint classes of mutually related elements (used in Step 5). Basics: equivalence classes
Solution
What it means to be in
Write . Since and are both subsets of , so is : it is a relation in . By the meaning of intersection,
Every property we need to check is about which pairs belong to . This equivalence lets us translate a statement about into two statements, one about and one about , where we know the properties hold. It also works backwards: if a pair is in both, it is in . Every step below uses the backward direction to reach its conclusion, and the symmetric and transitive steps also use the forward direction on their starting assumption.Intersection means "in both" (Basic 2). A subset of is a relation in (Basic 1).Reflexive
Let be any element of . Since is reflexive, . Since is reflexive, . So is in both, that is
Hence is reflexive.
We need in the intersection, which by Step 1 means in and in . Each of those is given directly by the reflexivity of that relation. Because was an arbitrary element, the conclusion holds for all of .Reflexive: every element is related to itself (Basic 3).Symmetric
Suppose . Then
The first arrow uses symmetry of on the first part and symmetry of on the second part. Hence is symmetric.
This is the "split, apply, join" move. Split: the pair is in each relation. Apply: each relation is symmetric, so each contains the reversed pair. Join: the reversed pair is in both, so in the intersection. We start from the "if" part, , as every proof of an "if … then" statement must.Symmetric: (Basic 3).Transitive
Suppose and . Look at and separately.
- In : both and . Since is transitive, .
- In : both and . Since is transitive, .
So and , which gives . Hence is transitive.
Transitivity of needs both links, and , to be in . We have that, because each link is in the intersection and so in . The same holds for . This is the step where the intersection matters: for a union it would break, because the two links might come from different relations (see Step 6).Transitive: (Basic 3).Conclude, and see it on a small example
is reflexive, symmetric and transitive, so is an equivalence relation in .
To see what this means, take with the equivalence relations whose classes are
Two elements are related by when they share a class in both. The pair does; does not (separated by ); does not (separated by ). So the classes of are , and
The classes of (blue), (gold) and (green) on . Each green class is an overlap of one blue class with one gold class: the intersection cuts the set into smaller, finer pieces. The proof is general, but a concrete case shows what the intersection does: it keeps two elements together only if both relations keep them together. The resulting pieces are the non-empty overlaps of a class of with a class of . Here , and .An equivalence relation's classes are disjoint and cover the whole set. Basics: equivalence classesWhy the same is not true for
The book does not ask this, but it explains why the proof needs "and". Take , with classes and with classes . Then contains (from ) and (from ), but not , which is in neither. So is not transitive, and not an equivalence relation.
The union is still reflexive and symmetric (the same "split, apply" argument works with "or"). It is transitivity that fails, because the two links of the chain may come from different relations, and neither relation alone then guarantees the direct link. This one counterexample is enough to show that "the union of equivalence relations is an equivalence relation" is false in general.One counterexample disproves a general claim. Basics: proving and disproving
If and are equivalence relations in , then is reflexive (each relation contains every ), symmetric (each relation contains whenever it contains ) and transitive (each relation contains whenever it contains and ). So is an equivalence relation, as the textbook shows. (The union need not be one.)
On there are exactly 15 equivalence relations (one for each way of splitting the set into classes). The verification script forms all intersections and tests each one for all three properties: all 225 are equivalence relations. It also confirms the classes in Step 5 and the failure of transitivity for the union in Step 6.
- Proving it for one example. The small example in Step 5 illustrates the result; it does not prove it. The proof must use arbitrary and only the given properties.
- Using transitivity of with one link from . Transitivity of needs both and in . The intersection gives exactly that.
- Assuming the union also works. It does not: Step 6.
- Treating as something new. Relations are sets of pairs, so is the ordinary intersection of sets.
- When relations are combined with set operations, work with the pairs: translate into " and ".
- The intersection of two equivalence relations is an equivalence relation; its classes are the non-empty overlaps of the classes of the two.
- Transitivity is the delicate property. It is preserved by intersection but can be lost under union.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A relation in is a subset of | Step 1 | Section 1.1 (relation from A to B) and start of Section 1.2 (Lesson: relations) |
| and | Steps 1–4 | Definition of intersection (Class 11, Sets) |
| Reflexive, symmetric, transitive; equivalence relation | Steps 2–5 | Definitions 3 and 4, Section 1.2 (Lesson: types of relations) |
| Equivalence classes partition the set | Step 5 | Section 1.2, after Example 5 (Lesson: equivalence relations) |
| The small example and the union counterexample | Steps 5, 6; Check | Checked by brute force in the site's verification script |
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 →