JEE Main & Advanced

Relations

Relations and Binary Operations

1
Module 1

Cartesian Products & Basic Relations

Ordered Pairs and Cartesian ProductsTopic 1

An ordered pair $(a, b)$ is a pair of elements where the order of components is strictly preserved, meaning $(a, b) = (c, d) \iff a = c$ and $b = d$. The Cartesian Product of two sets $A$ and $B$, denoted as $A \times B$, is the set of all possible ordered pairs such that the first component belongs to $A$ and the second belongs to $B$: $A \times B = \{(a, b) : a \in A \text{ and } b \in B\}$. Generally, $A \times B \neq B \times A$ unless $A = B$ or one of the sets is empty. If $|A| = m$ and $|B| = n$, the total cardinality of the Cartesian product is $|A \times B| = m \times n$.

Worked Examples
1

If $A = \{1, 2, 3\}$ and $B = \{x \in \mathbb{R} : x^2 - 5x + 6 = 0\}$, find the Cartesian product set $A \times B$ and compute its cardinality.

Show solution

First, find the elements of set $B$ by solving the defining quadratic equation: \[ x^2 - 5x + 6 = 0 \implies (x-2)(x-3) = 0 \implies x = 2 \text{ or } x = 3 \] Since both roots are real numbers, write $B$ in roster form: \[ B = \{2, 3\} \] Now, construct the Cartesian product $A \times B$ by systematically pairing every element of $A = \{1, 2, 3\}$ with every element of $B = \{2, 3\}$: \[ A \times B = \{(1, 2), (1, 3), (2, 2), (2, 3), (3, 2), (3, 3)\} \] Calculate the cardnalities: $|A| = 3$ and $|B| = 2$. Using the product theorem: \[ |A \times B| = |A| \times |B| = 3 \times 2 = 6 \] This perfectly matches the number of ordered pairs listed explicitly above. Final Answer: $A \times B = \{(1, 2), (1, 3), (2, 2), (2, 3), (3, 2), (3, 3)\}$ with cardinality $6$.

2

Let $A$ and $B$ be two sets such that $A \times B$ contains exactly 6 elements. If three elements of $A \times B$ are known to be $(1, x)$, $(2, y)$, and $(3, x)$, determine the complete sets $A$ and $B$, and find the remaining elements of $A \times B$.

Show solution
By the structural definition of a Cartesian product, for any ordered pair $(a, b) \in A \times B$, the first coordinate $a$ must belong to set $A$ and the second coordinate $b$ must belong to set $B$. Extract the elements from the given ordered pairs:
  • First coordinates: $1, 2, 3 \implies \{1, 2, 3\} \subseteq A$
  • Second coordinates: $x, y \implies \{x, y\} \subseteq B$
Let us check the cardnalities of these subsets: $|\{1, 2, 3\}| = 3$ and $|\{x, y\}| = 2$. The total cardinality of the product is given as $|A \times B| = 6$. Since $|A| \times |B| = 3 \times 2 = 6$, these subsets must be the complete sets: \[ A = \{1, 2, 3\} \quad \text{and} \quad B = \{x, y\} \] Now construct the complete Cartesian product to find the missing elements: \[ A \times B = \{(1, x), (1, y), (2, x), (2, y), (3, x), (3, y)\} \] Subtracting the three given elements leaves the remaining ordered pairs: $(1, y)$, $(2, x)$, and $(3, y)$. Final Answer: $A = \{1, 2, 3\}$, $B = \{x, y\}$, and the remaining elements are $\{(1, y), (2, x), (3, y)\}$.
3

Prove that for any three sets $A, B$, and $C$, the identity $A \times (B \cap C) = (A \times B) \cap (A \times C)$ holds true.

Show solution

