Relations

RS Aggarwal Class 11 Maths Solutions Exercise 2C — Relations

RS Aggarwal, Class 11 Mathematics — Relations, Exercise 2C, 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 2C is about describing a relation. Question 1 asks for the definitions; Questions 2 to 12 write relations in roster form and read off the domain and range; Question 13 counts relations between two sets; Question 14 shows that a relation can be empty.

Key insight. A relation from $A$ to $B$ is just a subset of $A\times B$. To list it, test every pair $(x,y)$ with $x\in A$, $y\in B$ against the rule and keep those that pass. The domain is then the set of first entries of the kept pairs, and the range is the set of second entries.

Question 1

Let $A$ and $B$ be non-empty sets. (i) State what is meant by a relation from $A$ to $B$. (ii) State what is meant by the domain and range of a relation.

Solution. (i) The Cartesian product $A\times B$ contains every ordered pair $(a,b)$ with $a\in A$, $b\in B$. A relation $R$ from $A$ to $B$ is any subset of it, so $R\subseteq A\times B$, and $(a,b)\in R$ is read “$a$ is related to $b$”.

(ii) The domain of $R$ is the set of all first components of its pairs, and the range is the set of all second components. Both are taken only from pairs actually present in $R$, so the domain lies inside $A$ and the range inside $B$.

(i) $R\subseteq A\times B$. (ii) $\operatorname{dom}(R)=\{a:(a,b)\in R\}$, $\operatorname{range}(R)=\{b:(a,b)\in R\}$.

Question 2

Find the domain and range of each of the following relations.

(i) $R=\{(-1,1),(1,1),(-2,4),(2,4),(3,9)\}$

(ii) $R=\left\{\left(x,\dfrac1x\right): x \text{ is an integer},\ 0<x<5\right\}$

(iii) $R=\{(x,y): x+2y=8,\ x,y\in N\}$

(iv) $R=\{(x,y): y=|x-1|,\ x\in Z,\ |x|\le 3\}$

Solution. (i) The first entries are $-1,1,-2,2,3$ and the second entries are $1,1,4,4,9$; repeats are listed once and the elements are written in order.

(ii) The integers with $0<x<5$ are $1,2,3,4$, giving the pairs $(1,1),(2,\tfrac12),(3,\tfrac13),(4,\tfrac14)$.

(iii) From $x=8-2y$ with $x,y$ natural, $y$ can be $1,2,3$ (then $x=6,4,2$); $y=4$ would give $x=0\notin N$. So $R=\{(6,1),(4,2),(2,3)\}$.

(iv) The condition $|x|\le 3$ with $x$ an integer gives $x=-3,\dots,3$, and $y=|x-1|$ takes the values $4,3,2,1,0,1,2$ respectively.

(i) dom $=\{-2,-1,1,2,3\}$, range $=\{1,4,9\}$.

(ii) dom $=\{1,2,3,4\}$, range $=\left\{1,\tfrac12,\tfrac13,\tfrac14\right\}$.

(iii) dom $=\{2,4,6\}$, range $=\{1,2,3\}$.

(iv) dom $=\{-3,-2,-1,0,1,2,3\}$, range $=\{0,1,2,3,4\}$.

Question 3

Take $A=\{1,3,5,7\}$, $B=\{2,4,6,8\}$ and $R=\{(x,y): x\in A,\ y\in B,\ x>y\}$. (i) Write $R$ in roster form. (ii) Find its domain and range. (iii) Draw an arrow diagram.

Solution. (i) Go through each $x\in A$ and keep those $y\in B$ smaller than it. For $1$ there is none; for $3$ only $2$; for $5$ the values $2,4$; for $7$ the values $2,4,6$.

(ii) The first entries that occur are $3,5,7$ and the second entries are $2,4,6$. The element $1$ of $A$ and $8$ of $B$ never appear.

(iii) Draw $A$ on the left and $B$ on the right with these arrows: $3\to2$; $5\to2$, $5\to4$; $7\to2$, $7\to4$, $7\to6$. No arrow starts at $1$ or ends at $8$.

(i) $R=\{(3,2),(5,2),(5,4),(7,2),(7,4),(7,6)\}$. (ii) dom $=\{3,5,7\}$, range $=\{2,4,6\}$.

Question 4

