A function from the set of natural numbers to integers defined by is:
- Aone-one but not onto
- Bonto but not one-one
- Cone-one and onto both
- Dneither one-one nor onto
Solution & Step-by-step Explanation
To check if the function is one-one:If is odd, let . Then . For , the values are .If is even, let . Then . For , the values are .Since the set of values for odd () and even () are disjoint and cover all integers, every integer is mapped to exactly one natural number.Therefore, the function is both one-one and onto (bijective).