Relations

RS Aggarwal Class 11 Maths Solutions Exercise 2D — Relations

RS Aggarwal, Class 11 Mathematics — Relations, Exercise 2D, Questions 1 to 14. All 14 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

Exercise 2D moves from products of sets to relations on a set. Questions 1 to 4 and 9 to 13 list relations as sets of ordered pairs and ask for domain, range and inverse; 5, 6 and 7 test reflexive, symmetric and transitive properties; 8 is a substitution; 14 proves properties of “less than” on the natural numbers.

Key insight. A relation on $A$ is just a subset of $A\times A$. To list one, run through every candidate first coordinate and keep the pairs satisfying the rule, staying inside the given set. Domain is the set of first coordinates, range the set of second coordinates, and $R^{-1}$ simply swaps each pair, so $\text{dom}(R^{-1})=\text{range}(R)$ always.

Question 1

Say in words what is meant by a binary relation living on a set $A$, and then give the definitions of the domain and the range of that relation.

Solution. A binary relation $R$ on a set $A$ is any subset of the Cartesian product $A\times A$, that is, a collection of ordered pairs $(a,b)$ with both $a$ and $b$ in $A$. We write $a\,R\,b$ when $(a,b)\in R$.

The domain of $R$ is the set of all first coordinates, $\text{dom}(R)=\{a : (a,b)\in R \text{ for some } b\}$. The range is the set of all second coordinates, $\text{range}(R)=\{b : (a,b)\in R \text{ for some } a\}$. Both are subsets of $A$.

$R\subseteq A\times A$; $\text{dom}(R)$ = set of first coordinates, $\text{range}(R)$ = set of second coordinates

Question 2

Given $A=\{2,3,5\}$ and $R=\{(2,3),(2,5),(3,3),(3,5)\}$, show that $R$ is a binary relation on $A$ and find its domain and range.

Solution. Every ordered pair in $R$ has both entries from $\{2,3,5\}$: $(2,3),(2,5),(3,3),(3,5)$ all qualify. So $R\subseteq A\times A$ and $R$ is a binary relation on $A$.

The first coordinates that occur are $2,2,3,3$, giving $\{2,3\}$. The second coordinates are $3,5,3,5$, giving $\{3,5\}$.

$\text{dom}(R)=\{2,3\}$, $\text{range}(R)=\{3,5\}$

Question 3

The set is $A=\{0,1,2,\dots,8\}$ and the rule is $2a+3b=12$ for $a,b\in A$. Collect all the ordered pairs obeying the rule into $R$, confirm that $R$ is a binary relation on $A$, and then read off its domain and range.

Solution. From $2a+3b=12$ we get $b=\dfrac{12-2a}{3}$, which is a whole number only when $12-2a$ is divisible by $3$, i.e. when $a$ is a multiple of $3$. Testing $a=0,3,6$ (and $a=9$ would be outside $A$): $a=0\Rightarrow b=4$; $a=3\Rightarrow b=2$; $a=6\Rightarrow b=0$. The other values of $a$ in $A$ give non-integer $b$.

So $R=\{(0,4),(3,2),(6,0)\}$. All entries lie in $A$, so $R\subseteq A\times A$.

$R=\{(0,4),(3,2),(6,0)\}$, $\text{dom}(R)=\{0,3,6\}$, $\text{range}(R)=\{0,2,4\}$

Question 4

Define $R^{-1}$ for a relation $R$ on $A$. For $R=\{(a,b): a,b\in W,\ 3a+2b=15\}$, with $W$ the whole numbers, write $R$ and $R^{-1}$ as sets of pairs and show (i) $\text{dom}(R)=\text{range}(R^{-1})$, (ii) $\text{range}(R)=\text{dom}(R^{-1})$.

Solution. The inverse is $R^{-1}=\{(b,a):(a,b)\in R\}$, obtained by reversing every pair.

For $3a+2b=15$ with $a,b\ge 0$ whole, $a\le 5$ and $15-3a$ must be even, so $a$ must be odd: $a=1\Rightarrow b=6$; $a=3\Rightarrow b=3$; $a=5\Rightarrow b=0$. Hence $R=\{(1,6),(3,3),(5,0)\}$ and $R^{-1}=\{(6,1),(3,3),(0,5)\}$.

(i) $\text{dom}(R)=\{1,3,5\}$ and $\text{range}(R^{-1})$ is the set of second coordinates of $R^{-1}$, namely $\{1,3,5\}$. They are equal.

(ii) $\text{range}(R)=\{6,3,0\}$ and $\text{dom}(R^{-1})=\{6,3,0\}$. They are equal.

$R=\{(1,6),(3,3),(5,0)\}$, $R^{-1}=\{(6,1),(3,3),(0,5)\}$; both equalities hold

Question 5

Recall the three properties that make a relation an equivalence relation, then prove that being similar is an equivalence relation when applied to the collection $S$ of every triangle drawn in a plane.

