Class 12 Maths, Worked in Full Past papersGet updates
Chapter 1 · Relations and Functions

Example 18: The intersection of two equivalence relations

ExamplesEquivalence relations · Miscellaneous Examples
The question

If R1R_1 and R2R_2 are equivalence relations in a set AA⁠, show that R1∩R2R_1 \cap R_2 is also an equivalence relation.

Exam answer

Reflexive: Let a∈Aa \in A⁠. As R1R_1 and R2R_2 are reflexive, (a,a)∈R1(a, a) \in R_1 and (a,a)∈R2(a, a) \in R_2⁠. So (a,a)∈R1∩R2(a, a) \in R_1 \cap R_2⁠. Thus R1∩R2R_1 \cap R_2 is reflexive.

Symmetric: Let (a,b)∈R1∩R2(a, b) \in R_1 \cap R_2⁠. Then (a,b)∈R1(a, b) \in R_1 and (a,b)∈R2(a, b) \in R_2⁠. As R1R_1 and R2R_2 are symmetric, (b,a)∈R1(b, a) \in R_1 and (b,a)∈R2(b, a) \in R_2⁠. So (b,a)∈R1∩R2(b, a) \in R_1 \cap R_2⁠. Thus R1∩R2R_1 \cap R_2 is symmetric.

Transitive: Let (a,b),(b,c)∈R1∩R2(a, b), (b, c) \in R_1 \cap R_2⁠. Then (a,b),(b,c)∈R1(a, b), (b, c) \in R_1 and (a,b),(b,c)∈R2(a, b), (b, c) \in R_2⁠. As R1R_1 and R2R_2 are transitive, (a,c)∈R1(a, c) \in R_1 and (a,c)∈R2(a, c) \in R_2⁠. So (a,c)∈R1∩R2(a, c) \in R_1 \cap R_2⁠. Thus R1∩R2R_1 \cap R_2 is transitive.

Hence R1∩R2R_1 \cap R_2 is an equivalence relation.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A relation is a set of ordered pairs, so R1∩R2R_1 \cap R_2 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 R1R_1 and R2R_2⁠, 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 R1R_1 and R2R_2⁠, use each one's property, and join back up.

Given, to show, and the plan
Given
A set AA and two relations R1,R2R_1, R_2 in AA⁠, each of which is reflexive, symmetric and transitive.
To show
R=R1∩R2R = R_1 \cap R_2 is reflexive, symmetric and transitive.
Plan
(1) Write down what membership of R1∩R2R_1\cap R_2 means. (2) Prove each of the three properties for arbitrary elements of AA⁠, 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

1A relation is a set of pairs

A relation RR in AA is a subset of A×AA\times A⁠. Writing (a,b)∈R(a,b)\in R means "aa is related to bb". So set operations such as ∩\cap and ∪\cup apply to relations directly. Basics: what a relation is

2Intersection

P∩QP \cap Q is the set of things that belong to both PP and QQ⁠. So (a,b)∈R1∩R2(a,b)\in R_1\cap R_2 exactly when (a,b)∈R1(a,b)\in R_1 and (a,b)∈R2(a,b)\in R_2⁠. Basics: sets

3The three properties

Reflexive: (a,a)∈R(a,a)\in R for all a∈Aa\in A⁠. Symmetric: (a,b)∈R⇒(b,a)∈R(a,b)\in R \Rightarrow (b,a)\in R⁠. Transitive: (a,b)∈R(a,b)\in R and (b,c)∈R⇒(a,c)∈R(b,c)\in R \Rightarrow (a,c)\in R⁠. An equivalence relation has all three. Basics: reflexive, symmetric, transitive

4Proving a general statement

Nothing is known about AA⁠, R1R_1 or R2R_2 except the stated properties. So the proof can use only those properties, applied to arbitrary elements a,b,ca, b, c⁠. Basics: proving and disproving

5Equivalence classes

An equivalence relation splits AA into disjoint classes of mutually related elements (used in Step 5). Basics: equivalence classes

