Functions MCQ: f(x) = x, if x is rational 0, if x is irrational…
JEE · Mathematics · Functions
1
Easy
+4 | -1
Analyzing
and
. Then, is
. Then, is
View answer and explanation
Correct option: D
One-one and onto
Option D (One-one and onto) is correct because the function f-g is both injective (one-to-one) and surjective (onto).
Solution approach
- Correct Answer + Core Reason: One-one and onto. The function f-g is both injective and surjective.
Step-by-Step Solution:
Step 1: Define the functions and :
Step 2: Find :
Step 3: Check for one-to-one (injective):\nLet .\nIf and are both rational, then .\nIf and are both irrational, then .\nIf is rational and is irrational, then . Since is rational and is irrational, and . But 0 is rational, so this case is not possible.\nThus, is one-to-one.
Step 4: Check for onto (surjective):\nLet . We want to find an such that .\nIf is rational, then let . Then .\nIf is irrational, then let . Then .\nThus, for every , there exists an such that . Therefore, is onto.
Step 5: Conclusion: is one-to-one and onto.
Why other options are wrong:
- Option A (One-one and into): The function is onto, not into.
- Option B (Neither one-one nor onto): The function is both one-one and onto.
- Option C (Many one and onto): The function is one-one, not many-to-one.
Key Concepts:
- One-to-one (injective) functions
- Onto (surjective) functions
Memory Aids:
- One-to-one: Each element in the range corresponds to a unique element in the domain.
- Onto: Every element in the codomain is mapped to by at least one element in the domain.
Quick Tips:
- To check for one-to-one, show that implies .
- To check for onto, show that for every in the codomain, there exists an in the domain such that .