Let us use logical containment steps to show that an arbitrary ordered pair $(r, s)$ belonging to the left-hand side implies it belongs to the right-hand side: \[ \text{Let } (r, s) \in A \times (B \cap C) \] By the definition of a Cartesian product, the first element belongs to the first set, and the second element belongs to the second set: \[ r \in A \quad \text{and} \quad s \in (B \cap C) \] Apply the definition of a set intersection to the second component: \[ r \in A \quad \text{and} \quad (s \in B \text{ and } s \in C) \] Using the logical laws of conjunction, we can distribute the statement $r \in A$ across both terms inside the parentheses: \[ (r \in A \text{ and } s \in B) \quad \text{and} \quad (r \in A \text{ and } s \in C) \] Convert these individual paired statements back into Cartesian product membership statements: \[ (r, s) \in A \times B \quad \text{and} \quad (r, s) \in A \times C \] By the definition of an intersection, since the ordered pair belongs to both product sets simultaneously, it belongs to their intersection: \[ (r, s) \in (A \times B) \cap (A \times C) \] Thus, the left-hand side is a subset of the right-hand side. Reversing the steps shows they are equal. Final Answer: Proved.

✎ Self-Check — 5 questions0 / 5
Q1.If $(x + 2, y - 3) = (5, 2)$, then the value pair $(x, y)$ is equal to:
Q2.If $|A| = 4$ and $|B| = 3$, then the total number of elements inside the Cartesian product set $A \times B$ is:
Q3.Under what mathematical condition does the identity statement $A \times B = B \times A$ hold true for non-empty sets?
Q4.Let $A = \{1, 2\}$. The cardinality of the power set of the Cartesian product $|\mathcal{P}(A \times A)|$ is:
Q5.If $A \subseteq B$, then which of the following Cartesian statements is unconditionally true?

Mathematical Relation, Domain, Range & CodomainTopic 2

A relation $R$ from a set $A$ to a set $B$ is formally defined as any subset of the Cartesian product $A \times B$ (i.e., $R \subseteq A \times B$). The Domain of $R$ is the set of all first components of the ordered pairs belonging to $R$. The Range of $R$ is the set of all second components of those ordered pairs. Set $B$ itself is termed the Codomain of the relation. Crucially, the Range is always a subset of the Codomain ($\text{Range} \subseteq \text{Codomain}$). Since any subset of $A \times B$ is a relation, the total number of distinct relations that can be defined from $A$ to $B$ is given by $2^{|A| \times |B|}$.

Worked Examples
1

Let $A = \{1, 2, 3, 4, 5\}$ and let a relation $R$ be defined on $A$ by the mathematical rule $R = \{(x, y) : y = x + 2\}$. Write $R$ in roster form, and find its domain and range.

Show solution
To express $R$ in roster form, find all pairs $(x, y) \in A \times A$ that satisfy the condition $y = x + 2$:
  • For $x = 1$: $y = 1 + 2 = 3 \in A \implies (1, 3) \in R$
  • For $x = 2$: $y = 2 + 2 = 4 \in A \implies (2, 4) \in R$
  • For $x = 3$: $y = 3 + 2 = 5 \in A \implies (3, 5) \in R$
  • For $x = 4$: $y = 4 + 2 = 6 \notin A \implies$ invalid pair.
  • For $x = 5$: $y = 5 + 2 = 7 \notin A \implies$ invalid pair.
Combine the valid ordered pairs into a single set: \[ R = \{(1, 3), (2, 4), (3, 5)\} \] Now extract the domain and range according to their definitions:
  • Domain: The set of all first coordinates $\implies \text{Domain}(R) = \{1, 2, 3\}$.
  • Range: The set of all second coordinates $\implies \text{Range}(R) = \{3, 4, 5\}$.
The codomain is the target set $A = \{1, 2, 3, 4, 5\}$. Notice that $\text{Range} \subseteq \text{Codomain}$. Final Answer: $R = \{(1, 3), (2, 4), (3, 5)\}$, Domain $= \{1, 2, 3\}$, Range $= \{3, 4, 5\}$.
2

If $|A| = 3$ and $|B| = 2$, find (a) the total number of distinct relations from $A$ to $B$, and (b) the number of non-empty relations.

Show solution

Step 1: Compute the cardinality of the Cartesian product $A \times B$: \[ |A \times B| = |A| \times |B| = 3 \times 2 = 6 \] Step 2: A relation is defined as any subset of the Cartesian product. Therefore, the total number of relations equals the total number of subsets that can be formed from $A \times B$: \[ \text{Total Relations} = 2^{|A \times B|} = 2^6 = 64 \] Step 3: To find the number of non-empty relations, subtract the single empty relation ($\emptyset$) from the total count: \[ \text{Non-empty Relations} = 2^6 - 1 = 64 - 1 = 63 \] Final Answer: (a) Total Relations $= 64$, (b) Non-empty Relations $= 63$.