Solution

  1. What it means to be in R1∩R2R_1 \cap R_2

    Write R=R1∩R2R = R_1 \cap R_2⁠. Since R1R_1 and R2R_2 are both subsets of A×AA\times A⁠, so is RR⁠: it is a relation in AA⁠. By the meaning of intersection,

    (a,b)∈R1∩R2  ⟺  (a,b)∈R1  and  (a,b)∈R2.(a,b) \in R_1\cap R_2 \iff (a,b) \in R_1 \ \text{ and } \ (a,b) \in R_2.
    Every property we need to check is about which pairs belong to RR⁠. This equivalence lets us translate a statement about RR into two statements, one about R1R_1 and one about R2R_2⁠, where we know the properties hold. It also works backwards: if a pair is in both, it is in RR⁠. 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 A×AA\times A is a relation in AA (Basic 1).
  2. Reflexive

    Let aa be any element of AA⁠. Since R1R_1 is reflexive, (a,a)∈R1(a,a)\in R_1⁠. Since R2R_2 is reflexive, (a,a)∈R2(a,a)\in R_2⁠. So (a,a)(a,a) is in both, that is

    (a,a)∈R1∩R2for every a∈A.(a,a)\in R_1\cap R_2 \quad\text{for every } a\in A.

    Hence R1∩R2R_1\cap R_2 is reflexive.

    We need (a,a)(a,a) in the intersection, which by Step 1 means in R1R_1 and in R2R_2⁠. Each of those is given directly by the reflexivity of that relation. Because aa was an arbitrary element, the conclusion holds for all of AA⁠.
    Reflexive: every element is related to itself (Basic 3).
  3. Symmetric

    Suppose (a,b)∈R1∩R2(a,b)\in R_1\cap R_2⁠. Then

    (a,b)∈R1 and (a,b)∈R2⟹ (b,a)∈R1 and (b,a)∈R2⟹ (b,a)∈R1∩R2.\begin{aligned} &(a,b)\in R_1 \text{ and } (a,b)\in R_2\\ \Longrightarrow\ &(b,a)\in R_1 \text{ and } (b,a)\in R_2\\ \Longrightarrow\ &(b,a)\in R_1\cap R_2. \end{aligned}

    The first arrow uses symmetry of R1R_1 on the first part and symmetry of R2R_2 on the second part. Hence R1∩R2R_1 \cap R_2 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, (a,b)∈R1∩R2(a,b)\in R_1 \cap R_2⁠, as every proof of an "if … then" statement must.
    Symmetric: (a,b)∈R⇒(b,a)∈R(a,b)\in R \Rightarrow (b,a)\in R (Basic 3).
  4. Transitive

    Suppose (a,b)∈R1∩R2(a,b)\in R_1\cap R_2 and (b,c)∈R1∩R2(b,c)\in R_1\cap R_2⁠. Look at R1R_1 and R2R_2 separately.

    • In R1R_1⁠: both (a,b)∈R1(a,b)\in R_1 and (b,c)∈R1(b,c)\in R_1⁠. Since R1R_1 is transitive, (a,c)∈R1(a,c)\in R_1⁠.
    • In R2R_2⁠: both (a,b)∈R2(a,b)\in R_2 and (b,c)∈R2(b,c)\in R_2⁠. Since R2R_2 is transitive, (a,c)∈R2(a,c)\in R_2⁠.

    So (a,c)∈R1(a,c)\in R_1 and (a,c)∈R2(a,c)\in R_2⁠, which gives (a,c)∈R1∩R2(a,c)\in R_1 \cap R_2⁠. Hence R1∩R2R_1\cap R_2 is transitive.

    Transitivity of R1R_1 needs both links, (a,b)(a,b) and (b,c)(b,c)⁠, to be in R1R_1⁠. We have that, because each link is in the intersection and so in R1R_1⁠. The same holds for R2R_2⁠. 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: (a,b),(b,c)∈R⇒(a,c)∈R(a,b), (b,c)\in R \Rightarrow (a,c)\in R (Basic 3).
  5. Conclude, and see it on a small example

    R1∩R2R_1\cap R_2 is reflexive, symmetric and transitive, so R1∩R2R_1 \cap R_2 is an equivalence relation in AA.

    To see what this means, take A={1,2,3,4}A = \{1,2,3,4\} with the equivalence relations whose classes are

    R1: {1,2}, {3,4}R2: {1,2,3}, {4}.R_1:\ \{1,2\},\ \{3,4\} \qquad\qquad R_2:\ \{1,2,3\},\ \{4\}.

    Two elements are related by R1∩R2R_1\cap R_2 when they share a class in both. The pair 1,21,2 does; 3,43,4 does not (separated by R2R_2⁠); 1,31,3 does not (separated by R1R_1⁠). So the classes of R1∩R2R_1\cap R_2 are {1,2}, {3}, {4}\{1,2\},\ \{3\},\ \{4\}⁠, and

    R1∩R2={(1,1),(2,2),(3,3),(4,4),(1,2),(2,1)}.R_1\cap R_2 = \{(1,1),(2,2),(3,3),(4,4),(1,2),(2,1)\}.
    R112342 classesR212342 classesR1 ∩ R212343 classes
    The classes of R1R_1 (blue), R2R_2 (gold) and R1∩R2R_1\cap R_2 (green) on {1,2,3,4}\{1,2,3,4\}⁠. 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 R1R_1 with a class of R2R_2⁠. Here {1,2}∩{1,2,3}={1,2}\{1,2\}\cap\{1,2,3\} = \{1,2\}⁠, {3,4}∩{1,2,3}={3}\{3,4\}\cap\{1,2,3\} = \{3\} and {3,4}∩{4}={4}\{3,4\}\cap\{4\} = \{4\}⁠.
    An equivalence relation's classes are disjoint and cover the whole set. Basics: equivalence classes
  6. Why the same is not true for R1∪R2R_1 \cup R_2

    The book does not ask this, but it explains why the proof needs "and". Take A={1,2,3}A = \{1,2,3\}⁠, R1R_1 with classes {1,2},{3}\{1,2\},\{3\} and R2R_2 with classes {1},{2,3}\{1\},\{2,3\}⁠. Then R1∪R2R_1\cup R_2 contains (1,2)(1,2) (from R1R_1⁠) and (2,3)(2,3) (from R2R_2⁠), but not (1,3)(1,3)⁠, which is in neither. So R1∪R2R_1\cup R_2 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
