Skip to content

Types of relations | CBSE - Wyatt's Notes

A relation RR from a set AA to a set BB is a subset of the Cartesian product A×BA \times B. If (a,b)R(a, b) \in R, we write aRbaRb and say ”aa is related to bb by RR.”

flowchart TD
A[01 Types Of Relations] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]

Given sets AA and BB, a relation RA×BR \subseteq A \times B is a rule that assigns to each element aAa \in A zero or more elements bBb \in B.

Example: Let A={1,2,3}A = \{1, 2, 3\} and B={2,4,6}B = \{2, 4, 6\}. The relation ”aa divides bb” is: R={(1,2),(1,4),(1,6),(2,2),(2,4),(2,6),(3,6)}R = \{(1,2), (1,4), (1,6), (2,2), (2,4), (2,6), (3,6)\}

A relation RR on a set AA (i.e., RA×AR \subseteq A \times A) can be:

Reflexive: aRaaRa for every aAa \in A. aA,(a,a)R\forall a \in A, \quad (a, a) \in R

Symmetric: If aRbaRb then bRabRa. a,bA,(a,b)R    (b,a)R\forall a, b \in A, \quad (a, b) \in R \implies (b, a) \in R

Transitive: If aRbaRb and bRcbRc, then aRcaRc. a,b,cA,(a,b)R(b,c)R    (a,c)R\forall a, b, c \in A, \quad (a, b) \in R \land (b, c) \in R \implies (a, c) \in R

A relation that is reflexive, symmetric, and transitive is called an equivalence relation. Equivalence relations partition a set into disjoint equivalence classes.

Equivalence class of aa: [a]={xAxRa}[a] = \{x \in A \mid xRa\}

  • The identity relation {(a,a)aA}\{(a,a) \mid a \in A\} is reflexive, symmetric, and transitive.
  • The empty relation \emptyset is symmetric and transitive, but not reflexive (unless A=A = \emptyset).
  • The universal relation A×AA \times A is reflexive, symmetric, and transitive.

Problem: Let A={1,2,3,4}A = \{1, 2, 3, 4\} and R={(1,1),(2,2),(3,3),(4,4),(1,2),(2,1)}R = \{(1,1), (2,2), (3,3), (4,4), (1,2), (2,1)\}. Determine whether RR is reflexive, symmetric, and transitive.

Solution:

Reflexive: Check that (a,a)R(a,a) \in R for all aAa \in A.

  • (1,1)R(1,1) \in R, (2,2)R(2,2) \in R, (3,3)R(3,3) \in R, (4,4)R(4,4) \in R.
  • All present. RR is reflexive.

Symmetric: Check that whenever (a,b)R(a,b) \in R, then (b,a)R(b,a) \in R.

  • (1,2)R(1,2) \in R and (2,1)R(2,1) \in R. OK.
  • All diagonal pairs are symmetric by definition.
  • RR is symmetric.

Transitive: Check that whenever (a,b)R(a,b) \in R and (b,c)R(b,c) \in R, then (a,c)R(a,c) \in R.

  • (1,2)R(1,2) \in R and (2,1)R(2,1) \in R. Need (1,1)R(1,1) \in R. Present.
  • (2,1)R(2,1) \in R and (1,2)R(1,2) \in R. Need (2,2)R(2,2) \in R. Present.
  • No other non-diagonal chains exist.
  • RR is transitive.

Answer: RR is an equivalence relation.

Common mistake: Forgetting to check all pairs for transitivity. When (a,b)(a,b) and (b,c)(b,c) both belong to RR, you must verify (a,c)(a,c) is also in RR.

Worked Example 2 — Relation Defined by a Rule

Section titled “Worked Example 2 — Relation Defined by a Rule”

Problem: Let RR be defined on Z\mathbb{Z} by aRbaRb if and only if aba - b is divisible by 33. Show that RR is an equivalence relation and describe the equivalence classes.

Solution:

Reflexive: aa=0=3×0a - a = 0 = 3 \times 0, so 3(aa)3 \mid (a - a). Thus aRaaRa for all aZa \in \mathbb{Z}.

Symmetric: If aRbaRb, then 3(ab)3 \mid (a - b), so ab=3ka - b = 3k for some integer kk. Then ba=3k=3(k)b - a = -3k = 3(-k), so 3(ba)3 \mid (b - a), giving bRabRa.

Transitive: If aRbaRb and bRcbRc, then ab=3ka - b = 3k and bc=3mb - c = 3m for integers k,mk, m. Then: ac=(ab)+(bc)=3k+3m=3(k+m)a - c = (a - b) + (b - c) = 3k + 3m = 3(k + m) So 3(ac)3 \mid (a - c), giving aRcaRc.

Equivalence classes:

  • [0]={,6,3,0,3,6,}[0] = \{\ldots, -6, -3, 0, 3, 6, \ldots\} (multiples of 3)
  • [1]={,5,2,1,4,7,}[1] = \{\ldots, -5, -2, 1, 4, 7, \ldots\} (numbers with remainder 1)
  • [2]={,4,1,2,5,8,}[2] = \{\ldots, -4, -1, 2, 5, 8, \ldots\} (numbers with remainder 2)

