Functions MCQ: A function f from the set of natural numbers to…
JEE · Mathematics · Functions
1
Easy
+4 | -1
Analyzing
A function from the set of natural numbers to integers defined by
View answer and explanation
Correct option: D
one-one and onto both.
Option D (one-one and onto both) is correct because the function maps each natural number to a unique integer, and every integer has a corresponding natural number.
Solution approach
- Correct Answer + Core Reason: one-one and onto both. The function f(n) is a bijection from N to I.
Step-by-Step Solution:
Step 1: Define the function f(n).\nf(n) = (n-1)/2 if n is odd, -n/2 if n is even.
Step 2: Check if f(n) is one-one.\nLet f(x) = f(y).\nCase 1: x and y are both odd. Then (x-1)/2 = (y-1)/2 => x-1 = y-1 => x = y.\nCase 2: x and y are both even. Then -x/2 = -y/2 => x = y.\nCase 3: x is odd and y is even. Then (x-1)/2 = -y/2 => x-1 = -y => x+y = 1. Since x and y are natural numbers, the only solution is x=1 and y=0. But y must be a natural number, so y cannot be 0. Thus, this case is not possible.\nTherefore, f(n) is one-one.
Step 3: Check if f(n) is onto.\nLet z be any integer.\nIf z >= 0, then we need to find an odd n such that f(n) = z. So, (n-1)/2 = z => n-1 = 2z => n = 2z+1. Since z is a non-negative integer, n is an odd natural number.\nIf z < 0, then we need to find an even n such that f(n) = z. So, -n/2 = z => n = -2z. Since z is a negative integer, n is an even natural number.\nTherefore, for every integer z, there exists a natural number n such that f(n) = z. So, f(n) is onto.
Step 4: Conclusion.\nf(n) is both one-one and onto.
Why other options are wrong:
- Option A: This is incorrect because the function is both one-one and onto.
- Option B: This is incorrect because the function is both one-one and onto.
- Option C: This is incorrect because the function is both one-one and onto.
Key Concepts:
- One-one functions
- Onto functions
- Natural numbers
- Integers
Memory Aids:
- One-one: Each input maps to a unique output.
- Onto: Every element in the codomain has a corresponding element in the domain.
Quick Tips:
- When dealing with functions defined on natural numbers, consider even and odd cases separately.
