Given f: Z → Z, defined by
Now we have to check for the given function is injection, surjection and bijection condition.
Injection test:
Let x and y be any two elements in the domain (Z), such that f(x) = f(y).
f(x) = f(y)
Here, we cannot say that x = y.
For example,
and
Then,
So, we have two numbers
and
in the domain Z whose image is same as 6.
So, f is not an injection.
Surjection test:
Let y be any element in the co-domain (Z),
such that f(x) = y for some element x in Z (domain).
f(x) = y
Here, we cannot say x ∈ Z.
For example,
.
which is not in Z.
So, f is not a surjection and f is not a bijection.