Skip to content
dronacharya.ai
Theory · Class 11 · Mathematics

RelationsTheory and worked examples

3 sections and 4 worked illustrations. Read a section, try its illustrations before opening the solutions, then practise the chapter's 34 exercises.

1.Introduction

Let AA and BB be two sets. Then a relation RR from AA to BB is a subset of A×BA\times B.

Thus, RR is a relation from AA to BB ⇔R⊆A×B\Leftrightarrow R\subseteq A\times B.

Ex. If A={1,2,3}A=\{1,2,3\} and B={a,b,c}B=\{a,b,c\}, then R={(1,b),(2,c),(1,a),(3,a)}R=\{(1,b),(2,c),(1,a),(3,a)\} being a subset of A×BA\times B, is a relation from AA to BB. Here (1,b),(2,c),(1,a)(1,b),(2,c),(1,a) and (3,a)∈R(3,a)\in R, so we write 1Rb1Rb, 2Rc2Rc, 1Ra1Ra and 3Ra3Ra. But (2,b)∉R(2,b)\notin R, so we write 2R̸ b2\not R\,b.

Total Number of Relations: Let AA and BB be two non-empty finite sets consisting of mm and nn elements respectively. Then A×BA\times B consists of mnmn ordered pairs. So, total number of subsets of A×BA\times B is 2mn2^{mn}.

Domain and Range of a relation: Let RR be a relation from a set AA to a set BB. Then the set of all first components or coordinates of the ordered pairs belonging to RR is called the domain of RR, while the set of all second components or coordinates of the ordered pairs in RR is called the range of RR.

Thus, Dom(R)={a:(a,b)∈R}\quad\text{Dom}(R)=\{a:(a,b)\in R\}

and, Range(R)={b:(a,b)∈R}\quad\text{Range}(R)=\{b:(a,b)\in R\}

It is evident from the definition that the domain of a relation from AA to BB is a subset of AA and its range is a subset of BB.

Ex. Let A={1,3,5,7}A=\{1,3,5,7\} and B={2,4,6,8}B=\{2,4,6,8\} be two sets and let RR be a relation from AA to BB defined by the phrase “(x,y)∈R⇔x>y(x,y)\in R\Leftrightarrow x>y”. Under this relation RR, we have

3R2, 5R2, 5R4, 7R2, 7R43R2,\ 5R2,\ 5R4,\ 7R2,\ 7R4 and 7R67R6

i.e. R={(3,2),(5,2),(5,4),(7,2),(7,4),(7,6)}R=\{(3,2),(5,2),(5,4),(7,2),(7,4),(7,6)\}

∴ Dom(R)={3,5,7}\therefore\ \text{Dom}(R)=\{3,5,7\} and Range(R)={2,4,6}\text{Range}(R)=\{2,4,6\}

Inverse Relation: Let AA, BB be two sets and let RR be a relation from a set AA to a set BB. Then the inverse of RR, denoted by R−1R^{-1}, is a relation from BB to AA and is defined by

R−1={(b,a):(a,b)∈R}R^{-1}=\{(b,a):(a,b)\in R\}

Clearly, (a,b)∈R⇔(b,a)∈R−1\quad(a,b)\in R\Leftrightarrow(b,a)\in R^{-1}

Also, Dom(R)=Range(R−1)\quad\text{Dom}(R)=\text{Range}(R^{-1}) and Range(R)=Dom(R−1)\text{Range}(R)=\text{Dom}(R^{-1})

Ex.1

Let AA be the set of first ten natural numbers and let RR be a relation on AA defined by (x,y)∈R⇔x+2y=10(x,y)\in R\Leftrightarrow x+2y=10, i.e. R={(x,y):x∈A, y∈AR=\{(x,y):x\in A,\ y\in A and x+2y=10}x+2y=10\}. Express RR and R−1R^{-1} as sets of ordered pairs. Determine also (i) domain of RR and R−1R^{-1} (ii) range of RR and R−1R^{-1}.

Show the solution

We have (x,y)∈R⇔x+2y=10⇔y=10−x2(x,y)\in R\Leftrightarrow x+2y=10\Leftrightarrow y=\dfrac{10-x}{2}, x,y∈Ax,y\in A

