To be a relation a function all the elements of the domain must have 9image in co-domain. Otherwise, it will not be the function.
_x000D_
Also, the condition for uniqueness should be a function exist. Instead of these, the function can also be tested by using a test known as vertical line test. For this test, a vertical line is drawn in the graph at any point. If the vertical line cuts the graph at only one point it is a function and if it cuts at more than one point then it is not a function.
_x000D_
_x000D_
Main features of a function
_x000D_
_x000D_
to every x∈A,there exists an element y∈B such that (x,y)∈f i.e. y is an image of x under f i.e. y = f(x).
_x000D_
no element of A can have more than one image in B.
_x000D_
there may be elements of B which are not associated with any element of A.
_x000D_
distinct elements of A may have the same image in B.