3

Find the domain of the real-valued relation $R = \{(x, y) : y = \log_{10}(x^2 - 4x + 3)\}$.

Show solution

For an ordered pair $(x, y)$ to be real and well-defined, the logarithmic function must exist. This requires the argument of the logarithm to be strictly positive: \[ x^2 - 4x + 3 > 0 \] Factor the quadratic expression: \[ (x-1)(x-3) > 0 \] Using the wavy-curve method, the product is strictly positive outside the roots $x = 1$ and $x = 3$. This gives the domain intervals: \[ x \in (-\infty, 1) \cup (3, \infty) \] Therefore, the domain of the relation is the set of all real numbers except the closed interval $[1, 3]$. Final Answer: Domain $\in (-\infty, 1) \cup (3, \infty)$.

✎ Self-Check — 5 questions0 / 5
Q1.If a relation is defined as $R = \{(2, 1), (4, 3), (6, 5)\}$, its domain is the set:
Q2.If set $A$ has $m$ elements and set $B$ has $n$ elements, the total number of relations that can be defined from $A$ to $B$ is:
Q3.The range of a relation $R \subseteq A \times B$ always maintains which relationship with the Codomain $B$?
Q4.Let $R = \{(x, y) \in \mathbb{N} \times \mathbb{N} : x + 2y = 8\}$. The range of this relation is:
Q5.The intersection of the domain and range of the relation $R = \{(1, 2), (2, 3), (3, 1)\}$ is the set:
2
Module 2

Classification & Types of Relations

Core Trivial Relations (Empty, Universal & Identity)Topic 1

Every set admits three fundamental baseline relations. The Empty Relation ($\emptyset \subseteq A \times A$) contains zero elements, meaning no element is related to any other. The Universal Relation ($R_U = A \times A$) relates every element to every element in the set. The Identity Relation ($\mathcal{I}_A = \{(a, a) : \forall a \in A\}$) relates each element *only to itself*. A critical distinction in JEE is that an identity relation allows *only* diagonal pairs $(a, a)$, whereas a reflexive relation allows additional non-diagonal pairs as long as all diagonal pairs are present.

Worked Examples
1

Let $A = \{1, 2, 3\}$. Write out explicitly in roster form: (a) the Identity relation $\mathcal{I}_A$, and (b) the Universal relation $R_U$ on set $A$.

Show solution
  • Part (a): The identity relation requires every element of set $A$ to be mapped only to itself. Since the elements are $1, 2,$ and $3$, we construct the diagonal ordered pairs: \[ \mathcal{I}_A = \{(1, 1), (2, 2), (3, 3)\} \] No additional non-diagonal elements can be included in an identity relation.
  • Part (b): The universal relation is the complete Cartesian product $A \times A$. It includes every possible pair that can be formed from the elements: \[ R_U = \{(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)\} \]
Notice that $\mathcal{I}_A \subseteq R_U$, which matches standard subset properties. Final Answer: $\mathcal{I}_A = \{(1, 1), (2, 2), (3, 3)\}$ and $R_U = A \times A$.
2

Let a relation $R$ be defined on the set of all real numbers $\mathbb{R}$ by the rule $R = \{(x, y) : x^2 + y^2 + 1 = 0\}$. Prove that $R$ is an empty relation.

Show solution

For an ordered pair $(x, y)$ to belong to the relation $R$, the real coordinates must satisfy the algebraic condition: \[ x^2 + y^2 + 1 = 0 \implies x^2 + y^2 = -1 \] Let us analyze the values on the left-hand side. For any real numbers $x, y \in \mathbb{R}$, squares of real numbers are always non-negative ($x^2 \ge 0$ and $y^2 \ge 0$). Thus, their sum must be non-negative: \[ x^2 + y^2 \ge 0 \] However, the equation requires the sum to equal $-1$, which is strictly negative. This is a mathematical contradiction over the real field. Therefore, no ordered pairs of real numbers satisfy the condition, so the relation contains zero elements. \[ R = \emptyset \] This proves that $R$ is an empty relation. Final Answer: Proved ($R = \emptyset$).

3