where A={1,2,3,4,5,6,7,8,9,10}\quad A=\{1,2,3,4,5,6,7,8,9,10\}

Now, x=1⇒y=10−12=92∉A\quad x=1\Rightarrow y=\dfrac{10-1}{2}=\dfrac{9}{2}\notin A.

This shows that 11 is not related to any element in AA. Similarly we can observe that 3,5,7,93,5,7,9 and 1010 are not related to any element of AA under the defined relation.

Further we find that:

For x=2x=2, y=10−22=4∈Ay=\dfrac{10-2}{2}=4\in A ∴ (2,4)∈R\quad\therefore\ (2,4)\in R

For x=4x=4, y=10−42=3∈Ay=\dfrac{10-4}{2}=3\in A ∴ (4,3)∈R\quad\therefore\ (4,3)\in R

For x=6x=6, y=10−62=2∈Ay=\dfrac{10-6}{2}=2\in A ∴ (6,2)∈R\quad\therefore\ (6,2)\in R

For x=8x=8, y=10−82=1∈Ay=\dfrac{10-8}{2}=1\in A ∴ (8,1)∈R\quad\therefore\ (8,1)\in R

Thus, R={(2,4),(4,3),(6,2),(8,1)}R=\{(2,4),(4,3),(6,2),(8,1)\}

⇒ R−1={(4,2),(3,4),(2,6),(1,8)}\Rightarrow\ R^{-1}=\{(4,2),(3,4),(2,6),(1,8)\}

Clearly, Dom(R)={2,4,6,8}=Range(R−1)\text{Dom}(R)=\{2,4,6,8\}=\text{Range}(R^{-1})

and, Range(R)={4,3,2,1}=Dom(R−1)\text{Range}(R)=\{4,3,2,1\}=\text{Dom}(R^{-1})

AnswerR={(2,4),(4,3),(6,2),(8,1)}R=\{(2,4),(4,3),(6,2),(8,1)\}, R−1={(4,2),(3,4),(2,6),(1,8)}R^{-1}=\{(4,2),(3,4),(2,6),(1,8)\}; Dom(R)=Range(R−1)={2,4,6,8}\text{Dom}(R)=\text{Range}(R^{-1})=\{2,4,6,8\}, Range(R)=Dom(R−1)={1,2,3,4}\text{Range}(R)=\text{Dom}(R^{-1})=\{1,2,3,4\}

Practise past questions:RelationsSets and operations

2.Types of relations

In this section we intend to define various types of relations on a given set AA.

Void Relation: Let AA be a set. Then ϕ⊆A×A\phi\subseteq A\times A and so it is a relation on AA. This relation is called the void or empty relation on AA.

Universal Relation: Let AA be a set. Then A×A⊆A×AA\times A\subseteq A\times A and so it is a relation on AA. This relation is called the universal relation on AA.

Identity Relation: Let AA be a set. Then the relation IA={(a,a):a∈A}I_A=\{(a,a):a\in A\} on AA is called the identity relation on AA.

In other words, a relation IAI_A on AA is called the identity relation if every element of AA is related to itself only.

Ex. The relation IA={(1,1),(2,2),(3,3)}I_A=\{(1,1),(2,2),(3,3)\} is the identity relation on set A={1,2,3}A=\{1,2,3\}. But relations R1={(1,1),(2,2)}R_1=\{(1,1),(2,2)\} and R2={(1,1),(2,2),(3,3),(1,3)}R_2=\{(1,1),(2,2),(3,3),(1,3)\} are not identity relations on AA, because (3,3)∉R1(3,3)\notin R_1 and in R2R_2 element 11 is related to elements 11 and 33.

Reflexive Relation: A relation RR on a set AA is said to be reflexive if every element of AA is related to itself.

Thus, RR on a set AA is not reflexive if there exists an element a∈Aa\in A such that (a,a)∉R(a,a)\notin R.

Ex. Let A={1,2,3}A=\{1,2,3\} be a set. Then R={(1,1),(2,2),(3,3),(1,3),(2,1)}R=\{(1,1),(2,2),(3,3),(1,3),(2,1)\} is a reflexive relation on AA. But R1={(1,1),(3,3),(2,1),(3,2)}R_1=\{(1,1),(3,3),(2,1),(3,2)\} is not a reflexive relation on AA, because 2∈A2\in A but (2,2)∉R1(2,2)\notin R_1.