Take $A=\{2,4,5\}$, $B=\{1,2,3,4,6,8\}$ and $R=\{(x,y): x\in A,\ y\in B,\ x \text{ divides } y\}$. Write $R$ in roster form and find its domain and range.

Solution. List the elements of $B$ that each $x$ divides. Multiples of $2$ in $B$: $2,4,6,8$. Multiples of $4$ in $B$: $4,8$. Multiples of $5$ in $B$: none.

Hence $5$ drops out of the domain, and the second entries are $2,4,6,8$.

$R=\{(2,2),(2,4),(2,6),(2,8),(4,4),(4,8)\}$; dom $=\{2,4\}$, range $=\{2,4,6,8\}$.

Question 5

Take $A=\{2,3,4,5\}$, $B=\{3,6,7,10\}$ and $R=\{(x,y): x\in A,\ y\in B,\ x \text{ and } y \text{ are relatively prime}\}$. Write $R$ in roster form and find its domain and range.

Solution. Two numbers are relatively prime when their highest common factor is $1$. Check each $x$ against $3,6,7,10$:

  • $x=2$: coprime to $3$ and $7$ (not to $6$ or $10$).
  • $x=3$: coprime to $7$ and $10$ (not to $3$ or $6$).
  • $x=4$: coprime to $3$ and $7$.
  • $x=5$: coprime to $3$, $6$ and $7$ (not to $10$).

All four elements of $A$ occur, and every element of $B$ is hit at least once ($10$ via $x=3$, $6$ via $x=5$).

$R=\{(2,3),(2,7),(3,7),(3,10),(4,3),(4,7),(5,3),(5,6),(5,7)\}$; dom $=\{2,3,4,5\}$, range $=\{3,6,7,10\}$.

Question 6

Take $A=\{1,2,3,5\}$, $B=\{4,6,9\}$ and $R=\{(x,y): x\in A,\ y\in B,\ x-y \text{ is odd}\}$. Write $R$ in roster form.

Solution. A difference is odd exactly when one number is odd and the other even. In $B$, $4$ and $6$ are even and $9$ is odd. So an odd $x$ (that is $1,3,5$) pairs with $4$ and $6$, while the even $x=2$ pairs with $9$ only.

$R=\{(1,4),(1,6),(2,9),(3,4),(3,6),(5,4),(5,6)\}$

Question 7

Let $R=\{(x,y): x+3y=12,\ x,y\in N\}$. Write $R$ in roster form and find its domain and range.

Solution. Solve for $x=12-3y$. Natural values need $12-3y\ge1$, so $y\le3$: $y=1,2,3$ give $x=9,6,3$.

$R=\{(3,3),(6,2),(9,1)\}$; dom $=\{3,6,9\}$, range $=\{1,2,3\}$.

Question 8

On $A=\{1,2,3,4,5,6\}$ define $R=\{(x,y): y=x+1\}$ from $A$ to $A$. (i) Write $R$ in roster form. (ii) Find its domain and range. (iii) State its co-domain. (iv) Draw an arrow diagram.

Solution. (i) Both $x$ and $x+1$ must lie in $A$, so $x$ runs from $1$ to $5$; $x=6$ would need $7\notin A$.

(ii) The first entries are $1,\dots,5$ and the second entries are $2,\dots,6$.

(iii) The co-domain is the whole target set, here $A$ itself.

(iv) Draw two copies of $A$ and the arrows $1\to2$, $2\to3$, $3\to4$, $4\to5$, $5\to6$; nothing leaves $6$ in the left copy and nothing arrives at $1$ in the right.

$R=\{(1,2),(2,3),(3,4),(4,5),(5,6)\}$; dom $=\{1,2,3,4,5\}$, range $=\{2,3,4,5,6\}$; co-domain $=\{1,2,3,4,5,6\}$.

Question 9

Let $R=\{(x,x+5): x\in\{0,1,2,3,4,5\}\}$. Write $R$ in roster form and find its domain and range.

Solution. Put each allowed $x$ in turn into $(x,x+5)$: $0\mapsto5$, $1\mapsto6$, $2\mapsto7$, $3\mapsto8$, $4\mapsto9$, $5\mapsto10$.

$R=\{(0,5),(1,6),(2,7),(3,8),(4,9),(5,10)\}$; dom $=\{0,1,2,3,4,5\}$, range $=\{5,6,7,8,9,10\}$.

Question 10

