Fig. 2.1 shows a relationship between the sets P and Q. Write this relation:
(i) in set-builder form (ii) roster form
What is its domain and range?
(i) The relation R in set builder form is
R = {(x, y): y = x - 2 : x = 5, 6, 7}
(ii) The relation R in roster form is
R = {(5, 3), (6, 4), (7, 5)}
Domain = {5, 6, 7}
Range = {3, 4, 5}