Determine if the relation $R = \{(1, 1), (2, 2), (3, 3), (1, 2)\}$ defined on the set $A = \{1, 2, 3\}$ is an identity relation.

Show solution

Let us check the relation against the mathematical definition of an identity relation: An identity relation $\mathcal{I}_A$ on a set $A$ must contain exactly the ordered pairs $(a, a)$ for every $a \in A$, and no other pairs. For $A = \{1, 2, 3\}$, the required identity relation is: \[ \mathcal{I}_A = \{(1, 1), (2, 2), (3, 3)\} \] Let us look at the given relation $R$: it contains all the required diagonal elements, but it also contains the non-diagonal ordered pair $(1, 2)$. Because of the presence of $(1, 2)$, $R \neq \mathcal{I}_A$. Therefore, it is not an identity relation. (Note: It is, however, classified as a reflexive relation). Final Answer: No, $R$ is not an identity relation due to the presence of the pair $(1, 2)$.

✎ Self-Check — 5 questions0 / 5
Q1.The total number of elements inside the Universal relation defined on a finite set of cardinality $n$ is:
Q2.The Identity relation $\mathcal{I}_A$ defined on a finite set containing $n$ elements has a cardinality equal to:
Q3.If a relation $R$ on a non-empty set $A$ contains zero elements ($R = \emptyset$), it is termed an:
Q4.Which of the following statements accurately distinguishes the Identity relation from a Reflexive relation?
Q5.The Empty relation $\emptyset$ defined on a non-empty set $A$ is:

Advanced Relational Properties (Reflexive, Symmetric & Transitive)Topic 2

Advanced relations are classified by how their elements interact under three core properties:
  1. Reflexive: A relation $R$ on a set $A$ is reflexive if every element is related to itself: $(a, a) \in R$ for all $a \in A$.
  2. Symmetric: $R$ is symmetric if order can be reversed: if $(a, b) \in R \implies (b, a) \in R$ for all $a, b \in A$.
  3. Transitive: $R$ is transitive if relationships chain together: if $(a, b) \in R$ and $(b, c) \in R \implies (a, c) \in R$ for all $a, b, c \in A$.
In the JEE exam, a common pitfall is misapplying the transitivity test when the conditional premise is missing: if $(a, b) \in R$ exists but no pairs start with $b$, transitivity is vacuously true!
Worked Examples
1

Let $R$ be a relation defined on the set of all integers $\mathbb{Z}$ by the rule $R = \{(a, b) : a - b \text{ is divisible by } 3\}$. Determine if $R$ is reflexive, symmetric, and transitive.

Show solution
Let us test each property systematically using core algebraic proofs:
  1. Reflexive Test: Check if $(a, a) \in R$ for any integer $a \in \mathbb{Z}$. Calculate the defining difference: $a - a = 0$. Since $0$ is perfectly divisible by $3$ ($0 = 3 \times 0$), the condition is met. Thus, $R$ is Reflexive.
  2. Symmetric Test: Assume $(a, b) \in R$. This means $a - b$ is a multiple of $3$: \[ a - b = 3k \quad \text{where } k \in \mathbb{Z} \] Now analyze the reversed pair $(b, a)$ by factoring out $-1$: \[ b - a = -(a - b) = -3k = 3(-k) \] Since $-k$ is also an integer, $b - a$ is a multiple of 3, so $(b, a) \in R$. Thus, $R$ is Symmetric.
  3. Transitive Test: Assume $(a, b) \in R$ and $(b, c) \in R$ simultaneously. This gives two equations: \[ a - b = 3k_1 \quad \text{and} \quad b - c = 3k_2, \quad \text{where } k_1, k_2 \in \mathbb{Z} \] To find the relationship between $a$ and $c$, add the two equations together: \[ (a - b) + (b - c) = 3k_1 + 3k_2 \implies a - c = 3(k_1 + k_2) \] Since $k_1 + k_2$ is an integer, the difference $a - c$ is a multiple of $3$, which means $(a, c) \in R$. Thus, $R$ is Transitive.
Since the relation satisfies all three properties, it is an equivalence relation. Final Answer: $R$ is Reflexive, Symmetric, and Transitive.
2