Symmetric Relation: A relation RR on a set AA is said to be a symmetric relation iff

(a,b)∈R⇒(b,a)∈R(a,b)\in R\Rightarrow(b,a)\in R for all a,b∈Aa,b\in A

i.e. aRb⇒bRaaRb\Rightarrow bRa for all a,b∈Aa,b\in A.

Ex. Let LL be the set of all lines in a plane and let RR be a relation defined on LL by the rule (x,y)∈R⇔x(x,y)\in R\Leftrightarrow x is perpendicular to yy. Then RR is a symmetric relation on LL, because L1⊥L2⇒L2⊥L1L_1\perp L_2\Rightarrow L_2\perp L_1

i.e. (L1,L2)∈R⇒(L2,L1)∈R(L_1,L_2)\in R\Rightarrow(L_2,L_1)\in R.

Ex. Let A={1,2,3,4}A=\{1,2,3,4\} and let R1R_1 and R2R_2 be relations on AA given by R1={(1,3),(1,4),(3,1),(2,2),(4,1)}R_1=\{(1,3),(1,4),(3,1),(2,2),(4,1)\} and R2={(1,1),(2,2),(3,3),(1,3)}R_2=\{(1,1),(2,2),(3,3),(1,3)\}. Clearly, R1R_1 is a symmetric relation on AA. However, R2R_2 is not so, because (1,3)∈R2(1,3)\in R_2 but (3,1)∉R2(3,1)\notin R_2.

Transitive Relation: Let AA be any set. A relation RR on AA is said to be a transitive relation iff

(a,b)∈R(a,b)\in R and (b,c)∈R⇒(a,c)∈R(b,c)\in R\Rightarrow(a,c)\in R for all a,b,c∈Aa,b,c\in A

i.e. aRbaRb and bRc⇒aRcbRc\Rightarrow aRc for all a,b,c∈Aa,b,c\in A

Ex. On the set NN of natural numbers, the relation RR defined by xRy⇒xxRy\Rightarrow x is less than yy is transitive, because for any x,y,z∈Nx,y,z\in N

x<yx<y and y<z⇒x<z⇒xRyy<z\Rightarrow x<z\Rightarrow xRy and yRz⇒xRzyRz\Rightarrow xRz

Ex. Let LL be the set of all straight lines in a plane. Then the relation 'is parallel to' on LL is a transitive relation, because from any ℓ1,ℓ2,ℓ3∈L\ell_1,\ell_2,\ell_3\in L,

ℓ1∥ℓ2\ell_1\parallel\ell_2 and ℓ2∥ℓ3⇒ℓ1∥ℓ3\ell_2\parallel\ell_3\Rightarrow\ell_1\parallel\ell_3

Antisymmetric Relation: Let AA be any set. A relation RR on set AA is said to be an antisymmetric relation iff

(a,b)∈R(a,b)\in R and (b,a)∈R⇒a=b(b,a)\in R\Rightarrow a=b for all a,b∈Aa,b\in A

Ex. Let RR be a relation on the set NN of natural numbers defined by

xRy⇔xRy\Leftrightarrow 'xx divides yy' for all x,y∈Nx,y\in N

This relation is an antisymmetric relation on NN. Since for any two numbers a,b∈Na,b\in N

a∣ba\mid b and b∣a⇒a=bb\mid a\Rightarrow a=b\quad i.e. aRbaRb and bRa⇒a=bbRa\Rightarrow a=b

Equivalence Relation: A relation RR on a set AA is said to be an equivalence relation on AA iff

(i) it is reflexive i.e. (a,a)∈R(a,a)\in R for all a∈Aa\in A

(ii) it is symmetric i.e. (a,b)∈R⇒(b,a)∈R(a,b)\in R\Rightarrow(b,a)\in R for all a,b∈Aa,b\in A

(iii) it is transitive i.e. (a,b)∈R(a,b)\in R and (b,c)∈R⇒(a,c)∈R(b,c)\in R\Rightarrow(a,c)\in R for all a,b,c∈Aa,b,c\in A.

