Answer:
The function is both injective and surjective.
Explanation:
Given function,

We say a function is injective(one-one) when for every value of x we have a unique value of y.We say a function is surjective(onto) when the output y covers all the values of the co domain.
We know that in the graph of
at no two points of x there can be a common y. So hence proved that
is injective.
is also surjective because for x from - infinity to + infinity
covers all the values in its co domain hence it is also surjecctive function.