Let $A = \{1, 2, 3\}$. Analyze the transitivity of the relation $R = \{(1, 2), (3, 4)\}$ defined on $A \cup \{4\}$.

Show solution
Let us apply the formal definition of transitivity: A relation is transitive if whenever $(a, b) \in R$ and $(b, c) \in R$, then $(a, c) \in R$.
Let us test the pairs in our relation:
  • We have the ordered pair $(1, 2) \in R$. Are there any ordered pairs in $R$ that start with the number 2? No.
  • We have the ordered pair $(3, 4) \in R$. Are there any ordered pairs in $R$ that start with the number 4? No.
Because there are no pairs that chain together (no matching $(a, b)$ and $(b, c)$), the conditional premise of the transitivity definition is never met. When the premise cannot be tested, the relation is vacuously transitive. It cannot be proven false, so it is mathematically true. Final Answer: $R$ is Transitive (vacuously true).
3

Determine if the relation $R = \{(a, b) : a \le b^2\}$ defined on the set of real numbers $\mathbb{R}$ is reflexive.

Show solution
For $R$ to be reflexive, the condition $a \le a^2$ must hold true for all real numbers $a \in \mathbb{R}$. Let us test different values to see if this is true:
  • If $a = 2$: $2 \le 2^2 \implies 2 \le 4$ (True)
  • If $a = 0.5$: Let us check a fractional value between 0 and 1: \[ 0.5 \le (0.5)^2 \implies 0.5 \le 0.25 \]
This statement is false because $0.5$ is strictly greater than $0.25$. Since we found a counterexample ($a = 0.5$) where $(0.5, 0.5) \notin R$, the relation fails the definition. Final Answer: No, $R$ is not reflexive.
✎ Self-Check — 5 questions0 / 5
Q1.A binary relation $R$ is defined on set $A = \{1, 2, 3\}$ as $R = \{(1, 1), (2, 2)\}$. This relation is not reflexive because:
Q2.If $(a, b) \in R \implies (b, a) \in R$ for all elements in the domain, the relation is classified as:
Q3.The relation $R = \{(1, 2), (2, 3), (1, 3)\}$ defined on $A = \{1, 2, 3\}$ is:
Q4.On the set of all straight lines in a plane, the relation ``is perpendicular to'' ($L_1 \perp L_2$) is:
Q5.On the set of natural numbers $\mathbb{N}$, the relation ``is a factor of'' ($a \mid b$) satisfies which properties?

Equivalence Relations, Anti-Symmetry & Partial OrdersTopic 3

When we combine different advanced properties, we form powerful relational frameworks:
  • Equivalence Relation: A relation that is Reflexive, Symmetric, and Transitive simultaneously. Equivalence relations partition a set into disjoint Equivalence Classes, where all elements in a class are related to each other.
  • Anti-Symmetric: A relation is anti-symmetric if elements can only be related back-and-forth if they are the exact same element: if $(a, b) \in R$ and $(b, a) \in R \implies a = b$.
  • Partial Order Relation: A relation that is Reflexive, Anti-Symmetric, and Transitive simultaneously (e.g., the ``less than or equal to'' relation $\le$ on real numbers).
Worked Examples
1

Prove that the relation $R = \{(a, b) \in \mathbb{R} \times \mathbb{R} : a \le b\}$ is a partial order relation.

Show solution
To prove that $R$ is a partial order relation, we must show that it is reflexive, anti-symmetric, and transitive simultaneously:
  1. Reflexive: For any real number $a \in \mathbb{R}$, $a \le a$ is always true. Therefore, $(a, a) \in R$ for all $a$, so the relation is reflexive.
  2. Anti-Symmetric: Assume that $(a, b) \in R$ and $(b, a) \in R$ simultaneously. This gives two mathematical inequalities: \[ a \le b \quad \text{and} \quad b \le a \] The only way for both inequalities to be true at the same time is if the two numbers are exactly equal: \[ a = b \] This satisfies the definition of anti-symmetry.
  3. Transitive: Assume that $(a, b) \in R$ and $(b, a) \in R$. This gives: \[ a \le b \quad \text{and} \quad b \le c \implies a \le c \] This means $(a, c) \in R$, so the relation is transitive.
Since the relation satisfies all three properties, it is a partial order relation. Final Answer: Proved.
2

