If y=f(x), where f:A→B is a function in x, then which of the following statements is true?
(i) Every element of A needs to have an image.
(ii) x∈A must be related to one and only one value of y of B.
A relation f from set A to set B is said to be a function if each element of A has one and only one image in B.
Thus, it is necessary for every element of A to have an image in B. It is also necessary that an element of A has a unique image in B.
Thus, both the statements are true.