Question
Question: If the function \[f:\mathbb{N}\to \mathbb{N}\] is defined as \[f=x-{{\left( -1 \right)}^{x}}\]then t...
If the function f:N→N is defined as f=x−(−1)xthen the function f is
(a) One – one and into
(b) Many – one and into
(c) One – one and onto
(d) Many – one and onto
Solution
For solving this problem by dividing the function into two parts one for even numbers and other for odd numbers.
We solve this problem by using the definition of one – one, into, many – one and onto function. The checking theorems of each type of functions are
(1) For one – one
If we can prove that x1=x2 by assuming f(x1)=f(x2) such that x1,x2 belongs to domain of function f then we can say that the function is one – one.
(2) For many – one
If a function is not one – one then the function will be many = one.
(3) For onto
If the range of a function is same as the domain then the function is onto
(4) For into
If the function is not onto then the function is into.
Complete step by step answer:
We are given that the function asf:N→N
f=x−(−1)x
Now, let us divide the given function into two parts one for even numbers and other for odd numbers then we get