Let an equivalence relation $R$ be defined on the set of integers $\mathbb{Z}$ by the rule $a \equiv b \pmod 4$ (meaning $a-b$ is a multiple of 4). Find the equivalence class $[0]$.

Show solution

By definition, the equivalence class $[a]$ is the set of all elements in the domain that are related to $a$ under the relation $R$: \[ [0] = \{x \in \mathbb{Z} : (x, 0) \in R\} \] Substitute the given definition of the relation into this set format: \[ x - 0 = 4k \implies x = 4k, \quad \text{where } k \in \mathbb{Z} \] This means the equivalence class $[0]$ is the set of all integers that are multiples of $4$. Write this in roster form: \[ [0] = \{\dots, -8, -4, 0, 4, 8, \dots\} \] Notice that this relation partitions the integers into exactly four disjoint equivalence classes: $[0], [1], [2],$ and $[3]$. Final Answer: $[0] = \{4k : k \in \mathbb{Z}\} = \{\dots, -4, 0, 4, \dots\}$.

3

Determine if the identity relation $\mathcal{I}_A$ on a set $A$ is an equivalence relation and a partial order relation simultaneously.

Show solution
Let us analyze the properties of the identity relation $\mathcal{I}_A = \{(a, a) : \forall a \in A\}$:
  • It is Reflexive because $(a, a) \in \mathcal{I}_A$ for all $a \in A$.
  • It is Symmetric because if $(a, a) \in \mathcal{I}_A$, its reversed pair is also $(a, a) \in \mathcal{I}_A$.
  • It is Anti-Symmetric because if $(a, b) \in \mathcal{I}_A$ and $(b, a) \in \mathcal{I}_A$, the only elements present are diagonal pairs where $a=b$, which satisfies the condition.
  • It is Transitive because if $(a, a) \in \mathcal{I}_A$ and $(a, a) \in \mathcal{I}_A$, chaining them together returns $(a, a) \in \mathcal{I}_A$.
Since it satisfies all four properties, the identity relation is both an equivalence relation and a partial order relation at the same time. Final Answer: Yes, $\mathcal{I}_A$ is both an equivalence relation and a partial order relation.
✎ Self-Check — 5 questions0 / 5
Q1.For a relation to be classified as a Partial Order, it must be Reflexive, Transitive, and:
Q2.If $(a, b) \in R$ and $(b, a) \in R \implies a = b$, the relation is defined as:
Q3.Equivalence classes generated by an equivalence relation on a set $A$ are always:
Q4.On the power set $\mathcal{P}(X)$ of a set $X$, the subset containment relation $A \subseteq B$ is a:
Q5.The total number of equivalence classes formed by the relation $a \equiv b \pmod n$ on the set of integers is:
3
Module 3

Advanced Operations & Combinatorics

Inverse and Composition of RelationsTopic 1

Relations can be inverted or combined using composition rules. The Inverse Relation $R^{-1}$ is formed by swapping the coordinates of every ordered pair in $R$: $R^{-1} = \{(b, a) : (a, b) \in R\}$. This operation swaps the domain and range: $\text{Domain}(R^{-1}) = \text{Range}(R)$ and $\text{Range}(R^{-1}) = \text{Domain}(R)$. The Composition of two relations $R$ and $S$, denoted as $S \circ R$, chains pairs together through a shared intermediate element: $S \circ R = \{(a, c) : \exists b \text{ such that } (a, b) \in R \text{ and } (b, c) \in S\}$. Note the order of composition: $S \circ R$ means applying relation $R$ first, and then applying relation $S$.

Worked Examples
1

Given the relation $R = \{(1, 2), (3, 4), (5, 6)\}$, find its inverse relation $R^{-1}$ and verify the domain-range swap property.

Show solution

Step 1: Find $R^{-1}$ by reversing the coordinates of each ordered pair in $R$: \[ R^{-1} = \{(2, 1), (4, 3), (6, 5)\} \] Step 2: Find the domain and range of the original relation $R$: \[ \text{Domain}(R) = \{1, 3, 5\} \quad \text{and} \quad \text{Range}(R) = \{2, 4, 6\} \] Step 3: Find the domain and range of the inverted relation $R^{-1}$: \[ \text{Domain}(R^{-1}) = \{2, 4, 6\} \quad \text{and} \quad \text{Range}(R^{-1}) = \{1, 3, 5\} \] Comparing the sets, we can see that $\text{Domain}(R^{-1}) = \text{Range}(R)$ and $\text{Range}(R^{-1}) = \text{Domain}(R)$. The swap property is verified. Final Answer: $R^{-1} = \{(2, 1), (4, 3), (6, 5)\}$.

