Write the following relations as sets of ordered pairs and find which of them are functions :
(i) {(x,y):y=3x,xϵ(1,2,3),yϵ(3,6,9,12)}
(ii) {(x,y):y>x+1,x=1,2} and y = 2, 4, 6
(iii) {(x,y):x+y=3,x,yϵ{0,1,2,3}}
(i) We have,
{(x,y)=y=3x,xϵ(1,2,3),yϵ(3,6,9,12)}
Putting x = 1, 2, 3 in y = 3x, we get
y = 3, 6, 9 respectively
∴ R = {(1, 3), (2, 6), (3, 9)}
Yes, it is a function.
(ii) We have,
(x,y):y>x+1,x=1,2 and y = {2, 4, 6}
Putting x = 1, 2 in y > x + 1, we get
y > 2, y > 3 respectively.
∴R={(1,4),(1,6),(2,4),(2,6)}
It is not a function from A to B because two ordered pairs in R have the same first element.
(iii) {(x,y):x+y=3,x,yϵ{0,1,2,3}}
We have,
{(x,y):x+y=3,x,yϵ{0,1,2,3}}
Now,
y=3−x
Putting x = 0, 1, 2, 3 we get
y = 3, 2, 1, 0 respectively
R = {(0, 3), (1, 2), (2, 1), (3, 0)}
Yes, this relation is a function.