Let $A=\{1,2,3,4,6\}$ and $R=\{(a,b): a,b\in A,\ a \text{ divides } b\}$. Write $R$ in roster form and find its domain and range.

Solution. For each $a$, list the members of $A$ it divides: $1$ divides all five; $2$ divides $2,4,6$; $3$ divides $3,6$; $4$ divides only $4$; $6$ divides only $6$. That is $5+3+2+1+1=12$ pairs. Every element divides itself, so each element of $A$ is both a first and a second entry.

$R=\{(1,1),(1,2),(1,3),(1,4),(1,6),(2,2),(2,4),(2,6),(3,3),(3,6),(4,4),(6,6)\}$; dom $=$ range $=\{1,2,3,4,6\}$.

Question 11

Define $R$ from $Z$ to $Z$ by $R=\{(a,b): a,b\in Z,\ a-b \text{ is an integer}\}$. Find the domain and range of $R$.

Solution. The difference of two integers is always an integer, so the condition holds for every pair; $R=Z\times Z$. Any integer $a$ appears as a first entry (pair it with any $b$), and any integer $b$ appears as a second entry.

dom$(R)=Z$ and range$(R)=Z$.

Question 12

Let $R=\{(x,y): x,y\in Z,\ x^2+y^2\le4\}$. Write $R$ in roster form and find its domain and range.

Solution. Since $x^2\le4$, the integer $x$ is among $-2,-1,0,1,2$, and likewise $y$. Take each $x$:

  • $x=0$: $y^2\le4$, so $y=-2,-1,0,1,2$ (five pairs).
  • $x=\pm1$: $y^2\le3$, so $y=-1,0,1$ (three pairs each, six in all).
  • $x=\pm2$: $y^2\le0$, so $y=0$ (one pair each, two in all).

That is $5+6+2=13$ pairs. Note that $(0,0)$ belongs, as $0\le4$. Every value from $-2$ to $2$ occurs as a first entry and as a second entry.

$R=\{(-2,0),(-1,-1),(-1,0),(-1,1),(0,-2),(0,-1),(0,0),(0,1),(0,2),(1,-1),(1,0),(1,1),(2,0)\}$; dom $=$ range $=\{-2,-1,0,1,2\}$.

Question 13

Let $A=\{2,3\}$ and $B=\{3,5\}$. (i) Find $A\times B$ and $n(A\times B)$. (ii) How many relations can be defined from $A$ to $B$?

Solution. (i) Pair each element of $A$ with each element of $B$. Since $n(A)=n(B)=2$, there are $2\times2=4$ pairs.

(ii) A relation is any subset of $A\times B$. A set with $4$ elements has $2^4$ subsets (each pair is either in or out), and this count includes the empty relation and $A\times B$ itself.

(i) $A\times B=\{(2,3),(2,5),(3,3),(3,5)\}$, $n(A\times B)=4$. (ii) $2^4=16$ relations.

Question 14

Let $A=\{3,5\}$, $B=\{7,9\}$ and $R=\{(a,b): a\in A,\ b\in B,\ a-b \text{ is odd}\}$. Show that $R$ is an empty relation from $A$ to $B$.

Solution. Compute all four differences: $3-7=-4$, $3-9=-6$, $5-7=-2$, $5-9=-4$. All are even. In general every element of $A$ and of $B$ is odd, and the difference of two odd numbers is even, so no pair can satisfy “odd”. Therefore $R$ contains no ordered pair at all.

$R=\varnothing$, an empty relation from $A$ to $B$.

Common mistakes

  • Writing the domain or range as all of $A$ or $B$. They come only from the pairs that survive the rule: in Question 3 the element $1$ of $A$ is not in the domain.
  • Listing a repeated value twice, as in the range $\{1,1,4,4,9\}$ in Question 2(i); a set shows each element once.
  • Letting $0$ into the natural numbers in Questions 2(iii) and 7, which would add a pair with $x=0$ that is not allowed.
  • Missing $(0,0)$ in Question 12 and the reflexive pairs $(a,a)$ in Question 10 because they look “trivial”.
  • Forgetting that a relation from $A$ to $B$ may be empty or equal to $A\times B$ when counting in Question 13.

Practise next

Exercise 2C stops at describing and counting relations; the neighbouring exercise 2D moves on to the types of relation and their properties.

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

Subscribe