Which of the following relations are functions? Give reasons. In case of a function, find its domain and range.
(i) f=\{(-1,2),(1,8),(2,11),(3,14)\}
(ii) \mathrm{g}=\{(1,1),(1,-1),(4,2),(9,3),(16,4)\}
Which of the following relations are functions? Give reasons. In case of a function, find its domain and range.
(i) f=\{(-1,2),(1,8),(2,11),(3,14)\}
(ii) \mathrm{g}=\{(1,1),(1,-1),(4,2),(9,3),(16,4)\}

Solution:

For a relation to be a function each element of first set should have different image in the second set(Range)
(i) f = {( – 1, 2), (1, 8), (2, 11), (3, 14)}
Here, each of the first set element has different image in second set.
\therefore f is a function whose domain = { – 1, 1, 2, 3} and range (f) = {\{2, 8, 11, 14}\}

(ii) g = {(1, 1), (1, – 1), (4, 2), (9, 3),(16, 4)}
Here, some of the first set element has same image in second set.
\therefore g is not a function.