Respuesta :
Answer:
Let f be a function Â
a) f(n) = n² Â
b) f(n) = n/2 Â
c) f(n) = 0 Â
Explanation: Â
a) f(n) = n² Â
This function is one-to-one function because the square of two different or distinct natural numbers cannot be equal. Â
Let a and b are two elements both belong to N i.e. a ∈ N and b ∈ N. Then:
                f(a) = f(b) ⇒ a² = b² ⇒ a = b Â
The function f(n)= n² is not an onto function because not every natural number is a square of a natural number. This means that there is no other natural number that can be squared to result in that natural number.  For example 2 is a natural numbers but not a perfect square and also 24 is a natural number but not a perfect square. Â
b) f(n) = n/2 Â
The above function example is an onto function because every natural number, let’s say n is a natural number that belongs to N, is the image of 2n. For example:
                f(2n) = [2n/2] = n Â
The above function is not one-to-one function because there are certain different natural numbers that have the same value or image. For example: Â
When the value of n=1, then
                 n/2 = [1/2] = [0.5] = 1 Â
When the value of n=2 then Â
                  n/2 = [2/2] = [1] = 1 Â
c) f(n) = 0
The above function is neither one-to-one nor onto. In order to depict that a function is not one-to-one there should be two elements in N having same image and the above example is not one to one because every integer has the same image. Â The above function example is also not an onto function because every positive integer is not an image of any natural number.
