The given figure shows a relationship between the sets P and Q. write this relation
Question:

The given figure shows a relationship between the sets P and Q. write this relation

(i) in set-builder form

(ii) in roster form.

What is its domain and range?

Solution:

According to the given figure, $P=\{5,6,7\}, Q=\{3,4,5\}$

(i) $\mathrm{R}=\{(x, y): y=x-2 ; x \in \mathrm{P}\}$ or $\mathrm{R}=\{(x, y): y=x-2$ for $x=5,6,7\}$

(ii) $R=\{(5,3),(6,4),(7,5)\}$

Domain of $R=\{5,6,7\}$

Range of $R=\{3,4,5\}$