Given relation R is R = {(a1, b1 ), (a2, b4 ), (a4, b1 ), (a3, b2 ), (a5, b3 )} and relation is defined from set A to set B.
Since, every element of set A has one and only one image under the relation R, therefore, relation R is a function. (By definition of the function)
Now, domain of function R is {a1, a2, a3, a4, a5 } = A
Range of function R is {b1, b2, b3, b4 } = B = codomain of function R.
Therefore, R is onto function.
But, R(a1 ) = R(a4 ) = b1.
Therefore, R is not one-one function.
Hence, R is onto but not one-one function.