Result

If R1R_1 and R2R_2 are equivalence relations in AA⁠, then R1∩R2R_1\cap R_2 is reflexive (each relation contains every (a,a)(a,a)⁠), symmetric (each relation contains (b,a)(b,a) whenever it contains (a,b)(a,b)⁠) and transitive (each relation contains (a,c)(a,c) whenever it contains (a,b)(a,b) and (b,c)(b,c)⁠). So R1∩R2R_1\cap R_2 is an equivalence relation, as the textbook shows. (The union R1∪R2R_1\cup R_2 need not be one.)

Check it with numbers

On A={1,2,3,4}A = \{1,2,3,4\} there are exactly 15 equivalence relations (one for each way of splitting the set into classes). The verification script forms all 15×15=22515\times 15 = 225 intersections R1∩R2R_1\cap R_2 and tests each one for all three properties: all 225 are equivalence relations. It also confirms the classes {1,2},{3},{4}\{1,2\},\{3\},\{4\} in Step 5 and the failure of transitivity for the union in Step 6.

Common mistakes
  1. Proving it for one example. The small example in Step 5 illustrates the result; it does not prove it. The proof must use arbitrary a,b,ca, b, c and only the given properties.
  2. Using transitivity of R1R_1 with one link from R2R_2⁠. Transitivity of R1R_1 needs both (a,b)(a,b) and (b,c)(b,c) in R1R_1⁠. The intersection gives exactly that.
  3. Assuming the union also works. It does not: Step 6.
  4. Treating ∩\cap as something new. Relations are sets of pairs, so R1∩R2R_1\cap R_2 is the ordinary intersection of sets.
What to take away
  1. When relations are combined with set operations, work with the pairs: translate ∈R1∩R2\in R_1\cap R_2 into "∈R1\in R_1 and ∈R2\in R_2".
  2. The intersection of two equivalence relations is an equivalence relation; its classes are the non-empty overlaps of the classes of the two.
  3. Transitivity is the delicate property. It is preserved by intersection but can be lost under union.

Every fact used, and where it comes from

FactUsed inSource
A relation in AA is a subset of A×AA\times AStep 1Section 1.1 (relation from A to B) and start of Section 1.2 (Lesson: relations)
x∈P∩Q  ⟺  x∈Px\in P\cap Q \iff x\in P and x∈Qx\in QSteps 1–4Definition of intersection (Class 11, Sets)
Reflexive, symmetric, transitive; equivalence relationSteps 2–5Definitions 3 and 4, Section 1.2 (Lesson: types of relations)
Equivalence classes partition the setStep 5Section 1.2, after Example 5 (Lesson: equivalence relations)
The small example and the union counterexampleSteps 5, 6; CheckChecked by brute force in the site's verification script
Found an error, or want more?

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 →