Ex. Let RR be a relation on the set of all lines in a plane defined by (ℓ1,ℓ2)∈R⇔(\ell_1,\ell_2)\in R\Leftrightarrow line ℓ1\ell_1 is parallel to line ℓ2\ell_2. RR is an equivalence relation.

Practise past questions:Relations

3.Solved examples

Ex.1

Three relations R1R_1, R2R_2 and R3R_3 are defined on set A={a,b,c}A=\{a,b,c\} as follows:

(i) R1={(a,a),(a,b),(a,c),(b,b),(b,c),(c,a),(c,b),(c,c)}R_1=\{(a,a),(a,b),(a,c),(b,b),(b,c),(c,a),(c,b),(c,c)\} \qquad (ii) R2={(a,b),(b,a),(a,c),(c,a)}R_2=\{(a,b),(b,a),(a,c),(c,a)\}

(iii) R3={(a,b),(b,c),(c,a)}R_3=\{(a,b),(b,c),(c,a)\}

Find whether each of R1R_1, R2R_2 and R3R_3 is reflexive, symmetric and transitive.

Show the solution

(i) Reflexive: Clearly, (a,a),(b,b),(c,c)∈R1(a,a),(b,b),(c,c)\in R_1. So, R1R_1 is reflexive on AA.

Symmetric: We observe that (a,b)∈R1(a,b)\in R_1 but (b,a)∉R1(b,a)\notin R_1. So, R1R_1 is not symmetric on AA.

Transitive: We find that (b,c)∈R1(b,c)\in R_1 and (c,a)∈R1(c,a)\in R_1 but (b,a)∉R1(b,a)\notin R_1. So, RR is not transitive on AA.

(ii) Reflexive: Since (a,a)(a,a), (b,b)(b,b) and (c,c)(c,c) are not in R2R_2. So, it is not a reflexive relation on AA.

Symmetric: We find that the ordered pairs obtained by interchanging the components of ordered pairs in R2R_2 are also in R2R_2. So, R2R_2 is a symmetric relation on AA.

Transitive: Clearly (c,a)∈R2(c,a)\in R_2 and (a,b)∈R2(a,b)\in R_2 but (c,b)∉R2(c,b)\notin R_2. So, it is not a transitive relation on R2R_2.

(iii) Reflexive: Since none of (a,a)(a,a), (b,b)(b,b) and (c,c)(c,c) is an element of R3R_3. So, R3R_3 is not reflexive on AA.

Symmetric: Clearly, (b,c)∈R3(b,c)\in R_3 but (c,b)∉R3(c,b)\notin R_3. So, is not symmetric on AA.

Transitive: Clearly, (b,c)∈R3(b,c)\in R_3 and (c,a)∈R3(c,a)\in R_3 but (b,a)∉R3(b,a)\notin R_3. So, R3R_3 is not transitive on AA.

AnswerR1R_1: reflexive, not symmetric, not transitive. R2R_2: symmetric, not reflexive, not transitive. R3R_3: neither reflexive, nor symmetric, nor transitive.

Ex.2

Prove that the relation RR on the set ZZ of all integers defined by

(x,y)∈R⇔x−y is divisible by n(x,y)\in R\Leftrightarrow x-y\text{ is divisible by }n

is an equivalence relation on ZZ.

Show the solution

We observe the following properties

Reflexivity: For any a∈Na\in N, we have

a−a=0=0×n⇒a−aa-a=0=0\times n\Rightarrow a-a is divisible by n⇒(a,a)∈Rn\Rightarrow(a,a)\in R

Thus, (a,a)∈R(a,a)\in R for all a∈Za\in Z

So, RR is reflexive on ZZ

Symmetry: Let (a,b)∈R(a,b)\in R. Then,

(a,b)∈R⇒(a−b)(a,b)\in R\Rightarrow(a-b) is divisible by nn

⇒a−b=np\Rightarrow a-b=np for some p∈Zp\in Z

⇒b−a=n(−p)\Rightarrow b-a=n(-p)

⇒b−a\Rightarrow b-a is divisible by n[∵ p∈Z⇒−p∈Z]n\qquad[\because\ p\in Z\Rightarrow-p\in Z]

⇒(b,a)∈R\Rightarrow(b,a)\in R

Thus, (a,b)∈R⇒(b,a)∈R(a,b)\in R\Rightarrow(b,a)\in R for all a,b∈Za,b\in Z

So, RR is symmetric on ZZ.

Transitivity: Let a,b,c∈Za,b,c\in Z such that (a,b)∈R(a,b)\in R and (b,c)∈R(b,c)\in R. Then,

(a,b)∈R⇒(a−b)(a,b)\in R\Rightarrow(a-b) is divisible by nn

⇒a−b=np\qquad\Rightarrow a-b=np for some p∈Zp\in Z

(b,c)∈R⇒(b−c)(b,c)\in R\Rightarrow(b-c) is divisible by nn

⇒b−c=nq\qquad\Rightarrow b-c=nq for some q∈Zq\in Z

∴ (a,b)∈R\therefore\ (a,b)\in R and (b,c)∈R(b,c)\in R

⇒a−b=np\Rightarrow a-b=np and b−c=nqb-c=nq

⇒(a−b)+(b−c)=np+nq\Rightarrow(a-b)+(b-c)=np+nq

⇒a−c=n(p+q)\Rightarrow a-c=n(p+q)

⇒a−c\Rightarrow a-c is divisible by n[∵ p,q∈Z⇒p+q∈Z]n\qquad[\because\ p,q\in Z\Rightarrow p+q\in Z]

⇒(a,c)∈R\Rightarrow(a,c)\in R

Thus, (a,b)∈R(a,b)\in R and (b,c)∈R⇒(a,c)∈R(b,c)\in R\Rightarrow(a,c)\in R for all a,b,c∈Za,b,c\in Z. So, RR is transitive relation in ZZ.

AnswerRR is reflexive, symmetric and transitive, hence an equivalence relation on ZZ.

Ex.3

Show that the relation 'is congruent to' on the set of all triangles in a plane is an equivalence relation.

Show the solution

Let SS be the set of all triangles in a plane and let RR be the relation on SS defined by (Δ1,Δ2)∈R⇔(\Delta_1,\Delta_2)\in R\Leftrightarrow triangle Δ1\Delta_1 is congruent to triangle Δ2\Delta_2. We observe the following properties.

Reflexivity: For each triangle Δ∈S\Delta\in S, we have

Δ≅Δ⇒(Δ,Δ)∈R\Delta\cong\Delta\Rightarrow(\Delta,\Delta)\in R for all Δ∈S⇒R\Delta\in S\Rightarrow R is reflexive on SS

Symmetry: Let Δ1,Δ2∈S\Delta_1,\Delta_2\in S such that (Δ1,Δ2)∈R(\Delta_1,\Delta_2)\in R. Then, (Δ1,Δ2)∈R⇒Δ1≅Δ2⇒Δ2≅Δ1⇒(Δ2,Δ1)∈R(\Delta_1,\Delta_2)\in R\Rightarrow\Delta_1\cong\Delta_2\Rightarrow\Delta_2\cong\Delta_1\Rightarrow(\Delta_2,\Delta_1)\in R

So, RR is symmetric on SS

Transitivity: Let Δ1,Δ2,Δ3∈S\Delta_1,\Delta_2,\Delta_3\in S such that (Δ1,Δ2)∈R(\Delta_1,\Delta_2)\in R and (Δ2,Δ3)∈R(\Delta_2,\Delta_3)\in R. Then,

(Δ1,Δ2)∈R(\Delta_1,\Delta_2)\in R and (Δ2,Δ3)∈R⇒Δ1≅Δ2(\Delta_2,\Delta_3)\in R\Rightarrow\Delta_1\cong\Delta_2 and Δ2≅Δ3⇒Δ1≅Δ3⇒(Δ1,Δ3)∈R\Delta_2\cong\Delta_3\Rightarrow\Delta_1\cong\Delta_3\Rightarrow(\Delta_1,\Delta_3)\in R

So, RR is transitive on SS.

Hence, RR being reflexive, symmetric and transitive, is an equivalence relation on SS.

AnswerRR is an equivalence relation on SS.

Practise past questions:Relations

Now practise the chapter

34 exercises, from single correct to past JEE questions, each checked against the answer key.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.