Answer: RR is an equivalence relation with three equivalence classes.

Common mistake: Confusing divisibility with equality. aba - b divisible by 3 does not mean a=ba = b; it means aa and bb leave the same remainder when divided by 3.

Worked Example 3 — Relation That Is Not an Equivalence Relation

Section titled “Worked Example 3 — Relation That Is Not an Equivalence Relation”

Problem: Let A={1,2,3}A = \{1, 2, 3\} and R={(1,1),(2,2),(1,3),(3,1)}R = \{(1,1), (2,2), (1,3), (3,1)\}. Determine which properties RR satisfies.

Solution:

Reflexive: (1,1)R(1,1) \in R, (2,2)R(2,2) \in R, but (3,3)R(3,3) \notin R. Not reflexive.

Symmetric: (1,3)R(1,3) \in R and (3,1)R(3,1) \in R. All pairs checked. Symmetric.

Transitive: (1,3)R(1,3) \in R and (3,1)R(3,1) \in R. Need (1,1)R(1,1) \in R. Present. No other chains. Transitive.

Answer: RR is symmetric and transitive, but not reflexive (since (3,3)R(3,3) \notin R).

Common mistake: Assuming that symmetric and transitive implies reflexive. This is false. Reflexivity requires (a,a)R(a,a) \in R for every element of AA, not just for elements that appear in some pair.

  1. Let A={1,2,3,4,5,6}A = \{1, 2, 3, 4, 5, 6\}. Define RR by aRbaRb if aba - b is even. Prove RR is an equivalence relation and find the equivalence classes.

  2. Let RR be the relation on R\mathbb{R} defined by xRyxRy if xyx \leq y. Is RR reflexive? Symmetric? Transitive? Is it an equivalence relation?

  3. Let A={1,2,3,4}A = \{1, 2, 3, 4\} and R={(1,2),(2,3),(1,3),(2,2),(3,3)}R = \{(1,2), (2,3), (1,3), (2,2), (3,3)\}. Is RR transitive? Is it reflexive?

  4. Define RR on the set of integers by aRbaRb if a2=b2a^2 = b^2. Show that RR is an equivalence relation and find [2][2].

  5. Let RR be defined on R\mathbb{R} by xRyxRy if xy1|x - y| \leq 1. Is RR reflexive? Symmetric? Transitive?

  • Check all three properties systematically: reflexive, symmetric, transitive
  • For equivalence relations defined by modular arithmetic, the equivalence classes are residue classes
  • Relations defined by inequalities (,<,,>\leq, <, \geq, >) are in standard practice not symmetric
  • The relation aba - b divisible by nn is always an equivalence relation on Z\mathbb{Z}
  • Remember: reflexive requires (a,a)R(a,a) \in R for every aAa \in A, not just for elements that appear in the relation
  1. When checking transitivity, list all pairs (a,b)(a,b) and (b,c)(b,c) in RR and verify each (a,c)(a,c) is present.
  2. To disprove a property, a single counterexample suffices.
  3. Equivalence relations partition the set; use this to verify your answer by checking that equivalence classes are disjoint and their union is AA.
  4. The relation ”aa divides bb” on Z+\mathbb{Z}^+ is reflexive and transitive, but not symmetric (since 242 \mid 4 but 424 \nmid 2).
  5. The relation defined by a2=b2a^2 = b^2 on Z\mathbb{Z} is an equivalence class because a2=b2a^2 = b^2 implies a=b|a| = |b|, so [2]={2,2}[2] = \{2, -2\}.

Relations are rules that connect elements from one set to another. A relation on a set is like a social network where some pairs of people are connected. Reflexive means everyone is friends with themselves. Symmetric means if A is friends with B, then B is friends with A. Transitive means if A is friends with B and B is friends with C, then A is friends with C. When all three hold, you get an equivalence relation — a perfect grouping system where the set splits into non-overlapping equivalence classes, like sorting numbers by their remainder when divided by n.

  • Assuming reflexivity means (a,a)R(a, a) \in R for some elements: Reflexivity requires (a,a)R(a, a) \in R for every element aAa \in A. A single missing pair (a,a)(a, a) breaks reflexivity.
  • Confusing symmetric with reflexive: A relation can be symmetric without being reflexive (e.g., aRba=baRb \Leftrightarrow a = b on a proper subset), and reflexive without being symmetric (e.g., \leq on R\mathbb{R}).
  • Forgetting that transitivity requires checking all triples: Transitivity is not just about adjacent pairs. You must verify that for every (a,b)R(a, b) \in R and (b,c)R(b, c) \in R, the pair (a,c)(a, c) is also in RR.
  • Confusing equivalence relations with partial orders: Equivalence relations are reflexive, symmetric, and transitive. Partial orders are reflexive, antisymmetric, and transitive. Symmetry and antisymmetry are mutually exclusive (except for equality).

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Ensure you have mastered the prerequisite material before attempting this advanced content.

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Ensure you have mastered the prerequisite material before attempting this advanced content.