2

Let two relations be defined as $R = \{(1, a), (2, b), (3, a)\}$ and $S = \{(a, \alpha), (b, \beta), (b, \gamma)\}$. Find the composition relation set $S \circ R$.

Show solution
By definition, the composition set $S \circ R$ contains pairs $(x, z)$ where an intermediate element $y$ satisfies $(x, y) \in R$ and $(y, z) \in S$. Let us trace the paths through the elements:
  • Start with $1 \in \text{Domain}(R)$: we have $(1, a) \in R$. Now look for pairs in $S$ that start with $a$: we find $(a, \alpha) \in S$. Chaining them together gives: $(1, \alpha) \in S \circ R$.
  • Start with $2 \in \text{Domain}(R)$: we have $(2, b) \in R$. Look for pairs in $S$ that start with $b$: we find $(b, \beta) \in S$ and $(b, \gamma) \in S$. Chaining them together gives two pairs: $(2, \beta) \in S \circ R$ and $(2, \gamma) \in S \circ R$.
  • Start with $3 \in \text{Domain}(R)$: we have $(3, a) \in R$. Look for pairs in $S$ that start with $a$: we find $(a, \alpha) \in S$. Chaining them together gives: $(3, \alpha) \in S \circ R$.
Combine all the chained ordered pairs into a single set: \[ S \circ R = \{(1, \alpha), (2, \beta), (2, \gamma), (3, \alpha)\} \] Final Answer: $S \circ R = \{(1, \alpha), (2, \beta), (2, \gamma), (3, \alpha)\}$.
3

Prove that for any relation $R$, the identity property $(R^{-1})^{-1} = R$ holds true.

Show solution

Let us use double containment analysis based on the definition of coordinate swapping: \[ \text{Let } (a, b) \in (R^{-1})^{-1} \] By the definition of an inverse relation, if an ordered pair belongs to the inverse of a relation, its reversed pair must belong to the relation itself: \[ (b, a) \in R^{-1} \] Apply the inverse relation definition a second time to this statement: \[ (a, b) \in R \] This shows that any ordered pair belonging to $(R^{-1})^{-1}$ must also belong to $R$. Reversing the logical steps shows that any pair in $R$ belongs to $(R^{-1})^{-1}$. Therefore, the sets are identical. Final Answer: Proved.

✎ Self-Check — 5 questions0 / 5
Q1.If $R = \{(x, y) : 2x + 3y = 12\}$, then its inverse relation $R^{-1}$ is given by the rule:
Q2.The domain of the inverse relation $\text{Domain}(R^{-1})$ is always identical to:
Q3.If $R \subseteq A \times B$ and $S \subseteq B \times C$, then the composition relation $S \circ R$ forms a valid subset of:
Q4.The composition identity $(荒 \circ S)^{-1}$ distributes over its components by reversing their order:
Q5.If $R = \{(1, 2), (2, 3)\}$ and $S = \{(2, 5), (3, 6)\}$, then the composition set $S \circ R$ is:

Advanced Counting Combinatorics formulasTopic 2

Advanced relational combinatorics involves finding formulas to count the number of specific types of relations that can be defined on a finite set of cardinality $n$. Let us summarize the core counting formulas for relations on a set with $n$ elements:
  • Total Relations: There are $n^2$ total positions in the grid layout, so the number of distinct relations is $2^{n^2}$.
  • Reflexive Relations: The $n$ diagonal elements must be present ($1$ choice), and the remaining $n^2 - n$ non-diagonal entries can be independently included or excluded ($2$ choices). Thus, the number of reflexive relations is $2^{n^2 - n}$.
  • Symmetric Relations: The $n$ diagonal elements have $2$ choices each, and the $\frac{n^2 - n}{2}$ pairs of symmetric non-diagonal blocks also have $2$ choices each. Thus, the number of symmetric relations is $2^{\frac{n(n+1)}{2}}$.
  • Equivalence Relations: Counted using Bell Numbers ($B_n$), which are calculated using the recurrence relation $B_{n+1} = \sum_{k=0}^{n} \binom{n}{k} B_k$, where $B_0 = 1$.