Solution. A relation is an equivalence relation if it is reflexive, symmetric and transitive.

  • Reflexive: every triangle $T$ is similar to itself (ratio of sides $1$, equal angles), so $T\sim T$.
  • Symmetric: if $T_1\sim T_2$, the angles correspond equally and the sides are in a fixed ratio $k$; then $T_2$ and $T_1$ have equal angles and sides in the ratio $1/k$, so $T_2\sim T_1$.
  • Transitive: if $T_1\sim T_2$ and $T_2\sim T_3$, then the angles of $T_1$ equal those of $T_2$, which equal those of $T_3$; so $T_1$ and $T_3$ are equiangular and hence similar.

All three properties hold.

Similarity of triangles is reflexive, symmetric and transitive, hence an equivalence relation

Question 6

On $Z$, let $R=\{(a,b): (a-b)\text{ is even}\}$. Show that $R$ is an equivalence relation.

Solution.

  • Reflexive: for any $a\in Z$, $a-a=0$, which is even, so $(a,a)\in R$.
  • Symmetric: if $a-b$ is even, say $a-b=2k$, then $b-a=-2k=2(-k)$ is also even, so $(b,a)\in R$.
  • Transitive: if $a-b=2m$ and $b-c=2n$, adding gives $a-c=2(m+n)$, even, so $(a,c)\in R$.

$R$ is reflexive, symmetric and transitive, so it is an equivalence relation on $Z$

Question 7

Let $A=\{1,2,3\}$ and $R=\{(a,b): a,b\in A,\ |a^2-b^2|\le 5\}$. Write $R$ as ordered pairs, and decide with reasons whether it is reflexive, symmetric and transitive.

Solution. Squares are $1,4,9$. Check each pair: $|1-1|=|4-4|=|9-9|=0$; $|1-4|=3$; $|4-9|=5$; $|1-9|=8>5$. So

$R=\{(1,1),(2,2),(3,3),(1,2),(2,1),(2,3),(3,2)\}$.

(i) Reflexive: $(1,1),(2,2),(3,3)$ are all present, so yes.

(ii) Symmetric: the condition is unchanged on swapping $a,b$, and indeed $(1,2),(2,1)$ and $(2,3),(3,2)$ come in pairs, so yes.

(iii) Transitive: $(1,2)\in R$ and $(2,3)\in R$, but $(1,3)\notin R$ since $|1-9|=8>5$. So not transitive.

Reflexive and symmetric, but not transitive (e.g. $(1,2),(2,3)\in R$ yet $(1,3)\notin R$)

Question 8

A relation on $Z$ is $R=\{(a,b): b=2a-4\}$. Given $(a,-2)\in R$ and $(4,b^2)\in R$, find $a$ and $b$.

Solution. From $(a,-2)\in R$: $-2=2a-4$, so $2a=2$ and $a=1$.

From $(4,b^2)\in R$: $b^2=2(4)-4=4$, so $b=2$ or $b=-2$.

$a=1$, $b=\pm 2$

Question 9

On $Z$, $(x,y)\in R\Leftrightarrow x^2+y^2=9$. Write $R$ as ordered pairs and state its domain.

Solution. Both squares are non-negative integers summing to $9$. Perfect squares up to $9$ are $0,1,4,9$; the only pairs adding to $9$ are $0+9$ and $9+0$ ($1+8$, $4+5$ fail). So $\{x^2,y^2\}=\{0,9\}$, giving $x=0,y=\pm3$ or $x=\pm3,y=0$.

$R=\{(0,3),(0,-3),(3,0),(-3,0)\}$, and the first coordinates are $0,3,-3$.

$R=\{(-3,0),(0,-3),(3,0),(0,3)\}$, $\text{dom}(R)=\{-3,0,3\}$

Question 10

Let $A=\{1,2,3,4,5\}$ and $R$ be defined by $(x,y)\in R\Leftrightarrow x\le y$. Write $R$ and $R^{-1}$ as ordered pairs and find $\text{dom}(R^{-1})$ and $\text{range}(R)$.

Solution. For each $x$ list the $y\ge x$ in $A$:

$R=\{(1,1),(1,2),(1,3),(1,4),(1,5),(2,2),(2,3),(2,4),(2,5),(3,3),(3,4),(3,5),(4,4),(4,5),(5,5)\}$, which has $15$ pairs.

Reversing each pair gives $R^{-1}$, the relation $y\ge x$:

$R^{-1}=\{(1,1),(2,1),(3,1),(4,1),(5,1),(2,2),(3,2),(4,2),(5,2),(3,3),(4,3),(5,3),(4,4),(5,4),(5,5)\}$.

The second coordinates in $R$ run over $1$ to $5$ ($1$ appears in $(1,1)$, $5$ in $(1,5)$), so $\text{range}(R)=\{1,2,3,4,5\}$, and $\text{dom}(R^{-1})$ is the same set.

$\text{dom}(R^{-1})=\text{range}(R)=\{1,2,3,4,5\}$

Question 11

Let $R=\{(x,y): x,y\in Z,\ x^2+y^2=25\}$. Write $R$ and $R^{-1}$ as ordered pairs and show $R=R^{-1}$.