Worked Examples
1

Find the total number of (a) reflexive relations, and (b) symmetric relations that can be defined on a finite set containing exactly 3 elements.

Show solution
Identify the given parameters: $n = 3$.
  • Part (a): Apply the counting formula for reflexive relations: \[ \text{Reflexive Count} = 2^{n^2 - n} \] Substitute $n = 3$ into the exponent: \[ \text{Reflexive Count} = 2^{3^2 - 3} = 2^{9 - 3} = 2^6 = 64 \]
  • Part (b): Apply the counting formula for symmetric relations: \[ \text{Symmetric Count} = 2^{\frac{n(n+1)}{2}} \] Substitute $n = 3$ into the formula: \[ \text{Symmetric Count} = 2^{\frac{3(3+1)}{2}} = 2^{\frac{3 \times 4}{2}} = 2^6 = 64 \]
Interestingly, for $n=3$, the number of reflexive relations and symmetric relations is exactly equal. Final Answer: Reflexive relations $= 64$, Symmetric relations $= 64$.
2

Calculate the total number of distinct equivalence relations that can be formed on the set $A = \{1, 2, 3\}$ using Bell numbers properties.

Show solution
Equivalence relations are counted using Bell Numbers $B_n$. Let us calculate the sequence of Bell numbers step-by-step up to $n = 3$ using the recurrence triangle or the summation formula: \[ B_{n+1} = \sum_{k=0}^{n} \binom{n}{k} B_k \] Let us initialize the sequence with the baseline values:
  • For $n = 0$: $B_0 = 1$
  • For $n = 1$: $B_1 = \binom{0}{0} B_0 = 1 \times 1 = 1$
  • For $n = 2$: Compute $B_2$ using the values of $B_0$ and $B_1$: \[ B_2 = \binom{1}{0}B_0 + \binom{1}{1}B_1 = 1(1) + 1(1) = 2 \]
  • For $n = 3$: Compute $B_3$ using the values of $B_0, B_1,$ and $B_2$: \[ B_3 = \binom{2}{0}B_0 + \binom{2}{1}B_1 + \binom{2}{2}B_2 \] Substitute the values of the binomial coefficients and the lower Bell numbers: \[ B_3 = 1(1) + 2(1) + 1(2) = 1 + 2 + 2 = 5 \]
Thus, the total number of distinct equivalence relations that can be defined on a 3-element set is exactly $5$. Final Answer: $5$.
3

Find the number of binary relations on a set with $n$ elements that are both reflexive and symmetric at the same time.

Show solution
Let us analyze the structural grid constraints placed on the elements of the relation matrix:
  1. The relation must be reflexive: This means all $n$ diagonal elements $(a, a)$ must be included in the relation. There is exactly $1$ choice for each diagonal position.
  2. The relation must be symmetric: This means for any non-diagonal position $(a, b)$, its symmetrical counterpart $(b, a)$ must mirror its inclusion status. They must either be both included or both excluded. The total number of such non-diagonal pairs is given by: \[ \text{Number of Pairs} = \frac{n^2 - n}{2} \] Each pair has exactly $2$ choices (either both are in the relation, or both are out).
To find the total number of relations that satisfy both conditions, multiply the number of choices for all positions: \[ \text{Total Count} = 1^n \times 2^{\frac{n^2 - n}{2}} = 2^{\frac{n(n-1)}{2}} \] Final Answer: $2^{\frac{n(n-1)}{2}}$.
✎ Self-Check — 5 questions0 / 5
Q1.The total number of distinct binary relations that can be defined on a set containing 4 elements is:
Q2.If a set has 2 elements, the number of reflexive relations it can form is:
Q3.The number of symmetric relations that can be defined on a set with 2 elements is:
Q4.Equivalence relations on a finite set are counted using which sequence of numbers?
Q5.If a set has exactly 2 elements, the total number of distinct equivalence relations it can form is:

Ready to test yourself?

Attempt the full timed mock tests — Main & Advanced level.

Start Mock Test 1 →