Solution. We need squares summing to $25$: $0+25$, $9+16$, $16+9$, $25+0$ (others such as $1+24$, $4+21$ fail). So either $\{x^2,y^2\}=\{0,25\}$ or $\{9,16\}$.

From $0,25$: $(0,5),(0,-5),(5,0),(-5,0)$. From $9,16$: $x=\pm3,y=\pm4$ gives four pairs and $x=\pm4,y=\pm3$ gives four more. In total

$R=\{(0,5),(0,-5),(5,0),(-5,0),(3,4),(3,-4),(-3,4),(-3,-4),(4,3),(4,-3),(-4,3),(-4,-3)\}$, $12$ pairs.

Swapping coordinates sends $(0,5)\to(5,0)$, $(3,4)\to(4,3)$, $(3,-4)\to(-4,3)$ and so on, and every swapped pair is already in the list. So $R^{-1}$ is the same twelve pairs, and the defining equation $x^2+y^2=25$ is symmetric in $x$ and $y$, which is why $R=R^{-1}$.

$R=R^{-1}=\{(0,\pm5),(\pm5,0),(\pm3,\pm4),(\pm4,\pm3)\}$ (12 pairs)

Question 12

Find $R^{-1}$ when (i) $R=\{(1,2),(1,3),(2,3),(3,2),(4,5)\}$; (ii) $R=\{(x,y): x,y\in N,\ x+2y=8\}$.

Solution. (i) Swap each pair: $R^{-1}=\{(2,1),(3,1),(3,2),(2,3),(5,4)\}$.

(ii) With $N=\{1,2,3,\dots\}$, $x=8-2y$ must be positive, so $y=1,2,3$: $y=1\Rightarrow x=6$, $y=2\Rightarrow x=4$, $y=3\Rightarrow x=2$ ($y=4$ gives $x=0\notin N$). So $R=\{(6,1),(4,2),(2,3)\}$, and swapping gives $R^{-1}=\{(1,6),(2,4),(3,2)\}$.

(i) $\{(2,1),(3,1),(3,2),(2,3),(5,4)\}$; (ii) $\{(1,6),(2,4),(3,2)\}$

Question 13

Let $A=\{a,b\}$. List all relations on $A$ and state how many there are.

Solution. $A\times A=\{(a,a),(a,b),(b,a),(b,b)\}$ has $4$ elements. Relations are its subsets, so there are $2^4=16$:

  • size 0: $\varnothing$
  • size 1: $\{(a,a)\}$, $\{(a,b)\}$, $\{(b,a)\}$, $\{(b,b)\}$
  • size 2: $\{(a,a),(a,b)\}$, $\{(a,a),(b,a)\}$, $\{(a,a),(b,b)\}$, $\{(a,b),(b,a)\}$, $\{(a,b),(b,b)\}$, $\{(b,a),(b,b)\}$
  • size 3: $\{(a,a),(a,b),(b,a)\}$, $\{(a,a),(a,b),(b,b)\}$, $\{(a,a),(b,a),(b,b)\}$, $\{(a,b),(b,a),(b,b)\}$
  • size 4: $A\times A$

That is $1+4+6+4+1=16$.

16 relations

Question 14

Let $R=\{(a,b): a,b\in N,\ a<b\}$. Show that $R$ is a binary relation on $N$ that is neither reflexive nor symmetric, but is transitive.

Solution. Each pair has both entries in $N$, so $R\subseteq N\times N$ and $R$ is a binary relation on $N$.

Not reflexive: $(1,1)\notin R$, since $1<1$ is false.

Not symmetric: $(1,2)\in R$ as $1<2$, but $(2,1)\notin R$ as $2<1$ is false.

Transitive: if $(a,b)\in R$ and $(b,c)\in R$ then $a<b$ and $b<c$, so $a<c$, giving $(a,c)\in R$.

Neither reflexive nor symmetric; transitive

Common mistakes

  • In Q11, stopping at the pairs $(\pm3,\pm4)$ with one sign pattern; four sign choices for each of the two orderings give eight pairs, plus four with a zero.
  • In Q8, writing only $b=2$ from $b^2=4$ and forgetting the negative root.
  • In Q7, calling $R$ transitive because it is reflexive and symmetric; a single counter-example $(1,2),(2,3)$ breaks it.
  • In Q12(ii), including $y=4$, $x=0$ although $0\notin N$.
  • Confusing “not reflexive” with “reflexive for some elements”: reflexivity needs every $(a,a)$ present.

Practise next

  • On whole numbers, $R=\{(a,b): 4a+3b=24\}$. List $R$ and find its domain and range.
Show answer

$R=\{(0,8),(3,4),(6,0)\}$, domain $\{0,3,6\}$, range $\{0,4,8\}$. $b=(24-4a)/3$ is a whole number only when $3\mid a$, and $a\le 6$.

Further practice on reflexive, symmetric and transitive relations follows in Exercise 2E.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe